0

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?

1 Answers1

1

Open System Settings and click Details. The graphics card you're currently using for Unity and (probably) all your applications should be shown besides "Graphics".

However, if you want to know which card(s) are powered on, you can run:

sudo cat /sys/kernel/debug/vgaswitcheroo/switch

It should show something like this:

0:DIS: :Off:0000:01:00.0
1:IGD:+:Pwr:0000:00:02.0

The two entries refer to the two GPUs: the discrete GPU, i.e. AMD, or integrated GPU, i.e. Intel. Off means the GPU is off, and Pwr means the GPU is on.

A.B.
  • 92,125
zhongfu
  • 1,459