Fedora Linux Support Community & Resources Center
  #1  
Old 13th April 2012, 10:50 PM
GNowakowski Offline
Registered User
 
Join Date: Mar 2011
Posts: 18
linuxfirefox
F16 GPU Power Profile in Systemd?

Hi,

I've done some study to try and set my laptops GPU to a lower power setting.. I can set the profile from the terminal rather easily:

Code:
echo low > /sys/class/drm/card0/device/power_profile
and can dynamically (for demanding times) power it by:
Code:
echo dynpm > /sys/class/drm/card0/device/power_method
and I can use nano to view the power_profile (its changed from default to low). Thats a small victory. The next step is I'd like to have my power profile set to low without having to change it each time myself. I thought maybe I could accomplish this by adding the above code to rc.local
So....
Code:
#!bin/sh
echo low > /sys/class/drm/card0/device/power_profile
echo dynpm > /sys/class/drm/card0/device/power_method
Not quite done yet... I make it executable and restart the service to verify its acceptable to systemd
Code:
# chmod a+x /etc/rc.d/rc.local
# systemctl restart rc-local.service
# systemctl status rc-local.service
rc-local.service - /etc/rc.d/rc.local Compatibility
	  Loaded: loaded (/lib/systemd/system/rc-local.service; static)
	  Active: active (exited) since Fri, 13 Apr 2012 14:42:39 -0600; 3s ago
	 Process: 2285 ExecStart=/etc/rc.d/rc.local start (code=exited, status=0/SUCCESS)
	  CGroup: name=systemd:/system/rc-local.service
Now this makes me happy as far as keeping my GPU running on the lower power profile. However I'd like to know the next step - that is initializing this power profile without having to depend on the rc.local compatability..
Can anyone help me (or point me in the right direction) to do this using systemd?

Last edited by GNowakowski; 13th April 2012 at 10:52 PM.
Reply With Quote
  #2  
Old 19th April 2012, 03:56 AM
GNowakowski Offline
Registered User
 
Join Date: Mar 2011
Posts: 18
linuxfirefox
Re: F16 GPU Power Profile in Systemd?

Does anyone know a different place to find answers for this? Developers mailing list maybe?
...I'm not sure what to study or where to go.. any help is helpful
Reply With Quote
  #3  
Old 19th April 2012, 04:23 AM
sonoran Offline
Registered User
 
Join Date: May 2005
Location: Sonoran Desert
Posts: 2,418
linuxfirefox
Re: F16 GPU Power Profile in Systemd?

Perhaps the users mailing list: https://admin.fedoraproject.org/mailman/listinfo
Reply With Quote
Reply

Tags
f16, gpu, power, profile, systemd

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
High cpu after power profile change ms1234 Using Fedora 0 10th November 2010 07:54 PM
fc9: gnome-power-manager only shows logout-question when pressing power-button ProCole Using Fedora 4 24th May 2008 11:58 PM
Power button ignoring gnome-power-manager on FC8 iamasmith Using Fedora 6 26th February 2008 01:29 PM
gnome-power-manager and power button always shutdown exe Hardware & Laptops 3 27th January 2007 07:51 PM
Notebook power profile? carlwill Hardware & Laptops 4 17th August 2004 05:25 AM


Current GMT-time: 22:54 (Friday, 28-11-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Bab Makkah Photos on Instagram - Stasiun Gambir, Jakarta, Indonesia - Versaillles