X.org: no screens found

user_naa@lemmy.world to Linux@lemmy.ml – 26 points –

Recenty I changed my old NVidia GPU with nouveau to AMD. I installed firmware-amd-graphics and set up radron kernel driver. But when I try to start X11 with default config (X -configure) it fails with no screen error. Kernel radeon driver works well and tty resolution is proper. When I try run Debian live usb X.org works well. Xorg.0.log: https://pastebin.com/7tsvGA7r OS: Debian 12

15

Screen 0 deleted because of no matching config section.

Your XOrg conf ig has got hard definitions of your devices which aren't matching what is being detected. Probably best to let auto detection do it's thing.

This happened to me by even though I had never hard configured anything… had to go to the config folder and find the offending definition and delete it

Well, for starters, unless you're running a quite old card you should be using amdgpu, not radeon. You seem to have them both loaded.

Post a dmesg?

I have R9 280

That looks to be Volcanic Islands, which has good support with amdgpu and no support by radeon, according to Wikipedia.

I'm not sure what you meant by "set up radron kernel driver", but you could maybe try blacklisting it.

Driver isn't loaded.

Firmware is not a driver.

Kernel driver is loaded

# lsmod | grep radeon
radeon               1888256  9
video                  77824  2 amdgpu,radeon
i2c_algo_bit           12288  2 amdgpu,radeon
drm_suballoc_helper    12288  2 amdgpu,radeon
drm_display_helper    266240  2 amdgpu,radeon
drm_ttm_helper         12288  2 amdgpu,radeon
ttm                   102400  3 amdgpu,radeon,drm_ttm_helper
drm_kms_helper        253952  3 drm_display_helper,amdgpu,radeon
drm                   749568  16 gpu_sched,drm_kms_helper,drm_exec,drm_suballoc_helper,drm_display_helper,drm_buddy,amdgpu,radeon,drm_ttm_helper,ttm,amdxcp

@user_naa
I have a computer where xserver not work if you try to use it together with the internal graphiccard. With Wayland even a Screen on this internal card works.
So I propose to try Wayland.

Device initalization failed according to the Xorg logs;

  1. Dump your firmware version
  2. Dump your kernel version
  3. Dump your kernel logs (dmesg or journalctl -k)

Additionally you can try and force use amdgpu rather than radeon, by setting the kernel flags:

radeon.cik_support=0 radeon.si_support=0 amdgpu.cik_support=1 amdgpu.si_support=1 amdgpu.dc=1

Source