In the latest versions of the binary Nvidia driver, support for PRIME render offloading was added, which solves the long-standing issue with missing Nvidia Optimus support. In laptops with both Intel integrated graphics and Nvidia dedicated graphics the Nvidia driver is correctly installed (as of 19.10 and 20.04) with working Nvidia PRIME.
The problem comes when you try to do the same thing with a laptop (and potentially desktop too) that has a Ryzen APU and an Nvidia dedicated graphics chip. The Nvidia binary driver appears to be correctly installed but PRIME is not correctly detected due to misconfigured Xorg (PRIME render offloading requires an specific Xorg configuration, if I’m not mistaken).
However, with the Xorg configuration in this Reddit post (modified with the correct PCI Bus IDs in my laptop and placed in “/usr/share/X11/xorg.conf.d/09-gpu.conf”), the same setup works and I can launch apps with Nvidia dedicated graphics, even the Nvidia settings app works after that!
The question I have is if there are any plans on fixing this, I don’t know much about Xorg stuff but it seems like something that could be fixed relatively easily since it already works with the correct configuration.