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!