Another very interesting observation: I added back my Xorg configuration
and SDDM starts without a cursor (even if I move the trackpad), the
cursor is there it's just not being rendered, when I log in then I get
the black elements in Plasma. However, if restart,change to a tty before
logging in and restart the sddm service, the problem is fixed, I get my
desktop and I can use PRIME Render Offload as intended.

Note that this is not always the case. Sometimes I just get a black or
garbled rainbow mess on the screen, in that case I c¡have to power off
the computer let it rest for a moment and then I can continue with the
same procedure.

-- 
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:
  System sometimes starts with a black screen with Nvidia PRIME setup on
  Ryzen+Nvidia system

Status in nvidia-prime package in Ubuntu:
  Incomplete

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

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

Reply via email to