Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
10th November 2011, 00:55 | #10781 | Link | |
Registered User
Join Date: Mar 2002
Location: Sofia, Bulgaria
Posts: 661
|
Quote:
Here are the results of all the combinations I could think of http://imageshack.us/g/31/lavvideocuvidadaptivehq.png/ or you can download all of them as one archive directly from here http://www.mediafire.com/?au9ouh2w8b65z7x From what I saw I still think that madVR's Deinterlacing is too GPU intensive - a jump from from 24% to 79% GPU Load seams a lot. At the same time playing a progressive 1080p video (not the same one though) with LAV Video (Soft mode) and EVR takes up 28% while the interlaced video + EVR was taking 45% which is only 17% above the progressive one ... and it's far from madVR's increase of 55%. I do understand that some of the difference could be from the different video files but sadly I don't have (don't know how to do it) the same video both interlaced and progressive. One more thing I noticed is that LAV Video (CUVID - Adaptive + HQ Proc) + madVR (Deint=OFF) uses 4-5% less GPU than LAV Video (Soft) + madVR (Deint=ON). Does this mean that there is some room for improvement? I hope I didn't bore you with my tests and you'll be able to improve madVR even more for your great work
__________________
Z370M Pro4 | i3-8100 | 16GB RAM | 256GB SSD + 40TB NAS NVIDIA GTX 1060 6GB (385.28) | LG OLED65B7V Win 10 64bit 1803 + Zoom Player v14 |
|
10th November 2011, 01:36 | #10782 | Link | |
Registered User
Join Date: Oct 2008
Posts: 187
|
Quote:
For me, windowed mode was fine (no dropped frames) prior to 0.78 with one exception: If I use LAV CUVID (either stand-alone or combined), I get the same thing with older madVR versions. So the key point seems to be that if hardware de-interlace is used either via CUVID or DXVA 2 on either AMD or NVidia I get lots of dropped frames in windowed mode only. This leads me to believe that madVR is affected somehow by the hardware de-interlace. I have no problem with using full-screen exclusive if the hardware or driver imposes some limitation that requires it, but I thought you'd like to know about the problem in any case. Last edited by jmonier; 10th November 2011 at 01:42. |
|
10th November 2011, 02:09 | #10783 | Link | |
quack quack
Join Date: Apr 2009
Posts: 259
|
Quote:
I checked each frame. EVR looks like it's 50p and madVR looks like it's 25p x2. Each frame happens twice with madVR. EVR really does produce fluid unique frames! Something to do with the source filter reporting 25fps? (I've switched from LAV splitter to built in MPC splitter now, and all is exactly the same). Source material is UK digital TV in case you were wondering. MPEG2 50i. |
|
10th November 2011, 08:25 | #10784 | Link | ||
Registered User
Join Date: Oct 2011
Posts: 108
|
Quote:
Quote:
I have already tried DX9, but the result is same. |
||
10th November 2011, 09:40 | #10785 | Link |
Registered User
Join Date: Feb 2006
Posts: 293
|
Just in case you're still keeping track of this, madshi. I cannot reproduce this anymore. It is true that I randomly have subtitles disappear on pause once in awhile. It's not something I'm bothered by though.
__________________
Spec: Intel Core i5-3570K, 8g ram, Intel HD4000, Samsung U28D590 4k monitor+1080p Projector, Windows 10. |
10th November 2011, 10:40 | #10786 | Link |
<(ovO)>
Join Date: Jun 2011
Location: Bremen, Germany
Posts: 50
|
Happnes to me sometimes too. but like you said, it's not that much of a bother.
__________________
MadVR 0.92.9 x64, MPC-HC, LAV 0.70.2, GV-N1060G1 GAMING-6GD @ 385.41, LG OLED65B7D, Denon AVR-1912, Windows 10 Pro 1709 x64, i7-6700k |
10th November 2011, 12:10 | #10787 | Link |
Registered User
Join Date: Jul 2008
Posts: 75
|
|
10th November 2011, 12:36 | #10788 | Link |
Registered User
Join Date: Jan 2007
Posts: 530
|
Re: the upload/render queue problems with Windowed Mode....I've found a couple of interesting things:
1. It doesn't happen on my Llano machine, Windowed and FSE mode are both maxing all queues with deint=ON. That machine is, however, using an older driver version, from July. 2. Even with that driver, my HD6570 playback machine still exhibits the starved upload/render queues in windowed mode. Again, FSE mode, the queues are maxed. 3. On the 6570 machine, if I disable the ESVP option in CCC, madVR shows a Deinterlace Failure in red warning. ESVP seems to matter not on the Llano machine. 4. While testing, I'm using ATI Tray Tools with a profile to keep the card at max clocks. 6570 machine is with CCC11.10 (or any previous). 10.xx series drivers will not support the 6xxx series cards, so testing that is not possible. So, madshi, fwiw, if you've still got that log I sent you the other day, it shows the starved queues in Windowed mode and then the switch to FSE mode where they max out and all is well. |
10th November 2011, 13:11 | #10789 | Link | |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
|
Quote:
IMHO, having a architecture disparity in one line is really bad and will confuse alot of people (although its not the first time AMD did it).
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
|
10th November 2011, 17:32 | #10790 | Link | ||
Registered User
Join Date: Jun 2011
Posts: 81
|
Quote:
Quote:
http://www.mediafire.com/?7ek3ubk645kvv4f edit: Just managed to play the Devil May Cry clip with full queues in windowed mode with 0.78 a few times. Activity and GPU clocks were exactly the same as previously. But then the problem was back again. So whatever the problem is, it's not always there. Last edited by cremor; 10th November 2011 at 17:40. |
||
10th November 2011, 19:22 | #10791 | Link | ||||||||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Argh. MPC-HC shows a little message "Pause" when you pause playback. MPC-HC uses madVR's own OSD functionality for that. However, every time that madVR tries to update the OSD, the subtitles disappear. So the "Pause" message shown by MPC-HC practically removes the subtitles.
So why does it occur only on your PC, but not on anyone else's? I've added extra code to madVR to block the "Pause" OSD message. However, you seem to be using a translated version of MPC-HC. Your MPC-HC shows "Pausa" instead of "Pause". And madVR doesn't block "Pausa". You can fix the problem by translating just the "Pausa" text back to "Pause". I'm not sure where and how to do translations, though. The next madVR build will also block "Pausa". I'm aware that this all isn't really a good solution, but that's all I can do right now. Quote:
(1) EVR progressive ~ 15% (2) madVR progressive ~ 25% (3) EVR deinterlacing ~ 45% (4) CUVID deinterlacing + EVR ~ 65% (5) CUVID deinterlacing + madVR ~ 75% (6) madVR deinterlacing ~ 80% If I try to interpret these numbers, I come up with the following estimates: - EVR progressive double rate ~ 30% - madVR progressive double rate ~ 50% - DXVA deinterlacing ~ 25% The surprising thing here is the low GPU consumption with EVR deinterlacing. My best guess is that EVR saves GPU power by combining all deinterlacing and chroma upsampling and color conversion and scaling into one step. I've looked into what EVR does exactly and it uses basically the same DXVA2 API calls madVR uses, just with 8bit RGB output instead of NV12 output. CUVID and madVR deinterlace first (to NV12). Chroma upsampling, color conversion and scaling are done separately. Unfortunately there's not much we can do about it, unless we want to let DXVA2 do chroma upsampling and color conversion in addition to deinterlacing. Quote:
Quote:
Quote:
You're reporting that hardware deinterlacing makes problems with windowed mode. That is not at all what cremor has reported. He reported that even *without* deinterlacing v0.78 works noticeably worse than v0.77. So basically he's reporting a new problem in v0.78 which didn't exist in v0.77. While you've reported that all madVR versions have problems in windowed mode when hardware deinterlacing is used (either via madVR or CUVID). Your GPU is probably not powerful enough to run hardware deinterlacing in windowed mode, together with madVR rendering. I'm not sure if there's anything I can do about it. You probably already tried toggling the "perform deinterlacing in a separate thread" switch on/off? Quote:
I've now hooked into EVR and logged all the DXVA2 deinterlacing calls it makes. And I found a couple of small differences, one of which probably explains the problem you're seeing. Could you please test this special version to check whether it fixes the problem for you? http://madshi.net/mrduck.rar Quote:
Quote:
Did you try toggling the "perform deinterlacing in separate thread" option on/off? Doesn't help? Is your Llano machine's GPU more or less powerful than the 6570? The 6570 is probably not very powerful, so that might explain the problems in windowed mode. Quote:
I've created a couple of special madVR versions for you to try: http://madshi.net/cremor.rar Please check if any one of them fixes the issue or not. Thx. |
||||||||
10th November 2011, 19:38 | #10792 | Link | |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
http://madshi.net/mrduck.rar I don't expect any changes, but who knows. The ATI smoothness fixes might also help NVidia GPU Load. I kinda doubt it, though. |
|
10th November 2011, 19:51 | #10793 | Link | |
quack quack
Join Date: Apr 2009
Posts: 259
|
Quote:
(ESVP = enforce smooth video playback) |
|
10th November 2011, 20:39 | #10794 | Link | |
Registered User
Join Date: Oct 2011
Posts: 8
|
Quote:
You know what? You could also block the "pause" translations into the major european languages in order to prevent that this kind of stuff could happen to other people. You can exclude Italy since "pausa" is in italian and you already said that you'll fix it in the next release. |
|
10th November 2011, 20:57 | #10795 | Link | |
Registered User
Join Date: Jun 2011
Posts: 81
|
Quote:
The other three versions are same as 0.78. I noticed that this version is back to a decoder queue of 8. Interesting how that can affect the following queues when the decoder queue with 12 was always full too. Or did you change more than just the queue size in that special version? |
|
10th November 2011, 20:59 | #10796 | Link |
Registered User
Join Date: Sep 2006
Posts: 2,197
|
I guess why deinterlacing doenst work that well on my PC is because of that frame rate doubling. I'd say only deinterlacing itself would be ok for my card, but the additional load due to frame rate doubling is too much to handle smoothly.
__________________
Laptop Lenovo Legion 5 17IMH05: i5-10300H, 16 GB Ram, NVIDIA GTX 1650 Ti (+ Intel UHD 630), Windows 10 x64, madVR (x64), MPC-HC (x64), LAV Filter (x64), XySubfilter (x64) (K-lite codec pack) |
10th November 2011, 21:23 | #10797 | Link | |
Registered User
Join Date: Jan 2007
Posts: 530
|
Quote:
Yeah, I tried the thread option, no difference. And the Llano machine I have is a laptop, with a less powerful GPU than the 6570. I think my issue is similar to cremor's, I will try that build. |
|
10th November 2011, 21:36 | #10798 | Link | |||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
That's really bad. madVR's DXVA2 calls are now pretty much identical to EVR's. Well, I guess I'll have to install win7 x64 and the latest ATI driver and then hope to be able to reproduce the problem on my own PC.
Quote:
Quote:
Quote:
That said, it wouldn't hurt to try those test versions. |
|||
10th November 2011, 21:58 | #10799 | Link |
Broadband Junkie
Join Date: Oct 2005
Posts: 1,859
|
cremor, have you tried playing with the Windowed Mode Tweaks?
If you haven't tried setting everything to No Flush, that would be the first thing I'd try, then proceed to test each setting by itself one by one if all No Flush didn't help. I'd also try disabling Aero if Windowed Mode Tweaks don't help. If your ATI 6870 w/ 60fps|1920x1080@120hz is only very slightly slower with 0.78 as madshi expects, little things like above may make a difference. Last edited by cyberbeing; 10th November 2011 at 22:04. |
10th November 2011, 22:10 | #10800 | Link | ||
Registered User
Join Date: Jun 2011
Posts: 81
|
Quote:
If the decoder queue is really the only problem here, how about adding an option to change it (or just registry key/file in madVR folder)? But I still don't get how the decoder queue can affect anything on the GPU. Isn't this all on CPU and system RAM (with LAV software decoding)? Quote:
Last edited by cremor; 10th November 2011 at 22:13. |
||
Tags |
direct compute, dithering, error diffusion, madvr, ngu, nnedi3, quality, renderer, scaling, uhd upscaling, upsampling |
|
|