Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10th November 2011, 01:18 AM
Dans564 Offline
Registered User
 
Join Date: Aug 2010
Posts: 12
linuxchrome
is this fix safe

hey guys,
trying out fedora for the first time I think. Fedora 16 looks awesome and ubuntu and mint where getting old. So I replaced Mint 11 with fedora 16. My laptop, hp dv6t, has switchable graphics. I don't game on linux so i would prefer to have the radeon disabled at boot.

On Mint 11 adding this to the rc.local disabled it at boot and just used the intel chip:

modprobe radeon
echo OFF > /sys/kernel/debug/vgaswitcheroo/switch


My question is, is this an ok fix for Fedora 16?? I hope someone knows!

Thanks in advanced!


---------- Post added at 08:18 PM ---------- Previous post was at 07:25 PM ----------

update:
I tried the above solution and rebooted but the discrete card is still running (I can hear the fan).
So how do prevent this card from running in fedora???
Reply With Quote
  #2  
Old 10th November 2011, 01:35 AM
friTTe's Avatar
friTTe Offline
Registered User
 
Join Date: Sep 2011
Location: Sweden
Age: 32
Posts: 37
linuxchrome
Re: is this fix safe

Try googling for Vga Switcheroo..had some links and stuff but my laptop has given up on me =D

---------- Post added at 02:35 AM ---------- Previous post was at 02:34 AM ----------

sorry i couldnt be more helpful
Reply With Quote
  #3  
Old 10th November 2011, 05:11 AM
Dans564 Offline
Registered User
 
Join Date: Aug 2010
Posts: 12
linuxchrome
Re: is this fix safe

yea i have read quite a bit about that, although im not too concerned about being able to switch. I only want to use the intel chip. No worries though! hope you get ur laptop up and running again! Thanks for the help =D

---------- Post added at 09:02 PM ---------- Previous post was at 08:54 PM ----------

this card has zapped my battery lol. 100% to 31% in about an 1hour and 30minutes. Usually that takes closer to 6 housrs...

---------- Post added 10th November 2011 at 12:11 AM ---------- Previous post was 9th November 2011 at 09:02 PM ----------

i usually dont bump this soon, but i need this laptop to work when I go to school tomorrow.
again, the question is, how do I fully disable the amd card so that it does not use any battery?
Realllly sorry for bumping but this is urgent!
Reply With Quote
  #4  
Old 10th November 2011, 05:53 AM
AdamW's Avatar
AdamW Offline
Fedora QA Community Monkey
 
Join Date: Dec 2008
Location: Vancouver, BC
Posts: 3,760
linuxfirefox
Re: is this fix safe

it's usually safer to do something like this from the BIOS; doesn't the laptop's BIOS offer an option to disable the AMD chip?

anyway, there shouldn't be anything dangerous about using that command on Fedora, no.
__________________
Adam Williamson | awilliam AT redhat DOT com
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net
Reply With Quote
  #5  
Old 10th November 2011, 06:10 AM
Dans564 Offline
Registered User
 
Join Date: Aug 2010
Posts: 12
linuxchrome
Re: is this fix safe

no the bios doesnt offer such an option. the above doesnt seem to work
Reply With Quote
  #6  
Old 10th November 2011, 12:43 PM
stevea's Avatar
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,298
linuxfedorafirefox
Re: is this fix safe

My Lenovo BIOS has a switch to select the graphics hardware (Integrated vs Discrete) and also separately to enable/disable NVidia Optimus. Sadly a lot of laptops lack this sort of BIOS control.

If I enable Optimus I get ....
Code:
[root@crucibulum Desktop]# cat  /sys/kernel/debug/vgaswitcheroo/switch
0:DIS: :Pwr:0000:01:00.0
1:IGD:+:Pwr:0000:00:02.0
Where the "IGD:+:" means that the Integrate Graphics Device is the current controller.
Sending the OFF command turns off the non-controlling device, so If I do
Code:
[root@crucibulum Desktop]# echo OFF >  /sys/kernel/debug/vgaswitcheroo/switch
[root@crucibulum Desktop]# cat  /sys/kernel/debug/vgaswitcheroo/switch
0:DIS: :Off:0000:01:00.0
1:IGD:+:Pwr:0000:00:02.0
which powers off the Discrete Nvidia controller. But the OFF command powers off whichever device is not controlling.

So it's probably best to select the integrated graphics and then power off the 'other' like
echo IGD > /sys/kernel/debug/vgaswitcheroo/switch
echo OFF > /sys/kernel/debug/vgaswitcheroo/switch

and that needs to be executed before the X-session starts (or else restart an Xsession w/ ctrl+alt+bksp).



FWIW the curent driver commands thru the debugfs 'switch' pseudo file are:
OFF - power of the unused vid
ON - power on the nuused vid.
DIGD - delayed switch to intergrated graphcs (on the next xsession start)
DDIS - delayed switch to discrete Nvidia on next Xsession
IDG - immediate switch to integrated vid
DIS - immediate switch to discrete vid
MIGD - mux switch to integrated vid
MDIS - mux switch to discrete vid

The Mux switch options are new - and I haven't played with them.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe

Last edited by stevea; 10th November 2011 at 12:46 PM.
Reply With Quote
  #7  
Old 10th November 2011, 03:40 PM
Dans564 Offline
Registered User
 
Join Date: Aug 2010
Posts: 12
linuxchrome
Re: is this fix safe

how can i get:

echo OFF > /sys/kernel/debug/vgaswitcheroo/switch

to happen automatically??
Reply With Quote
  #8  
Old 10th November 2011, 08:51 PM
AdamW's Avatar
AdamW Offline
Fedora QA Community Monkey
 
Join Date: Dec 2008
Location: Vancouver, BC
Posts: 3,760
linuxfirefox
Re: is this fix safe

rc.local is the right place, but you should make sure it starts with the line #!/bin/bash and is executable.
__________________
Adam Williamson | awilliam AT redhat DOT com
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net
Reply With Quote
  #9  
Old 11th November 2011, 04:22 PM
Dans564 Offline
Registered User
 
Join Date: Aug 2010
Posts: 12
linuxchrome
Re: is this fix safe

check and check... for now im just manually switching the card off after boot, but this is far less then ideal.
Reply With Quote
Reply

Tags
fix, safe

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
Is it safe? StarAres Using Fedora 6 23rd June 2010 01:27 PM
FC5 Safe??? fedorafan2 Using Fedora 4 22nd March 2006 03:34 AM
Is it safe? Clunixchit Hardware & Laptops 26 1st September 2005 07:43 AM
Everything is set up, but, am I safe? macgregor Using Fedora 2 20th August 2005 07:09 PM
Is It Safe?!?! yr2alex Using Fedora 3 20th July 2005 11:01 AM


Current GMT-time: 02:00 (Sunday, 19-05-2013)

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