- October 15, 2009
- 199
- 48
- Home Country
- United States of America
Re: AW: Problems with dropping frames with EVR
maybe try enabling the mmcs at the end of the thread that runs to fix the stutter crap in refreshrate changer and see if it helps anything. windows wasn't getting the right refresh rate until that point..
it dropped like 3 frames on the hardest to render 1080p video that i know of, and only with the ! menu up. thats a big difference from dropping 30 at 24hz.. hm.. weird
@tourettes
the black screen or let's thay when starting a channel the MP GUI simply stays and only audio appears happens when i set the scheduler and or the EVR renderer to REALTIME - have you tried this? I'll try to find out what is happening this evening.
Using real time is always risky as if you manage to write bad code, lot of OS code is running on lower priority.
I tried telling DWM that it should use multimedia priority class. This was recommended by MS, but it causes stuttering after switching refresh rates... and didn't seem to help at all for the frame dropping (I guess this tells that DWM is not to blame).
Can you perhaps tell me if there is a way to do logging in dshowhelper without creating too much CPU load? Every time i try to log things - this creates a lot of additional CPU load.
Maybe direct all the logging to debug messages and use debugview to view those. btw I haven't ever seen high CPU usage even when enabling the EVR traces. Those are logging multiple lines per one scheduler frame.
maybe try enabling the mmcs at the end of the thread that runs to fix the stutter crap in refreshrate changer and see if it helps anything. windows wasn't getting the right refresh rate until that point..
I think something is still being missed. Why can I play the same 1080p content perfectly with a 60hz refresh rate, but not as well at its native 23.97 refresh rate? You'd think it'd be the opposite, since at 60hz it's painting more frames and has a shorter sync interval. This would probably be something worth looking into. Also, people are seeing the problems with hardware that isn't exactly low end.
I think it is still completely related to the performance bottleneck (as with even 60Hz you are getting dropped frames, but not as much). On 60Hz the v-sync period is almost three times smaller than the v-sync time on 23.976Hz. This difference will give an advantage for the 60Hz mode, it will have less waiting for the GPU when it is sitting in the displays v-blank and therefore give more time for GPU to render (EVR renderer doesn't care if the rendering caused v-syncs to be missed or if the rendering takes multiple v-syncs.) Therefore if someone is able to tell how long v-blank periods are taking, we could easialy calculate how much more spare time GPU has in 60Hz mode.
I have no proof on this, but sounds only plausible explanation.
btw. performance issues are easy to rule out. Just use 640x480 resolution on 23.976Hz and re-encode some blu-ray content to same frame size. Does MP still behave badly on that 1:1 case?
it dropped like 3 frames on the hardest to render 1080p video that i know of, and only with the ! menu up. thats a big difference from dropping 30 at 24hz.. hm.. weird