[ltp] New ATI Driver
linux-thinkpad@linux-thinkpad.org
linux-thinkpad@linux-thinkpad.org
Mon, 14 Nov 2005 10:32:48 -0500
--=-VfJJgA8Zetjlls52b+ex
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
On Mon, 2005-11-14 at 20:31 +1100, D. Sen - dsen@ieee.org wrote:
> I just tried the new ATI driver and I didnt have any success resuming
> from a suspend to RAM. I tried it twice and the result was a lock up
> after resuming. All I see after resume is "inu" on the screen.
>
> X: xorg (6.8.2)
> Linux Kernel: 2.6.13
> PM: ACPI
> Machine: T42p
>
> Any ideas? I would love to get ACPI suspend/resume (to memory) working
> with DRI support.
>
> The open-source radeon driver works flawlessly as far ass the
> suspend/resume is concerned - but without DRI.
>
> Any help/hints will be much appreciated.
>
> DS
>
Hi DS,
I have a t42p with both suspend to ram and to disk (swsuspend2) working
without problems, using the ATI driver (not open source) v8.16.6 (source
packaged for debian).
Although I had trouble getting suspend to ram at all initially, what I
did at the end was to install swsuspend2 (both the kernel and userspace
stuff) and then modify the hibernate.conf to use suspend-to-ram instead
of swsuspend when I press Fn-F4 or close the lid and used a modified
hibernate_disk.conf when I press Fn-F12. The only changes I've needed
are using vbetool (the hibernate.conf file includes that) and commenting
out some other stuff I don't remember.
Hope this helps,
Carlos
> Mario Limonciello wrote:
> > I'm shocked and appalled that this hasn't been mentioned yet on this list!
> >
> > ATI's new driver (8.19.10) was recently released. It introduces the
> > first support in fglrx for suspend/resume as well as PowerPlay.
> >
> > Once you install it, you can configure your settings for Power
> > Management with the provided aticonfig utility.
> >
> > aticonfig --lsp
> >
> > Will list your possible states to be in.
> >
> > ati-config --set-powerstate=NUMBER
> >
> > Will set your video card to this state.
> > As of now this can be set to be defaulted in xorg with an option in your
> > xorg.conf file, or you can change it on the fly using the aticonfig
> > utility.
> >
> > Combine this with CPU frequency scaling and this is the first time that
> > my r50p thinkpad sounds like it does in windows. My fan is off most of
> > the time, and when its not, its almost inaudible.
> >
> >
> > As for suspend/resume. I use regular ol' software suspend, and have no
> > troubles with the defaults that Ubuntu/breezy or Ubuntu/dapper provide.
> > There has been some talk that I have read however, about software
> > suspend2 not working correctly, and some other chatter that vbetool
> > SHOULDN't be used. So, obviously, being the first release your mileage
> > may vary.
> > While on this subject, switching VT's finally works again too. If you
> > have scripts that need to swtich out of X, or you need to kill some
> > memory hogging app in X, you can switch around and back without
> > corruption or anything.
> >
> > I look forward to reading more success stories :)
--=-VfJJgA8Zetjlls52b+ex
Content-Disposition: attachment; filename=hibernate.conf
Content-Type: text/plain; name=hibernate.conf; charset=UTF-8
Content-Transfer-Encoding: 7bit
# Example hibernate.conf file. Adapt to your own tastes.
# Options are not case sensitive.
#
# Run "hibernate -h" for help on the configuration items.
##############################################################################
### Choose your Suspend method. You currently have 3 choices:
###
### suspend2 Software Suspend 2 (requires kernel patches from
### http://www.suspend2.net/)
###
### sysfs_power_state Uses /sys/power/state to suspend (activates pmdisk
### on kernels < 2.6.8, or vanilla swsusp otherwise).
###
### acpi_sleep Uses /proc/acpi/sleep to activate swsusp, or other
### ACPI sleep state supported by your machine.
###
##############################################################################
### suspend2 (for Software Suspend 2)
#UseSuspend2 yes
#Reboot no
#EnableEscape yes
#DefaultConsoleLevel 1
#Compressor lzf
#Encryptor none
# ImageSizeLimit 200
## useful for initrd usage:
# SuspendDevice swap:/dev/hda2
## Powerdown method - 3 for suspend-to-RAM, 4 for ACPI S4 sleep, 5 for poweroff
#PowerdownMethod 3
## Any other /proc/software_suspend setting can be set like so:
# ProcSetting expected_compression 50
## Or traditionally like this:
# Suspend2AllSettings 0 0 2056 65535 5
## Or even from the results of hibernate --save-settings with this:
# Suspend2AllSettingsFile /etc/hibernate/suspend-settings.conf
## For filewriter:
# FilewriterLocation /suspend_file 1000
# VerifyFilewriterResume2 yes
# ProcSetting userui_program /usr/local/sbin/suspend2ui_text
### sysfs_power_state
## To use /sys/power/state to suspend your machine (which may offer
## suspend-to-RAM, suspend-to-disk, standby, etc) comment out all the options
## above for Software Suspend 2, below for acpi_sleep, and uncomment this line.
## You may replace mem with any one of the states from "cat /sys/power/state"
UseSysfsPowerState mem
# PowerdownMethod shutdown
### acpi_sleep
## To use ACPI to suspend your machine (via /proc/acpi/sleep), comment out
## all the options above for Software Suspend 2 and sysfs, and uncomment this
## line. The number refers to the ACPI sleep state - 3 is suspend-to-RAM and
## 4 is suspend-to-disk.
#UseACPISleep 3
##############################################################################
### Some global settings
##############################################################################
Verbosity 0
LogFile /var/log/hibernate.log
LogVerbosity 1
# AlwaysForce yes
# AlwaysKill yes
# HibernateVT 15
Distribution debian
# XDisplay :0
##############################################################################
### Scriptlets
### Scriptlets provide support for doing all sorts of things before and after
### suspending. The defaults settings here should work for most people, but
### you may wish to edit these to taste. Consult "hibernate -h" for help on
### the configuration settings.
##############################################################################
### bootsplash
## If you use bootsplash, also enabling SwitchToTextMode is recommended if
## you use X, otherwise you may end up with a garbled X display.
# Bootsplash on
# BootsplashConfig /etc/bootsplash/default/config/bootsplash-1024x768.cfg
### clock
SaveClock restore-only
### devices
# IncompatibleDevices /dev/dsp /dev/video*
### diskcache
# DisableWriteCacheOn /dev/hda
### fbsplash (enable SwitchToTextMode if you use this)
# FBSplash on
# FBSplashTheme suspend2
### filesystems
# Unmount /nfsshare /windows /mnt/sambaserver
# UnmountFSTypes smbfs nfs
# UnmountGraceTime 1
# Mount /windows
### grub
# ChangeGrubMenu yes
# GrubMenuFile /boot/grub/menu.lst
# AlternateGrubMenuFile /boot/grub/menu-suspended.lst
# BackupGrubMenuFile /boot/grub/menu.lst.hibernate.bak
### hardware_tweaks
IbmAcpi yes
# RadeonTool yes
### lilo
# EnsureLILOResumes yes
### lock (generally you only want one of the following options)
# LockConsoleAs root
# LockXScreenSaver yes
# LockKDE yes
# LockXLock yes
# LockXAutoLock yes
### misclaunch
# OnSuspend 20 echo "Good night!"
# OnResume 20 echo "Good morning!"
### modules
# UnloadModules snd_via82cxxx usb-ohci
# UnloadAllModules yes
UnloadBlacklistedModules yes
LoadModules auto
# LoadModulesFromFile /etc/modules
### modules-gentoo
# GentooModulesAutoload yes
### network
# DownInterfaces eth0
# UpInterfaces auto
### pcmcia
# EjectCards yes
### programs
# IncompatiblePrograms xmms
### services
# RestartServices postfix
# StopServices alsasound
# StartServices aumix
### vbetool
EnableVbetool yes
RestoreVbeStateFrom /var/lib/vbetool/vbestate
VbetoolPost yes
RestoreVCSAData yes
### xhacks
SwitchToTextMode yes
# UseDummyXServer yes
### xstatus
## This can be set to gnome, kde or x:
# XStatus gnome
# XSuspendText Preparing to suspend...
# XResumeText Resuming from suspend...
## When using XStatus x, and you have xosd installed:
# XosdSettings --font -misc-fixed-medium-r-semicondensed--*-120-*-*-c-*-*-* --colour=Green --shadow 1 --pos bottom --align center --offset 50
--=-VfJJgA8Zetjlls52b+ex--