You are not logged in.
Hello, trying to get sway running on a new machine with an AMD RX 6600 XT graphics card. I run into this error whenever trying launch sway from tty.
[wlr] [backend/backend.c:371] Failed to open any DRM device
[sway/server.c:53] unable to create backend
I've followed the suggested steps at Loading to ensure the amdgpu kernel module is loaded.
And I've enabled early KMS start for amdgpu driver as per this doc, and was sure to regenerate initramfs.
I'm using the AMDGPU driver, but would I be better off using the proprietary AMDGPU PRO driver?
Some log info:
pluto% lsmod | grep amdgpu
amdgpu 6549504 0
gpu_sched 49152 1 amdgpu
ttm 114688 1 amdgpu
i2c_algo_bit 16384 1 amdgpu
drm_kms_helper 278528 1 amdgpu
drm 577536 4 gpu_sched,drm_kms_helper,amdgpu,ttm
pluto% sudo dmesg | grep amdgpu
[ 5.446622] [drm] amdgpu kernel modesetting enabled.
[ 5.446676] amdgpu: Ignoring ACPI CRAT on non-APU system
[ 5.446682] amdgpu: Topology: Add CPU node
Last edited by waffle0007 (2021-12-24 22:28:47)
Offline
would I be better off using the proprietary AMDGPU PRO driver?
Rather not - it only augments the GL library and is reported to yield inferior performance since quite a while.
Please post a complete system journal ("sudo journalctl -b | curl -F 'f:1=<-' ix.io")
Online
Thanks for the reply. Here's my journalctl
http://ix.io/3Jk7/
Offline
I'm gonna blame "ly" causing a boken session resulting in prohibited access to the drm device.
(iirc there've been plenty of threads itr)
So try to cut out "ly" and start sway from a "regular" console login.
Online
Unfortunately the result is the same with and without ly. I was initially trying to launch with no display manager, but some forum posts suggested using a display manager to set XDG_RUNTIME_DIR and whatnot, and I've had luck with ly on my other machines running sway.
Offline
From a regular login:
getfacl /dev/dri/card0
Online
That returns
pluto% getfacl /dev/dri/card0
getfacl: /dev/dri/card0: No such file or directory
Offline
Revisiting the journal, there's a suspicious lack of amdgpu module messages - what's the output of "lspci -k"?
Online
Good eye, seems to be lacking a kernel driver/module. Let me try my luck at some other ways of loading it.
0a:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6600/6600 XT/6600M] (rev c1)
Subsystem: ASUSTeK Computer Inc. Device 05d3
http://ix.io/3Jn0
Edit: Unfortunately, I can't get it loaded. After double checking it's in my mkinitcpio.conf MODULES array, and creating /etc/modprobe.d/amdgpu.conf with
options amdgpu si_support=1
options amdgpu cik_support=1
I've regenerated initramfs once again, and made surer modconf in listed.
Last edited by waffle0007 (2021-12-24 19:57:20)
Offline
Navi 23 support is only introduced in 5.11, so simply trying the main kernel should™ do (hopefully…)
Online
That was it! Thank you so much and happy holidays
Offline