Public bug reported: I've recently installed Ubuntu on a laptop that has a Ryzen APU (with Vega 8 integrated graphics) and a Nvidia dedicated GPU. The first issue that this kind of setup gives on a fresh install is that that PRIME render offloading doesn't work, I presume that Ubuntu currently sets up hybrid graphics for laptop with Intel+Nvidia, not AMD+Nvidia but that's another separate issue. As a workaround I created an Xorg configuration (attached in this report) that sets up both GPUs (with the appropiate BusIDs), after such configuration is applied the system boots fine with AMD integrated graphics being used and the ability to switch to Nvidia with PRIME render off-loading.
The problem comes when I try to use the computer the next day, then it gives me a black screen without having the ability to switch to a tty, the boot log doesn't throw any errors I just see a black screen after Xorg tries to start. I can make it work again by entering in recovery mode, logging into a root console and switching between "nvidia" and "on-demand" modes using prime-select (I set it up to "on-demand" profile after installing Ubuntu). For the moment I cannot provide any relevant logs since it's now working fine (and I don't remember seeing any errors on Xorg logs), also I don't really know where to look for this kind of issues. My system information: -CPU: AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx -GPU: Nvidia GTX 1650 Mobile (TU117M) (Using Nvidia binary driver version 440.64 from https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa) -RAM: 8 GB -Kubuntu 20.04 LTS (Using KDE Plasma 5.18.4) -Xorg 7.7+19ubuntu14 ** Affects: nvidia-prime (Ubuntu) Importance: Undecided Status: New ** Tags: amd nvidia optimus prime ryzen xorg ** Attachment added: "My current Xorg configuration (in "/usr/share/X11/xorg.conf.d/")" https://bugs.launchpad.net/bugs/1879287/+attachment/5373327/+files/09-gpu.conf -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to nvidia-prime in Ubuntu. https://bugs.launchpad.net/bugs/1879287 Title: Systems sometimes starts with a black screen with Nvidia PRIME setup on Ryzen+Nvidia system Status in nvidia-prime package in Ubuntu: New Bug description: I've recently installed Ubuntu on a laptop that has a Ryzen APU (with Vega 8 integrated graphics) and a Nvidia dedicated GPU. The first issue that this kind of setup gives on a fresh install is that that PRIME render offloading doesn't work, I presume that Ubuntu currently sets up hybrid graphics for laptop with Intel+Nvidia, not AMD+Nvidia but that's another separate issue. As a workaround I created an Xorg configuration (attached in this report) that sets up both GPUs (with the appropiate BusIDs), after such configuration is applied the system boots fine with AMD integrated graphics being used and the ability to switch to Nvidia with PRIME render off-loading. The problem comes when I try to use the computer the next day, then it gives me a black screen without having the ability to switch to a tty, the boot log doesn't throw any errors I just see a black screen after Xorg tries to start. I can make it work again by entering in recovery mode, logging into a root console and switching between "nvidia" and "on-demand" modes using prime-select (I set it up to "on-demand" profile after installing Ubuntu). For the moment I cannot provide any relevant logs since it's now working fine (and I don't remember seeing any errors on Xorg logs), also I don't really know where to look for this kind of issues. My system information: -CPU: AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx -GPU: Nvidia GTX 1650 Mobile (TU117M) (Using Nvidia binary driver version 440.64 from https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa) -RAM: 8 GB -Kubuntu 20.04 LTS (Using KDE Plasma 5.18.4) -Xorg 7.7+19ubuntu14 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1879287/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp