plexinc / plex-media-player

Next generation Plex Desktop/Embedded Client
GNU General Public License v2.0
1.17k stars 170 forks source link

Plex Media Player is flickering when NVIDIA G-Sync is enabled (Fullscreen- & Windowmode) #1060

Open jank04 opened 2 years ago

jank04 commented 2 years ago

Test environment

PMS Version: 1.25.2.5319-c43dc0277 PMP Version: 1.39.1.2763-300bb607 Hardware: AMD Ryzen 7 5800X; RTX 3070; 32 GB RAM; PMP on PCI-E Gen 4 x4 NVME; WQHD @144 Hz G-Sync compatible Monitor Platform (Windows/macOS/Embedded RPi/Embedded Intel): Windows 10 21H2 19044.1415; Monitor Refreshrate is configured to 144Hz in Nvidia Controlpanel

Steps to reproduce

  1. Enable G-Sync
  2. Start PMP
  3. Start Video

Current behavior

  1. PMP is flickering, even more when scrolling
  2. Video playback is flickering
  3. In my monitor settings (on the monitor itself) I can see, that the refreshrate is jumping randomly between 49 Hz to 144 Hz (so 49Hz, 75Hz, 49Hz, 65Hz, 111Hz, 124Hz, 81Hz etc..). This happens at an interval at maybe 3 times a second.

Expected behavior

  1. PMP recognizes G-Sync and "tells" the monitor the correct refreshrate. I can't imagine, that video decoding is more demanding than games, so holding 144 Hz should be easily achievable.
  2. The PMP and video playpack are not flickering.

When I disable G-Sync in Nvidia Controlpanel the refreshrate is fixed at 144Hz and there is no flickering whatsoever. It is annoying to switch the G-Sync mode all the time, when I decide to play a game or watch a movie. Logs.zip