← Back to team overview

hybrid-graphics-linux team mailing list archive

Re: XPS L501X - switching nVidia off

 

Ok, here are the steps to switch off the nvidia card for L501X:

*Extract the "peberlein-acpi_call-b60ce1f.tar.gz" which can be downloaded
here: https://github.com/peberlein/acpi_call/tarball/master

*Go to Terminal and then:

cd /media/BERNARD/Dell/peberlein-acpi_call-b60ce1f (that's where i extracted
the file)
make
insmod ./acpi_call.ko
./m11xr2.sh

*The videocard should be off now. You can try this comand "lspci -vnnn |
perl -lne 'print if /^\d+\:.+(\[\S+\:\S+\])/' | grep VGA" and verify that
the nvidia card doesn't have the "[VGA Controller]" anymore. Now, let's make
this a permanent change:

sudo cp acpi_call.ko /lib/modules/`uname -r`/kernel/drivers/acpi/
sudo depmod

*It should open a file in gedit. In this file you should add a new last line
with "acpi_call" writen in it.
*Then, you should copy the "nvdown" that Jesus Legido attached in his email
to /etc/init.d , so you type in Terminal:

cd /etc/init.d
sudo cp /media/BERNARD/Dell/nvdown nvdown (from where i saved to the new
correct place, /etc/init.d)
sudo chmod +x nvdown
sudo update-rc.d nvdown defaults

*There you go! Your battery should last longer now. =) It is good to
emphacise that this works on the L501X, if you have another notebook you
probably should change the "nvdown" file and the ./m11xr2.sh also. In fact,
i think this should work in any Dell Optimus notebook (Can somewone confirm
this?), since we are using Alienware's M11x R2 script and this notebook uses
a nvidia 335m videocard which is different from the nvidia 420m from L501X.

Ps: I am going to publish this and some more stuff in the "ubuntuforums.org"
later.

Bernard Barbosa da Silva
Bolsista do PET Engenharia Mecânica
7º período | Universidade Federal Fluminense
Lattes: http://lattes.cnpq.br/2191625341455217

References