neatnoise

Results 14 comments of neatnoise

Fire TV 4K Max user here. I also get a high latency around 40 ms. In the display settings of the device there is a low latency game mode switch...

Wow, that’s a huge difference in the latency. Much better experience in gaming. I also get around 8 ms. Good work, Thank you ![67DB80B8-C2A8-4FFC-8FA1-C164B6966711](https://user-images.githubusercontent.com/2226294/171632166-de5f7c50-238d-461e-b5dd-9d2035c76061.jpeg)

It could be. I'm doing the research too, testing different desktop environments, settings within envs, forcing different driver settings. No success so far. The issue doesn't exist on the physical...

@DistantThunder great spot. That's the root cause - ffmpeg synchronization during encoding. I compiled the ffmpeg code with the first patch provided in the mesa thread and it fixes tearing...

> @neatnoise could you submit a PR with the patch to https://github.com/LizardByte/build-deps Added [FFmpeg Vulkan synchronization fix](https://github.com/LizardByte/build-deps/pull/357). Worth to mention that it is a workaround and should be monitored and...

@DistantThunder Sunshine uses its own built static FFmpeg library, not system's one. It is here https://github.com/LizardByte/build-deps

Yes, when you clone Sunshine repo and its submodule repos (listed in .gitmodules), one of them is build-deps which includes ffmpeg and other libraries already compiled as a static libraries...

@DistantThunder try to use the latest ffmpeg dev code. There is a proper fix already in master ffmpeg branch. It works the best for me. Change in file https://github.com/LizardByte/build-deps/blob/master/.gitmodules ```...

> @neatnoise Will test. I was afraid Sunshine bindings were not compatible with upstream latest. So I have to remove the patches? Yes, I built without any patches and works...

https://github.com/FFmpeg/FFmpeg/commit/a577d313b2c14c855ab8aa69bbe3527bd7727212 This one. I didn’t have to change anything to build it