Log in

View Full Version : Unable to restore smooth 23.976 playback in mpc-hc


Aleq
24th February 2024, 23:09
Hi,
I have Windows 11, MPC-HC 2.1.2 on ThinkPad with nVIDIA RTX 3080, audio pass-through to AVR. After very long struggle (with various renderers including madVR), I managed to get perfectly smooth playback of 23.976 videos using MPC Video Renderer on SONY VPL-HW15 1080p projector using 23.976 Hz refresh. I have upgraded projector ho VPL-VW520ES 4K and I fail to achieve same smoothness. It's gone, no matter what I do. I tried

Disabling HDR
MPC Video Renderer (with or without exclusive mode, with VBlank or without)
EVR
Sync renderer
madVR (again, with or without exclusive mode, VSync, ...)

No luck, the final subtitles are not smooth, there are glitches here and there (every couple of seconds).

It's really strange, but VLC is smooth.
Also if I switch the display to 60 (59.940) then it's quite ok (with small amount of judder which is much less obtrusive than the problems with 23.976) - this leads me to thinking it's not a performance issue (neither CPU, GPU nor Windows itself)

I have recorded few seconds of such playback including statistics using MPC VR, EVR, madVR on a mobile phone camera.
https://www.youtube.com/watch?v=_MnTacN5Vkc
https://www.youtube.com/watch?v=OmqWRO73_gc
https://www.youtube.com/watch?v=McORx-hmj3U

I'm desperate. Anybody any ideas, please?

TIA

Aleq
24th February 2024, 23:15
Huh, MPC BE with default EVR and even in MPC VR is also smooth... :confused:
However only if HDR is turned off. Once the HDR is ON, it's same as MPC-HC

Klaus1189
25th February 2024, 06:50
I can not watch the videos.

Aleq
25th February 2024, 19:32
Hi @Klaus1189,
thanks for the info! I did not realize it did not get fully published. It should be ok now.

Cheers
A.

Charky
25th February 2024, 19:43
There's something wrong with your rendering times, especially with madvr. Your GPU should swallow any setting you use. With a 3080 you should peak to 5 ms/frame max.

Benchmark you GPU. Maybe check driver and global GPU power management settings.

clsid
26th February 2024, 00:36
Change hardware decoder to D3D11 in the video decoder settings.

Also update MPC-HC and MPCVR:
https://github.com/clsid2/mpc-hc/releases/tag/2.1.5.14

Aleq
29th February 2024, 00:43
Many thanks for replies. I finally got to it and tested all (with exception of the benchmarking the GPU - not sure which benchmark exactly should I run) what was suggested.

I have installed MPC-HC 2.1.5.22 x64 + MPCVideoRenderer 0.7.2.2199
Changed: Filters - LAV Video Decoder - Hardware Decoder DXVA2 (native) -> D3D11

I used defaults in MPCVR + Increased font for statistics only.

The screen went blank on playback, had to change Windows HDR: Do not change or Allow turn on (Fullscreen). Strangely, when I test it now, it works even with all values Default (I'm using that button).

Another update - MPC-HC 2.1.6 + MPCVR 0.7.2.2203

Still the same

Windows Settings - Power Mode - changed from Best power efficiency through Balanced up to Best performance
Both pre and post resize shaders turned off.

If I enable Wait for VBlank, it's better, it looks smoother between the stutters, which still occurs very often...

If I try madVR, I get similar performance

I have done an upgrade (CLEAN Installation) of the NVIDIA drivers from Lenovo ThinkPad default 537.79 to 551.61 reference NVIDIA driver. No change.

Videos follow:

https://www.youtube.com/watch?v=P2BnkYu42zA (https://www.youtube.com/watch?v=P2BnkYu42zA)
https://www.youtube.com/watch?v=v1lYFAnPDks
https://www.youtube.com/watch?v=jwuo7MqpMkg

clsid
29th February 2024, 01:37
There are weird spikes in present and render times. So hardware/driver issue.

Check for DPC latency (https://resplendence.com/latencymon) issues.

In madvr reduce the "frames presented in advance" to 1.

Grimsdyke
29th February 2024, 10:19
In LAV you might also try D3D11 Automatic (Native)

Aleq
4th March 2024, 17:00
I have LAV D3D11 Automatic (Native)
DPC Latency looks reasonably fine - there are some spikes, but much less frequently than observed stutters in video. However I tested it without projector running. I'll check the latencies when the setup is identical (that's something I can test usually in the evening (my monitors don't support anything but 60) and when nobody complains I'm fiddling with it too much :)) Looking forward to see "frames presented in advance" in action with 1. I always though - the more the better.

Aleq
4th March 2024, 22:58
Huh!
1. madVR + "frames presented in advance" 1
2. MPCVR + Wait for VBlank + pause the video, wait a bit and then resume

both options now provide smooth 23.976 even in HDR for me!
I'll keep experimenting, many thanks for your help. Hope this is it, no new problem pops out, I did just a few one minute short tests (although even that's way longer than what it used to take to stutter)