X Crashes when enabling second monitor

Bug #559039 reported by Steven Coutts
40
This bug affects 7 people
Affects Status Importance Assigned to Milestone
xorg-server (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Using Kubuntu, Lucid, with all latest updates applied.

When enabling my second monitor, either using xrandr from the CLI or from display settings in system settings, my X crashes, the following is printed in the X log -:

Backtrace:
0: /usr/bin/X (xorg_backtrace+0x3b) [0x80e937b]
1: /usr/bin/X (0x8048000+0x61c7d) [0x80a9c7d]
2: (vdso) (__kernel_rt_sigreturn+0x0) [0xf17410]
3: /usr/lib/dri/i915_dri.so (0xff8000+0x20a336) [0x1202336]
4: /usr/lib/dri/i915_dri.so (_mesa_execute_program+0x2a2d) [0x113f08d]
5: /usr/lib/dri/i915_dri.so (_swrast_exec_fragment_program+0x1a4) [0x12025d4]
6: /usr/lib/dri/i915_dri.so (0xff8000+0x1662ff) [0x115e2ff]
7: /usr/lib/dri/i915_dri.so (_swrast_write_rgba_span+0x1030) [0x115fa10]
8: /usr/lib/dri/i915_dri.so (0xff8000+0x180442) [0x1178442]
9: /usr/lib/dri/i915_dri.so (0xff8000+0x159d2f) [0x1151d2f]
10: /usr/lib/dri/i915_dri.so (_swrast_Triangle+0x2d) [0x1150f3d]
11: /usr/lib/dri/i915_dri.so (0xff8000+0x18cc1f) [0x1184c1f]
12: /usr/lib/dri/i915_dri.so (0xff8000+0x18cc65) [0x1184c65]
13: /usr/lib/dri/i915_dri.so (0xff8000+0x125327) [0x111d327]
14: /usr/lib/dri/i915_dri.so (0xff8000+0x126979) [0x111e979]
15: /usr/lib/dri/i915_dri.so (_tnl_run_pipeline+0x163) [0x1112673]
16: /usr/lib/dri/i915_dri.so (0xff8000+0x7195d) [0x106995d]
17: /usr/lib/dri/i915_dri.so (_tnl_draw_prims+0xc76) [0x11133c6]
18: /usr/lib/dri/i915_dri.so (_tnl_vbo_draw_prims+0x79) [0x1113829]
19: /usr/lib/dri/i915_dri.so (vbo_exec_vtx_flush+0x5f4) [0x110b844]
20: /usr/lib/dri/i915_dri.so (vbo_exec_FlushVertices_internal+0x3a) [0x110760a]
21: /usr/lib/dri/i915_dri.so (vbo_exec_FlushVertices+0x50) [0x11076c0]
22: /usr/lib/dri/i915_dri.so (_mesa_MatrixMode+0x181) [0x10cc1d1]
23: /usr/lib/xorg/modules/extensions/libglx.so (0x5b2000+0x8d19) [0x5bad19]
24: /usr/lib/xorg/modules/extensions/libglx.so (0x5b2000+0x323c4) [0x5e43c4]
25: /usr/lib/xorg/modules/extensions/libglx.so (0x5b2000+0x36d12) [0x5e8d12]
26: /usr/bin/X (0x8048000+0x2a477) [0x8072477]
27: /usr/bin/X (0x8048000+0x1ed7a) [0x8066d7a]
28: /lib/tls/i686/cmov/libc.so.6 (__libc_start_main+0xe6) [0x3eabd6]
29: /usr/bin/X (0x8048000+0x1e961) [0x8066961]
Segmentation fault at address (nil)

Caught signal 11 (Segmentation fault). Server aborting

Some info -:

00:00.0 Host bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL Memory Controller Hub (rev 04)
00:01.0 PCI bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL PCI Express Root Port (rev 04)
00:02.0 VGA compatible controller: Intel Corporation 82915G/GV/910GL Integrated Graphics Controller (rev 04)
00:02.1 Display controller: Intel Corporation 82915G Integrated Graphics Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d3)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801FB/FW (ICH6/ICH6W) SATA Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)

