Warning: session_start(): open(/tmp/sess_69fcbf7863e9af3b9c8833831b78eb56, O_RDWR) failed: No space left on device (28) in /www/H01/htdocs/lib/base/lib_base.php on line 280
Radeon Power Management openDesktop.org
-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans (8) .- Knowledge Base  . 

Radeon Power Management

   1.7  

Plasmoid Script

Score 82%
Radeon Power Management
zoom


Downloads:  2061
Submitted:  Mar 10 2011
Updated:  Jun 20 2012

Description:

INTRODUCTION

This Javascript applet allows for controlling and monitoring the power management mode and temperature of AMD/ATI graphics cards.

It only works with the free Xorg radeon driver and requires at least a 2.6.35 kernel.

It does NOT work with the proprietary fglrx driver.

INSTALLATION

Before installing/using the applet, some system configuration steps must be accomplished. As root (or with sudo), the following files must be made writable for all users. This will allow any user to change the power management settings of the card :

chmod a+w /sys/class/drm/card0/device/power_method
chmod a+w /sys/class/drm/card0/device/power_profile


Also as root, you must mount the debug file system. This will allow the applet to display frequencies and voltage information (if it doesn't work, you may need to make sure that normal users can navigate and read the debug file system) :

mount -t debugfs none /sys/kernel/debug

On some systems, the following permissions can be necessary :

chmod a+x /sys/kernel/debug
chmod a+x /sys/kernel/debug/dri
chmod a+x /sys/kernel/debug/dri/0
chmod a+r /sys/kernel/debug/dri/0/radeon_pm_info


To make the above configurations persistent, you can put those command lines in /etc/rc.local or, for OpenSUSE users, in /etc/init.d/boot.local

The following commands must be passed as a normal user (ie. not root).

If you installed a previous version, you must first close all instances of the applet, and uninstall it :

plasmapkg -r radeon-pm

You can now install the applet :

plasmapkg -t plasmoid -i radeon-pm.plasmoid

CONFIGURATION

The buttons allow you to select the power management mode for your card. Here are their meaning (from the Xorg wiki, http://wiki.x.org/wiki/RadeonFeature) :

- Dynamic : dynamically changes the clocks based on the number of pending fences, so performance is ramped up when running GPU intensive apps, and ramped down when the GPU is idle. The reclocking is attemped during vertical blanking periods, but due to the timing of the reclocking functions, doesn't not always complete in the blanking period, which can lead to flicker in the display. Due to this, dynpm only works when a single head is active.

- Low : forces the gpu to be in the low power state all the time. Note that low can cause display problems on some laptops; this is why auto does not use low when displays are active.

- Mid : forces the gpu to be in the mid power state all the time. The low power state is selected when the monitors are in the dpms off state.

- High : forces the gpu to be in the high power state all the time. The low power state is selected when the monitors are in the dpms off state.

- Automatic : selects between mid and high power states based on the whether the system is on battery power or not. The low power state are selected when the monitors are in the dpms off state.

- Default : uses the default clocks and does not change the power state. This is the default behavior.

In the applet settings dialog, you can set the following values :

- Radeon PM info path : path to the kernel debug file (named radeon_pm_info) which contains the power state informations (frequencies, voltage).

- Device directory : path to the device directory. This directory must contain the power_method and power_profile files. This directory should also contain a hwmon subdirectory for temperature monitoring.

- Temperature monitor path : path to the temperature monitor file. This file should be in a sub-subdirectory of the device directory (something like hwmon/hwmon0), and is usually called temp1_input (or something like that...).

- Show low power mode button : since this mode can cause display problems, use it at your own risk.

- Delay between updates : this sets the elapsed time (in seconds) between updates.

- Remember power mode : if checked, the last selected power management mode will be applied the next time the applet is loaded. This can be tricky for some setups (like mine) where the lowest power mode does not work well when the laptop is docked and hooked up to an external screen.




Changelog:

1.7
Corrected a bug with some non persistent configuration options

1.6
Made the script a bit more robust when dealing with incomplete radeon_pm_info data

1.5
Tried to consolidate some workarounds. If you don't have problems, there's no need to update.

1.4
worked around a problem with some settings being forgotten under KDE 4.6.x (if you don't have this problem, you may want to stick to the 1.3 version, which is also included in the download) and added X-Plasma-NotificationArea=true (the plasmoid can now be added to the notification area).

1.3
added actual low power mode (optional) and updated readme with power mode descriptions from Xorg

1.2
frequencies are now displayed in MHz (suggested by Fisiu. It does look much better indeed).

1.15
corrected a bug which prevented the applet to work for KDE 4.6+

1.1
added setting for temperature monitor path.

1.0
initial release




LicenseGPL
(Radeon PM 1.7)
Send to a friend
Subscribe
Other  Content  from jemino
Report inappropriate content



goto page: prev   1  2  3 

-
.

 Thanks for this plugin

 
 by jaxxed on: Aug 2 2011
 
Score 50%
jaxxedjaxxed
12thirty4
Home

This plugin has been a major help for me. I suffer from a problem that many have, with dell laptops that use i7s and Radon HD Mobiles, where they overheat easily.

Your plasmooid works well for me, if I install it manually, not from the kde automatic downloader, and as long as I followed your instructions above.

Please note that additionally, I had to overwrite the setting for the temperature monitor (different card integer)

I am writing to ask for help with the other information values. How can I get the memory and power information to work.


Reply to this

-

 Re: Thanks for this plugin

 
 by jemino on: Aug 3 2011
 
Score 50%

The various paths can vary from a system to another. In order to display the frequencies and voltage, you need to mount the debug file system (as root. Put this in /etc/rc.local if you want it to be persistent) :

mount -t debugfs none /sys/kernel/debug

Then you must find the radeon_pm_info file and paste the resulting path in the corresponding setting :

find /sys/kernel/debug -name radeon_pm_info

About the KDE downloader, I admit I haven't tested this. I'll have a look at it when I'm back from my vacations.


Reply to this

-
.

 [fixed] Radeon info display

 
 by jaxxed on: Aug 3 2011
 
Score 50%
jaxxedjaxxed
12thirty4
Home

Thanks for the help.

Following your instructions i realized that my current user didn't have permissions to access the debug fs.
I changed the owner group for the fs to adm (chown -R adm), added read and navigate permissions to the group (chmode -R g+rX),and made sure that my user was in adm, then restarted the widget : now everything works.


Reply to this

-

 Re: [fixed] Radeon info display

 
 by jemino on: Aug 21 2011
 
Score 50%

glad you could solve this. I added a note to the description about this potential issue.


Reply to this

-
.

 Thank You!

 
 by itslennie on: Aug 21 2011
 
Score 50%

I registered just to say thank you for this. Just what I have been looking for to manage my ATI card without the proprietary drivers.


Reply to this

-
.

 Re: Thank You!

 
 by jemino on: Aug 21 2011
 
Score 50%

You're welcome. I'm glad you found it useful enough to register.


Reply to this

-

 Runtime Error

 
 by Archon9 on: Aug 29 2011
 
Score 50%

When I run this plasmoid, it pops up the following error:

Error in contents/code/main.js on line 202.

TypeError: Results of expression 'ioJob' [undefined] is not an object.

I'm on Linux Mint 10 with KDE 4.6.0


Reply to this

-

 Re: Runtime Error

 
 by jemino on: Aug 29 2011
 
Score 50%

I just posted a new version. Could you please try this one ?


Reply to this

-

 Re: Runtime Error

 
 by Archon9 on: Aug 30 2011
 
Score 50%

It's working now, thanks!


Reply to this

-
.

 Radeon PM

 
 by mpxlbs on: Jun 20 2012
 
Score 50%

Hello!

I'm using Kubuntu 12.04, and I love the work you did on Radeon PM! Now, it might be because of a never version of kubuntu has arrived, but Radeon PM doesn't seem to be able to remember the last power profile I used, after each reboot, so I have to manually select it again, even though in the settings, the box that asks me if it should remember it, is marked. Why would this happen? Also, any plans for a new version? Thanks!


Reply to this

-
.

 Great plasmoid

 
 by msledziona on: Jun 20 2012
 
Score 50%

Thank you for this plasmoid, now I can simply make my PC much cooler :)


Reply to this

-

 Good idea

 
 by Deathmachine on: Jun 21 2012
 
Score 50%

Well done, a very useful plasmoid


Reply to this

goto page: prev   1  2  3 

Add commentBack




-



 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2016 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team