INTERACT FORUM

Devices => Video Cards, Monitors, Televisions, and Projectors => Topic started by: BryanC on July 29, 2021, 07:49:36 am

Title: Automatic display refresh rate changing not working
Post by: BryanC on July 29, 2021, 07:49:36 am
I'm testing an embedded Ryzen R1505G w/ Vega 3 graphics using the ROHQ performance madvr profile. If I start MC and begin playback, the first video I watch plays back fine. In fact, they all play fine (720p-4K, no dropped frames) using the balanced profile and other more demanding scaling algos (up to Jinc), but I am using the default ROHQ performance settings to eliminate hardware bottlenecks as I debug this problem. I have also tested w/ and w/o hardware acceleration, although hardware acceleration is practically a requirement on such a low-powered machine.

The problem arises after I stop playback or exit the full screen display, the next time I play a video or re-enter full-screen display mode the video is choppy and drops frames. If I restart MC, the same behavior ensues: the first video plays fine and then subsequently it starts dropping frames after I stop and restart playback or exit and reenter display view.

This is similar to the problems I was having on my GTX 1060-powered HTPC w/ HDR videos getting stuck in HDR mode. It seems that madvr isn't fully releasing GPU resources when playback is stopped or full-screen display mode exits, until MC is restarted. On my powerful discrete GPU rig this didn't have a noticeable impact on performance (just the HDR color settings) but on my low-powered Ryzen box it is causing performance problems. Using alternative media players w/ and w/o madvr do not cause this problem and all of my media plays back fine even with more demanding scaling algos in those programs.

During playback my GPU sits at about 65% utilization and my CPU is around 30% w/ HA.

(https://i.imgur.com/0m8aR2J.png)

Windows 10 version:  21H1 19043.1147
Driver version: 21.20.21.01-210722a-369924E-RadeonSoftware
MC version:  28.0.44

Title: Re: ROHQ only works properly on first playback
Post by: tij on July 29, 2021, 09:52:57 am
Madvr screenshot shows 29fps stuff is playing at 23fps.

Maybe some settings causes MadVR/MC not to correctly switch frame rate on second playback?
Title: Re: ROHQ only works properly on first playback
Post by: BryanC on July 31, 2021, 01:09:00 pm
Madvr screenshot shows 29fps stuff is playing at 23fps.

Maybe some settings causes MadVR/MC not to correctly switch frame rate on second playback?

Thanks for the spot! MC's automatic refresh rate changes isn't working on my new rig. I disabled it in MC and am using madvr's display refresh rate mode changing and it is working flawlessly now:

(https://i.imgur.com/tZxUoJB.png)

Title: Re: ROHQ only works properly on first playback
Post by: tij on August 01, 2021, 04:16:31 am
You forgot 2160p23 in your new settings :) ... and 2160p25 (though these are rare)