Linux lycan 2.6.32-19-generic #28-Ubuntu SMP Wed Mar 31 17:46:20 UTC 2010 i686 GNU/Linux

Tags: crash kubuntu
Revision history for this message
Søren Bredlund Caspersen (soeren-b-c) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage . I have classified this bug as a bug in xorg.

affects: ubuntu → xorg (Ubuntu)
Bryce Harrington (bryce)
tags: added: kubuntu
Bryce Harrington (bryce)
affects: xorg (Ubuntu) → xorg-server (Ubuntu)
Revision history for this message
Luis Fernando Planella Gonzalez (luisfpg) wrote :

Happens for me too.
If I plug the external monitor and set the netbook lcd to mirror the external monitor, things work ok.
However, if I set it to be on the left side of the external monitor, x crashes.
Using kubuntu lucid with all updates, on a netbook with an intel video (00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03))
After that crash, I'm set to 800x600, and if I try to restore the native 1024x800 resolution, X server crashes again.
I'm attaching the dmesg, lspci, lshw and Xserver.0.log files.

Revision history for this message
Luis Fernando Planella Gonzalez (luisfpg) wrote :

Maybe a duplicate of https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/555573 ?
I have the same "Fatal server error: Failed to submit batchbuffer: Input/output error" in my Xserver.0.log...

Revision history for this message
Steven Coutts (scoutts) wrote :

I get the exact same symtoms as Luis, except I don't get dumped to 800x600.

Revision history for this message
Steven Coutts (scoutts) wrote :

I also don't seem to get "Fatal server error: Failed to submit batchbuffer: Input/output" in Xserver.0.log

Revision history for this message
Luis Fernando Planella Gonzalez (luisfpg) wrote :

New info: it worked with an external monitor with 1280x1024 resolution.
The first monitor i've tried used 1680x1050, and perhaps was pushing the netbook's onboard video card too far...
As there are some new updates, I'll try again connecting with the 1680x1050 monitor, but I'll only be at that place tomorrow, and will report here the result.

Revision history for this message
Luis Fernando Planella Gonzalez (luisfpg) wrote :

Actually, following Murphy's law, I found the cause minutes after the last post...
But, at least I found how to reproduce it :)
I use KDE. If I disable compositing (shift+alt+F12), then the second monitor works without being mirrored.
With compositing enabled, X crashes, and happens as first reported.
On my previous post, the battery was low, so KDE disabled the effects. As a result, I thought it could be related to resolution.
But actually, it's related to the desktop effects being enabled or disabled.

Now, the real question: is this a limitation of the intel hardware / driver of not being able to handle dual head with compositing or is this a bug? Could someone using gnome test whether dual head works with compiz (desktop effects) enabled?

Revision history for this message
Steven Coutts (scoutts) wrote :

Ah excellent.

Disabling compositing allows to me use multiple monitors!

Well done Luis!

Revision history for this message
Luis Fernando Planella Gonzalez (luisfpg) wrote :

A colleague has a netbook with intel video, and he has lucid ubuntu netbook remix installed.
If he plugs an external monitor with dual head, the effects are automatically disabled.
This is way more elegant than just crashing :-)
I don't know if it's an ubuntu-specific or compiz feature, but KDE should also suspend compositing automatically when a second monitor is used in a dual head setup, at least for models which don't support it.

Revision history for this message
deric (barton-tomas) wrote :

Quite the same problem with Intel(r) 82945GM (Dell Latitude D620). Cloning display works fine but "exteded desktop" with enbled desktop effects always crashes Xserver

Here's log:

(...)
(II) A4Tech RF USB Mouse: Close
(II) UnloadModule: "evdev"
(II) Logitech USB Optical Mouse: Close
(II) UnloadModule: "evdev"

