Xorg crashes to black screen when attaching HDMI Samsung monitor to laptop

Bug #926637 reported by psypher
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-nouveau (Ubuntu)
Expired
Low
Unassigned

Bug Description

Since updating, about a couple weeks ago, whenever I plug my home Samsung SyncMaster P2450 external HDMI screen into my Dell XPS laptop, my desktop disappears and both screens go black. Even if I unplug the screen the laptop still stays dead. When I plug the cable in the firts time and I monitor my Xorg logs from another machine I get the following:

==> /var/log/Xorg.0.log <==
[ 1234.664] (II) NOUVEAU(0): EDID vendor "LGD", prod id 541
[ 1234.664] (II) NOUVEAU(0): Printing DDC gathered Modelines:
[ 1234.664] (II) NOUVEAU(0): Modeline "1600x900"x0.0 99.95 1600 1648 1696 1824 900 902 905 912 +hsync -vsync (54.8 kHz)
[ 1234.880] (II) Quirked EDID physical size to 0x0 cm
[ 1235.778] resize called 1920 1080
[ 1238.258] (II) NOUVEAU(0): EDID vendor "LGD", prod id 541
[ 1238.258] (II) NOUVEAU(0): Printing DDC gathered Modelines:
[ 1238.258] (II) NOUVEAU(0): Modeline "1600x900"x0.0 99.95 1600 1648 1696 1824 900 902 905 912 +hsync -vsync (54.8 kHz)
[ 1238.474] (II) Quirked EDID physical size to 0x0 cm
[ 1238.997] resize called 1024 768

If I boot my laptop with the cable plugged in, at login, both screens are detected and mirrored. Once I log in only the external LCD is on. When I try setup dual monitors with the Unity display manager both screens go black, and dead, just like when I plug my cable in. Then I get these errors in Xorg log:

==> /var/log/Xorg.0.log <==
[ 177.406] (II) Quirked EDID physical size to 0x0 cm
[ 177.406] (II) NOUVEAU(0): EDID vendor "SAM", prod id 1485
[ 177.406] (II) NOUVEAU(0): Using hsync ranges from config file
[ 177.406] (II) NOUVEAU(0): Using vrefresh ranges from config file
[ 177.406] (II) NOUVEAU(0): Printing DDC gathered Modelines:
[ 177.406] (II) NOUVEAU(0): Modeline "1920x1080"x0.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.5 kHz)
[ 177.406] (II) NOUVEAU(0): Modeline "1280x720"x0.0 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync (45.0 kHz)
[ 177.406] (II) NOUVEAU(0): Modeline "1920x1080i"x0.0 74.25 1920 2448 2492 2640 1080 1084 1094 1125 interlace +hsync +vsync (28.1 kHz)
[ 177.406] (II) NOUVEAU(0): Modeline "1920x1080i"x0.0 74.25 1920 2008 2052 2200 1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz)
[ 177.406] (II) NOUVEAU(0): Modeline "1280x720"x0.0 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync (37.5 kHz)
[ 177.406] (II) NOUVEAU(0): Modeline "720x576"x0.0 27.00 720 732 796 864 576 581 586 625 -hsync -vsync (31.2 kHz)
[ 177.406] (II) NOUVEAU(0): Modeline "720x480"x0.0 27.00 720 736 798 858 480 489 495 525 -hsync -vsync (31.5 kHz)
[ 177.406] (II) NOUVEAU(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz)
[ 177.406] (II) NOUVEAU(0): Modeline "800x600"x0.0 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz)
[ 177.406] (II) NOUVEAU(0): Modeline "640x480"x0.0 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz)
[ 177.406] (II) NOUVEAU(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz)
[ 177.406] (II) NOUVEAU(0): Modeline "1600x1200"x0.0 162.00 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync (75.0 kHz)
[ 177.406] (II) NOUVEAU(0): Modeline "1280x1024"x0.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
[ 177.406] (II) NOUVEAU(0): Modeline "1280x960"x0.0 108.00 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync (60.0 kHz)
[ 177.406] (II) NOUVEAU(0): Modeline "1280x800"x0.0 71.00 1280 1328 1360 1440 800 803 809 823 +hsync -vsync (49.3 kHz)
[ 177.406] (II) NOUVEAU(0): Modeline "1440x900"x0.0 88.75 1440 1488 1520 1600 900 903 909 926 +hsync -vsync (55.5 kHz)
[ 177.406] (II) NOUVEAU(0): Modeline "1680x1050"x0.0 119.00 1680 1728 1760 1840 1050 1053 1059 1080 +hsync -vsync (64.7 kHz)
[ 177.406] (II) NOUVEAU(0): Modeline "1920x1080"x0.0 74.25 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync (27.0 kHz)
[ 177.406] (II) NOUVEAU(0): Modeline "1440x480i"x0.0 27.00 1440 1478 1602 1716 480 488 494 525 interlace -hsync -vsync (15.7 kHz)
[ 177.406] (II) NOUVEAU(0): Modeline "1440x576i"x0.0 27.00 1440 1464 1590 1728 576 580 586 625 interlace -hsync -vsync (15.6 kHz)
[ 208.831] (II) Quirked EDID physical size to 0x0 cm
[ 208.831] (II) NOUVEAU(0): EDID vendor "SAM", prod id 1485
[ 208.831] (II) NOUVEAU(0): Using hsync ranges from config file
[ 208.831] (II) NOUVEAU(0): Using vrefresh ranges from config file
[ 208.831] (II) NOUVEAU(0): Printing DDC gathered Modelines:
[ 208.831] (II) NOUVEAU(0): Modeline "1920x1080"x0.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.5 kHz)
[ 208.831] (II) NOUVEAU(0): Modeline "1280x720"x0.0 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync (45.0 kHz)
[ 208.831] (II) NOUVEAU(0): Modeline "1920x1080i"x0.0 74.25 1920 2448 2492 2640 1080 1084 1094 1125 interlace +hsync +vsync (28.1 kHz)
[ 208.831] (II) NOUVEAU(0): Modeline "1920x1080i"x0.0 74.25 1920 2008 2052 2200 1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz)
[ 208.831] (II) NOUVEAU(0): Modeline "1280x720"x0.0 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync (37.5 kHz)
[ 208.831] (II) NOUVEAU(0): Modeline "720x576"x0.0 27.00 720 732 796 864 576 581 586 625 -hsync -vsync (31.2 kHz)
[ 208.831] (II) NOUVEAU(0): Modeline "720x480"x0.0 27.00 720 736 798 858 480 489 495 525 -hsync -vsync (31.5 kHz)
[ 208.831] (II) NOUVEAU(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz)
[ 208.832] (II) NOUVEAU(0): Modeline "800x600"x0.0 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz)
[ 208.832] (II) NOUVEAU(0): Modeline "640x480"x0.0 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz)
[ 208.832] (II) NOUVEAU(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz)
[ 208.832] (II) NOUVEAU(0): Modeline "1600x1200"x0.0 162.00 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync (75.0 kHz)
[ 208.832] (II) NOUVEAU(0): Modeline "1280x1024"x0.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
[ 208.832] (II) NOUVEAU(0): Modeline "1280x960"x0.0 108.00 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync (60.0 kHz)
[ 208.832] (II) NOUVEAU(0): Modeline "1280x800"x0.0 71.00 1280 1328 1360 1440 800 803 809 823 +hsync -vsync (49.3 kHz)
[ 208.832] (II) NOUVEAU(0): Modeline "1440x900"x0.0 88.75 1440 1488 1520 1600 900 903 909 926 +hsync -vsync (55.5 kHz)
[ 208.832] (II) NOUVEAU(0): Modeline "1680x1050"x0.0 119.00 1680 1728 1760 1840 1050 1053 1059 1080 +hsync -vsync (64.7 kHz)
[ 208.832] (II) NOUVEAU(0): Modeline "1920x1080"x0.0 74.25 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync (27.0 kHz)
[ 208.832] (II) NOUVEAU(0): Modeline "1440x480i"x0.0 27.00 1440 1478 1602 1716 480 488 494 525 interlace -hsync -vsync (15.7 kHz)
[ 208.832] (II) NOUVEAU(0): Modeline "1440x576i"x0.0 27.00 1440 1464 1590 1728 576 580 586 625 interlace -hsync -vsync (15.6 kHz)
[ 243.682] resize called 3520 1080

Only way to recover from this is to reboot. Restart lightdm does not work, unplugging the cable does nothing. Displays are dead.

NOTE: This ONLY happens with this monitor. The older model samsung I have at the office works quite well, besides for a different bug I have logged here: https://bugs.launchpad.net/bugs/921540

A work around I have found is to delete my ~/.config/monitors.xml. So I have attached both the office working monitors file as well and my home one. But find that if I try adjust working settings afterwards at home I get the same issue described above and I have to end up deleting the monitors file again.

