FS#38335 - [xf86-video-intel] 2.21.15-2 segfaults on DPMS standby when using SNA acceleration.

Attached to Project: Arch Linux
Opened by Mike Sampson (mikesd) - Wednesday, 01 January 2014, 05:02 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 03 January 2014, 05:21 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Laurent Carlier (lordheavy)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

The latest xf86-video-intel package in [testing] segfaults when the displays go into DPMS standby on my system. This package enables SNA for acceleration. Switching the AccelMethod back to uxa using the method given in the install message fixes the issue for me.

Additional info:
Package version: xf86-video-intel 2.21.15-2

Graphics hardware:
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller (rev 09)

Stack trace from Xorg.0.log

[ 3747.123] (EE)
[ 3747.123] (EE) Backtrace:
[ 3747.123] (EE) 0: /usr/bin/X (xorg_backtrace+0x48) [0x5834c8]
[ 3747.123] (EE) 1: /usr/bin/X (0x400000+0x1871a9) [0x5871a9]
[ 3747.123] (EE) 2: /usr/lib/libpthread.so.0 (0x7f4bf4676000+0xf870) [0x7f4bf4685870]
[ 3747.123] (EE) 3: /usr/bin/X (DamageUnregister+0x1e) [0x50de2e]
[ 3747.123] (EE) 4: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f4bf05fc000+0x55d46) [0x7f4bf0651d46]
[ 3747.123] (EE) 5: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f4bf05fc000+0x55e3c) [0x7f4bf0651e3c]
[ 3747.123] (EE) 6: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f4bf05fc000+0x58250) [0x7f4bf0654250]
[ 3747.123] (EE) 7: /usr/bin/X (xf86DPMSSet+0x6f) [0x4a912f]
[ 3747.123] (EE) 8: /usr/bin/X (xf86SaveScreen+0x2a) [0x4a91ea]
[ 3747.124] (EE) 9: /usr/bin/X (dixSaveScreens+0x22d) [0x46431d]
[ 3747.124] (EE) 10: /usr/bin/X (DPMSSet+0xef) [0x472b3f]
[ 3747.124] (EE) 11: /usr/bin/X (0x400000+0x1805d4) [0x5805d4]
[ 3747.124] (EE) 12: /usr/bin/X (0x400000+0x1807fb) [0x5807fb]
[ 3747.124] (EE) 13: /usr/bin/X (WaitForSomething+0x57b) [0x580e2b]
[ 3747.124] (EE) 14: /usr/bin/X (0x400000+0x35751) [0x435751]
[ 3747.124] (EE) 15: /usr/bin/X (0x400000+0x3980a) [0x43980a]
[ 3747.124] (EE) 16: /usr/lib/libc.so.6 (__libc_start_main+0xf5) [0x7f4bf34ecb05]
[ 3747.124] (EE) 17: /usr/bin/X (0x400000+0x24dae) [0x424dae]
[ 3747.124] (EE)
[ 3747.124] (EE) Segmentation fault at address 0x1000000010
[ 3747.124] (EE)
Fatal server error:
[ 3747.124] (EE) Caught signal 11 (Segmentation fault). Server aborting

Steps to reproduce:
install xf86-video-intel 2.21.15-2 and wait for the displays to go into standby or execute "xset dpms force standby" or similar.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Friday, 03 January 2014, 05:21 GMT
Reason for closing:  Fixed
Comment by Andreas Radke (AndyRTR) - Wednesday, 01 January 2014, 07:53 GMT
Please check for known upstream bugs and check if the recent beta release 2.99.907 also fails (recompile trunk with abs).
Comment by Adrian Băcîrcea (adytzu2007) - Thursday, 02 January 2014, 11:02 GMT
This is also reproducible in the 2.99.907 release. Switching to "uxa" acceleration works for me as well.
Graphics hardware:
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
Comment by Marti (intgr) - Thursday, 02 January 2014, 13:49 GMT
I did not find an open bug so I opened a new one with upstream: https://bugs.freedesktop.org/show_bug.cgi?id=73224
Comment by Marti (intgr) - Thursday, 02 January 2014, 15:11 GMT
According to Chris Wilson from the bug report: xf86-video-intel-2.21.15 is incompatible with xorg-1.15

Is this an Arch packagaging issue then?
Comment by Andreas Radke (AndyRTR) - Thursday, 02 January 2014, 18:46 GMT
I'm going to bump to latest beta driver into our testing repo. If it keeps crashing keep reporting it to the fdo tracker.
Comment by Andreas Radke (AndyRTR) - Thursday, 02 January 2014, 18:49 GMT
I can't confirm this on my notebook. It doesn't seem to use DPMS properly since the initial setup.
The screen goes black but backlight keeps going. If you have an idea how to make it switch power off please tell me.
Comment by Marti (intgr) - Thursday, 02 January 2014, 21:37 GMT
After updating to 2.99.907 I can no longer reproduce this problem. Just to be sure, I downgraded & upgraded 3 times and every time the old version would crash, new version didn't any more.

Although Adrian Băcîrcea said that he's able to reproduce this with 2.99.907, maybe he messed something up by accident?
Comment by Adrian Băcîrcea (adytzu2007) - Thursday, 02 January 2014, 23:28 GMT
I redid the test and the X server seg faulted again. I attached the Xorg.log and the xorg.conf at the time of the failure.
I test this by issuing the command "xset dpms force off".
Comment by Marti (intgr) - Thursday, 02 January 2014, 23:43 GMT
Adrian, please reopen the bug with upstream at and send your logs there: https://bugs.freedesktop.org/show_bug.cgi?id=73224

Also, get a gdb "bt full" stack trace, as requested by Chris.
Comment by Adrian Băcîrcea (adytzu2007) - Friday, 03 January 2014, 00:12 GMT
It seems it was me after all. I upgraded to the package in testing and it's not reproducible anymore. Sorry for the false alarm.

Loading...