Backtrace:
0: /usr/bin/X(xorg_backtrace+0x3b) [0x8133d6b]
1: /usr/bin/X(xf86SigHandler+0x55) [0x80c7d35]
2: [0xf1a400]
3: /usr/lib/xorg/modules//libshadow.so(shadowRemove+0x4e) [0x22bf2e]
4: /usr/lib/xorg/modules//libshadow.so [0x22c3e4]
5: /usr/bin/X [0x80c6b3e]
6: /usr/bin/X [0x8111bac]
7: /usr/bin/X [0x811de9c]
8: /usr/bin/X [0x812439c]
9: /usr/bin/X [0x80cf6ce]
10: /usr/lib/xorg/modules/drivers//vesa_drv.so [0xfa0bb8]
11: /usr/bin/X [0x80c784c]
12: /usr/bin/X [0x816143e]
13: /usr/bin/X [0x80e17f5]
14: /usr/bin/X [0x80cc192]
15: /usr/bin/X [0x814a890]
16: /usr/bin/X [0x817bf49]
17: /usr/bin/X [0x8144516]
18: /usr/lib/xorg/modules/extensions//libglx.so [0x15fd0a]
19: /usr/bin/X(main+0x428) [0x80725a8]
20: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0xb8db56]
21: /usr/bin/X [0x80719c1]
Saw signal 11. Server aborting.
 ddxSigGiveUp: Closing log

Revision history for this message
deric (barton-tomas) wrote :

even with disabled desktop effects (extended desktop mode) pretty random crash:

(II) XKB: reuse xkmfile /var/lib/xkb/server-396BC46DFAA812E9D898F4577B66AF8390BA1F07.xkm
(II) XKB: reuse xkmfile /var/lib/xkb/server-396BC46DFAA812E9D898F4577B66AF8390BA1F07.xkm
(II) XKB: reuse xkmfile /var/lib/xkb/server-396BC46DFAA812E9D898F4577B66AF8390BA1F07.xkm

Backtrace:
0: /usr/bin/X (xorg_backtrace+0x3b) [0x80e937b]
1: /usr/bin/X (0x8048000+0x61c7d) [0x80a9c7d]
2: (vdso) (__kernel_rt_sigreturn+0x0) [0xced410]
3: /usr/lib/dri/i915_dri.so (0xff6000+0x20a486) [0x1200486]
4: /usr/lib/dri/i915_dri.so (_mesa_execute_program+0x2a2d) [0x113d18d]
5: /usr/lib/dri/i915_dri.so (_swrast_exec_fragment_program+0x1a4) [0x1200724]
6: /usr/lib/dri/i915_dri.so (0xff6000+0x16640f) [0x115c40f]
7: /usr/lib/dri/i915_dri.so (_swrast_write_rgba_span+0x10b0) [0x115dba0]
8: /usr/lib/dri/i915_dri.so (0xff6000+0x1805d2) [0x11765d2]
9: /usr/lib/dri/i915_dri.so (0xff6000+0x159e5f) [0x114fe5f]
10: /usr/lib/dri/i915_dri.so (_swrast_Triangle+0x2d) [0x114f05d]
11: /usr/lib/dri/i915_dri.so (0xff6000+0x18cdaf) [0x1182daf]
12: /usr/lib/dri/i915_dri.so (0xff6000+0x18cdf5) [0x1182df5]
13: /usr/lib/dri/i915_dri.so (0xff6000+0x125377) [0x111b377]
14: /usr/lib/dri/i915_dri.so (0xff6000+0x1269c9) [0x111c9c9]
15: /usr/lib/dri/i915_dri.so (_tnl_run_pipeline+0x163) [0x11106b3]
16: /usr/lib/dri/i915_dri.so (0xff6000+0x719fd) [0x10679fd]
17: /usr/lib/dri/i915_dri.so (_tnl_draw_prims+0xc76) [0x1111406]
18: /usr/lib/dri/i915_dri.so (_tnl_vbo_draw_prims+0x79) [0x1111869]
19: /usr/lib/dri/i915_dri.so (vbo_exec_vtx_flush+0x5f4) [0x1109884]
20: /usr/lib/dri/i915_dri.so (vbo_exec_FlushVertices_internal+0x97) [0x11056a7]
21: /usr/lib/dri/i915_dri.so (vbo_exec_FlushVertices+0x50) [0x1105700]
22: /usr/lib/dri/i915_dri.so (_mesa_MatrixMode+0xdf) [0x10ca1ef]
23: /usr/lib/xorg/modules/extensions/libglx.so (0x5ab000+0x8d09) [0x5b3d09]
24: /usr/lib/xorg/modules/extensions/libglx.so (0x5ab000+0x32324) [0x5dd324]
25: /usr/lib/xorg/modules/extensions/libglx.so (0x5ab000+0x36c22) [0x5e1c22]
26: /usr/bin/X (0x8048000+0x2a477) [0x8072477]
27: /usr/bin/X (0x8048000+0x1ed7a) [0x8066d7a]
28: /lib/tls/i686/cmov/libc.so.6 (__libc_start_main+0xe6) [0x32ebd6]
29: /usr/bin/X (0x8048000+0x1e961) [0x8066961]
Segmentation fault at address (nil)

