Distribution: Gentoo kernel 2.6.11 + software suspend2 patches Hardware Environment: Sony VAIO PCG FX-140 (Pentium III 700 MHz), 256MB RAM Software Environment: suspend2 2.1.7.2 + Xorg Xserver from cvs Problem Description: Resuming from software suspend2 causes X server to crash and sometimes even system freeze when using dri under X. When dri is disabled, resume works fine. Steps to reproduce: 1.) Enable dri under X 2.) Suspend using suspend2 + hibernate script 3.) Resume using resume2=/dev/<swap> Repeat the same with dri disabled (using "Option Accel false" in xorg.conf) to confirm that things work fine. The system has a 82815 graphics chipset, so it's using i810 driver. This problem might be just specific to this chipset/driver. I'm attaching xserver log and lspci output for more details. regards, -Wilson
Created attachment 2665 [details] lspci and unme output
Created attachment 2666 [details] Xserver Log
I'm having the same issue on my laptop ; but I'm using debian/unstable with normal packages, and it's with an ati card. lspci -vvv says : 01:00.0 VGA compatible controller: ATI Technologies Inc M9+ 5C61 [Radeon Mobility 9200 (AGP)] (rev 01) (prog-if 00 [VGA]) Subsystem: ASUSTeK Computer Inc. Unknown device 1811 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 64 (2000ns min), Cache Line Size: 256 bytes Interrupt: pin A routed to IRQ 10 Region 0: Memory at c0000000 (32-bit, prefetchable) [size=128M] Region 1: I/O ports at d000 [size=256] Region 2: Memory at feaf0000 (32-bit, non-prefetchable) [size=64K] Expansion ROM at feac0000 [disabled] [size=128K] Capabilities: <access denied> what can I do to solve the issue ?
Ok, I did some tests : 1) when dri is disabled, hibernating just works in any case ; 2) when dri is enabled, and I suspend/resume from inside an xterm, X blocks on resume (black screen, flashing lights, magic system key reboot required) ; 3) when dri is enabled, but I suspend/resume from console, things run smoother... until I switch back to X, in which case we're back to the crashy case ; 4) finally, if I boot without X and suspend/resume, then launch X with dri, then crashy case is back. Does that pattern help ?
The 815 suspend/resume was a know issue, and is under work by Andreas Mohr. see http://lkml.org/lkml/2007/5/10/50, his last patch for this. This should probably be merged into kernel mainline soon. Julien, as you're using ati driver, you should open another new bug for it, otherwise we're tracking two bugs here..
Since it looked so like my problem, I assumed maybe that was the same thing ; but since you think it isn't, I filled bug #10975. Thanks!
Closing this bug for inactivity please reopen if you still have this issue with recent kernel,mesa,xf86-video-ati,xserver.
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.