Thanks

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: xorg 1:7.6+10ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-12.21-generic 3.2.2
Uname: Linux 3.2.0-12-generic x86_64
.tmp.unity.scope.cities: Error: [Errno 21] Is a directory: '/tmp/unity-scope-cities'
.tmp.unity.support.test.0:

ApportVersion: 1.91-0ubuntu1
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,compiztoolbox,decor,move,resize,grid,regex,vpswitch,animation,mousepoll,snap,gnomecompat,imgpng,place,wall,workarounds,unitymtgrabhandles,expo,session,fade,ezoom,scale,unityshell,scaleaddon]
CompositorRunning: compiz
Date: Sat Feb 4 14:27:38 2012
DistUpgraded: Log time: 2011-12-21 10:30:51.848974
DistroCodename: precise
DistroVariant: ubuntu
EcryptfsInUse: Yes
ExtraDebuggingInterest: Yes, whatever it takes to get this fixed in Ubuntu
GraphicsCard:
 NVIDIA Corporation GF106 [GeForce GT 445M] [10de:0dd2] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: Dell Device [1028:046c]
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20111129.1)
MachineType: Dell Inc. XPS L701X
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-12-generic root=UUID=4d02337e-4d2f-46d2-8ff7-6bfd4cd1fb0a ro quiet splash vt.handoff=7
SourcePackage: xorg
UpgradeStatus: Upgraded to precise on 2011-12-21 (45 days ago)
dmi.bios.date: 11/29/2010
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A06
dmi.board.vendor: Dell Inc.
dmi.board.version: A06
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: A06
dmi.modalias: dmi:bvnDellInc.:bvrA06:bd11/29/2010:svnDellInc.:pnXPSL701X:pvrA06:rvnDellInc.:rn:rvrA06:cvnDellInc.:ct8:cvrA06:
dmi.product.name: XPS L701X
dmi.product.version: A06
dmi.sys.vendor: Dell Inc.
version.compiz: compiz 1:0.9.6+bzr20110929-0ubuntu8
version.ia32-libs: ia32-libs 20090808ubuntu33
version.libdrm2: libdrm2 2.4.30-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 7.11-0ubuntu4
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.11-0ubuntu4
version.xserver-xorg-core: xserver-xorg-core 2:1.11.3-0ubuntu10
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.99.901-1ubuntu3
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu3
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2

Revision history for this message
psypher (psypher246) wrote :
Revision history for this message
psypher (psypher246) wrote :
Revision history for this message
psypher (psypher246) wrote :
affects: xorg (Ubuntu) → xserver-xorg-video-nouveau (Ubuntu)
Revision history for this message
psypher (psypher246) wrote :

Please could someone confirm this bug, it is still occurring after many updates. Whole computer locks up when plugging in external monitor!

Revision history for this message
psypher (psypher246) wrote :

This bug is still occurring daily on Ubuntu precise final release

Revision history for this message
Joshua Koudys (jkoudys) wrote :

12.04 and just hit this now when plugging in my Vizio TV in via HD. Cleared out my monitor.xml to get around it.
When I plug in, my laptop monitor always goes black then both screens turn on. Sounds like it's something where the monitor configuration util is not getting the 'turning them back on' part when it loads the config. Probably stalling to show some message or something but since you have no display at the time you never see it.

If anyone can recommend some logs to gather or what I ought to attach a gdb to if I can repro the issue,please let me know. I have a backup of my bad monitor.xml.

Revision history for this message
Nils Fredrik Gjerull (nfg) wrote :
Download full text (6.9 KiB)

I experience a similar problem with my Dell System XPS L322X (Ubuntu developer laptop). It occurs when I first connect with my TV usin HDMI (with a DisplayPort adapter) and then connect to an external monitor using DisplayPort (without an adapter).

