https://bugs.kde.org/show_bug.cgi?id=516432

Conn O'Griofa <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Conn O'Griofa <[email protected]> ---
This may not be an issue exclusive to NVIDIA cards. I have an RX 6600, Fedora
43 and the KDE beta copr with Plasma 6.6.1, and I've been working on pacing
improvements [1] to Sunshine's portalgrab capture method that we're hoping to
make a viable replacement for kmsgrab. I don't have a host screen connected, so
it wasn't immediately obvious that this was a general performance issue with
KWin instead of a bug with Sunshine's capture code until I saw this bug.

I've discovered the following behaviour with Sunshine's portalgrab:
* KWin 6.6.1 has no issues streaming Proton games running via native Wayland
using GE Proton and the "PROTON_USE_WAYLAND=1 %command%" arguments.
* KWin 6.6.1 and Proton games using the default XWayland backend (GE Proton
without any env variable or Valve's vanilla version) has an issue where we can
see gaps in sequential frames received (which is verified by tracking gaps in
each pipewire seq metadata received vs the last seen seq that was sent for
encoding). This results in the stream consistently stuttering.
* Mutter has no issues streaming Proton games via Wayland or XWayland (but
needs vsync enabled for better pacing).

I checked the linked reddit thread[2] and initial testing of the recommendation
to try this specific variable seems to resolve the missing sequences when
running Proton games via XWayland:
KWIN_DRM_OVERRIDE_SAFETY_MARGIN=1000 

[1] https://github.com/LizardByte/Sunshine/pull/4768
[2] https://www.reddit.com/r/linux_gaming/comments/1r9lsul/comment/o6ks5tk/

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to