FS#29285 - [xf86-video-intel] Gnome Display Manager Crashes When HDMI Output is Disconnected
Attached to Project:
Arch Linux
Opened by Conner (quasifilmlie) - Thursday, 05 April 2012, 04:39 GMT
Last edited by Andrea Scarpino (BaSh) - Monday, 14 May 2012, 17:18 GMT
Opened by Conner (quasifilmlie) - Thursday, 05 April 2012, 04:39 GMT
Last edited by Andrea Scarpino (BaSh) - Monday, 14 May 2012, 17:18 GMT
|
Details
I sometimes like to plug my laptop into the tv to watch
movies etc and since upgrading to 3.4 I can no longer do
this properly. When I unplug the hdmi cable the whole
computer freezes and I have to do a hard shutdown. These are
the .xsession-errors I am getting.
Window manager warning: CurrentTime used to choose focus window; focus window may not be correct. Window manager warning: Got a request to focus the no_focus_window with a timestamp of 0. This shouldn't happen! (epiphany:15260): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed (epiphany:15260): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed Window manager warning: CurrentTime used to choose focus window; focus window may not be correct. Window manager warning: Got a request to focus the no_focus_window with a timestamp of 0. This shouldn't happen! (evolution-alarm-notify:2684): evolution-alarm-notify-WARNING **: alarm.c:254: Requested removal of nonexistent alarm! On reboot I get this error message. I am using gnome-shell with no custom config. I have tried with and without extensions. The only extension I use is alternative status menu from extensions.gnome.org. I have tried the offical gnome 3.4 live cd and have NO problems. I did NOT have this problem in 3.2. I have reinstalled arch so I have pacman logs to give but after reinstalling I still have the issue. The crash happens when logged in and alos at the login screen when the resolution is only 640x480 on both screens. When tv is plugged in, the resolutions on my laptop are 1600x900 and the tv is 1920x1080. I am NOT using fallback mode. |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Monday, 14 May 2012, 17:18 GMT
Reason for closing: Fixed
Additional comments about closing: xorg-server-1.12.1.901-2
Monday, 14 May 2012, 17:18 GMT
Reason for closing: Fixed
Additional comments about closing: xorg-server-1.12.1.901-2
This isn't likely to be a GDM bug. It sounds like an X driver issue of some
sort. Filing with your distribution was appropriate. Alternatively, you can
file an upstream report at bugs.freedesktop.org.
Xorg.0.log (36.4 KiB)
.xsession-errors (3.2 KiB)
.xsession-errors.old (3.4 KiB)
I already heard from Debian guys that this issue might me related to intel vga driver + xorg.
I wasn't having this issue before reinstalling my arch recently with the most updated packages (`pacman -Qs` attached -- just in case anyone wants to know)
Xorg.0.log (77.6 KiB)
Xorg.0.log.old (56 KiB)
pacman-Qs.txt (58.7 KiB)
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/970049
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/972852
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/921236
Could this be marked confirmed.
https://bugs.freedesktop.org/show_bug.cgi?id=47395
Xorg.0.log.old (118.5 KiB)
.xsession-errors (6 KiB)
[ 215.600] BUG: triggered 'if (!dev->valuator || dev->valuator->numAxes < 2)'
[ 215.600] BUG: getevents.c:845 in scale_to_desktop()
[ 215.600]
[ 215.600] Backtrace:
[ 215.600] 0: /usr/bin/Xorg (xorg_backtrace+0x36) [0x55d276]
[ 215.600] 1: /usr/bin/Xorg (0x400000+0x47d1c) [0x447d1c]
[ 215.600] 2: /usr/bin/Xorg (0x400000+0x4823d) [0x44823d]
[ 215.600] 3: /usr/bin/Xorg (GetPointerEvents+0x387) [0x449877]
[ 215.600] 4: /usr/bin/Xorg (0x400000+0x148263) [0x548263]
[ 215.600] 5: /usr/bin/Xorg (miPointerWarpCursor+0xdb) [0x54867b]
[ 215.600] 6: /usr/bin/Xorg (0x400000+0x6a401) [0x46a401]
[ 215.600] 7: /usr/bin/Xorg (0x400000+0x148b91) [0x548b91]
[ 215.600] 8: /usr/bin/Xorg (0x400000+0xecc3f) [0x4ecc3f]
[ 215.601] 9: /usr/bin/Xorg (0x400000+0xd9368) [0x4d9368]
[ 215.601] 10: /usr/bin/Xorg (RRPointerScreenConfigured+0x73) [0x4d9563]
[ 215.601] 11: /usr/bin/Xorg (RRTellChanged+0xfb) [0x4d364b]
[ 215.601] 12: /usr/bin/Xorg (RRCrtcSet+0x198) [0x4d44e8]
[ 215.601] 13: /usr/bin/Xorg (ProcRRSetCrtcConfig+0x3e9) [0x4d5539]
[ 215.601] 14: /usr/bin/Xorg (0x400000+0x33f52) [0x433f52]
[ 215.601] 15: /usr/bin/Xorg (0x400000+0x23165) [0x423165]
[ 215.601] 16: /lib/libc.so.6 (__libc_start_main+0xf5) [0x7fed584cc455]
[ 215.601] 17: /usr/bin/Xorg (0x400000+0x2343d) [0x42343d]
[ 215.601]
Name : xf86-video-intel
Version : 2.18.0-3
URL : http://xorg.freedesktop.org/
Licenses : custom
Groups : xorg-drivers xorg
Provides : None
Depends On : intel-dri libxvmc libpciaccess libdrm xcb-util>=0.3.8 libxfixes udev
Optional Deps : None
Required By : None
Conflicts With : xorg-server<1.12.0 xf86-video-i810 xf86-video-intel-legacy
Replaces : None
Installed Size : 808.00 KiB
Packager : Jan de Groot <jgc@archlinux.org>
Architecture : x86_64
Build Date : Sun 15 Apr 2012 08:18:04 AM EDT
Install Date : Sun 15 Apr 2012 07:27:54 AM EDT
Install Reason : Explicitly installed
Install Script : No
Description : X.org Intel i810/i830/i915/945G/G965+ video drivers
xf86-video-intel: 19 total files, 0 missing files
i did pacman -U for the intel package. my mirror had xorg-server 1.12.1-2 though.
Curiously, my .xsession-error is empty.
One set is ps/2 mouse and keyboard, and with this set all OK.
With two set A4Tech Mouse + Keyboard linked to PC by one usb dongle, Xorg crashes in Minecraft when i press "E" button (to open inventory).
Errors in Xorg:
[ 215.600] BUG: triggered 'if (!dev->valuator || dev->valuator->numAxes < 2)'
[ 215.600] BUG: getevents.c:845 in scale_to_desktop()
[ 215.600]
[ 215.600] Backtrace:
[ 215.600] 0: /usr/bin/Xorg (xorg_backtrace+0x36) [0x5
[ 135.990] Backtrace:
[ 135.990] 0: /usr/bin/X (xorg_backtrace+0x48) [0x81f42e8]
[ 135.991] 1: /usr/bin/X (0x8048000+0x4ab4d) [0x8092b4d] scale_to_desktop
[ 135.991] 2: /usr/bin/X (0x8048000+0x4ba12) [0x8093a12] fill_pointer_events
[ 135.991] 3: /usr/bin/X (0x8048000+0x4be57) [0x8093e57] emulate_scroll_button_events
[ 135.991] 4: /usr/bin/X (GetPointerEvents+0x2af) [0x8094186] GetPointerEvents
[ 135.991] 5: /usr/bin/X (0x8048000+0x195927) [0x81dd927] miPointerMove
[ 135.991] 6: /usr/bin/X (miPointerWarpCursor+0xe6) [0x81dcdb5] miPointerWarpCursor
[ 135.991] 7: /usr/bin/X (0x8048000+0x77b2b) [0x80bfb2b] xf86WarpCursor
[ 135.991] 8: /usr/bin/X (0x8048000+0x194ae3) [0x81dcae3] miPointerSetCursorPosition
[ 135.991] 9: /usr/bin/X (0x8048000+0x11c14e) [0x816414e] AnimCurSetCursorPosition
[ 135.991] 10: /usr/bin/X (ProcWarpPointer+0x3fe) [0x8086daa] ProcWarpPointer
[ 135.991] 11: /usr/bin/X (0x8048000+0x28106) [0x8070106] Dispatch
[ 135.991] 12: /usr/bin/X (0x8048000+0x1a957) [0x8062957] main
[ 135.991] 13: /lib/libc.so.6 (__libc_start_main+0xf5) [0xb741f3d5]
[ 135.991] 14: /usr/bin/X (0x8048000+0x1a321) [0x8062321]
I setuped "Debugging with one machine Version 1" from "http://www.x.org/wiki/Development/Documentation/ServerDebugging" and after rebooting i see in debug files: xorg don't crashed.
Then i give xorg pid and run "sleep 60 && kill -n 11 xorg_pid", run minecraft and make it to freeze X.
Now i have real gdb backtrace.
while ((fabs(delta) >= fabs(incr)) && (bug == 0)) {
int nev_tmp;
if (delta > 0)
delta -= fabs(incr);
else if (delta < 0)
delta += fabs(incr);
when
delta = 548.33340590666785
incr = 6.3659874129151343e-314
with attached patch all goes OK, but im not sure it's correct, but solve problem.
this silly mistake firstly appeared in http://cgit.freedesktop.org/xorg/xserver/commit/dix/getevents.c?id=3304bbff9b4ed63f1a47410a5320a136420ba2c6 commit.
+ * Copyright © 2011 The Chromium Authors
Oh, now i see where are from this buggy code.
Seems to have taken care of the problem for me.
PKGBUILD (7.7 KiB)
Seems to have taken care of the problem for me.
PKGBUILD (7.7 KiB)