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. |
24th December 2012, 22:36 | #16541 | Link | |
Kid for Today
Join Date: Aug 2004
Posts: 3,477
|
Quote:
so he'd better make a compelling case Last edited by leeperry; 25th December 2012 at 01:09. |
|
24th December 2012, 23:12 | #16542 | Link | |
Registered User
Join Date: Nov 2010
Posts: 90
|
Quote:
yes,"VMR9 windowed" is similar to madVR. but "VMR9 renderless" is not.
__________________
[ sorry for my bad english...i can read it very well but cant write it very well :D] |
|
24th December 2012, 23:18 | #16543 | Link |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
madVR v0.85.5 released
http://madshi.net/madVR.zip Code:
* fixed: DXVA deinterlacing: when GPU couldn't keep up, audio sync got lost * fixed: odd source rectangles could result in "green" images (DXVA) * fixed: display mode changer sometimes didn't work for DVDs * slightly modified "use separate device for DXVA processing" behaviour * changed scaling defaults once more (Bicubic75, Lanczos3, Catmull-Rom) * disabled "perform deinterlacing in separate thread" by default * DXVA NV12 conversion routine now uses 16bit float instead of 32bit (faster) * up to 56% speed improvement for Jinc3 chroma upscaling * up to 40% speed improvement for Jinc3 AR chroma upscaling * up to 53% speed impr. for Jinc3/4 image upscaling with 2x scaling factor * up to 47% speed impr. for Jinc3/4 AR image upscaling with 2x scaling factor * up to 39% speed impr. for non-Jinc image upscaling with 2x scaling factor * up to 27% speed impr. for non-Jinc AR image upscaling with 2x scaling factor * up to 44% speed impr. for non-Jinc image upscaling with 3x scaling factor The main purpose of the 2x and 3x speed improvements is the upcoming UltraHD (4k) displays. Now with v0.85.5 you can upscale Blu-Ray to UltraHD with significantly lower GPU usage, as long as you use exactly 2x upscaling. Also 720p -> UltraHD happens to be exactly 3x upscaling, so that's why I added some dedicated 3x pixel shaders, too. Please note that the exact speed improvement depends on the circumstances and especially on the GPU model. Here's the list of my own benchmarks, tested with NVidia 9400 (very old and slow) and AMD 7770: Code:
2x scaling tap 2 : 8.53 -> 6.51 (23.7%) NVidia 9400 tap 3 : 11.98 -> 7.86 (34.4%) NVidia 9400 tap 4 : 14.92 -> 9.02 (39.5%) NVidia 9400 tap 2 : 6.30 -> 5.92 ( 5.9%) AMD 7770 tap 3 : 8.08 -> 6.02 (25.5%) AMD 7770 tap 4 : 9.55 -> 6.75 (29.3%) AMD 7770 3x scaling tap 2 : 13.16 -> 9.91 (24.7%) NVidia 9400 tap 3 : 19.96 -> 12.65 (36.6%) NVidia 9400 tap 4 : 25.24 -> 17.08 (32.3%) NVidia 9400 tap 2 : 9.04 -> 7.61 (15.8%) AMD 7770 tap 3 : 12.12 -> 7.84 (35.3%) AMD 7770 tap 4 : 16.58 -> 9.28 (44.0%) AMD 7770 2x AR scaling tap 2 : 16.75 -> 13.64 (18.6%) NVidia 9400 tap 3 : 20.24 -> 17.79 (12.1%) NVidia 9400 tap 4 : 24.78 -> 21.87 (11.7%) NVidia 9400 tap 2 : 7.99 -> 6.45 (19.3%) AMD 7770 tap 3 : 9.71 -> 7.29 (24.9%) AMD 7770 tap 4 : 11.47 -> 8.36 (27.1%) AMD 7770 2x Jinc scaling tap 3 : 38.84 -> 19.23 (50.5%) NVidia 9400 tap 4 : 61.27 -> 40.74 (33.5%) NVidia 9400 tap 3 : 14.09 -> 7.33 (48.0%) AMD 7770 tap 4 : 25.55 -> 12.00 (53.0%) AMD 7770 2x Jinc AR scaling tap 3 : 86.92 -> 70.58 (18.8%) NVidia 9400 tap 4 : 137.87 -> 118.62 (14.0%) NVidia 9400 tap 3 : 15.97 -> 9.78 (38.8%) AMD 7770 tap 4 : 27.00 -> 14.30 (47.0%) AMD 7770 Jinc Chroma scaling tap 3 : 38.84 -> 27.57 (29.0%) NVidia 9400 tap 3 : 14.27 -> 6.24 (56.3%) AMD 7770 Jinc Chroma AR scaling tap 3 : 89.03 -> 86.84 ( 2.5%) NVidia 9400 tap 3 : 15.90 -> 9.50 (40.3%) AMD 7770 ------- Once again I need your FEEDBACK: I'm trying to figure out again which defaults to use for a couple of options. I'm especially interested in these: (1) "perform deinterlacing in separate thread". This was enabled in earlier madVR builds by default. It's now disabled by default in v0.85.5. With my AMD GPU, there's no difference. My NVidia GPU runs slightly better with this option disabled. (2) "use a separate device for presentation". This was and still is enabled by default. It used to be a good method to reduce glitches with older NVidia drivers. I'm wondering if this option is still beneficial today with both NVidia and AMD GPUs. I've been told this option can make problems for NVidia Optimus, so I'm wondering whether I should disable it by default. (3) "use a separate device for DXVA processing". This is a rather new option, introduced recently. I've got one report that it helped. So I wonder if I should enable it by default. But I guess this might also make problems with NVidia Optimus (because it's similar to (2), see above). Right now I'm wondering whether maybe I should combine options (2) and (3) into one, so that I'm either using only 1 device for everything, or 3 devices, one for rendering, one for presentation and one for DXVA processing. Thoughts? (4) "enable windowed overlay". When I originally implemented overlay, it wasn't ready for prime time yet, so I disabled this by default. But since its introduction, I have applied lots of fixes, so now it seems to work very well (only for NVidia and Intel, unfortunately). It works so well IMHO that I'm reevaluating whether I should enable this by default (not for AMD, obviously). Any thoughts on this? Please check which way these options work better for you, and let me know your test results. If you can't see a difference, please let me know that, too. Thanks! |
24th December 2012, 23:53 | #16545 | Link | |
Registered User
Join Date: Sep 2002
Posts: 145
|
Quote:
No, thank you! |
|
25th December 2012, 00:22 | #16547 | Link |
Registered User
Join Date: Dec 2011
Posts: 1,812
|
I can confirm that with 0.85.5 it now properly switches to the correct display mode with my tested DVD.
Furthermore, now it also seems to be fast enough for the 4k test sample @720p with native DXVA2, Jinc3 AR and CR AR LL, at least if I max out CPU, GPU and presentation queues (which doesn't seem to give me any real drawback). At the moment it seems there is no single problem for me with this version on my system. Boring. Last edited by aufkrawall; 25th December 2012 at 00:27. |
25th December 2012, 00:49 | #16548 | Link | |
マジンさん
Join Date: Apr 2010
Location: Germany
Posts: 18
|
Quote:
I guess combining them sounds reasonable unless one of them has side effects (can't really notice any difference on my Nvidia desktop). |
|
25th December 2012, 01:34 | #16549 | Link |
Registered User
Join Date: Jul 2011
Posts: 83
|
With 0.85.5 I can now use DXVA native without framedrops without scaling. But only in windowed mode, in exclusive mode the render and present queue drop to 1 and 0. And the framedrops start... In windowed mode the all queues are full.
|
25th December 2012, 02:14 | #16550 | Link | |
Audiophile
Join Date: Oct 2006
Posts: 353
|
Quote:
I vote for it to be enabled by default. edit: I just noticed an issue when I disabled "use a separate device for presentation". With it enabled, my rendering times are around 8ms whereas with it disabled they are around 13ms. I am using CUVID as well as SVP. One of those could account for the difference. Not sure. edit2: now this is odd. when I disable SVP, my rendering times go up to 17ms whereas with it enabled, i get 13ms... shouldn't a higher frame rate cause higher rendering times? I also disabled CUVID and went to software decoding and got 16ms instead of 17ms. So it's not an issue with CUVID. Last edited by Mangix; 25th December 2012 at 02:41. |
|
25th December 2012, 04:00 | #16551 | Link |
Registered User
Join Date: Dec 2012
Location: Neverland, Brazil
Posts: 169
|
@Kado and madshi
Thanks for the answers. Well, I wouldn't ask for something like that to the developers, and yes it works just fine right now. It was just a detail I wanted to know more about. About the version 0.85.5, I tested this "Enable windowed overlay" and when I play a 8-bit video with DXVA2 enabled, (sometimes) the video start to shake (not all of it, usually half or 70-80% of the screen playing it). I have Intel HD 4500 and I'm using Windows 8 x64. I don't believe this is normal. If someone could explain to me what "exactly" this option does too, I would appreciate it, first time using it. Also, madshi, could you think of making a description for every option in madVR in the readme? If it's not asking too much of course, but there's a lot of things included in there that usually at least half most of beginners don't understand the meaning and it's point. For example, in this "faq" you would put a brief explanation in 1-2 lines maybe about what is the scaling algorithms, backbuffers and flush, how they work or how they affect playback. Edit: Seems like this only happens with MPC-HC. I tried with PotPlayer but couldn't reproduce the problem there. I'm using MPC-HC Lite 1.6.6.6373.
__________________
madVR scaling algorithms chart - based on performance x quality | KCP - A (cute) quality-oriented codec pack Last edited by Niyawa; 25th December 2012 at 04:19. |
25th December 2012, 04:34 | #16552 | Link | |
Registered User
Join Date: Oct 2012
Posts: 27
|
Quote:
|
|
25th December 2012, 09:31 | #16553 | Link | |||||
Registered User
Join Date: Apr 2009
Posts: 1,019
|
Quote:
Quote:
If I use DXVA2 Native though, there's a big difference:Notice the queues, dropped frames, and render times. Quote:
In Fullscreen Exclusive mode, they jumped from 17ms to 27ms. Quote:
Quote:
I currently have CPU queue at 32 and GPU queue at 24 though, which may be slowing things down. (backbuffers/present queue at the default though) Performance is slightly better, at 23ms rather than 24ms in windowed mode with the same sample, but doesn't seem worth it. |
|||||
25th December 2012, 09:41 | #16554 | Link | ||||||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Quote:
Quote:
Quote:
Quote:
What you're describing as "shaking video": Do you mean tearing? Tearing means that one part of the image is one frame ahead of the rest of the image all the time. Or do you mean that frames appear to be shown out of order, so that movement goes back and forth all the time? In any case, the problem goes away if you disable the Overlay option? Are you using DXVA decoding? Maybe it helps disabling that? Quote:
IIRC the main thing to do is to set all scaling options to Bilinear. Then you may want to turn on "use half framerate deinterlacing" and "run custom shaders in 16bit" in the "trade quality for performance" section. I guess that's it. |
||||||
25th December 2012, 09:50 | #16555 | Link | ||||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Quote:
Quote:
Quote:
|
||||
25th December 2012, 09:51 | #16556 | Link |
Registered User
Join Date: Mar 2009
Posts: 3,650
|
Madshi, Could we get dedicated code for 1.5x? 720 to 1080 is fairly common and this may help out some with fairly lowish end integrated graphics to use Jinc.
With these differences in scaling performances someone with border line graphics power may run into dropped frames when using the non hard wired code however. That may be a good reason to allow for configurable resizers based upon tagging and input/output resolution. |
25th December 2012, 10:10 | #16557 | Link | ||
Registered User
Join Date: Apr 2009
Posts: 1,019
|
Quote:
Essentially no difference on or off when using DXVA2 Copy-Back. Quote:
I used to see a lot of dropped frames in windowed mode for no apparent reason (low enough render times etc) but that's been fixed for a while now, so on my system there doesn't seem to be any real benefit to windowed overlay, and it brings some annoyances. Last edited by 6233638; 25th December 2012 at 10:13. |
||
25th December 2012, 10:20 | #16558 | Link | ||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Quote:
It's interesting that windowed mode playback seems to work better for you now. Do you have Aero on or off? |
||
25th December 2012, 10:24 | #16559 | Link | |
Registered User
Join Date: Apr 2009
Posts: 1,019
|
Quote:
I have Aero on. It's been fine for some time now though, I don't know if it was a driver change, or something in madVR that changed. I mostly watch in Fullscreen Exclusive mode though. |
|
25th December 2012, 11:45 | #16560 | Link |
Anime Otaku
Join Date: Oct 2002
Location: Somewhere in Cyberspace...
Posts: 437
|
Maybe it's me, but is the half-frame rate deinterlacing on by default now? How can I restore it to full frame ?
EDIT: No it wasn't it, I needed to activate deinterlacing in a separate thread for proper results.
__________________
AMD FX8350 on Gigabyte GA-970A-D3 / 8192 MB DDR3-1600 SDRAM / AMD R9 285 with Catalyst 1.5.9.1/ Asus Xonar D2X / Windows 10 pro 64bit Last edited by cca; 25th December 2012 at 11:49. |
Tags |
direct compute, dithering, error diffusion, madvr, ngu, nnedi3, quality, renderer, scaling, uhd upscaling, upsampling |
|
|