New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deinterlacing not working well on high frequency displays (144 Hz) #45
Comments
Developers don't have screen with high refresh rate and can't test/debug. On 60 Hz all is perfect. |
see further down |
Are those extra frames different, or just repeats? Playing 50 fps at 144 Hz means that 44 of those frames are displayed 3 times, and 6 frames 2 times. |
@clsid2 Those extra frames are different, hence the better visuals. But I haven't counting frames because of my bad math skills, the many double and triple frames and the method in the first place (capturing with windows xbox bar, which says it is doing max. 60, when doing in fact 72 of a i50 source... ) |
@clsid2 Your question made me test something again. |
Can you also test with madvr? |
@clsid2 I never use madvr and I have not installed it. |
Can you upload the two 144Hz recordings? |
@clsid2 I could but the problem is probably something hard coded or a bad divider, making 144 looking worse then 60. |
If you can see any pattern on how frames are repeated in both recordings, then that might give a clue about what is happening and what is different. |
@clsid2 Those recordings have different time stamps so it is really no fun. Also you can't look at those colored blocks because they are added artificially, you have to look at the presenters movements. There you can see, that some frames are missing in MPCVR 144. There is also one glitch at the end, but that was in the original file. |
Have you tried with Direct3D11 in MPCVR? |
@clsid2 It is enabled by default in klite cp and I don't use LAV for deinterlacing. |
The whole point of those suggestions are to compare with different settings, to see if that makes any difference in behavior of MPCVR. |
I can watch it several times and I hope my feelings won't be wrong, but I have enough of frame peeping one by one. :) |
I previously wrote that deinterlacing will not work well in MPC VR on high frequency displays. You have checked and confirmed this. Thank you. In the first post, you didn't specify the version of MPC VR. I will ignore such bug reports in the future. |
It is a persistent problem. I am user of the klite codec pack, so the version on my system of today is: MPC Video Renderer 0.5.7.1812 (git-2022.01.10-7488a3c) x64. |
Can confirm MPCVR is unsmooth on 144hz display. Changed to EVR and everthing's fine. |
I actually have a 144Hrz sceen, and recently I thought about switching from MadVR TO MPCVR, but should I do it? |
We do not have the ability and desire to watch your video on your display. |
Stupid question: Why don't you auto-switch to 120Hz for i60 content anyway? Or is anything wrong with i60 at 120Hz as well? |
So what you're saying is, the frametime graph looks smooth on your end with interlaced content, yet it still feels janky to you? |
@JTGaming I also have this issue with a 240Hz monitor. Here is the screenshot of the debug screen when this issue occurs to me on 240Hz: If I disable the 'double the frame rate when deinterlacing' option, then it looks like this: This helps with the issue, because there are no spikes, but the overall experience is not smooth, because there is less frames as @bobdig already mentioned. Also if I switch back to 60Hz the graph looks okay again and the playback is smooth: |
That's good to hear. If anyone else would like to test it out themselves, please report back your findings here (preferably with screenshots of the frametime graph). I'll try and submit a PR sometime later when I am free to get this fixed and into the hands of everyone. |
Trying this build. |
L̶o̶o̶k̶i̶n̶g̶ ̶g̶o̶o̶d̶ ̶t̶o̶ ̶m̶e̶,̶ ̶t̶h̶a̶n̶k̶ ̶y̶o̶u̶.̶ |
How does it compare to the version from JTGaming? |
Another build with very small difference |
Looks like I was to quick, not so good. Although I make my comparison mostly to the EVR CP. |
What's bad ? What's compare ? |
Still not fixed with this one. But I used your "(Un)install_MPCVR_**.cmd" Now I have problems "installing" JTGaming ones. Will have to do a clean install of klite now. |
Why uninstall ? Replace files from archive. |
Another version |
It does create a flat line but it doesn't is as fluid as EVR CP or the fix from JTGaming. But I am getting tired of testing this at this point. Also I don't have good source to test this, I only use interlaced video I have laying around. |
I also tested the third version, and here are my results: It looks much better than the original master version, but not as smooth as @JTGaming version. Also I got sometimes a spike in the graph which resulted in some stuttering: |
@zhallgato Do you have a favorite, JTGaming version or EVR CP? Maybe we can have a discussion @JTGaming but I can not open an "issue" there. It would be nice to solve this problem once and for all in the best way possible. |
@JTGaming said in their PR that the solution he posted to here covers around 90% of the problem, as he wanted to keep the code simple, because the one he implemented in his fork is much more complicated, and covers more edge cases. Maybe it's worth using a more comprehensive solution here too, in order to end this issue once and for all. |
@bobdig Sorry, but I don't use EVR CP. I use MPCVR for everything except for the interlaced content, because of the above-mentioned issue. But after testing JTGaming version I think I will be able to switch to MPCVR entirely, because it looked to me as smooth as madvr. The fourth version looks better than the third, there are no spikes: |
Why use look at graph, test without and watch video. |
I test it without it and just simply watch the video. :) But JTGaming asked the graph before, so I thought it is useful for you if I keep posting it. (but I won't do it anymore then) So as I said before the fourth version looks good enough, I don't see too much difference compared to JTGaming version (it feels like JTGaming version is still a little bit smoother, but maybe I'm just imagining it) |
Weirdly enough, on my slower laptop the fourth version seems to be behaving less ideally. |
If you have not enabled WaitForVBlank, then the graph most likely does not show small frame jitters. The most reliable way to understand whether there is a problem is to see it yourself without displaying statistics on a suitable video. It also makes sense to compare with WaitForVBlank disabled and enabled. |
"Final" version. |
Seems fine enough from my testing. |
Yes - calculate diff and sleep if need just before call present(). |
Seems like the issue is finally fixed. |
I double-checked, and I can also confirm that the problem is fixed. This issue can be closed. |
I made a slightly modified version. |
I am a user of MPC-HC and one gripe I have with the now default MPC Video Renderer is how unsmooth the deinterlacing is still looking. I "tested" this with a nvidia 1060 and 3060 mobile on a 144 Hz Screen (monitor and laptop). The result is always the same, with EVR(CP) it is much smoother. I wish we could get some progress with that.
The text was updated successfully, but these errors were encountered: