AMD dual graphics setting
adibuyono Mar 26, 2019
Good afternoon,
I recently switch to Linux Mint 19 from Windows 10.
I own a laptop ASUS X550DP which has A10-5750 with integrated graphic Radeon HD 8650G and discrete graphic cards AMD Radeon HD 8670M 2GB.
When I am using windows 10, I have AMD software Catalyst center to switch between Radeon HD 8650G and Radeon HD 8670M. I can't find such option in Linux OS.
Can someone here teach me how to switch graphic card usage in Linux OS?
Any little help are very appreciated.
Kind regards and thanks.
drlamb Mar 26, 2019
I have zero experience with modern Linux mint but you should still be able to access prime switching.

xrandr --listproviders

DRI_PRIME=[NUM_OF_dGPU_RETURNED_ABOVE]steam

More information.
tuxintuxedo Mar 26, 2019
DRI-PRIME is what you are looking for, as it was already mentioned. With it you can run any application on the chosen video card.
adibuyono Mar 26, 2019
Quoting: drlambI have zero experience with modern Linux mint but you should still be able to access prime switching.

xrandr --listproviders

DRI_PRIME=[NUM_OF_dGPU_RETURNED_ABOVE]steam

More information.

Quoting: tuxintuxedoDRI-PRIME is what you are looking for, as it was already mentioned. With it you can run any application on the chosen video card.

I have try using DRI_PRIME, but the result seems similar or even a little worse.

xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x76 cap: 0x9, Source Output, Sink Offload crtcs: 4 outputs: 3 associated providers: 1 name:ARUBA @ pci:0000:00:01.0
Provider 1: id: 0x3f cap: 0x4, Source Offload crtcs: 0 outputs: 0 associated providers: 1 name:HAINAN @ pci:0000:01:00.0


DRI_PRIME=1 glxinfo | grep "OpenGL renderer"
OpenGL renderer string: AMD HAINAN (DRM 2.50.0, 4.15.0-46-generic, LLVM 8.0.0)


I use my DRI_PRIME=1 which should be discrete card, and normal run to test the benchmark,
here is the result using normal run
https://imgur.com/FojlUx6

and here is using DRI_PRIME=1 steam steam://run/203160 to run tomb raider
https://imgur.com/sae3Q9j

Note : I do let my laptop to cooldown between the tests.

Am I doing something wrong in terminal?
tuxintuxedo Mar 26, 2019
I don't know the expected FPS with these cards, but expect somewhat worse performance than on Windows. Also, you should update your Mesa packages from the Padoka Mesa stable ppa.
adibuyono Mar 27, 2019
Update :
I have try to run Tomb Raider benchmark too in Windows using high performance setting, and the result is even worse than in Linux Mint 19.
Even though I am not sure if DRI_PRIME really did change my graphic card usage, seems like this is what my laptop can do.

Second question, can I automatically active DRI_PRIME=1 in all application without doing any setting or running terminal after a reboot? If yes, please guide me.

Thanks everyone here for the help.
tuxintuxedo Mar 27, 2019
Using the discrete card for everything is rarely preferred because it means higher power consumption even for a text editor. If you still insist on doing that, check vgaswitcheroo.
drlamb Mar 27, 2019
Are you using the amdgpu driver? You might need to force enable it for your card since your card is a bit older. The 8000 series is known as southern islands and they, up until recently, defaulted to using the older radeon driver. The newer amdgpu driver offered experimental southern island support at first but it's now been made the default over radeon. This change hasn't fully tricked down yet.

Verify you have amdgpu installed (which will be if you have mesa installed. Here are instructions for installing the latest mesa on Linux Mint) and test booting with the below kernel parameters.

radeon.si_support=0 amdgpu.si_support=1

Should it work better, you can make this permanent by appending this to your kernel parameters in /etc/default/grub and updating grub.

Source:
Arch Wiki_support)
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register


Or login with...
Sign in with Steam Sign in with Google
Social logins require cookies to stay logged in.