FS#18331 - [libdrm] new xf86-video-intel exposes libdrm bug

Attached to Project: Arch Linux
Opened by Tavian Barnes (tavianator) - Monday, 15 February 2010, 00:18 GMT
Last edited by Jan de Groot (JGC) - Thursday, 18 February 2010, 20:58 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

xf86-video-intel 2.10.0 is causing http://bugs.freedesktop.org/show_bug.cgi?id=25911 to occur on my system when I start KDE (the failsafe session is fine). The symptoms are a frozen display, but with response to magic SysRq. /var/log/everything.log shows:

Feb 14 13:58:18 antimatter kernel: [drm:i915_gem_object_pin] *ERROR* Failure to install fence: -28
Feb 14 13:58:18 antimatter kernel: ------------[ cut here ]------------
Feb 14 13:58:18 antimatter kernel: kernel BUG at drivers/gpu/drm/i915/i915_gem.c:2108!
Feb 14 13:58:18 antimatter kernel: invalid opcode: 0000 [#1] PREEMPT SMP
...

(see the linked report for similar logs). The commit http://cgit.freedesktop.org/mesa/drm/commit/?id=fdcde592c2c48e143251672cf2e82debb07606bd works around this issue, but no release including it has been made. We should cherry-pick this commit into our libdrm, as X is quite unusable (here) without it.

I'm just compiling a git libdrm now, I'll post whether that fixes the bug for me in a sec.

Additional info:
xf86-video-intel: 2.10.0-1
libdrm: 2.4.17-4

Steps to reproduce:

Apparently varies a lot depending on the machine; I get hit 100% of the time when starting KDE.
This task depends upon

Closed by  Jan de Groot (JGC)
Thursday, 18 February 2010, 20:58 GMT
Reason for closing:  Fixed
Comment by Tavian Barnes (tavianator) - Monday, 15 February 2010, 07:08 GMT
Actually that didn't fix it for me, so I'm still looking for a fix. Once I find it I'll post it.
Comment by Jan de Groot (JGC) - Monday, 15 February 2010, 07:38 GMT
That patch is applied to our libdrm package.
Comment by Tavian Barnes (tavianator) - Thursday, 18 February 2010, 20:24 GMT
Oops, shoulda checked ><

Anyway it's fixed by either the recent libdrm or xorg-server-update.

Loading...