You are not logged in.

#1 2011-12-11 22:01:17

Dans564
Member
From: New Jersey, USA
Registered: 2011-02-04
Posts: 109

Vgaswitcharoo "No such file or directory"

The title says it all.
Im trying to disable my ATI gpu with vgaswitcharoo.  I have debugfs mounted as instructed in the wiki.  Yet still no luck with vgaswicharoo.


[dan@ArchLinux ~]$ sudo cat /sys/kernel/debug/vgaswitcheroo/switch
Password:
cat: /sys/kernel/debug/vgaswitcheroo/switch: No such file or directory


any thoughts?

Offline

#2 2011-12-12 00:18:23

fraherm
Member
Registered: 2011-12-07
Posts: 4

Re: Vgaswitcharoo "No such file or directory"

Execute "sudo mount -t debugfs none /sys/kernel/debug" before cat...

Offline

#3 2011-12-12 00:51:50

Dans564
Member
From: New Jersey, USA
Registered: 2011-02-04
Posts: 109

Re: Vgaswitcharoo "No such file or directory"

as i said debug is already mounted.  It gets mounted at boot

Offline

#4 2011-12-12 02:49:54

ViruSzZ
Member
From: The Streets
Registered: 2010-10-14
Posts: 202
Website

Re: Vgaswitcharoo "No such file or directory"

Dans564 wrote:

as i said debug is already mounted.  It gets mounted at boot


I think you need KMS enabled for both of your cards as I remember I've seen something similar when I was using vgaswitcheroo to poweroff my ATI card. Now I'm using acpi_call as I really don't need the ATI card at all. The integrated INTEL HD works pretty well.

Also, please provide some details about your setup.

Take Care


Their Momma Made Em, Their Momma Gave em & now she can`t even SAVE`em | My WebLog

Offline

#5 2011-12-12 03:02:33

Dans564
Member
From: New Jersey, USA
Registered: 2011-02-04
Posts: 109

Re: Vgaswitcharoo "No such file or directory"

how does acpi_call work?  I too never need my ATI card, only looking to use the intel hd.

my computer is a HP dv6t with ati hybrid graphics, intel core i7, and 16gbs of ram.

Offline

#6 2011-12-12 04:00:54

ViruSzZ
Member
From: The Streets
Registered: 2010-10-14
Posts: 202
Website

Re: Vgaswitcharoo "No such file or directory"

Dans564 wrote:

how does acpi_call work?  I too never need my ATI card, only looking to use the intel hd.

my computer is a HP dv6t with ati hybrid graphics, intel core i7, and 16gbs of ram.

You need to try if an acpi_call works for you. Check this => https://bbs.archlinux.org/viewtopic.php … 1#p1022581

Take Care


Their Momma Made Em, Their Momma Gave em & now she can`t even SAVE`em | My WebLog

Offline

#7 2011-12-12 04:24:55

Dans564
Member
From: New Jersey, USA
Registered: 2011-02-04
Posts: 109

Re: Vgaswitcharoo "No such file or directory"

thanks will do!  Ill report back

Offline

#8 2011-12-12 05:21:28

Dans564
Member
From: New Jersey, USA
Registered: 2011-02-04
Posts: 109

Re: Vgaswitcharoo "No such file or directory"

fails to build hmm

Offline

#9 2011-12-12 10:30:05

beta990
Member
Registered: 2011-07-10
Posts: 207

Re: Vgaswitcharoo "No such file or directory"

Installed linux-headers?

Offline

#10 2011-12-12 18:54:01

Dans564
Member
From: New Jersey, USA
Registered: 2011-02-04
Posts: 109

Re: Vgaswitcharoo "No such file or directory"

i feel... dumb... thanks lol it installed.  Ill report back if it works

Offline

#11 2011-12-12 19:14:58

Dans564
Member
From: New Jersey, USA
Registered: 2011-02-04
Posts: 109

Re: Vgaswitcharoo "No such file or directory"

i installed it but there is no test-off.sh ?

Offline

#12 2011-12-12 23:57:13

Dans564
Member
From: New Jersey, USA
Registered: 2011-02-04
Posts: 109

Re: Vgaswitcharoo "No such file or directory"

ok got test-off.sh to work and used the working entry in my rc.local, but I don't see any battery consumption improvements and the fan is still quite loud.
anyone familiar with acpi_call have any thoughts.  Is there a way to see if it is working??

Offline

#13 2011-12-12 23:59:16

ViruSzZ
Member
From: The Streets
Registered: 2010-10-14
Posts: 202
Website

Re: Vgaswitcharoo "No such file or directory"

Dans564 wrote:

i installed it but there is no test-off.sh ?

[+] modprobe acpi_call
>>> run /usr/bin/test_off.sh to test/view different acpi_call functions to see if it disables your secondary/hybrid video card
┌─[ 00:55 ][ viruszzz@pedro:~/VMz/arch ]
└─> which test_off.sh
/usr/bin/test_off.sh

EDIT: If the test_off showed an acpi_call that works for your card then it works. Are you using laptop-mode tools, some cpu freq scaling or some other power consumption optimization?

Disabling the ATI card is just one of the many power optimization you want to implement in order to get max battery life.

https://wiki.archlinux.org/index.php/Laptop

Last edited by ViruSzZ (2011-12-13 00:07:14)


Their Momma Made Em, Their Momma Gave em & now she can`t even SAVE`em | My WebLog

Offline

#14 2011-12-13 00:43:12

Dans564
Member
From: New Jersey, USA
Registered: 2011-02-04
Posts: 109

Re: Vgaswitcharoo "No such file or directory"

hmm but in ubuntu when the ati card was successfully disabled it would jump from about 3 hours to around 7 hours.  but with acpi_call it didn't change even a little...

Offline

#15 2011-12-13 20:53:26

Dans564
Member
From: New Jersey, USA
Registered: 2011-02-04
Posts: 109

Re: Vgaswitcharoo "No such file or directory"

turns out it is failing to load...  at boot:
:: Loading User-specified Modules                                        [FAIL]

is there a module that needs to be loaded before acpi_call for it to load correctly???

Offline

#16 2011-12-13 22:06:05

Dans564
Member
From: New Jersey, USA
Registered: 2011-02-04
Posts: 109

Re: Vgaswitcharoo "No such file or directory"

reinstalling acpi_call-git made it work.  But still no where near the battery saving i got when disabling the card in ubuntu... well no battery saving for that matter.

Offline

#17 2011-12-13 22:49:20

jocheem67
Member
Registered: 2009-11-09
Posts: 243

Re: Vgaswitcharoo "No such file or directory"

#Power OFF nvidia card
cd /home/whatever/acpi_call
insmod acpi_call.ko
echo '\_SB.PCI0.PEG0.PEGP._OFF' > /proc/acpi/call &

First compiled and loaded acpi_call > make and insmod
Then ./test_off.sh ( as user or root, just try )
Then if a method works the last 'echo' command..

I put above sequence in a little script that' s called from /etc/rc.local...

The 'insmod' every boot shouldn't be necessary when the module would be put in /etc/modules ( or in rc.conf, I'm on mint atm ), but for me I need to...

Offline

Board footer

Powered by FluxBB