If it still fails, look at dmesg (log into a console tty by pressing ctrl+alt+F2 and run sudo dmesg) and look for amdgpu, there should be some errors when loading which could help troubleshoot
It's a bug in libglvnd that is merged (I think but not released yet).
When Sway checks for available devices with the GBM extension (at least I think it's the extension it's looking for) libglvnd return no device as soon as one installed driver fails to provide this extension (even if the driver is not loaded).
The merged patch yet to be released changes this logic so that it would return any device with a driver that provides the extension.
That's why the git version of libglvnd does work properly. You can either keep it until there's a new release of libglvnd or remove the nvidia driver from your system.
If your solution includes taking a screenshot, you can try to use Flameshot to take a screenshot of the image you want to annotate and annotate it with Flameshot's tools
The driver you need is amdgpu, radeon is for older AMD gpus.
Make sure you have the linux-firmware package installed as well.
If it still fails, give a tries at early KMS https://wiki.archlinux.org/title/Kernel_mode_setting#Early_KMS_start
If it still fails, look at dmesg (log into a console tty by pressing ctrl+alt+F2 and run sudo dmesg) and look for amdgpu, there should be some errors when loading which could help troubleshoot
It's a bug in libglvnd that is merged (I think but not released yet).
When Sway checks for available devices with the GBM extension (at least I think it's the extension it's looking for) libglvnd return no device as soon as one installed driver fails to provide this extension (even if the driver is not loaded).
The merged patch yet to be released changes this logic so that it would return any device with a driver that provides the extension.
That's why the git version of libglvnd does work properly. You can either keep it until there's a new release of libglvnd or remove the nvidia driver from your system.
If your solution includes taking a screenshot, you can try to use Flameshot to take a screenshot of the image you want to annotate and annotate it with Flameshot's tools
End of this list.
Back to top