I recently purchased an Asus Zenbook 14 Q407IQ. It uses a Ryzen 5 4500U processor with Vega 6 graphics and an Nvidia MX350 dedicated gpu. I've tried installing Ubuntu 20.04 on the laptop and it initially seems to work alright, but it runs very hot and it is very laggy when trying to display animations and the fans are always very loud.
I ended up figuring out that it doesn't seem to be properly configured to use either GPU. It preinstalled with the proprietary Nvidia 440 drivers so I tried updating it to the latest 450 driver but it didn't do anything. I also tried accessing the Nvidia X server settings but it just shows up blank with a quit button. I then tried using xrandr --listproviders
to see attached graphics drivers but it just says providers number: 0. There also don't seem to be too many instances of this happening for others, but it might just be because Zen 2 APU's are new and don't seem to be paired often with Nvidia GPU's. The only similar instance I found was from this article from ArsTechnica that also uses an AMD apu and Nvidia setup and under GPU testing they have a very similar issue to what I'm having and tried some different solutions, but eventually gives up trying to make it work. I've also seen a couple people mentioning disabling one of the GPU's should work, but my Asus laptop does not give me that option. Is it just impossible to use Ubuntu with my current setup for the time being until there is better support for switchable Nvidia/AMD apu graphics? Any help would be greatly appreciated.