Bug 17617 - [GM45] enabling acceleration breaks suspend-to-ram on thinkpad T500
Summary: [GM45] enabling acceleration breaks suspend-to-ram on thinkpad T500
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Wang Zhenyu
QA Contact: Xorg Project Team
Depends on:
Reported: 2008-09-16 18:42 UTC by Patrick McLean
Modified: 2008-09-30 20:03 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

Xorg.0.log with acceleration enabled (22.89 KB, text/plain)
2008-09-16 18:42 UTC, Patrick McLean
no flags Details
output of lspci -vvv (24.59 KB, text/plain)
2008-09-16 18:43 UTC, Patrick McLean
no flags Details
xorg.con (1.72 KB, text/plain)
2008-09-16 18:45 UTC, Patrick McLean
no flags Details
Xorg.0.log from the server that crashed (22.92 KB, text/plain)
2008-09-18 09:02 UTC, Patrick McLean
no flags Details

Description Patrick McLean 2008-09-16 18:42:07 UTC
Created attachment 18934 [details]
Xorg.0.log with acceleration enabled

On my Thinkpad T500, when I have Option "NoAccel" "true" in my xorg.conf, suspend to ram works fine. If I comment out that line, X will just crash and restart when I try to suspend. If I switch to XAA acceleration, it does the same thing.

This is with kernel 2.6.27-rc6.

I will attach my lspci output, Xorg.0.log and xorg.conf
Comment 1 Patrick McLean 2008-09-16 18:43:33 UTC
Created attachment 18935 [details]
output of lspci -vvv
Comment 2 Patrick McLean 2008-09-16 18:45:01 UTC
Created attachment 18936 [details]
Comment 3 Wang Zhenyu 2008-09-17 23:08:23 UTC
So looks you're using all upstream master, but kernel without gem, right? I have seen an assert failure with libdrm_intel in fake mode. Do you see X exit or vt switch failure when exa accel is on?
Comment 4 Wang Zhenyu 2008-09-17 23:10:00 UTC
maybe dup of #17583
Comment 5 Patrick McLean 2008-09-18 09:02:35 UTC
Created attachment 18982 [details]
Xorg.0.log from the server that crashed

Yes, I am using upstream master, but a kernel without GEM. It appears from this log file that it is doing a VT switch, I am running X from gdm, and when I try to suspend, the screen fades, switches to text mode then X restarts.

I am also getting this in my dmesg whenever I start X:
[drm:i915_getparam] *ERROR* Unknown parameter 5
Comment 6 Patrick McLean 2008-09-19 17:08:10 UTC
I just noticed that it has the same behaviour when I attempt to hibernate as well. In both cases, the machine does not actually suspend/hibernate, I just end up back at the GDM login screen.
Comment 7 Wang Zhenyu 2008-09-30 05:15:48 UTC
Try drm git master for current libdrm, Eric has fixed vt switch assert problem.
Comment 8 Patrick McLean 2008-09-30 20:03:42 UTC
That seems to have fixed the problem, I can suspend and resume perfectly now.

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.