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. |
22nd November 2012, 20:42 | #15661 | Link | |
Registered User
Join Date: Feb 2004
Posts: 399
|
Thanks madshi:
Quote:
But if you don't mind me asking, are there still plans to support DXVA(1) for XP in the future? I'd like to decode MPEG2 with DXVA while using madVR instead of VMR9 for DVDs..
__________________
XP SP3 / Geforce 8500 / Zoom Player |
|
22nd November 2012, 21:40 | #15663 | Link | |||||||||||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Quote:
Quote:
Of course I can match what EVR does. But EVR also cuts BTB and WTW when running custom pixel shaders. Do you want me to do that, too? I hope you get what I'm aiming at: What EVR currently does is not optimal. I think there needs to be a clear standard for custom shaders and I think it currently doesn't exist. So instead of just matching the bad solution EVR currently uses I'm trying to define a standard with Jan-Willem, and if then any adjustments will be necessary to meet that standard, I will do that. Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
I could still add separate black and white level controls which would only be accessible from within madVR and not by the media player, and these controls would auto-reset when madVR loads a new video. Quote:
(1) You convert the image to linear light. (2) You apply a slight S-curve to adjust image contrast. (3) You convert back from linear light to gamma corrected light. You see, this is very different from trying to achieve an S-curve gamma. |
|||||||||||
22nd November 2012, 21:52 | #15666 | Link | |
Registered User
Join Date: Jul 2011
Posts: 57
|
Quote:
EDIT: Some files play ok but some files just refuse to play...? They play fine using EVR/CP + LAV... Last edited by ajp2k11; 22nd November 2012 at 22:03. |
|
22nd November 2012, 22:28 | #15667 | Link | |
Registered User
Join Date: Jul 2005
Posts: 359
|
Quote:
Question, does using DXVA2 native actually put more load on the GPU? |
|
22nd November 2012, 22:39 | #15668 | Link | |
Kid for Today
Join Date: Aug 2004
Posts: 3,477
|
Quote:
So how come the PS gamut mapping script measures perfectly if everything is crushed like hell? This is confusing =/ IIRC yesgrey once told me that gamut mapping is not dependent on the incoming/outgoing levels.....BUT now that I think of it, when I was comparing this AVS script against tritical's ddcc, these were visually identical! So maybe it's just the new builds of MPC HC that are broken. I was using an old build from Casimir666 that didn't have all those fun(k)y options for EVR CP. I personally measured the PS gamut mapping script using manual HCFR test patterns and it was all fine, I will try tomorrow with older MPC HC builds and report back. Yay, playing movies on a PC is such a struggle! I can see why some ppl buy a standalone player, a pj with an ISF CMS and call it a day PS: avishader with the AVS script was also giving me the same colors as ddcc, but source code isn't available apparently. Last edited by leeperry; 22nd November 2012 at 23:03. |
|
22nd November 2012, 22:42 | #15669 | Link | |
Registered User
Join Date: Feb 2004
Posts: 399
|
Quote:
DXVA_1.01 API Or those 2 topics: 1/2 ?
__________________
XP SP3 / Geforce 8500 / Zoom Player |
|
22nd November 2012, 22:51 | #15670 | Link |
Registered User
Join Date: Mar 2007
Posts: 934
|
It's set to nVidia Settings, everything in the Colour and Gamma tabs is default but Dynamic Contrast Enhancement and Colour Enhancement are off, with Dynamic Range set to 0-255.
__________________
TV Setup: LG OLED55B7V; Onkyo TX-NR515; ODroid N2+; CoreElec 9.2.7 |
22nd November 2012, 23:05 | #15671 | Link |
Registered User
Join Date: Sep 2011
Posts: 72
|
At switchings between algorithms Jink in v0.85.1 becomes inaccessible:
__________________
Win7x64 Core i7 920 3.5GHz Noctua NH-D14/ArcticCooling MX-3 6(3x2)GB Transcend 1426MHz RoyalHD (64MB)[Solo6c][JPLAY]/HD7850DC22GD5V2[EIZOT965] Seasonic X-750 VelociRaptor WD4500HLHX/16TB_STORE |
22nd November 2012, 23:34 | #15672 | Link | ||||
Registered User
Join Date: Apr 2009
Posts: 1,019
|
Quote:
I've actually just got in and had a chance to actually measure what your control is doing on my displays, and it is exactly what you have said. I misunderstood what it was doing, and it works exactly as intended - it reduces saturation while keeping luminance constant - a true saturation control. Sorry for this big waste of your time. Quote:
Quote:
Quote:
I'm still not fond of "image enhancement" processing, rather than trying to achieve the most accurate calibration, but it doesn't sound like a bad control to have for people that want it. |
||||
22nd November 2012, 23:47 | #15673 | Link |
Registered User
Join Date: Jul 2005
Posts: 359
|
Using madVR DXVA2 on my Radeon 5570 also shows different colors compared to software decoding, DXVA2-CB and using EVR CP DXVA. Only madVR DXVA2 native makes colors look different (judging by the screenshots taken by MPC HC anyway). All of my 'enhancements' in the drivers are either disabled or set to application preference. Using LAV 0.53.2 with the default LAV video decoder settings.
Last edited by rahzel; 22nd November 2012 at 23:51. |
23rd November 2012, 00:37 | #15674 | Link | |
Broadband Junkie
Join Date: Oct 2005
Posts: 1,859
|
Quote:
With my GT440 DDR5 & 1920x1080p60 (16.68ms/frame) @50%: Catmull-Rom Image + Bilinear Chroma: 7.8ms render avg Spline36 Image + Catmull-Rom Chroma: 10.6ms render avg Catmull-Rom (AR) Image + Bilinear Chroma: 12.6ms render avg Catmull-Rom (Linear) Image + Bilinear Chroma: 12.6ms render avg Catmull-Rom (AR + Linear) Image + Bilinear Chroma: 100% GPU Load & Constant Dropped Frames With my GT440 DDR5 & 1920x1080i30->60p (16.68ms/frame) @50%: Catmull-Rom Image + Bilinear Chroma: 7.8ms render avg + 2.3ms deinterlace Spline36 Image + Catmull-Rom Chroma: 10.6ms render avg + 2.3ms deinterlace Catmull-Rom (AR) Image + Bilinear Chroma: 90-100% GPU Load & Occasional Heavy Dropped Frames Catmull-Rom (Linear) Image + Bilinear Chroma: 90-100% GPU Load & Occasional Heavy Dropped Frames Catmull-Rom (AR + Linear) Image + Bilinear Chroma: 100% GPU Load & Constant Dropped Frames I'm not insisting that you should change the defaults again, but it definitely something for users to keep in mind if they are having performance issues when downscaling 1920x1080 60fps with the new defaults. More powerful GPUs like the GTX 660 which a few have been recommending here recently, I'm sure has plenty of performance to be unaffected. |
|
23rd November 2012, 01:40 | #15675 | Link | |
Registered User
Join Date: Oct 2012
Posts: 27
|
Quote:
Another way to make sure the drivers don't do anything funny with the video output is to rollback to the WHQL drivers from microsoft update. If you uninstall your Catalyst drivers, windows update will rollback to the latest approved drivers for Radeon HD 5xxx cards (version 8.850 from April 2011). As far as I can tell this does not tweak the video output since you don't have the Catalyst control panel. |
|
23rd November 2012, 02:43 | #15677 | Link | |
Registered User
Join Date: Jul 2005
Posts: 359
|
Quote:
The good news is that it does indeed work. CPU usage dropped from ~30% or ~8% on my somewhat dated HTPC (AMD Athlon II 250 + Radeon 5570). |
|
23rd November 2012, 04:05 | #15679 | Link | |
Registered User
Join Date: Apr 2009
Posts: 1,019
|
Quote:
First, I wouldn't recommend anyone use CUVID decoding any more. It forces the GPU into its high power state (P0) regardless of load, and has measurably higher GPU, MCU, and VPU load compared to the DXVA2 options in LAV Video. To my surprise, whether my card was locked to slower clockspeeds or not (Nvidia Inspector can force the GPU into the P0/8/12 states, and alter their clockspeeds) DXVA2 copy-back had lower VPU load than DXVA2 native in all my tests. In some cases, this was as much as 20%, though it was typically in the 5–10% range. MCU load was the same with both DXVA options, though there was a 2% increase in GPU load when using DXVA2 copy-back rather than native. Negligible for me, but perhaps not with a slower card. DXVA2 native appeared to have zero impact on the GPU load, measuring the same as software decoding on the CPU though. In most cases, even though VPU load could be as much as 20% higher with DXVA2 native, it was typically not the limiting factor for video playback. Any of the samples I tried which failed to play back smoothly due to the higher VPU load of DXVA2 native also failed with DXVA2 copy-back, but with less dropped frames. On another GPU that extra 20% might be the difference between smooth playback and constantly dropping frames though. I don't know whether Nvidia use the same VPU across their entire product range, or if it also scales in performance along with the GPU itself. It definitely seems like it might be worth trying both DXVA2 native (lower GPU load) and DXVA2 copy-back (lower VPU load) on clips that are giving you trouble, to see if switching from one to the other helps. I was also able to find some samples that, at least when locked to a lower power state (to simulate being on a slower GPU) VPU load, whether using DXVA2 copy-back or native, was the cause of dropped frames, and that switching to CPU decoding allowed for smooth playback, even with some of the more intensive scaling algorithms. With the most demanding video I could find, a 1080p60 clip of Avatar, even my GTX570 was barely able to decode it, as the peak VPU load was 89% for DXVA2 copy-back, and 94% for both DXVA2 native & CUVID. So it's certainly possible that with high framerate clips, a card with a slower VPU on it might need to use CPU decoding instead of DXVA. Unfortunately it seems that when downsampling, the biggest performance hit is linear light scaling. When my card was set to the lowest power state, I found that I was able to use Lanczos 3 for downscaling, but couldn't use Catmull-Rom linear, even without the anti-ringing filter. So perhaps an option with linear light scaling enabled doesn't make for the best default, even though Catmull-Rom is typically one of the less demanding scaling algorithms. The problem is that when downsampling images, ideally you should be using linear light scaling if at all possible. Even though Catmull-Rom is actually one of the least demanding scaling algorithms in madVR right now, it happens to be the best looking when downsampling in linear light, as long as you have the anti-ringing filter enabled. If your GPU can't handle that combination though, I wouldn't recommend using linear light scaling at all. I don't know what I would recommend other than that. Lanczos seems to be a common choice, and it's definitely less work on the GPU than linear light scaling. For the same GPU load as Lanczos, you may be able to use a less intensive scaler in conjunction with the anti-ringing filter though. I'm not really sure which would look best, as downsampling is not really a priority for me, and all of the comparisons I've done recently have been with both the linear light scaling and anti-ringing options enabled. So I'm not sure what conclusion to draw from all this. If your problem is specifically with 60fps content, the first thing I would try is switching to software decoding on the CPU to see if that helps (assuming your CPU is up to the task) but it does seem most likely to be a GPU load issue, unfortunately. Can't reproduce that here on my GTX 570, so it doesn't appear to affect Nvidia. |
|
23rd November 2012, 04:30 | #15680 | Link |
Registered User
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,787
|
madshi hi.
Question - how can I find out which mode is currently using in madVR - DXVA or not. MPC-BE for internal DXVA compatible renderer use Hook to detect DXVA mode. Maybe you add api call for this ? If not - do not worry, have also made also use a hook
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /Patriot 32Gb@3200 /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215 Last edited by Aleksoid1978; 23rd November 2012 at 07:31. |
Tags |
direct compute, dithering, error diffusion, madvr, ngu, nnedi3, quality, renderer, scaling, uhd upscaling, upsampling |
Thread Tools | Search this Thread |
Display Modes | |
|
|