Bug 38392

Summary: [IvyBridge]GL screen savers cause GPU hang
Product: DRI Reporter: Ouping Zhang <ouping.zhang>
Component: DRM/IntelAssignee: Kenneth Graunke <kenneth>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: medium CC: jbarnes
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg none

Description Ouping Zhang 2011-06-16 23:33:41 UTC
Created attachment 48074 [details]
dmesg

System Environment:
--------------------------
Platform: IvyBridge 
Libdrm:     (master)2.4.26
Mesa:       (master)8875dd58719b978283e89acf04422a4eaf9b021d
Xserver:    (server-1.10-branch)xorg-server-1.10.2-11-g9551f5041915fa00ca243a279efb55de2ff11a00
Xf86_video_intel:(master)2.15.0-96-ga1ee4b930846d4ba9274028c08800b882fc926f1
Cairo:      (master)3b9c8744898823a4b09917f0540a324318fef726
Libva:      (master)3c1b6875b589f3a40709a889da85b979e34db625
Kernel:     (drm-intel-fixes)6a574b5b9b186e28abd3e571dfd1700c5220b510

Bug detailed description:
-------------------------
running the command: xscreensaver &
select some GL program of xscreensaver, running the command: xscreensaver-command -select 2 or LIBGL_ALWAYS_SOFTWARE=1 xscreensaver-command -select 2
after displaying one frame, GPU hang right now.
Comment 1 Kenneth Graunke 2011-06-17 12:51:03 UTC
You need Jesse's kernel patches which make pageflipping work:

http://lists.freedesktop.org/archives/intel-gfx/2011-June/011014.html

Without those, most fullscreen apps will GPU hang.  As far as I know, those patches fix the issue.
Comment 2 Ouping Zhang 2011-06-19 20:06:45 UTC
Thanks.
Using Jesse's kernel patches, xscreensaver can run well in Ivy Bridge and Sandy Bridge.
(In reply to comment #1)
> You need Jesse's kernel patches which make pageflipping work:
> http://lists.freedesktop.org/archives/intel-gfx/2011-June/011014.html
> Without those, most fullscreen apps will GPU hang.  As far as I know, those
> patches fix the issue.
Comment 3 Gordon Jin 2011-06-19 23:40:27 UTC

*** This bug has been marked as a duplicate of bug 38362 ***
Comment 4 Florian Mickler 2011-06-30 03:42:40 UTC
A patch referencing this bug report has been merged in Linux v3.0-rc5-80-gca56a95:

commit 7c9017e5b77118439952fe8dc22809bae4fae4b6
Author: Jesse Barnes <jbarnes@virtuousgeek.org>
Date:   Thu Jun 16 12:18:54 2011 -0700

    drm/i915: add Ivy Bridge page flip support

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.