Ask Your Question

Two graphics cards how to select one?

asked 2017-03-21 18:22:04 -0500

tim8723 gravatar image

My new notebook PC has two graphics cards. It is always using the on-board Intel HD card. How do I get it to use the add-on AMD card? I'm in Fedora 25 Gnome. The PC is an HP ProBook 450 G3 with i7 Skylake CPU.

Graphics:  Card-1: Intel HD Graphics 520
           Card-2: Advanced Micro Devices [AMD/ATI] Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445]

The Gnome applet Displays shows me that it is using Card 1 and has no controls to change anything. lspci -v shows both cards as having their drivers loaded and in use.

edit retag flag offensive close merge delete



You need to blacklist kernel module of one your cards. First you need to see your kernel module for that use:

sudo lsmod

my Intel graphic card module is i915

to blacklist it you have to create a file call blacklist.conf on /etc/modprobe.d/ with a line like

blacklist i915

reboot and it should use the other kernel module if it has it. Beware that if the kernel module do not load then you will not be able to login on a Graphic mode you will need to login on the terminal. Good luck

aeperezt gravatar imageaeperezt ( 2017-03-21 21:25:59 -0500 )edit

I think it should be sudo lsmod@aeperezt ?

peter.kilczuk gravatar imagepeter.kilczuk ( 2018-03-05 07:52:30 -0500 )edit

Your are correct. Thanks.

aeperezt gravatar imageaeperezt ( 2018-03-06 19:18:13 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-03-22 07:43:18 -0500

tim8723 gravatar image

An answer given to me on reddit solves the issue. On a single run of an application basis, if you start it from the command line, you can set variable DRI_PRIME=1, e.g.,

DRI_PRIME=1 firefox &

I think this can be set in the user's bash profile to be in effect for the user session. I'll have to play around some with that to make sure.

edit flag offensive delete link more


Another answer on reddit says that in Fedora 25, you can right-click on an application and get an option to run it using the discrete graphics card. I have not yet been able to verify this (i.e., it's not working for me).

tim8723 gravatar imagetim8723 ( 2017-03-22 07:46:19 -0500 )edit

Question Tools

1 follower


Asked: 2017-03-21 18:22:04 -0500

Seen: 1,168 times

Last updated: Mar 22 '17