moonlight-stream / moonlight-qt

GameStream client for PCs (Windows, Mac, Linux, and Steam Link)
GNU General Public License v3.0
9.57k stars 560 forks source link

Higher latency on Linux comparing to Windows #1032

Open Kobain-Seo opened 1 year ago

Kobain-Seo commented 1 year ago

Higher latency on linux and cannot find the reason.

Step to reproduce.

Host is running sunshine and both of clients are running Moonlight V4.3.1. And all configurations are identical. Resolution : 1920 x 1080 FPS : 144 Codec : HEVC Main 10 Decoder : Hardware ( GPU is Intel UHD graphics of N100 Processor)

But as you see, 'Average rendering time' under windows is below 0.1ms but it is over 2ms under linux environment. I tried various linux distros and display servers(X11 and wayland). And tried to turn off Vsync for X11 but no effect - It actually increased latency.

I would like to use linux as a client's OS but the gap of latency makes me don't do it.

Is there anything i can consider to reduce the latency on linux?

Screenshot of Moonlight on Windows 10 screenshot_windows10

Screenshot of Moonlight on Kali linux screenshot_kalilinux

josiahmoreno commented 5 months ago

i've see this too