Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#41264 - [intel-dri] DRI segfault with Intel i915 driver on xserver 1.16

Attached to Project: Arch Linux
Opened by kinodont (kinodont) - Saturday, 19 July 2014, 10:28 GMT
Last edited by Laurent Carlier (lordheavy) - Monday, 21 July 2014, 20:04 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Laurent Carlier (lordheavy)
Architecture i686
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 6
Private No

Details

Description:
After an upgrade to xorg-server 1.16 applications that use DRI segfault
on Intel graphics cards using the i915 driver.


Additional info:
xorg-server 1.16.0-2
intel-dri 10.2.3-2


Steps to reproduce:
$ glxinfo
name of display: :0.0
Segmentation fault

from dmesg:
glxinfo[12117]: segfault at 4 ip b6f665f5 sp bf918580 error 4 in i915_dri.so[b6cdd000+596000]

backtrace (without debugging symbols):
#0 0xb77815f5 in ?? () from /usr/lib/xorg/modules/dri/i915_dri.so
#1 0xb7764e0e in ?? () from /usr/lib/xorg/modules/dri/i915_dri.so
#2 0xb7f7d21c in ?? () from /usr/lib/libGL.so.1
#3 0xb7f4f5c8 in ?? () from /usr/lib/libGL.so.1
#4 0xb7f4ba8b in ?? () from /usr/lib/libGL.so.1
#5 0xb7f4c3d4 in glXChooseVisual () from /usr/lib/libGL.so.1
#6 0x08049194 in ?? ()
#7 0xb7c3be2e in __libc_start_main () from /usr/lib/libc.so.6
#8 0x0804997c in ?? ()


Related bug reports:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=754297
https://bugzilla.redhat.com/show_bug.cgi?id=1115323

Possibly related:
https://bbs.archlinux.org/viewtopic.php?pid=1437573


Upstream fix:
This fix upstream seems like it should fix the issue (haven't tested myself):
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b656e3c603da46fe0acd9905dc039c93d76f0b06
This task depends upon

Closed by  Laurent Carlier (lordheavy)
Monday, 21 July 2014, 20:04 GMT
Reason for closing:  Fixed
Additional comments about closing:  xf86-video-intel-2.99.912-4
Comment by Laurent Carlier (lordheavy) - Monday, 21 July 2014, 09:58 GMT
Can you try with xf86-video-intel packages here: http://pkgbuild.com/~lcarlier/pkgtest/ ?
Packages have dri3 disabled
Comment by kinodont (kinodont) - Monday, 21 July 2014, 10:41 GMT
works with DRI3 disabled

Package versions:
intel-dri 10.2.4-1
xf86-video-intel 2.99.912-3.1

Relevant changes in Xorg.0.log, (-) old (+) new:
@@ -115,9 +115,6 @@
(--) intel(0): Output VGA1 using initial mode 1280x1024 on pipe 0
(**) intel(0): TearFree disabled
(==) intel(0): DPI set to (96, 96)
-(II) Loading sub module "dri3"
-(II) LoadModule: "dri3"
-(II) Module "dri3" already built-in
(II) Loading sub module "dri2"
(II) LoadModule: "dri2"
(II) Module "dri2" already built-in
@@ -133,11 +130,10 @@
(II) intel(0): HW Cursor enabled
(II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
(==) intel(0): DPMS enabled
-(II) intel(0): [XvMC] i915_xvmc driver initialized.
(II) intel(0): [DRI2] Setup complete
(II) intel(0): [DRI2] DRI driver: i915
(II) intel(0): [DRI2] VDPAU driver: i915
-(II) intel(0): direct rendering: DRI2 DRI3 enabled
+(II) intel(0): direct rendering: DRI2 enabled
(II) intel(0): hardware support for Present enabled
(==) intel(0): hotplug detection: "enabled"
(--) RandR disabled

Loading...