Third Party Hardware > GPU Compute / Accelerators

AMD rendering issues with Debian Bullseye

(1/4) > >>

Borley:
I have been struggling with getting a graphical session (Gnome, or Sway) running under Debian Bullseye. The system is a Blackbird with RX560. After installing firmware-amd-graphics, disabling the AST and setting amdgpu in initramfs modules, the system gets display but crashes out of Gnome GUI.

I have tried setting a default GPU per select desired GPU at runtime. And disabled GLAMOR with the relevant portion of this since it was also erroring about GL_OUT_OF_MEMORY for glamor.

This allowed GDM to now start, however text fails to render and login fails, always returning to the GDM login prompt. Aside from the text, everything looks okay in the GUI so I am confident that the GPU is working at least. It looks like the screen needs to be selected, according to xorg logs:

[     3.162] (==) No Layout section.  Using the first Screen section.
[     3.162] (**) |-->Screen "Screen0" (0)
[     3.162] (**) |   |-->Monitor "<default monitor>"
[     3.163] (**) |   |-->Device "GPU1"
[     3.163] (**) |   |-->GPUDevice "GPU1"
[     3.163] (==) No monitor specified for screen "Screen0".
        All GPUs supported by the amdgpu kernel driver
[     3.175] (EE) No devices detected.
[     3.176] (EE)
Fatal server error:
[     3.176] (EE) no screens found(EE)
[     3.176] (EE)

Has anybody gotten Bullseye up and running with an AMD card? And how do you determine the correct screen to select?

Borley:
I have reverted all my changes on /usr/share/X11/xorg.conf.d/00-noglamoregl.conf and /etc/X11/xorg.conf.d/21-gpu-driver.conf, and found that the system still boots to gdm3 with no text rendering.
I may have misattributed the cause.

syslog shows errors for gnome-session and gdm:

gnome-session-binary[]: WARNING: Failed to upload environment to systemd: GDBus.Error: org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.systemd1" does not exist
gnome-session-binary[]: WARNING: Falling back to non-systemd startup procedure due to error: org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.systemd1" does not exist

I have made sure that systemd-logind is running

MPC7500:
Does this error occur only with Bullseye or also with other distributions? Your Xorg.config file is correct?

Depending on which distribution I use, I have to use these kernel boot arguments:
modprobe.blacklist=ast video=offb:off

And I have to select the port of the AMD GPU after Petitboot is loaded, otherwise I also get the message "no screens found".

Borley:
Have not yet tried non-Debian, but I did just try a clean install with Debian Sid instead. I made no changes other than the following:


* Install Debian, add non-free repos and installed firmware-amd-graphics.

* Appended amdgpu to /etc/initramfs-tools/modules
--- Code: ---sudo update-initramfs -u
--- End code ---

* Added modprobe.blacklist=ast video=offb:off console=tty0 to GRUB_CMDLINE_LINUX
--- Code: ---sudo update-grub
--- End code ---

* Rebooted
--- Code: ---sudo apt install gnome-session
--- End code ---

After restarting, the same issue occurrs, arriving at the login screen:

Login fails and seems to restart gdm3. Same with gnome desktop from Tasksel, or gnome-core meta package. So I highly suspect this is a Gnome issue rather than a AMD GPU or Raptor Blackbird issue.

ClassicHasClass:
I've found I have fewer issues if I don't use gdm at all. Can you do a text boot and startx from there?

Navigation

[0] Message Index

[#] Next page

Go to full version