← Back to team overview

hybrid-graphics-linux team mailing list archive

Lenovo Thinkpad V460 can't disable the discrete graphic card (I have tried 3 methods, they don't work!?).

 

Here is my info.
OS:Ubuntu 11.04
Kernel:2.6.38-10-generic (I check it out by using the "uname -r")
Laptop:Lenovo Idlepad V460
Graphic1:Intel GMA
Graphic2:G310m (I don't think it support the Optimus,because I bought this laptop in 2009 Jun)

Hi,recently I have tried the Ubuntu 11.04,that feels good.But what bother me is that I can't switch to my integrated graphic card.My discrete graphic card emits a lot of heat and draws a lot of energy.I have done a lot of research to figure it out,but it doesn't work.Whenever I watch the video on You-tube,I can feel the heat from my laptop fan.It must be the discrete graphic card is still working.

I have tried 3 methods.
1.acpi_call:It doesn't seem to work.
2.Bumblebee:The same to the above.
3.vgaswitcheroo:Can't find the file or directory.
If you want more specific info,please contact me,I will reply as soon as possible.

Thanks a lot.



Here is the methods I have used.
---------------------------------------------------acpi_call-----------------------------------------------------------------
INSTALL
sudo apt-get install git
git clonehttp://github.com/mkottman/acpi_call.git
cd acpi_call
make

USE(do once after you start your computer)
sudo insmod acpi_call.ko
sudo bash ./test_off.sh

OUTCOME
before:
root@fish47-Ideapad-V460:/home/fish47# lspci | grep VGA

00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 12)
02:00.0 VGA compatible controller: nVidia Corporation GT218 [GeForce 310M] (rev a2)




root@fish47-Ideapad-V460:/home/fish47# lshw -c video

  *-display              
       description: VGA compatible controller
       product: GT218 [GeForce 310M]
       vendor: nVidia Corporation
       physical id: 0
       bus info: pci@0000:02:00.0
       version: a2
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:16 memory:bd000000-bdffffff memory:c0000000-cfffffff memory:be000000-bfffffff ioport:2000(size=128) memory:bcf00000-bcf7ffff
  *-display
       description: VGA compatible controller
       product: Core Processor Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 12
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:42 memory:f2000000-f23fffff memory:d0000000-dfffffff ioport:1800(size=8)



after:
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: works!


root@fish47-Ideapad-V460:~# lspci | grep VGA

00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 12) (prog-if 00 [VGA controller])
02:00.0 VGA compatible controller [0300]: nVidia Corporation GT218 [GeForce 310M] [10de:0a75] (rev ff) (prog-if ff)


root@fish47-Ideapad-V460:~# lshw -c video

  *-display              
       description: VGA compatible controller
       product: Core Processor Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 12
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:42 memory:f2000000-f23fffff memory:d0000000-dfffffff ioport:1800(size=8)
-------------------------------------------------------------------------------------------------------------------------------

---------------------------------------------------bumblebee--------------------------------------------------------------
INSTALL
sudo bumblebee-uninstall
sudo apt-get install ppa-purge
sudo ppa-purge ppa:ubuntu-x-swat/x-updates
sudo ppa-purge ppa:xorg-edgers/ppa
sudo apt-add-repository ppa:mj-casalogic/bumblebee
sudo apt-get update
sudo apt-get install bumblebee

USE
bumblebee-configuration

OUTCOME
root@fish47-Ideapad-V460:~# bumblebee-disablecard-on-powerup
/usr/local/bin/bumblebee-enablecard: 1: �: not found
/usr/local/bin/bumblebee-disablecard: 1: �: not found
-------------------------------------------------------------------------------------------------------------------------------

---------------------------------------------------vgaswitcheroo----------------------------------------------------------
USE
sudo su
echo IGD > /sys/kernel/debug/vgaswitcheroo/switch
echo OFF > /sys/kernel/debug/vgaswitcheroo/switch

OUTCOME
bash: /sys/kernel/debug/vgaswitcheroo/switch: no such file or directory
-------------------------------------------------------------------------------------------------------------------------------