Open laichiaheng opened 3 months ago
What does "unstable" mean and how are you checking your refresh rate? And what is your configured modeline?
What does "unstable" mean and how are you checking your refresh rate? And what is your configured modeline?
The OSD on my monitor. https://youtu.be/EtiwF7JNKag
If the videos is at 60fps, the refresh rate should be near 60Hz, it does show on the stable result.
target-colorspace-hint=yes
Is this relevant to reproducing the issue? Also I can't reproduce on sway, can you try another compositor?
target-colorspace-hint=yes
Is this relevant to reproducing the issue?
After removing target-colorspace-hint=yes
, the refresh rate is much stable, but not as stable as those stable results.
I need it to play HDR videos on HDR monitor.
Also I can't reproduce on sway, can you try another compositor?
It also happens on Gnome46.
What does "unstable" mean and how are you checking your refresh rate? And what is your configured modeline?
It is how a stable refresh rate looks like: https://youtu.be/_x7xZ2PGk2E
By the way, ENABLE_HDR_WSI=1
is in /etc/environment
, with it, I can watch HDR videos directly in KDE Plasma6.1.
It shouldn't be the reason to cause the problem, becasue Gnome has the problem, too.
Is this still an issue? I still can't reproduce this. If this only occurs with target-colorspace-hint=yes
then the issue is most likely elsewhere
vo=gpu + no hwdec + target-colorspace-hint=yes = stable.
target-colorspace-hint=yes
does nothing for vo=gpu.
Does you monitor have issues with VRR and HDR enabled? mpv literally does not care about VRR, so only thing that differs is enabling HDR apparently, in your monitor.
Highly doubt gpu-next is a factor here.
mpv Information
Other Information
Reproduction Steps
It causes unstable refresh rate in adaptive sync mode. There are 5 situations that I have tested.
vo=gpu
+no hwdec
+target-colorspace-hint=yes
= stable.vo=gpu-next
+no hwdec
+target-colorspace-hint=yes
= unstable.vo=gpu-next
+hwdec=vaapi
+target-colorspace-hint=yes
= stable.vo=gpu-next
+hwdec=vulkan
+gpu-context=waylandvk
+target-colorspace-hint=yes
= unstablevo=gpu-next
+no hwdec
+gpu-context=waylandvk
+target-colorspace-hint=yes
= stableExpected Behavior
No matter gpu-next or hwdec=vulkan, the refresh rate should be as stable as default.
Actual Behavior
They causes issue in adaptive sync mode.
Log File
Sample Files
Any videos, but you can search
P81_GlassBlowing2_3840x2160@59.94fps_15200kbps_fmp4
I carefully read all instruction and confirm that I did the following:
--log-file=output.txt
.