Package: fglrx-driver Version: 8.37.6-1 I can run on ac power or on battery, my ATI Mobility X600 always run in "default power mode" :
here is the result of (running on battery power) $aticonfig --lsp core/mem [flags] ----------------- 1: 105/122 MHz [low voltage] * 2: 398/250 MHz [default state] But I can do it myself : $aticonfig --set-powerstate=1 $ aticonfig --lsp core/mem [flags] ----------------- * 1: 105/122 MHz [low voltage] 2: 398/250 MHz [default state] Here is my conf file : $ cat /etc/default/fglrx-driver # Uncomment the next line to enable powerstate switching on ACPI # events for lid open/close and AC adapter on/off FGLRX_ACPI_SWITCH_POWERSTATES=true When I run the script /etc/acpi/fglrx-powermode.sh : $ ./fglrx-powermode.sh fglrx: setting default powermode Xlib: connection to ":0.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key /usr/bin/aticonfig: This program must be run as root when no X server is active and the same as root : # ./fglrx-powermode.sh fglrx: setting default powermode Xlib: connection to ":0.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key Xlib: connection to ":0.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key Error: Unable to open display `:0'. So there must be a problem with .Xauthority : $ xauth Using authority file /tmp/.gdmJ97WUT ... so it is not in /home/user/.Xauthority... I can copy it : $ cp /tmp/.gdmJ97WUT /home/user/.Xauthority and then the script "fglrx-powermode.sh" works fine!! ... untill I reboot So I think fglrx-powermode.sh is not using the right file to get xauthority. I think I have this problem since the last gdm update (to 2.18.2-1) but I cant be sure. I am using Debian GNU/linux lenny, kernel compiled with vanilla sources : 2.6.21.5 and libc6 Version: 2.5-9+b1