I need some help figuring out how to assign my discrete NVIDIA GeForce RTX 4060 Max-Q to Minecraft and other specific applications instead of my Intel UHD integrated GPU, which is being used by default. I've tried looking for answers on the Arch wiki, but it's been pretty confusing, especially with all the info on NVIDIA Optimus. I'm running Arch Linux with KDE Plasma 6 on the latest Linux kernel. Any advice on how I can make sure Minecraft uses my discrete graphics card would be appreciated!
2 Answers
In the NVIDIA settings, there's typically a section for configuring individual game settings. You should look there for options related to power optimization. It might help you assign the right GPU for your games.
For Arch users, the method for using your discrete GPU (dGPU) is often called "prime." You can find the setup instructions on the Arch wiki under "PRIME." You can run your games using the `prime-run` command, which can help offload rendering to your dGPU. Check if it’s working by running `nvidia-smi` while your game is running. This will confirm if the dGPU is being used.
I tried using `$ prime-run minecraft-launcher.sh` and it worked great for Minecraft! But I'm struggling with some Steam games like "The Finals." I set the launch options, but it’s not consistent. Any tips?