F10 Fedora 10 on T60p Sleep/Resume Video Problem ATI M56GL [Mobility FireGL V5200]
I’m having trouble resuming on my T60p. With gnome-power-manager if I sleep and resume within 5minutes everything is ok. If I sleep (close the lid) and wait more than 5 minutes the machine never comes back, the video remains black but otherwise it appears to be running, not crashed.
I tried a kernel from koji.fedoraproject.org/packages/kernel/2.6.27.7/130.fc10 that was supposed to fix the problem but that didn’t help.
Going through all the options of pm-suspend, I found that this is the only one that works reliably:
pm-suspend --quirk-vbe-post
I assume it’s a matter of tweaking now to get gnome-power-manager to do this…I’m still looking at it though.
Any suggestions welcome
I’m assuming something with editing the hal fdi files should help, the setting to get this behaviour would be
power_management.quirk.vbe_post
I looked at /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-lenovo.fdi
There are some lines for the T60p, I changed them as follows:
...
<match key="system.hardware.version" contains_outof="T60p;Z61m;Z61t;Z60m;Z61p;R61e">
<merge key="power_management.quirk.s3_bios" type="bool">false</merge>
<merge key="power_management.quirk.s3_mode" type="bool">false</merge>
<merge key="power_management.quirk.vbe_post" type="bool">true</merge>
</match>
...
So, I copied these changes into /etc/hal/policy/t60p.fdi (the /usr/share/hal files will be written over on the next hal update).
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
<device>
<match key="system.hardware.vendor" string="LENOVO">
<match key="system.hardware.version" contains_outof="T60p;Z61m;Z61t;Z60m;Z61p;R61e">
<merge key="power_management.quirk.s3_bios" type="bool">false</merge>
<merge key="power_management.quirk.s3_mode" type="bool">false</merge>
<merge key="power_management.quirk.vbe_post" type="bool">true</merge>
</match>
</match>
</device>
</deviceinfo>
Then restarted haldaemon and checked lshal
[root@burnaby 10freedesktop]# service haldaemon restart
Stopping HAL daemon: [ OK ]
Starting HAL daemon: [ OK ]
[root@burnaby 10freedesktop]# lshal |grep vbe
power_management.quirk.vbe_post = true (bool)
Trying a suspend now…ok, that seems to work. So just set vbe_post in hal and you are done.



December 6th, 2008 at 03:15
Which driver are you using radeon, radeonhd or fglrx?.
I am using the radeonhd and found I needed to disable all quirks on my T60p 2007WA2.
December 6th, 2008 at 07:47
I tried radeonhd but it was slower than radeon for me. I currently do not have an xorg.conf, so it’s automatically detecting radeon. I was thinking of trying fglrx but it doesn’t support the new Xorg server…as far as I know. Any luck with fglrx out there?
December 7th, 2008 at 10:08
Interesting you say the radeon worked, did not for me. Fedora 9 it worked perfectly.
I guess radeonhd is not getting detected since its beta and was not included in the original release.
Fglrx is a great driver, but even when it is supported by Fedora 10, I am sure a kernel or other update will break it at some point, I’d stick with what xorg provides.
December 7th, 2008 at 10:30
yeah, fglrx was essential for F9 but at least compiz works with radeon in F10.