Caught signal 11 (Segmentation fault). Server aborting

Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

(II) Video Bus: Close
(II) UnloadModule: "evdev"

Revision history for this message
myle (mydimle) wrote :

I can confirm #7 post behavior in Debian testing (squeeze) having KDE 4.4.3 and being up to date (21/5/2010).

Revision history for this message
Luis Fernando Planella Gonzalez (luisfpg) wrote :

I have created a bug report for the intel driver, as this seems driver specific: https://bugs.freedesktop.org/show_bug.cgi?id=28137
My first attempt was to report on KDE, but they stated (with reason) that the problem was the driver: https://bugs.kde.org/show_bug.cgi?id=237506

Revision history for this message
Luis Fernando Planella Gonzalez (luisfpg) wrote :

Things are working now: when enabling dual head, compositing is disabled (presumably by the intel driver, not KDE).
Can be marked as resolved by upstream.

Bryce Harrington (bryce)
tags: added: crash
Changed in xorg-server (Ubuntu):
status: New → Confirmed
Revision history for this message
Carlos Corbacho (carlos.corbacho) wrote :

I don't believe this is fixed, as I still see it on Kubuntu Lucid on an X60 (this is with xserver-xorg-video-intel 2:2.9.1-3ubuntu5). I have a Dell monitor plugged up that I'm trying to add as right of the X60 screen at 1280 x 1024:

