Bug 477601

Summary: Request for wp_presentation/presentation-time to be Backported to Kwin 5.27.9 (at least)
Product: [Plasma] kwin Reporter: nekonexus
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: fanzhuyifan
Priority: NOR    
Version First Reported In: 5.27.9   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description nekonexus 2023-11-27 08:30:20 UTC
SUMMARY
Proper support for Gamescope under Wayland requires wp_presentation/presentation-time, which is now supported for Plasma 6...
https://bugs.kde.org/show_bug.cgi?id=474918

But Plasma 6 is a ways off and is still in alpha; this should preferably be something supported for Plasma versions that are already in production. (Plasma 5)
I'd like to request that this please be backported somehow.


STEPS TO REPRODUCE
1. Run a KDE Wayland session
2. Install gamescope
3. Run `gamescope -w 1920 -h 1080 -W (whatever resolution) -H (whatever resolution) -S stretch  --nested-refresh=60 --expose-wayland -- (any GUI program here, but it's meant for games)`

OBSERVED RESULT
"Your Wayland compositor does NOT support wp_presentation/presentation-time which is required for VK_KHR_present_wait and VK_KHR_present_id which is needed for Gamescope to function."

EXPECTED RESULT
For Plasma 5 to support this, because Plasma 6 is in alpha.

SOFTWARE/OS VERSIONS
Linux: Gentoo
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION
N/A
Comment 1 fanzhuyifan 2023-11-28 05:03:20 UTC

*** This bug has been marked as a duplicate of bug 474918 ***
Comment 2 nekonexus 2023-12-25 14:05:11 UTC
You do realize that closing this as a duplicate of an also closed report won't get it seen by people actually looking for problems to fix, right?
Comment 3 fanzhuyifan 2023-12-25 17:55:43 UTC
Hi, given that a backport was already asked for in 474918, I thought that it would be better to consolidate the different reports. Also, given that plasma 5 has been on feature freeze since January 2023, and is currently in EOL with no future releases scheduled [0], I think new features won't be eligible for backport, unfortunately. On the other hand, the beta 2 of plasma 6 has just been released, and you might be interested in trying that out.

Thanks for understanding!

[0] https://community.kde.org/Schedules/Plasma_5

*** This bug has been marked as a duplicate of bug 474918 ***