[ltp] Mails from ATI about the Suspend-To-Ram problem with fglrx
drivers
Mario Limonciello
linux-thinkpad@linux-thinkpad.org
Tue, 12 Apr 2005 01:15:40 -0400
Nils wrote:
>>What has been your makeshift solution in the meanwhile. I am switching
>>to ACPI from APM because I was getting random crashing and didn't like
>>the power usage from APM when I knew it should a lot better. So far
>>today in searching these forums, the only solution I see that still uses
>>fglrx is to kill the X server prior to suspending, followed by starting
>>it right after resuming, is this the case, or do you have a different
>>makeshift solution?
>>
>>Mario
>>
>>
>
>I am sorry I haven't a good solution. In the moment I use acpi (boot option:
>acpi_sleep=s3_bios) with the XFree/Xorg radeon driver (and radeonfb for my
>console). This is working perfrectly, but without 3D acceleration. If I need
>3D acceleration I boot with the option video=radeonfb:off . You don't need a
>reboot if you do not use the radeonfb.Then I restart my X-Server with the
>fglrx. Play a game .... After this I close the X-Server and restart with the
>radeon driver. (Sometimes you need to reboot) Now everything is working.
>Okay, it's not a good solution, but I don't need 3D acceleration very often.
>I have no hope that ATI has the ability to write a reasonable driver in the
>future :-( This is really embarassing, they should release their sources and
>it will be fixed in two days.
>Nils
>
>
I have wonderful news!!!!! I finally got suspend to ram working with the
fglrx driver!!!!!!!!!!!!!!!!!!!!!!!!!!!
Whats required is this tool vbetool:
http://www.srcf.ucam.org/%7Emjg59/vbetool/vbetool_0.2.orig.tar.gz
You will need to patch this package:
http://sourceforge.net/mailarchive/message.php?msg_id=10770502
Inside your /etc/acpi/default.sh undre the hotkey setting:
00001004)
rmmod ehci_hcd ohci_hcd
uhci_hcd
/usr/local/sbin/vbetool
vbestate save > /tmp/vbestate
chvt 1
echo 3 > /proc/acpi/sleep
/usr/local/sbin/vbetool post
/usr/local/sbin/vbetool
vbestate restore < /tmp/vbestate
chvt 7
rm -f /tmp/vbestate
modprobe ehci_hcd
modprobe ohci_hcd
modprobe uhci_hcd
;;
This seems to work perfectly for me at least twice in a row, but I
haven't tried more yet, I was too excited to post this.