-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
Describe the Bug
When using the H.264 or the H.265 AMD codec the last frames of a screen refresh aren't transmitted and get "lost". The screen is only refreshed when the mouse is moved or something else is displayed on the screen.
That means for example:
- when typing you have a delay of one letter / until the text cursor is blinking again
- you can't imemdiately see when marking some text with a double click
- when scrolling a website the content makes a "jump" when moving the mouse / the screen is updated
- the mouse feels a litte bit laggy because of the delay
- in Games every ~45 seconds the screen hangs for a second. But i can't really explain why this does happen or if its connected to this issue
For demonstrational purporses I have created a simple demo video showing the correct and excpected result on the left side and the output of moonlight on the right side. Mabe its helpful to understand the problem.
Expected Behavior
All frames are transmitted and showing in real time.
Additional Context
When using software encoding or VAAPI in Linux this issue ist not present. Also on my old RX 570 this issue did not occure, but there were other problems ... 😅
You can improve the problem drasticly with activating the tracking overlay with a transparency of 99% and a sampling rate of 0,25 seconds. Because then all 0,25 seconds the screen ist updated, and you can't actually feel the listed problems earlier.
Sunshine Host Operating System and Version
Windows 11
Architecture
64 Bit
Sunshine Version
0.12
GPU Type
AMD
GPU Model
RX 6600 XT
GPU Driver/Mesa Version
22.3.1 (Newest)
Capture Method (Linux Only)
No response