[Wayland][Xwayland] “Xwayland glamor: GBM Wayland interfaces not available”

I recently purchased a new monitor, the LG UltraGear 27GS60QC-B. After setting it up, my Plasma desktop crashed the first time I pressed Alt+Tab. The screen froze, and then kwin restarted. Since then, all animations have been disabled; for instance, when I press Ctrl+Meta+Arrow, there is no animation.

Additionally, the fonts appear very sharp, which is unusual. I switched to X11, and everything worked fine. However, after a recent OS update, X11 is no longer supported, and I am on Plasma now, so all problems are dancing here.

Here is my setup:

Operating System: Arch Linux 
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.16.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 12th Gen Intel® Core™ i3-12100
Memory: 16 GiB of RAM
Graphics Processor: AMD Radeon RX 580 Series

Environment:

- Desktop: Plasma 6.4.4 / KWin 6.4.4
- Xwayland: 24.1.8
- Mesa: 25.2.1 (also tested 25.1.7)
- libdrm: 2.4.125
- wayland / wayland-protocols: current (include versions)
- Kernel: 6.16.3.arch1-1 (also tried custom xanmod before)
- GPU: AMD Radeon RX 580 (Polaris10)
- Driver: amdgpu (RADV works; Vulkan sees the GPU)

the result of glxinfo -B | grep -E 'Accelerated|OpenGL renderer':

Accelerated: no
OpenGL renderer string: llvmpipe (LLVM 20.1.8, 256 bits)

So any help? If you need any additional information just let me know.

Thanks in advance

My understanding was that it is simply not installed on Arch by default but can still be installed on request?

1 Like

Thank you for your time and response.
While installing X11 serves as a temporary solution, I am looking for a way to either resolve the issue or identify the bug so that I can submit it to the development team for a fix. Before switching to X11, I was working with Wayland, and the problems began after I installed my new monitor. So I decided to use X11 to temporary fix my problem because those days I was so busy.

Thanks again dear @krake

1 Like

This is the propblem as you shouldn’t be using software rendering on your GPU. It explains the lack of animations, at the very least.

This would be a kernel/driver/configuration thing, I will guess from one of your recent updates.

1 Like

Thank you for your time and response.

Do you know a way to solve the problem? would you please give me a hand or any clue?

Thanks again dear @claydoh

Sorry, no, I do not. This will be something specific to Arch and not related to KDE, and I am not very familiar with this distro.

But I am sure a distro-specific support channel would be able to, if no one here can.

No it’s not related to Arch, it’s about Plasma. for producing error log I pressed Alt + Tab now and my screen freeze again, now let’s check the log:

journalctl --user --since "2 minutes ago" \
| grep -Ei 'kwin|kwin_wayland|drm|amdgpu|nvidia|i915|gpu|xid|ring|reset'
Aug 28 20:58:10 unrivaled kwin_wayland[1058]: kwin_wayland_drm: The main thread was hanging temporarily!
Aug 28 20:58:21 unrivaled kwin_wayland[1058]: kwin_wayland_drm: The main thread was hanging temporarily!
Aug 28 20:58:23 unrivaled kwin_wayland[1058]: kwin_wayland_drm: The main thread was hanging temporarily!

As you can see it’s about Kwin or Wayland. That’s why I asked here.

But the issue of using llvmpipe instead of the video driver, this is not a desktop issue. Some firmware or kernel module is not loading properly.

2 Likes

Thank you so much.

So now I know the problem is not related to Kwin or Wayland. It will help a lot. I will try to handle this. Maybe I will share what I did with you guys.

Sincerely

@krake @claydoh

It fixed now.

I just asked AI and it told me to enter these commands:

grep -A5 ‘^\[Compositing\]’ ~/.config/kwinrc || true:

[Compositing]
Backend=QPainter
Enabled=true
GraphicsApi=vulkan
LatencyPolicy=High

then:

kwriteconfig6 --file kwinrc --group Compositing --key OpenGLIsUnsafe false
kwriteconfig6 --file kwinrc --group Compositing --key WindowsBlockCompositing false
kwriteconfig6 --file kwinrc --group Compositing --key Enabled true
kwriteconfig6 --file kwinrc --group Compositing --key Backend OpenGL

After that I restarted my GNU and now everything works amazing. Here is the result now:

grep -A5 ‘^\[Compositing\]’ ~/.config/kwinrc || true
[Compositing]
Backend=OpenGL
Enabled=true
GraphicsApi=vulkan
LatencyPolicy=High
OpenGLIsUnsafe=false

Thanks everyone and hope these helps other guys

Sincerely

3 Likes