Cannot switch between GPU's on dual GPU laptop

Hardware and Software Information:

OS: Ubuntu Desktop 24.04.3 LTS

Hardware Model: ASUSTeK COMPUTER INC. ASUS TUF Gaming A16 FA617NT_FA617NT

Processor: AMD Ryzen™ 7 7735HS with Radeon™ Graphics

Discrete GPU: AMD Radeon RX 7700S

Memory: 16 GB

Problem Description:

Hello Ubuntu community!

After using Ubuntu on my desktop at home I decided to try installing it on my laptop after going back to college. The laptop is an ASUS TUF gaming laptop with a dual GPU setup. Out of the box, the system ran Windows 11, and had a special software that would automatically switch to the discrete GPU when loading a game, and switch to the integrated GPU when not playing a game. Unfortunately, I don’t quite remember the name of this software and am unsure if it has a Linux/Ubuntu equivalent.

After switching to Ubuntu, the integrated GPU is used by default, and I can’t find a way to switch to the discrete GPU. The consequence of this is, of course, games running terribly slow and occasional screen tearing.

What I’ve Tried:

I’ve tried to turn off the integrated graphics in my BIOS, but there doesn’t seem to be an option.

For Steam games, I’ve tried using the launch option “DRI_PRIME=1 %command%”. Any game used with this launch option won’t start.

I’ve tried putting “DRI_PRIME=1” in certain files that I believe are boot options (I can’t remember exactly which files, apologies.) This did not seem to change anything, but its possible that is due to user error, as I am a new Ubuntu user.

I’ve tried reinstalling the AMD graphics drivers multiple times, with no effect.

Any help with this problem would be greatly appreciated!

Can you provide the kernel version your install is using? MUX switch was not implemented until kernel version 6.17. I imagine that is the source of your issues. I have the exact same laptop but have not installed Ubuntu yet, but am planning on it soon. You may also want to check out the Asus-linux (https://asus-linux.org/) project website to install asusctrl. The latest point release of Ubuntu (24.04.4) comes with kernel verison 6.17 natively. I have not tested any of this yet myself, but have done some research on it. Hope this was helpful!

My kernel version is 6.17, and I’ve tried using asusctl to no effect unfortunately. :confused:

Thanks for putting time into responding though, much appreciated!

This topic was automatically closed after 30 days. New replies are no longer allowed.