Backtrace:
0: /usr/bin/X (xorg_backtrace+0x3b) [0x80e937b]
1: /usr/bin/X (0x8048000+0x61c7d) [0x80a9c7d]
2: (vdso) (__kernel_rt_sigreturn+0x0) [0xf57410]
3: /usr/lib/dri/i915_dri.so (0xf58000+0x20a486) [0x1162486]
4: /usr/lib/dri/i915_dri.so (_mesa_execute_program+0x2a2d) [0x109f18d]
5: /usr/lib/dri/i915_dri.so (_swrast_exec_fragment_program+0x1a4) [0x1162724]
6: /usr/lib/dri/i915_dri.so (0xf58000+0x16640f) [0x10be40f]
7: /usr/lib/dri/i915_dri.so (_swrast_write_rgba_span+0x10b0) [0x10bfba0]
8: /usr/lib/dri/i915_dri.so (0xf58000+0x1805d2) [0x10d85d2]
9: /usr/lib/dri/i915_dri.so (0xf58000+0x159e5f) [0x10b1e5f]
10: /usr/lib/dri/i915_dri.so (_swrast_Triangle+0x2d) [0x10b105d]
11: /usr/lib/dri/i915_dri.so (0xf58000+0x18cdaf) [0x10e4daf]
12: /usr/lib/dri/i915_dri.so (0xf58000+0x18cdf5) [0x10e4df5]
13: /usr/lib/dri/i915_dri.so (0xf58000+0x125377) [0x107d377]
14: /usr/lib/dri/i915_dri.so (0xf58000+0x1269c9) [0x107e9c9]
15: /usr/lib/dri/i915_dri.so (_tnl_run_pipeline+0x163) [0x10726b3]
16: /usr/lib/dri/i915_dri.so (0xf58000+0x719fd) [0xfc99fd]
17: /usr/lib/dri/i915_dri.so (_tnl_draw_prims+0xc76) [0x1073406]
18: /usr/lib/dri/i915_dri.so (_tnl_vbo_draw_prims+0x79) [0x1073869]
19: /usr/lib/dri/i915_dri.so (vbo_exec_vtx_flush+0x5f4) [0x106b884]
20: /usr/lib/dri/i915_dri.so (vbo_exec_FlushVertices_internal+0x97) [0x10676a7]
21: /usr/lib/dri/i915_dri.so (vbo_exec_FlushVertices+0x50) [0x1067700]
22: /usr/lib/dri/i915_dri.so (_mesa_MatrixMode+0xdf) [0x102c1ef]
23: /usr/lib/xorg/modules/extensions/libglx.so (0x6a0000+0x8d09) [0x6a8d09]
24: /usr/lib/xorg/modules/extensions/libglx.so (0x6a0000+0x32324) [0x6d2324]
25: /usr/lib/xorg/modules/extensions/libglx.so (0x6a0000+0x36c22) [0x6d6c22]
26: /usr/bin/X (0x8048000+0x2a477) [0x8072477]
27: /usr/bin/X (0x8048000+0x1ed7a) [0x8066d7a]
28: /lib/tls/i686/cmov/libc.so.6 (__libc_start_main+0xe6) [0x1f3bd6]
29: /usr/bin/X (0x8048000+0x1e961) [0x8066961]
Segmentation fault at address (nil)

Caught signal 11 (Segmentation fault). Server aborting

---

I have Google Chrome installed. Interestingly enough, if I close that, then KDE seems less likely to crash when doing the resizing (may be unrelated).

Revision history for this message
Max (maxmax) wrote :

Similar issue for me, 10.04, gdm 2.30.2.is.2.30.0-0ubuntu4, never happened until today, only software change was installing some regular official mainstream updates and tweetdeck app.

Backtrace:
0: /usr/bin/X (xorg_backtrace+0x3b) [0x80e938b]
1: /usr/bin/X (0x8048000+0x61c8d) [0x80a9c8d]
2: (vdso) (__kernel_rt_sigreturn+0x0) [0xd4e410]
3: /usr/bin/X (0x8048000+0x2a1b0) [0x80721b0]
4: /usr/bin/X (0x8048000+0x1ed7a) [0x8066d7a]
5: /lib/tls/i686/cmov/libc.so.6 (__libc_start_main+0xe6) [0x2ccbd6]
6: /usr/bin/X (0x8048000+0x1e961) [0x8066961]

Caught signal 3 (Quit). Server aborting

Revision history for this message
penalvch (penalvch) wrote :

Steven Coutts, 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 xorg-server REPLACE-WITH-BUG-NUMBER

Thank you for your understanding.

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

Changed in xorg-server (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
Paul White (paulw2u) wrote :

Ubuntu 10.04 (lucid) reached end-of-life on May 9, 2013.

This bug report has sat incomplete for almost nine years due to
bug watches. Reporter did not respond to a request for apport
information in comment #17 so closing now.

Changed in xorg-server (Ubuntu):
status: Incomplete → Invalid
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.