INTERACT FORUM

Devices => Video Cards, Monitors, Televisions, and Projectors => Topic started by: Conrad on July 11, 2020, 04:56:41 pm

Title: Stuttering video
Post by: Conrad on July 11, 2020, 04:56:41 pm
Hi,

I've been running JRiver for a while now, previously on an HTPC with a 1070Ti graphics card. I use MadVr as my renderer and I've had no issues, even with everything turned up to the max with my 1080 display. My source is a NAS that's connected with a wired connection.

I recently upgraded to a 2070 Super and since I've done that (might be coincidence, but it seems like they're connected) I've been getting the odd stutter in 4k video. Looking at the madvr stats while it happens it doesn't seem to align with the dropped/repeated frame count with the mismatched display timings (my display reports 23.977, not a perfect match) and the count of dropped frames, duplicated frames, and glitches doesn't increase when it happens. My render times are down in the <20ms range.

I did some debugging and it doesn't happen in MPC-BE with the same MadVR settings.
I've been able to pin it down to the Optimise Hardware For Decoding Performance setting in Video Options. Turning that option on removes the issue and turning it off re-introduces it consistently.

I understand that this option changes between DXVA Copyback and native methods, is that correct? If so, can anyone explain why a more powerful card might suffer and need changing from/to copyback/native?

I'm going to check again in MPC-BE and see if I can recreate the issue using one or other of those methods and see if I can resolve it by switching. I can also swap the GPUs back, but I'd rather not.

I'll also do some testing and see if I can see any difference between the option enabled/disabled. If I can't then I guess it doesn't matter, but I'm curious as to why this is happening.

Thanks for any help anyone can offer.
Title: Re: Stuttering video
Post by: arcspin on July 11, 2020, 11:50:11 pm
Try these different settings.

In Nvidia Control panel and under manage 3D settings:
Change the Vertical sync to "ON".
Change the Power management mode to "Adaptive".

In madVR
Set (in madVR, under rendering - Windowed mode) present frames in advance to 1. (you can try other numbers as well, some have had good results with presenting 3 frames in advanced)
You can also try to disable (in madVR, rendering - general settings) use Direct3D 11 for presentation.
Try experimenting with queue sizes as well, I have had good results when increasing the CPU queue size to 24 and GPU queue size to 16.


The first three solved the micro stutter for me using a 2080 graphics card.
Title: Re: Stuttering video
Post by: Conrad on July 12, 2020, 08:00:03 am
Thank you, I'll try those and report back.

How did you discover those settings, or was it just luck?
Title: Re: Stuttering video
Post by: arcspin on July 12, 2020, 10:13:22 am
I'm following several madVR (and other) forums and there pick up information.

Here are some forum threads to read and follow:

https://www.avsforum.com/forum/26-home-theater-computers/2215490-madvr-player-support-thread.html

https://forum.doom9.org/showthread.php?t=146228

https://www.avsforum.com/forum/26-home-theater-computers/2364113-guide-building-4k-htpc-madvr.html

https://www.avsforum.com/forum/24-digital-hi-end-projectors-3-000-usd-msrp/2954506-improving-madvr-hdr-sdr-mapping-projector.html

https://forum.doom9.org/showthread.php?t=176013

https://www.avsforum.com/forum/113-subwoofers-bass-transducers/2958528-guide-subwoofer-calibration-bass-preferences.html

https://www.avsforum.com/forum/93-remote-control-area/1468520-harmony-ultimate-smart-control-hub.html

https://www.avsforum.com/forum/90-receivers-amps-processors/2806249-multeq-editor-new-app-denon-marantz-av-receivers-pre-pros.html

https://www.avsforum.com/forum/26-home-theater-computers/3141648-htpcremote-simple-remote-control-your-htpc-home-theater-any-web-browser.html





Title: Re: Stuttering video
Post by: Conrad on July 12, 2020, 04:24:29 pm
Thanks.

I already subscribe to a number of those threads, but I haven't read them all from the beginning.

It seems that it was the 3d setting, for me at least.
I have to use exclusive mode otherwise I can get AV sync issues, exclusive mode solves that for me. And if I choose to present any less than 8 frames in advance in exclusive I get horrible skipping. I just watched Jaws though and no skipping at all other than perhaps very infrequently which I attribute to the slight offset in framerates.

Thank you for your help, you've saved me hours of debugging and potentially downgrading!
Title: Re: Stuttering video
Post by: arcspin on July 12, 2020, 11:32:53 pm
Great!
I also have had good results when increasing the CPU queue size to 24 and GPU queue size to 16.


I just remembered another NVIDIA setting you can check:

Adjust your NVIDIA settings to use "Adaptive" power mode. By default it uses "Optimal" which can give bad performance.

(I add this to my original answer so everything is in one place if others are searching for a solution for "stutter")