Created attachment 32026 [details]
Image of the garbled screen
I've a Toshiba Satellite with Radeon Mobility X1600 (M56P). I've some problems with the suspend/resume:
- the first suspend/resume works fine (I suspend the system with "pm-suspend");
- when I try to suspend for the second time the screen becomes garbled and the system hangs (is does not enter in the suspend state). The system does not respond and I have to shutdown the laptop holding down the power button for a few seconds.
I'm NOT using KMS, kernel version 2.6.32 with drm-radeon-testing.
01:00.0 VGA compatible controller: ATI Technologies Inc M56P [Radeon Mobility X1600]
Let me know what kind on additional information do you need.
Created attachment 32027 [details]
Dmesg before the first suspend/resume cycle
Created attachment 32028 [details]
Dmesg after the first suspend/resume cycle
Created attachment 32029 [details]
First suspend/resume log
Created attachment 32030 [details]
I've just noticed that the first resume does not work properly. In fact, if, after the first suspend/resume, I switch to a virtual terminal I see the same video corruption I experience during the second suspend. Switching back to X fixes this corruption (but not always, at least in one case I was unable to switch back to the X session and I had to reboot the system).
Moreover after the first resume I can't logout from X. When, after the resume, I try to logout I see a garbled screen and the system hangs.
If this can help I attach the dump of the video registers before and after the suspend. The dumps are obtained using this command:
./avivotool regmatch '*' > file
Created attachment 32856 [details]
Registers before the suspend
Created attachment 32857 [details]
Registers after the suspend
With Linux 2.6.34 and KMS suspend-to-ram works fine!
I think the bug can be closed.
Thanks guys for your work!