Red Hat Bugzilla – Bug 591575
Xorg randomly deadlocks when a GL application is active
Last modified: 2018-04-11 10:45:16 EDT
Created attachment 413459 [details]
Randomly (sometimes after a matter of minutes, sometimes after several hours), running a GL application causes Xorg to completely lock - the cursor even stops moving.
The machine remains responsive and you can ssh in. The X server appears to be in a D state according to top, but if you backtrace the running GL application, you get
#0 0x00e24424 in __kernel_vsyscall ()
#1 0x002f0279 in ioctl () from /lib/libc.so.6
#2 0x003fa8f2 in drm_intel_gem_bo_map_gtt () from /usr/lib/libdrm_intel.so.1
at the top.
This is on a Lenovo Thinkpad x201s, running the PAE kernel on 32-bit.
During the hang, no information is output, but after the hang, dmesg has some interesting output.
I've experienced no such problems on a Lenovo Thinkpad T61, so I assume this is down to the different video chipset(?).
Created attachment 413460 [details]
Backtrace of GL application during hang
Created attachment 413461 [details]
lspci output on machine
I was wrong about it unlocking after several minutes, it unlocks when you attach gdb to the GL process that triggered the hang... Although it can easily trigger the hang very soon after you detach too. Is no one else seeing this? Makes GL app development quite hard (and more importantly, playing games ;))
I'm running F13 with everything up-to-date as of this message.
Created attachment 414408 [details]
Output of echo t > /proc/sysrq-trigger
Created attachment 414409 [details]
Output of echo t > /proc/sysrq-trigger
Hopefully not truncated this time.
Created attachment 414413 [details]
Output of cat /sys/kernel/debug/dri/0/i915_gem_interrupt
Eric Anholt and Chris Wilson helped to identify this as a bug fixed by the pipe_control patches in kernel 2.6.34 (rc5 or so, apparently). It'd be great to have these patches back-ported to F13 - I tried a rawhide kernel and that failed to boot entirely, so there's no easy fix for this (unless you consider building a kernel package easy).
This is the upstream bug, found it at last: https://bugs.freedesktop.org/show_bug.cgi?id=27108
*** Bug 593220 has been marked as a duplicate of this bug. ***
This message is a reminder that Fedora 13 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 13. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '13'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 13's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 13 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
Fedora 13 changed to end-of-life (EOL) status on 2011-06-25. Fedora 13 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.