You are not logged in.

#1 2011-05-11 17:12:38

pixle
Member
Registered: 2011-05-10
Posts: 1

acpi_call for optimus notebooks

Hi,

I'm using Arch on a Lenovo Z370 which has both the integrated sandybridge graphics chip and a Vvidia 410M GPU. In Arch I don't need the Nvidia GPU at all since the Intel chip can play 1080p videos, which is the most I need on Arch.
I found a promising project here.
I used it on Ubuntu before, but it won't build under Arch. There is something wrong in the makefile.

make -C /lib/modules/2.6.38-ARCH/build M=/home/axle/acpi_call modules
make: *** /lib/modules/2.6.38-ARCH/build: No such file or directory.  Stop.
make: *** [default] Error 2

Now I'm not that much of a linux programmer, and would appreciate it a lot if someone could tell me what I have to change in the makefile to get it to work in Arch.

Greetings, pixle

Offline

#2 2011-05-12 10:19:29

vinayv
Member
From: Bangalore, India
Registered: 2008-08-11
Posts: 89

Re: acpi_call for optimus notebooks

First of all, welcome to Arch Linux forums..

From what I have read about optimus technology, it was not supported in Linux, until a few days ago. Both graphics card would run simultaneously at full speed eating your power/battery.. There was no way to disable one of them or even get the nvidia card to work.. Even nvidia themselves released a official statement saying they will not be supporting optimus on Linux

You are in for luck actually.. Recently somebody, with a lot of hard work has released something called bumblebee which promises support in linux for nvidia cards using optimus technology..
Here is the homepage for bumblebee - https://github.com/MrMEEE/bumblebee
Here is more info - http://www.martin-juhl.dk/2011/05/optim … em-solved/

This still doesn't help you turn off the nvidia driver (or the intel one) to conserve power.. But what it does is that it allows you to USE nvidia card on Linux.. Previously even that was not possible.. Apparently you can use this with nvidia official driver or the nouveau driver..

Offline

#3 2011-05-12 10:23:11

vinayv
Member
From: Bangalore, India
Registered: 2008-08-11
Posts: 89

Re: acpi_call for optimus notebooks

pixle wrote:

I found a promising project here.

From my research, the acpi call to switch off the graphics card works for ATI discrete cards (in laptops where ATI discrete cards are present along with integrated onboard card, something similar to optimus in nvidia).. This does not work for nvidia optimus cards.. I could not find any nvidia optimus user who said this worked for him (and he was able to turn off the nvidia card)

Offline

#4 2011-05-12 20:16:07

ri
Member
Registered: 2008-10-09
Posts: 73

Re: acpi_call for optimus notebooks

pixle wrote:

Hi,

I'm using Arch on a Lenovo Z370 which has both the integrated sandybridge graphics chip and a Vvidia 410M GPU. In Arch I don't need the Nvidia GPU at all since the Intel chip can play 1080p videos, which is the most I need on Arch.
I found a promising project here.
I used it on Ubuntu before, but it won't build under Arch. There is something wrong in the makefile.

make -C /lib/modules/2.6.38-ARCH/build M=/home/axle/acpi_call modules
make: *** /lib/modules/2.6.38-ARCH/build: No such file or directory.  Stop.
make: *** [default] Error 2

Now I'm not that much of a linux programmer, and would appreciate it a lot if someone could tell me what I have to change in the makefile to get it to work in Arch.

Greetings, pixle

Turning of nvidia with acpi_call work perfect for me with Optimus. You just need:

sudo pacman -Sy kernel26-headers

Last edited by ri (2011-05-12 20:18:19)

Offline

#5 2011-06-26 19:35:20

nouveau
Member
From: Germany
Registered: 2011-01-16
Posts: 12

Re: acpi_call for optimus notebooks

@ri: Can you please write what Notebook you have and if it is still working? On my machine theres no way to get test_off.sh working...

Offline

#6 2011-06-27 18:05:20

ri
Member
Registered: 2008-10-09
Posts: 73

Re: acpi_call for optimus notebooks

nouveau wrote:

@ri: Can you please write what Notebook you have and if it is still working? On my machine theres no way to get test_off.sh working...

Im on  a Asus U35JC and it still works.

richard [~] :  test_off.sh 
Trying \_SB.PCI0.P0P1.VGA._OFF: failed
Trying \_SB.PCI0.P0P2.VGA._OFF: failed
Trying \_SB_.PCI0.OVGA.ATPX: failed
Trying \_SB_.PCI0.OVGA.XTPX: failed
Trying \_SB.PCI0.P0P3.PEGP._OFF: failed
Trying \_SB.PCI0.P0P2.PEGP._OFF: failed
Trying \_SB.PCI0.P0P1.PEGP._OFF: failed
Trying \_SB.PCI0.MXR0.MXM0._OFF: failed
Trying \_SB.PCI0.PEG1.GFX0._OFF: works
richard [~] :  pacman -Q acpi_call-git
acpi_call-git 20110530-1

Offline

Board footer

Powered by FluxBB