You have been subscribed to a public bug:

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 1.20.8-2ubuntu2

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Incomplete


** Tags: amd black-screen focal nvidia optimus prime ryzen xorg
-- 
System sometimes starts with a black screen with Nvidia PRIME setup on 
Ryzen+Nvidia system
https://bugs.launchpad.net/bugs/1879287
You received this bug notification because you are a member of Kernel Packages, 
which is subscribed to linux in Ubuntu.

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to