I have a AMD Renoir iGPU, and a GTX 1650 Nvidia dGPU. Latest Nvidia drivers from RPMFusion are installed. I even tried to setup PRIME using the nvuautoinstall script, which apparently ran without any issues.
In my experience the steps shown in this doc work to make the nvidia the primary gpu.
What it does not state is that solution only works when using the xorg DE. The user must log in with xorg then the nvidia gpu is alwasy used.
Yes, I did. But even though it reported success, it was not clear to me if it is supposed to work with Wayland or with X11 only.
I also tried this, but Firefox was unable to render properly, I could only see the windows’ frames, as if they were completely transparent. I will do some more testing, removing some environment variables changes I’ve made to see if I can get any further.
It is supposed to work with X11 only. To that extent, when that setting is applied - the Wayland option is removed to note the fact that the PRIME configuration is not supported on it.
This is interesting. Can you try doing this with any other application (like a videogame or an emulator) that can report what graphics device is made use of? It would be helpful to confirm if at all that context menu option is indeed taking effect to select your desired device of choice.
Thanks for confirming that it is indeed a laptop that you are using.
Or at least, it used to be like that back in Fedora Linux when I tried back in the day. I am not sure if things have changed recently as I no longer have a laptop with a dedicated NVIDIA discrete GPU to test things on. ↩︎
And by following these instructions for AMD, Firefox is capable of doing hardware video decoding for VP9 and H264 through Renoir (no VP8 or AV1, though). This is not what I was aiming for, but it is certainly good enough for the time being.