Difference between revisions of "Talk:Pm-utils"

From ArchWiki
Jump to: navigation, search
m (Delete "How it works" section?: rm closed discussion)
Line 2: Line 2:
  
 
This [[Pm-utils#Locking_the_screen_saver_on_hibernate_or_suspend|script]] does not work. --[[User:Ninquitassar|Ninquitassar]] 09:09, 12 January 2012 (EST)
 
This [[Pm-utils#Locking_the_screen_saver_on_hibernate_or_suspend|script]] does not work. --[[User:Ninquitassar|Ninquitassar]] 09:09, 12 January 2012 (EST)
 +
 +
 +
 +
== Black screen when waking from hibernate with radeon driver ==
 +
 +
I have encountered problems, when using dynpm for the radeon driver and trying to hibernate. After resuming from hibernation the screen will be black, however everything else working (tested by keeping a console open with a command to execute and starting the execution after resuming).
 +
This seems to be related to using {{ic|dynpm}} as the power management method in radeon. (verified by executing {{ic|cat /sys/class/drm/card0/device/power_method}}
 +
 +
Adding a quirk in {{ic|/etc/pm/sleep.d/}} with this content:
 +
{{bc|
 +
#!/bin/bash
 +
#
 +
case "$1" in
 +
    hibernate)
 +
        echo 'profile' > /sys/class/drm/card0/device/power_method
 +
        sleep 1
 +
        ;;
 +
    thaw)
 +
        echo 'dynpm' > /sys/class/drm/card0/device/power_method
 +
        ;;
 +
    *)
 +
        exit $NA
 +
        ;;
 +
esac
 +
}}
 +
and also replacing {{ic|1=radeon.dynpm=1}} by {{ic|1=radeon.dynpm=0}} in the kernel commandline
 +
seems to fix it but as of now my X freeze after a few minutes of usage.  --[[User:Cryptkiddy|Cryptkiddy]] ([[User talk:Cryptkiddy|talk]]) 15:10, 23 July 2014 (UTC)

Revision as of 15:10, 23 July 2014

"Locking the screen saver on hibernate or suspend" does not work

This script does not work. --Ninquitassar 09:09, 12 January 2012 (EST)


Black screen when waking from hibernate with radeon driver

I have encountered problems, when using dynpm for the radeon driver and trying to hibernate. After resuming from hibernation the screen will be black, however everything else working (tested by keeping a console open with a command to execute and starting the execution after resuming). This seems to be related to using dynpm as the power management method in radeon. (verified by executing cat /sys/class/drm/card0/device/power_method

Adding a quirk in /etc/pm/sleep.d/ with this content:

#!/bin/bash
#
case "$1" in
    hibernate)
        echo 'profile' > /sys/class/drm/card0/device/power_method
        sleep 1
        ;;
    thaw)
        echo 'dynpm' > /sys/class/drm/card0/device/power_method
        ;;
    *)
        exit $NA
        ;;
esac

and also replacing radeon.dynpm=1 by radeon.dynpm=0 in the kernel commandline seems to fix it but as of now my X freeze after a few minutes of usage. --Cryptkiddy (talk) 15:10, 23 July 2014 (UTC)