Until now enabling 3d acceleration on my T42 (Radeon 9600 M10, using the fglrx instead of the xorg radeon driver) resulted in being unable to resume from suspend. Today I have discovered that it is possible to use the DRI enabled ATI binary drivers and still be able to suspend properly. I have found the info here:
http://mailman.linux-thinkpad.org/piper ... 26968.html
You have to use the appended (or a similar) script to suspend and use the xorg.conf (or a similar one) from the link above. Note that the layout fglrestore is required by the suspend script (this layout is a DRI disabled configuration).
The laptop suspends properly and wakes up again, with DRI still enabled. The x server which is started by the script makes sure that powermanagement for the ATI card is restored too.
My model is a 2378-FVU
Regards,
Florian
Here is the script:
#!/bin/bash
# Since we get a lid event on open and close, we need a lock file
LOCKFILE=/var/run/acpid.standby
LOGFILE=/var/log/suspend.log
sync;
touch "$LOCKFILE";
rmmod uhci_hcd;
echo "Locking all KDE sessions";
#/usr/kde/3.4/bin/dcop --all-users kdesktop KScreensaverIface lock
#sleep 2;
# save state:
echo "Saving Graphics Card state";
vbetool vbestate save > /tmp/vbestate
echo "Changing to VT1";
chvt 1
echo "Sleeping";
echo "mem" > /sys/power/state;
if [ -f "$LOCKFILE" ]; then
#We just got an open-lid even, so resume
#(wake up radeon video card)
# Video BIOS to default
echo "resetting Video card";
vbetool post;
echo "restoring Video Card state";
vbetool vbestate restore < /tmp/vbestate
echo "changing to X11";
chvt 4;
modprobe uhci_hcd;
echo "Fixing X server";
xinit /bin/true -- `command -v X` :9 -layout fglrestore -auth /dev/null -audit 0 -nolisten tcp
fi
exit 0;
Suspend T42 ATI 3D Acceleration
-
doppelfish
- Sophomore Member
- Posts: 206
- Joined: Tue Jul 20, 2004 11:10 am
- Location: Karlsruhe, Germany
No problems?
You never had problems suspending/resuming (RAM) from X while using the fglrx drivers? Where have you found the info for setting it up?
Regards,
Flo
Regards,
Flo
-
doppelfish
- Sophomore Member
- Posts: 206
- Joined: Tue Jul 20, 2004 11:10 am
- Location: Karlsruhe, Germany
Well, I just use xorg and it just works:
But I'd rather expect to find the xorg-howto than to find someone knowledgable with the fglrx server, so I still value your contribution.
cheers,
-- fish
Code: Select all
doppelfish@sputnix:~ > glxinfo | head -11
disabling TCL support
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGIS_multisample, GLX_SGIX_fbconfig
client glx vendor string: SGI
client glx version string: 1.4
cheers,
-- fish
-
- Similar Topics
- Replies
- Views
- Last post
-
-
Wake up after suspend problem on T41 with new SSD on IDE2SATA controller
by Mac-Chatter » Sat Mar 04, 2017 6:10 am » in ThinkPad T4x Series - 0 Replies
- 1717 Views
-
Last post by Mac-Chatter
Sat Mar 04, 2017 6:10 am
-
-
- 0 Replies
- 965 Views
-
Last post by AVN6293
Wed Feb 22, 2017 5:31 pm
-
-
Installing windows 98 video driver on t43 with ati video card
by OnionLand » Sat Mar 18, 2017 2:02 pm » in ThinkPad T4x Series - 13 Replies
- 1409 Views
-
Last post by OnionLand
Wed Mar 22, 2017 1:02 pm
-
-
- 2 Replies
- 328 Views
-
Last post by jronald
Wed Apr 12, 2017 6:46 pm
Who is online
Users browsing this forum: No registered users and 1 guest



