![](https://seccdn.libravatar.org/avatar/4ca3f0091a6f5d84813e4a712d774671.jpg?s=120&d=mm&r=g)
On Mon, Oct 22, 2007 at 01:38:28AM +0200, Maarten Lankhorst wrote:
Hi all,
After testing it again I got sick of the error that my fixed mode was invalid. So I looked at the fglrx X.org log and found out the same mode is used there. I created the attach hack. It may destroy your panel if you are not 100% sure your mode is valid. After that it worked for 100% proper, nice work.
Only thing that gave me some trouble was suspend-to-ram. "echo mem > /sys/power/state" doesn't work, screen stays disabled (vesafb) or gets garbled (radeonhd) so I created a tiny script to use instead. I'm hoping that hopefully sometime soon I won't need to switch to console and restore vbemode there manually then switching back to x.org
Cheers, Maarten.
PS: This script will only work if there are no other potential bugs that would prevent swsuspend from working 100% succesfully.
commit 303e8c4d7c9eedfe01fa9e9650ca02aff51e920a Author: maarten
Date: Sun Oct 21 13:42:31 2007 +0200 radeonhd: Dont validate fixed modes
diff --git a/src/rhd_modes.c b/src/rhd_modes.c index 700f643..7166549 100644 --- a/src/rhd_modes.c +++ b/src/rhd_modes.c @@ -1214,7 +1214,6 @@ rhdCreateModesListAndValidate(ScrnInfoPtr pScrn, Bool Silent) " \"%s\"\n", Output->Connector->Monitor->Name, Output->Connector->Name);
- Modes = rhdModesListValidateAndCopy(pScrn, Modes, Silent); Keepers = RHDModesAdd(Keepers, Modes); return Keepers; }
What caused you to create this patch has been altered, and i doubt that you will still need such a workaround. Please test a more recent version of the driver and report back. Thanks, Luc Verhaegen. SUSE/Novell X Driver Developer. -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org