You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: SPICE OpenGL black screen after Mesa 26.3.1 update #643
COSMIC 1.0.0
spice 0.16.0-5, spice-gtk 0.43-2
GDK_BACKEND=x11 virt-manager works
Disabling OpenGL and VirtIO 3D also works
Rebooting does not resolve the issue
This may be related to #637, but that issue was reportedly resolved by using spice 0.16.0-5, which is already installed on my system.
I haven't confirmed the Mesa regression by downgrading.
Same mesa 26.3.1 regression on Framework Desktop (Strix Halo, gfx1151) via Sunshine/Moonlight — KDE Plasma Wayland session: the Moonlight stream encodes fully black even though the compositor renders fine (spectacle screenshot = correct desktop), and the kscreenlocker password prompt is invisible with kwin_wayland: Failed to create framebuffer: Invalid argument logged on every lock. Downgrading mesa + vulkan-radeon (+ lib32/opencl/implicit-layer split pkgs) to 26.2.6-1 and rebooting fixes both. Same signature (working on 26.2.6 → black on 26.3.1, dmabuf/GL buffer sharing through a second consumer), different surface: hardware video encode importing the scanout buffer, and KWin importing the locker's surface.
Sunshine/Moonlight variant still black on 3:26.3.1-5 (Framework Desktop, Strix Halo gfx1151, Plasma Wayland): the KWin side is now fixed on −5 — no more Failed to create framebuffer on lock — but Sunshine's hevc_vulkan encoder still produces an all-black frame with a movable cursor overlay, while the compositor renders the desktop fine (verified with spectacle, which bypasses capture+encode). Downgrading mesa to 3:26.2.6-1 + reboot still fixes the stream. So the −5 fix seems to cover the GL/dmabuf consumer path (KWin/SPICE) but not the captured-Wayland-frame import into the Vulkan video encode path.
Hello,
In KDE Plasma 6.8 on CachyOS, even with Mesa 3:26.3.1-5, I have two VM that show a black screen (with only the mouse visible).
Disabling Spice allows to see them, but with no 3D acceleration.
GDK_BACKEND=x11 did not help in this case. Disabling SPICE GL/3D restores the console. Downgrading mesa + vulkan-radeon (and the lib32 counterparts) to 3:26.2.6-1, then restoring the GL VM config, fixes it.
So 3:26.3.1-5 fixes the RX 480/COSMIC report but not this KDE Plasma + RX 6600 path. Please keep it tracked even though the issue is closed.
Cross-linking, because this thread shows the fix did not land for everyone: #658 reports the same DMA-BUF import failure (egl_error=0x3003) on KDE Plasma 6.8 Wayland with an RX 6600, still present on 3:26.3.1-5, where GDK_BACKEND=x11 does not help. It also collects the remaining Sunshine/Moonlight and KWin reports from this thread. Requesting that path be tracked rather than closed with the COSMIC/RX 480 fix.
Activity
martino2k6 commentedon Nov 20, 2026
Same mesa 26.3.1 regression on Framework Desktop (Strix Halo, gfx1151) via Sunshine/Moonlight — KDE Plasma Wayland session: the Moonlight stream encodes fully black even though the compositor renders fine (spectacle screenshot = correct desktop), and the kscreenlocker password prompt is invisible with kwin_wayland: Failed to create framebuffer: Invalid argument logged on every lock. Downgrading mesa + vulkan-radeon (+ lib32/opencl/implicit-layer split pkgs) to 26.2.6-1 and rebooting fixes both. Same signature (working on 26.2.6 → black on 26.3.1, dmabuf/GL buffer sharing through a second consumer), different surface: hardware video encode importing the scanout buffer, and KWin importing the locker's surface.
wubbl0rz commentedon Nov 21, 2026
same problem with mesa and sunshine moonlight and kde. restored snapshot from before the update and that fixed it.
ptr1337 commentedon Nov 21, 2026
was this not fixed with -4?
Anyways, pushing -5. God bless mesa :(
JoLa61 commentedon Nov 21, 2026
Confirmed fixed with Mesa 3:26.3.1-5 on my AMD RX 480.
SPICE OpenGL + VirtIO 3D now works correctly in virt-manager under COSMIC Wayland.
Thanks for the quick fix, Peter! 👍
wubbl0rz commentedon Nov 21, 2026
sunshine moonlight issue is still there. the steps @martino2k6 described worked with downgrading. maybe its a different problem 🤔
martino2k6 commentedon Nov 23, 2026
Sunshine/Moonlight variant still black on 3:26.3.1-5 (Framework Desktop, Strix Halo gfx1151, Plasma Wayland): the KWin side is now fixed on −5 — no more Failed to create framebuffer on lock — but Sunshine's hevc_vulkan encoder still produces an all-black frame with a movable cursor overlay, while the compositor renders the desktop fine (verified with spectacle, which bypasses capture+encode). Downgrading mesa to 3:26.2.6-1 + reboot still fixes the stream. So the −5 fix seems to cover the GL/dmabuf consumer path (KWin/SPICE) but not the captured-Wayland-frame import into the Vulkan video encode path.
Gael-Mifsud commentedon Nov 23, 2026
Hello,
In KDE Plasma 6.8 on CachyOS, even with Mesa 3:26.3.1-5, I have two VM that show a black screen (with only the mouse visible).
Disabling Spice allows to see them, but with no 3D acceleration.
wubbl0rz commentedon Nov 24, 2026
just in my case it looks like its this bug from sunshine SunshineStream/Sunshine#6153
wangwang58 commentedon Nov 29, 2026
me too
staglib commentedon Nov 29, 2026
Same here on CachyOS, KDE Plasma 6.8 Wayland, AMD RX 6600 (RADV), Mesa 3:26.3.1-5, QEMU 11.1.3 / libvirt 12.9.
Guest: Windows 10 with
virtio-vga-gl+accel3d+ SPICE GL. The VM runs and is reachable, but the console stays black. Journal shows:update scanout failed: failed to create EGL image from DMA-BUF: egl_error=0x3003spice_egl_update_display: assertion 'd->ready' failedGDK_BACKEND=x11did not help in this case. Disabling SPICE GL/3D restores the console. Downgradingmesa+vulkan-radeon(and the lib32 counterparts) to 3:26.2.6-1, then restoring the GL VM config, fixes it.So 3:26.3.1-5 fixes the RX 480/COSMIC report but not this KDE Plasma + RX 6600 path. Please keep it tracked even though the issue is closed.
staglib commentedon Dec 2, 2026
Cross-linking, because this thread shows the fix did not land for everyone: #658 reports the same DMA-BUF import failure (
egl_error=0x3003) on KDE Plasma 6.8 Wayland with an RX 6600, still present on 3:26.3.1-5, where GDK_BACKEND=x11 does not help. It also collects the remaining Sunshine/Moonlight and KWin reports from this thread. Requesting that path be tracked rather than closed with the COSMIC/RX 480 fix.