How do you know which GPU is used?

There are 2 graphics cards in my laptop. How am I sure applications use the AMD card? Is three a way to set AMD as the default GPU?

Specs:
description: Notebook

product: 80K6 (LENOVO_MT_80K6_BU_idea_FM_Lenovo Z51-70)

description: CPU

product: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz

display

description: VGA compatible controller

product: HD Graphics 5500

vendor: Intel Corporation

physical id: 2

bus info: pci@0000:00:02.0

version: 09

width: 64 bits

clock: 33MHz

capabilities: msi pm vga_controller bus_master cap_list

configuration: driver=i915 latency=0

resources: irq:49 memory:c1000000-c1ffffff memory:d0000000-dfffffff ioport:5000(size=64) memory:c0000-dffff

*-multimedia:0

display

description: Display controller

product: Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445 / 530/535 / 620/625 Mobile]

vendor: Advanced Micro Devices, Inc. [AMD/ATI]

physical id: 0

bus info: pci@0000:04:00.0

version: 81

width: 64 bits

clock: 33MHz

capabilities: pm pciexpress msi bus_master cap_list rom

configuration: driver=amdgpu latency=0

resources: irq:50 memory:b0000000-bfffffff memory:c0000000-c01fffff ioport:3000(size=256) memory:c2000000-c203ffff memory:c2040000-c205ffff

Thanks!

Yes, you can set DRI_PRIME=1 in your /etc/environment file
Or, add the following to your ~/.profile file:

export $DRI_PRIME=1

3 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.