This is perhaps a relevant section of syslog:
---
Apr 16 22:36:20 barnabas kernel: [18799.110699] [drm:intel_cpt_verify_modeset] *ERROR* mode set failed: pipe 1 stuck
Apr 16 22:38:37 barnabas kernel: [18935.641681] INFO: task Xorg:1301 blocked for more than 120 seconds.
Apr 16 22:38:37 barnabas kernel: [18935.641691] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Apr 16 22:38:37 barnabas kernel: [18935.641695] Xorg D ffff88023f2d39c0 0 1301 1243 0x00400004
Apr 16 22:38:37 barnabas kernel: [18935.641705] ffff880233365ba8 0000000000000082 ffff88022f49ae00 ffff880233365fd8
Apr 16 22:38:37 barnabas kernel: [18935.641714] ffff880233365fd8 ffff880233365fd8 ffff880190168000 ffff88022f49ae00
Apr 16 22:38:37 barnabas kernel: [18935.641720] 0000000000000286 ffff880232b26800 ffff88022e66edf0 ffff88022ec25000
Apr 16 22:38:37 barnabas kernel: [18935.641727] Call Trace:
Apr 16 22:38:37 barnabas kernel: [18935.641747] [<ffffffff816808b9>] schedule+0x29/0x70
Apr 16 22:38:37 barnabas kernel: [18935.641807] [<ffffffffa00af0c5>] intel_crtc_wait_for_pending_flips+0x75/0xd0 [i915]
Apr 16 22:38:37 barnabas kernel: [18935.641818] [<ffffffff810769d0>] ? finish_wait+0x80/0x80
Apr 16 22:38:37 barnabas kernel: [18935.641853] [<ffffffffa00b1b15>] ironlake_crtc_disable+0x55/0x790 [i915]
Apr 16 22:38:37 barnabas kernel: [18935.641883] [<ffffffffa00b22de>] ironlake_crtc_dpms+0x8e/0xa0 [i915]
Apr 16 22:38:37 barnabas kernel: [18935.641912] [<ffffffffa00ad7b8>] intel_crtc_dpms+0x48/0x140 [i915]
Apr 16 22:38:37 barnabas kernel: [18935.641940] [<ffffffffa00ad770>] ? ironlake_update_plane+0x250/0x250 [i915]
Apr 16 22:38:37 barnabas kernel: [18935.641974] [<ffffffffa00bf1c0>] ? intel_dp_commit+0xb0/0xb0 [i915]
Apr 16 22:38:37 barnabas kernel: [18935.641993] [<ffffffffa007ba97>] drm_helper_connector_dpms+0x107/0x130 [drm_kms_helper]
Apr 16 22:38:37 barnabas kernel: [18935.642029] [<ffffffffa002f03d>] drm_mode_obj_set_property_ioctl+0x32d/0x340 [drm]
Apr 16 22:38:37 barnabas kernel: [18935.642060] [<ffffffffa002f080>] drm_mode_connector_property_set_ioctl+0x30/0x40 [drm]
Apr 16 22:38:37 barnabas kernel: [18935.642089] [<ffffffffa001c6d3>] drm_ioctl+0x4d3/0x580 [drm]
Apr 16 22:38:37 barnabas kernel: [18935.642121] [<ffffffffa002f050>] ? drm_mode_obj_set_property_ioctl+0x340/0x340 [drm]
Apr 16 22:38:37 barnabas kernel: [18935.642131] [<ffffffff811c11bb>] ? fsnotify+0x24b/0x340
Apr 16 22:38:37 barnabas kernel: [18935.642140] [<ffffffff81194349>] do_vfs_ioctl+0x99/0x590
Apr 16 22:38:37 barnabas kernel: [18935.642148] [<ffffffff811a0ce4>] ? mntput+0x24/0x40
Apr 16 22:38:37 barnabas kernel: [18935.642155] [<ffffffff81183b12>] ? fput+0x1a2/0x260
Apr 16 22:38:37 barnabas kernel: [18935.642162] [<ffffffff811948d9>] sys_ioctl+0x99/0xa0
Apr 16 22:38:37 barnabas kernel: [18935.642173] [<ffffffff81689a69>] system_call_fastpath+0x16/0x1b
Apr 16 22:40:37 barnabas kernel: [19055.486247...

Read more...

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xserver-xorg-video-nouveau (Ubuntu):
status: New → Confirmed
Revision history for this message
Nils Fredrik Gjerull (nfg) wrote :

I filed a bug with the dell-sputnik project #1169739.

Revision history for this message
Nils Fredrik Gjerull (nfg) wrote :
Revision history for this message
penalvch (penalvch) wrote :

psypher, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p xserver-xorg-video-nouveau REPLACE-WITH-BUG-NUMBER

Please note, given that the information from the prior release is already available, doing this on a release prior to the development one would not be helpful.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

Changed in xserver-xorg-video-nouveau (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for xserver-xorg-video-nouveau (Ubuntu) because there has been no activity for 60 days.]

Changed in xserver-xorg-video-nouveau (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.