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. |
26th January 2014, 23:02 | #22001 | Link | |||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Quote:
Quote:
Last edited by madshi; 26th January 2014 at 23:05. |
|||
26th January 2014, 23:08 | #22002 | Link | |
Registered User
Join Date: Dec 2008
Posts: 496
|
Quote:
|
|
26th January 2014, 23:09 | #22003 | Link | |
Registered User
Join Date: Feb 2004
Posts: 399
|
Quote:
We're talking about "exclusive mode settings" > "present several frames in advance" ENABLED, right? I made another log after 2x checking.. here it is: madVR_logTSR_2.zip
__________________
XP SP3 / Geforce 8500 / Zoom Player |
|
26th January 2014, 23:12 | #22004 | Link | |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
P.S: Just saw your signature. Yes, the problem is XP. My fault, I misinterpreted the log. The problem will be fixed in v0.87.3, sorry. |
|
26th January 2014, 23:16 | #22007 | Link |
Kid for Today
Join Date: Aug 2004
Posts: 3,477
|
Ouh it seems that 87.2 has made DXVA2 fully usable on my rig, especially if I check "use OpenCL to process DXVA". At this stage, only a wattmeter will make me decide between CPU or GPU video decoding.
My only last problem is that I get tearing at the bottom of the picture in windowed mode, it instantly disappears when I go FSE or FSW...very strange and not a big deal anyway. The performance issue I mentioned when going FS is apparently due to how W7 behaves when mVR simultaneously rolls the refresh rate and goes FS, XP did it all seamlessly but W7 hiccups quite a bit as the picture is vertically stretched for like a split second, then the AR is applied and playback finally starts. I see that you've explained several times in this thread that NNEDI can do 2X vertical and/or horizontal upscale but: 1) why is there a "NNEDI3" processing option in the "chroma upscaling" tab, but not in "image upscaling"? 2) if I want to upscale a 4:3 360*288 video to 4:3 1440:1080, the default "image doubling" settings will upscale it to 1440*576 and then 576 will be upscaled to 1080 using the algorithm I chose in "image upscaling"? |
26th January 2014, 23:20 | #22008 | Link | |
Registered User
Join Date: Feb 2004
Posts: 399
|
Quote:
See you, TSR
__________________
XP SP3 / Geforce 8500 / Zoom Player |
|
26th January 2014, 23:24 | #22009 | Link |
Registered User
Join Date: Dec 2002
Location: Region 0
Posts: 1,436
|
Okay, I'm pretty sure this one is real...
I have these rules for image and chroma scaling if ((srcWidth <= 1300) and (deintFps < 31) and (srcInterlaced == true)) "<= 720i 24-30fps" else if ((srcWidth <= 1300) and (deintFps < 31) and (srcInterlaced == false)) "<= 720p 24-30fps" else if ((srcWidth <= 1300) and (deintFps > 31) and (srcInterlaced != true)) "<= 720p 50-60fps" and this rule for image downscaling if ((srcWidth >= 1600) and (deintFps < 31) and (srcInterlaced == false)) ">= 1600w 24-30fps" Playing back a blu-ray on my 1600x1200 monitor I see this: It's using the downscaling settings, but shouldn't none of the image scaling options be bold since none are active? FWIW, the downscaling option is bold when playing back content that's not being downscaled also. |
26th January 2014, 23:36 | #22010 | Link | ||||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
If they still do work then I've no idea what the problem could be... Quote:
Quote:
However, the image upscaling factor is very rarely exactly 2.0x. So NNEDI3 is almost never a full replacement algorithm for the other algorithms like Lanczos or Jinc, when talking about image upscaling. Let's imagine I made the image upscaling settings page the same as the chroma upscaling settings page is now. And let's imagine you selected NNEDI3 for image upscaling. Let's further imagine in your specific situation you'd need a 3.0x scaling factor. What should madVR do in that case? It could use NNEDI3 to upscale 2.0x or 4.0x, but not 3.0x. So what should it do? It's not clear. Because of that I cannot offer NNEDI3 as a full replacement algorithm in the image upscaling settings page. Quote:
You can tell madVR to double your image size, or to quadruple it with NNEDI3. If you tell madVR to only double it, you get 720*576. If you tell madVR to quadruple it, you get 1440*1152. But whether madVR actually doubles or quadruples depends on which exact settings you're using in the "image doubling" section. There are several radio boxes in there you can check which controls all this. In any case, if the output of "image doubling" is smaller than the target resolution, madVR will use the algorithm from the "image upscaling" settings page to upscale the "image doubling" output to the needed target resolution. If the output of "image doubling" is larger than the target res, madVR will usw the image downscaling algorithm to achieve the target res. The "bold" state just shows which profile is active. One profile is always active in every profile group. If your script doesn't select a profile, the first profile in the list will be active. A profile being active doesn't mean that the settings page is actually used. It just says which profile would be used if the settings are needed by madVR. |
||||
26th January 2014, 23:40 | #22012 | Link | |||
Registered User
Join Date: Apr 2009
Posts: 1,019
|
Quote:
Generally I would suggest:
Anything above Bilinear is good though, as that can introduce noticeable artifacts, and with the optimized scaling algorithms I'd like to think that few systems would have to compromise and use Bilinear. Mitchell-Netravali is a good choice if you don't have the performance to enable the anti-ringing filter, as it has very little ringing itself. You could use Bicubic 75 instead as that's sharper and has the same performance requirements, but it can suffer from ringing. Bicubic 75+AR gets you 90% of the way there as far as chroma quality is concerned. For the vast majority of sources, this will be indistinguishable from anything more advanced. And when you have performance to spare, Jinc 3+AR is the best option, though few sources actually require it. I am looking forward to doing some testing once NNEDI3 is working though. Quote:
Error handling is definitely better with software decoding. Someone posted a really good sample video here (probably years ago at this point) which shows errors with the hardware decoders that do not exist with LAV's software decoding: (the sample appeared to be a broadcast recording with fast movement and a lot of flashing lights) That being said, it is extremely rare to find this with commercially produced content. So far I've only seen this occur with a single blu-ray (out of hundreds) and have had one other report of it happening on another disc. Because it's so rare in the content I watch, I do use DXVA-CB decoding, as it means that high CPU usage in other programs is a lot less likely to affect video playback. If you see blocking like that happen in the content that you watch though, you should check and see if switching to software decoding will fix it. Quote:
If you're scaling luma with NNEDI3 you are likely to use NNEDI3 to scale 2x and use an additional scaler (up or down) to scale that image to your display resolution. Edit: Nevermind - Madshi has already managed to answer your question and put out a new build in the time it took for me to type up that reply. Last edited by 6233638; 26th January 2014 at 23:51. |
|||
26th January 2014, 23:42 | #22013 | Link | |
Registered User
Join Date: Feb 2004
Posts: 399
|
Quote:
Testing..
__________________
XP SP3 / Geforce 8500 / Zoom Player |
|
26th January 2014, 23:44 | #22015 | Link | |
Registered User
Join Date: Aug 2012
Posts: 32
|
Quote:
Edit : And work very good. Now, i can activate debanding on 1080i. Last edited by djfred93; 26th January 2014 at 23:53. |
|
27th January 2014, 00:30 | #22017 | Link |
Registered User
Join Date: Jul 2012
Posts: 20
|
madshi,
My problem with 4k video playback (downscaling) was not solved. If to use the old settings queue: CPU queue - 16 GPU queue - 8 Win. mode -> backbuffers - 3 MPC-HC all the time crashes. madVR - log On version 0.86.11 with these settings work fine (when playback 4k video). Minimum settings queue needed to MPC-HC did not have crash: CPU queue - 5 GPU queue - 5 Win. mode -> backbuffers - 3 But when you switch from windowed mode to fullscreen still black screen. madVR - log Somebody has a problem with downscaling 4k video except me? |
27th January 2014, 00:44 | #22018 | Link |
Registered User
Join Date: Oct 2011
Posts: 204
|
Great work on getting back the deinterlacing performance!
Personally, I had assumed that the D3d/OpenCL interaction with DXVA deinterlacing just cost too much time, but now I can disable profiles again and run everything with OpenCL enabled. In fact, I just made a small test, and even 1080i with image quadrupling works here (just barely, though). Good work! |
27th January 2014, 00:55 | #22019 | Link | |||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Great! Quote:
Can you compare RAM consumption with v0.86.11 and v0.87.3 with your hardware/software, when playing back that 4K clip with 5/5/3 queues? Does v0.87.0 consume more RAM than v0.86.11? According to the log the decoder sends the first 27 frames, and then simply stops. Probably it crashed or something. Might be some sort of "out of memory" problem. But I'm not sure why v0.87.3 would consume so much more memory than v0.86.11... Quote:
|
|||
27th January 2014, 00:59 | #22020 | Link |
Registered User
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,407
|
I have the same problem, a blank black screen watching 4k video at 2560x1440. I think I have tracked it down.
I reset all settings to default and then changed: GPU Buffers > 8, I tested using 10-24. This probably changes depending on the card, maybe total video memory? Full Screen Windowed mode (both the new Win7+ and original, 3-8 back buffers) Linear light downscaling If I use FSE, leave the GPU buffers at 8, or do not user LL for downscaling I get a picture. I can toggle the picture black and correct by right clicking to bring up the context window, kicked out of FSE -> black picture, dismiss it so back in FSE -> correct picture. This is a log from 87.2 where I got a dither failed to create D3D9 surface error going into Full Screen Windowed. I cannot remember the exact wording and I just get a blank screen with 87.3. MadVR - log.7z madVR_87.3 - log.7z Running 3770K, SLI GTX Titans driver version 332.21. using 4k_QHD_RoastDuck_30p.mp4 test video. edit: Windows 8.1 With LL downscaling and 24 GPU buffers (3 back buffers FSW, 8 frames in advance FSE) I see 1594MB of video ram used when in FSE and 1704MB of video ram used when in FSW (black). If I turn down GPU buffers to 10 (back buffers 8) when in FSW I get 1266 MB used without LL (correct picture) or 1351 MB used with LL (black picture). Last edited by Asmodian; 27th January 2014 at 01:43. |
Tags |
direct compute, dithering, error diffusion, madvr, ngu, nnedi3, quality, renderer, scaling, uhd upscaling, upsampling |
Thread Tools | Search this Thread |
Display Modes | |
|
|