Replies: 2 comments 9 replies
-
X11 shouldn't have this problem. Or at least if it had similar symptoms, the root cause should be something completely different. As a workaround for now, you can use I could make that random timing configurable but I would really rather not. Users shouldn't have to mess with this. |
Beta Was this translation helpful? Give feedback.
-
Curious if you have the issue with vo=dmabuf-wayland as well or not |
Beta Was this translation helpful? Give feedback.
-
Hey @Dudemanguy ,
Firstly: I want to thank you so much for maintaining the mpv player.
It is awsome! And there are reasons for me to use it against other players, even now, where i went into trouble and could solve the problem!
Problem:
The situation was that i had vsync troubles when watching 24fps films on a 24Hz TV (everything set to 24Hz in system). My frame timing were lower than 10ms, but i had missed frames and the playback was occasionally stuttering in a noticeable manner.
I've read a lot research on how things go between the video-file and the final playback on the display and where a mistake could happen. So i figured out it should be a sync problem, not a performance problem.
Solution:
I've found the following thread: #9504 in which you state that a magical empirical number of 5 percent onto the vblank timing could resolve an issue on wayland.
So now i advanced this number to 15 percent:
video/out/wayland-common.c
->vblank_time += 0.15 * vblank_time;
instead ofvblank_time += 0.05 * vblank_time;
Maybe the magical number of 5 percent is too less in some applications.
And as i spend a lot of time into that, i wanted to notice to you that experience.
System:
The problem appeared in a fully up-to-date Arch Linux distro with linux 6.11 and Plasma-wayland.
Linux-firmware package is installed as also mesa-drivers, intel-media-driver and all other possible needed goodies.
The system is an Intel i5-n305 Alder Lake with its integrated UHD graphics card (with 32EUs).
It is running on 8GB DDR5-SODIMM, the GPU gets 256MB, higher values in BIOS made the situation worse for me.
Other Steps:
What i tried and what didnt fix the issue was:
X11 with vulkan, X11 with opengl, Wayland with vulkan, Wayland with opengl, and everything once again with the xperimental Xe Iris driver set as kernel-option.
If you need some more information, stay in contact.
Maybe i can help here for a further issue of mpv.
Greetings,
Lukas
Beta Was this translation helpful? Give feedback.
All reactions