Difference between revisions of "Talk:Pm-utils"

From ArchWiki
Jump to: navigation, search
Line 27: Line 27:
 
esac
 
esac
 
}}
 
}}
and also replacing {{ic|1=radeon.dynpm=1}} by {{ic|1=radeon.dynpm=0}} in the kernel commandline
+
and also replacing {{ic|1=radeon.dynpm=1}} by {{ic|1=radeon.dynpm=0}} in the kernel fixes this.
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)
+
 
 +
Secondly radeon must not be in the mkinitcpio HOOKS arrey for hibernation to work properly. Otherwise Xorg will crash soon after restarting resulting in a black screen with a movable cursor.
 +
See [https://bugs.freedesktop.org/show_bug.cgi?id=72716 here]
 +
[[User:Cryptkiddy|Cryptkiddy]] ([[User talk:Cryptkiddy|talk]]) 19:18, 26 July 2014 (UTC)

Revision as of 19:18, 26 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. (verifiable 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 fixes this.

Secondly radeon must not be in the mkinitcpio HOOKS arrey for hibernation to work properly. Otherwise Xorg will crash soon after restarting resulting in a black screen with a movable cursor. See here Cryptkiddy (talk) 19:18, 26 July 2014 (UTC)