This is what I get when I run lshw. Which one is active?
rahul@rahul-hp-dv6-dev-pc:~$ sudo lshw -c display
[sudo] password for rahul:
*-display
description: VGA compatible controller
product: Madison [Mobility Radeon HD 5650/5750 / 6530M/6550M]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:01:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
configuration: driver=radeon latency=0
resources: irq:46 memory:a0000000-afffffff memory:c4400000-c441ffff ioport:4000(size=256) memory:c4440000-c445ffff
*-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: 02
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:44 memory:c0000000-c03fffff memory:b0000000-bfffffff ioport:5050(size=8)
rahul@rahul-hp-dv6-dev-pc:~$
Update: as per answer from zhongfu
sudo cat /sys/kernel/debug/vgaswitcheroo/switch
output:
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :DynPwr:0000:01:00.0
2:DIS-Audio: :Pwr:0000:01:00.1
DIS is not off. But DynPwr. Which I guess is dynamic power. How to switch it off. Or Switch GPU?
sudo cat /sys/kernel/debug/vgaswitcheroo/switch cat: /sys/kernel/debug/vgaswitcheroo/switch: No such file or directory
– A.B. Apr 09 '15 at 08:12sudo nano /etc/default/grub
and addmodeset=1
right before the quotation mark at end of the line starting withGRUB_CMDLINE_LINUX_DEFAULT
, then runsudo update-grub
and restart when that completes. Try the command again after it reboots. – zhongfu Apr 09 '15 at 08:240:IGD:+:Pwr:0000:00:02.0 1:DIS: :DynPwr:0000:01:00.0 2:DIS-Audio: :Pwr:0000:01:00.1
@zhongfu thanks
how do i switch between them?
– rahulroy9202 Apr 09 '15 at 10:54echo OFF | sudo tee /sys/kernel/debug/vgaswitcheroo/switch
, and check withsudo cat /sys/kernel/debug/vgaswitcheroo/switch
. – zhongfu Apr 10 '15 at 12:32