Bug 491219

Summary: fifo-v1 and commit-timing-v1 need to be implemented for SDL v3 to run in Wayland mode
Product: [Plasma] kwin Reporter: Neal Gompa <ngompa>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: task CC: henrik, kde, nate, vlad.zahorodnii, xaver.hugl
Priority: NOR Keywords: wayland-only
Version First Reported In: 6.1.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
URL: https://github.com/libsdl-org/SDL/pull/9383
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Neal Gompa 2024-08-03 14:27:02 UTC
SUMMARY
SDL v3 will refuse to offer applications to run in native Wayland mode unless fifo-v1 and commit-timing-v1 are implemented by the compositor. As of right now, KWin doesn't have an implementation for this nor is one pending, presumably because the protocols are in draft status upstream. Please consider implementing the protocols and reviewing/acking the protocols upstream.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 40 (KDE Plasma)
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Mutter has an implementation ready to go: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3355
wlroots has one too: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4463

fifo-v1 protocol merge request: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/256
commit-timing-v1 protocol merge request: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/248
Comment 1 David Edmundson 2024-09-27 15:52:58 UTC
We have some stuff pending but for other FIFO types, I don't think this is too useful in the format of a open bug report. Once mesa gets something we'll land something.
Comment 2 Henrik Harmsen 2025-11-28 11:03:44 UTC
(In reply to David Edmundson from comment #1)
> We have some stuff pending but for other FIFO types, I don't think this is
> too useful in the format of a open bug report. Once mesa gets something
> we'll land something.

Mesa merged this a year ago: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26150
So any thoughts on the way forward with this?
Comment 3 Zamundaaa 2025-11-28 11:51:36 UTC
fifo-v1 is supported since Plasma 6.4
Comment 4 Henrik Harmsen 2025-11-28 16:04:36 UTC
(In reply to Zamundaaa from comment #3)
> fifo-v1 is supported since Plasma 6.4

Sorry for perhaps being unclear but what about commit-timing-v1 support in kwin?
Comment 5 Zamundaaa 2025-11-28 18:09:50 UTC
It's not needed for anything yet.