Bug 57958 - [GM45] X stuck in uninterruptible sleep (flip vs gpu hang hang)
Summary: [GM45] X stuck in uninterruptible sleep (flip vs gpu hang hang)
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-06 20:23 UTC by main.haarp
Modified: 2017-07-24 22:59 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description main.haarp 2012-12-06 20:23:00 UTC
Bug description:
If I switch the screen off (e.g. xset dpms force off, entering standby, xscreensaver, etc), the screen does switch off, but X becomes stuck in uninterruptible sleep. This ONLY happens if I have been playing gzdoom (+brutal doom mod) with hardware acceleration prior to that.
I have no choice but to forcibly reboot the machine when this happens, because not even SIGKILL can kill it. ps reveals:

  PID COMMAND  STAT WCHAN
 2200 X        Ds+  intel_finish_fb

It is stuck in intel_finish_fb.

System environment:
-- chipset: Intel GM45
-- system architecture: 64-bit
-- xf86-video-intel: 2.20.13, 2.2.15 also tested
-- xserver: 1.13.0
-- mesa: 9.0
-- libdrm: 2.4.40
-- kernel: gentoo-sources-3.5.7
-- Linux distribution: Gentoo
-- Machine or mobo model: Lenovo Thinkpad SL510
-- Display connector: LVDS @ 1920x1080

Reproducing steps:
-Play gzdoom with BD mod for a few minutes
-Quit game
-xset dpms force off
-display switches off and X stuck

Additional info:
No suspicious kernel log or Xorg log.

xorg.conf:
Section "Monitor"
        Identifier      "<default monitor>"
        DisplaySize     344.16 193.59
EndSection


Further testing in progress.
Comment 1 Chris Wilson 2012-12-06 20:34:53 UTC
Looks like a GPU hang whilst waiting on pending flips. The root cause of the hang should be fixed in 3.6.y.
Comment 2 main.haarp 2012-12-06 23:05:15 UTC
(forgot to mention: I'm using SNA)

Thanks, I'm trying linux 3.6.8 now, but encountering very frequent freezes during gzdoom on that one. I'll open a separate report for that issue, then report back here once that's settled.
Comment 3 Chris Wilson 2012-12-07 00:08:43 UTC
*** Bug 57961 has been marked as a duplicate of this bug. ***
Comment 4 main.haarp 2012-12-07 15:11:16 UTC
It appears that 3.6.x indeed solved this for me. I kept looking for the bug inside userspace, so it didn't occur to me to try a kernel upgrade before reporting this bug. Thanks!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.