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. |
27th January 2014, 20:52 | #22061 | Link |
Registered User
Join Date: Aug 2012
Posts: 32
|
MadVR don't load with the latest version, it is stuck at opening the file and it crash on the setting window. The debug don't work either.
Log My system : Intel Core i7@920, Ati Radeon HD 5770, Windows 8.1, MPC-HC 1.7.2 |
27th January 2014, 21:43 | #22063 | Link | |
Registered User
Join Date: Sep 2012
Posts: 47
|
I seem to get the same results as below, even with 0.87.4. I also have HD 4000 / GT 650M (Optimus), on Win8.1 64. The OpenCL stuff doesn't work if GT 650M is used; otherwise, it does. DXVA image upscaling + NNEDI3 image doubling looks "correct," but that's just because NNEDI3 seemingly isn't being used at all with DXVA image upscaling. With the other upscaling, there are problems.
By the way, for a test case of 540p -> 1080p, rendering times Jinc3 AR are about 22 ms, while they're about 312 ms with NNEDI3 64 neurons (for image doubling), producing incorrect colors like namaiki got. I tried 332.21, 327.23, and 326.01 drivers, all mobile versions, all with the same results. Quote:
Profile switching and all sorts of other goodies work fine and nothing is wrong except OpenCL features not working—producing garbage output like above or black screen for error diffusion. Thanks for all your work and rapid-fire debugging efforts, madshi! |
|
27th January 2014, 21:50 | #22065 | Link |
Registered User
Join Date: Nov 2012
Posts: 17
|
@madashi some good news MPCHC + v0.87.4 + Geforce 334.67 Betas I can use NNEID3 but picture is green with my GTX760 4GB
__________________
Windows 10 Pro 64Bit i7 6700k + H110i GT @4.6Ghz 16GB Corsar Vengance DDR4 EVGA GTX 970 FTW ACX 2.0 ASUS Maximus VIII Hero ASUS Xonar D2X |
27th January 2014, 21:54 | #22066 | Link | ||
Registered User
Join Date: Jul 2012
Posts: 20
|
madshi,
Quote:
Quote:
And with the queue settings: CPU - 16, GPU - 8, backbuffers - 3, playback too perfectly and mpc-hc not crash. Thanks for your great work! |
||
27th January 2014, 22:03 | #22067 | Link |
Broadband Junkie
Join Date: Oct 2005
Posts: 1,859
|
madshi, could you explain how 'chroma upscaling = NNEDI3' and 'image doubling, double Chroma resolution' relate when upscaling a video exactly 2x?
640x360 -> 1280x720 GPU load 37% chroma upscaling = NNEDI3 image doubling luma = NNEDI3 image doubling chroma = NNEDI3 opencl dither = enabled GPU load 34% chroma upscaling = Catmull-Rom image doubling luma = NNEDI3 image doubling chroma = NNEDI3 opencl dither = enabled GPU load 28% chroma upscaling = NNEDI3 image doubling luma = NNEDI3 image doubling chroma = disabled opencl dither = enabled Why does GPU load differ? [Edit] Same thing happens with GPU load changing when 'image doubling luma = NNEDI3' is active for 640x360->1280x720 2x scale, depending on the setting for 'image upscaling'. I was under the impression that 'image doubling luma' & 'image doubling chroma' would override 'image upscaling' & 'chroma upscaling' when the video is resized to a 2x multiple. Am I misunderstanding something? Last edited by cyberbeing; 27th January 2014 at 22:21. |
27th January 2014, 22:23 | #22068 | Link |
Registered User
Join Date: Dec 2008
Posts: 496
|
Thanks!
I´ve reported it to Blaire (3dcenter forum). Not sure if he needs more details though, but I just went with "black screen/no picture output" as the failure description and linked to your full post for completeness sake. Last edited by iSunrise; 27th January 2014 at 22:31. |
27th January 2014, 22:47 | #22069 | Link | |
Registered User
Join Date: Aug 2012
Posts: 73
|
Quote:
& very dark picture (but no black screen) with image doubling <use NNEDI3 to double Luma resolution> Error dithering & double chroma resolution is still black screen Windows 7 + gtx 660 ti |
|
27th January 2014, 22:47 | #22070 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
With NNEDI3 vs. No NNEDI3 Running on a GeForce GTX 660 Ti with latest drivers (January 7, 2014).
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
|
27th January 2014, 22:51 | #22071 | Link | |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
|
Quote:
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
|
27th January 2014, 22:56 | #22072 | Link | |||||||||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Quote:
(1) Can be reproduced by unchecking the "use random dithering instead of OpenCL error diffusion" option in the "rendering -> trade quality for performance" section of the madVR settings. (2) Works fine with 327.23 and older drivers. Problem occurs with anything newer than 327.23. (3) Technical cause is that D3D9 <-> OpenCL interop doesn't seem to work properly. All APIs return success, but the OpenCL kernels seem to produce zero/black output at all times. Quote:
Quote:
Quote:
(Your quotes are still missing the ">" button.) Quote:
Once the image is RGB, image doubling is performed (if the settings say so). There are basically 3 different ways how image doubling can be done: (1) Either you only double/quadruple the luma channel, but not the chroma channels. For this to work, madVR converts the RGB video data back to YCbCr, then doubles/quadruples the resolution of the Y channel. Afterwords two further scaling operations are done: The Y channel is up- or downscaled to the final target resolution (this step is skipped if image doubling already reached the exact target resolution, of course). And the CbCr channels are upscaled to the final target resolution in a separate step. Both of these operations are performed using the algorithms specified in the image up/downscaling settings pages. Finally, the separate Y and CbCr channels are joined together again and converted back to RGB. (2) Or you double both luma and chroma channels using NNEDI3. This makes it easier for madVR because it isn't necessary to do *separate* followup scaling operations for Y and CbCr channels. It's easier for madVR, but usually not faster, simply because letting NNEDI3 double 3 channels is much slower than letting it double only 1 channel. So although (1) is more complicated, it should usually be faster. (3) Or you quadruple luma and double chroma. This is somewhat similar to (1), just a bit more complicated. Hope that explains everything? Generally when using image doubling I'd recommend not using Jinc for image upscaling because it would cost a lot of extra performance for very little quality benefit. E.g. Lanczos3AR or even BicubicAR should do fine as followup upscaling algorithms after image doubling. Quote:
Quote:
Quote:
^ Exactly!! |
|||||||||
27th January 2014, 23:04 | #22073 | Link | |
Registered User
Join Date: Aug 2012
Posts: 51
|
Quote:
Edit: man you guys are seriously too quick, madshi, nev. Seriously dedicated. Last edited by Farfie; 27th January 2014 at 23:10. Reason: Don't know why I bother typing! |
|
27th January 2014, 23:14 | #22074 | Link | |
Registered User
Join Date: Aug 2012
Posts: 32
|
Quote:
|
|
27th January 2014, 23:15 | #22075 | Link | |
Registered User
Join Date: Aug 2012
Posts: 73
|
Quote:
here is a my log if it can help. Both Chroma & double luma NNEDI3 are activated |
|
27th January 2014, 23:39 | #22077 | Link | |
Broadband Junkie
Join Date: Oct 2005
Posts: 1,859
|
Quote:
Or what if the destination resolution after NNEDI3 luma is smaller than 2x? Does it use the 'chroma upscaling' setting or the 'image downscaling' setting on the CbCr channel? Also when you have NNEDI3 double both luma and chroma, are you working in RGB or YCbCr? Is only the 'image upscaling|downscaling' setting and NOT the 'chroma upscaling' used to go from 2x to destination size? I ask, since a long time ago you changed madVR so the 'chroma scaling' setting was only used for converting sub-sampled YCbCr -> 4:4:4, followed by 'image upscaling' scaling both luma & chroma together to destination resolution. If the 'chroma scaling' setting is no longer doing 2x only scaling with NNEDI, I'd need to completely reassess my chroma setting. Side question. What is the behavior if you set both NNEDI3 doubling, and quadrupling to 'Always'? Is madVR smart enough to only quadruple for scale factors >2x, or does it only quadruple? Last edited by cyberbeing; 27th January 2014 at 23:42. |
|
27th January 2014, 23:40 | #22078 | Link |
Registered User
Join Date: Apr 2009
Posts: 1,019
|
I don't know if you know this, but NNEDI3 scaling is still not working in the new builds on Nvidia cards.
Also, there seems to be a bug where the new OpenCL features are draining my wallet. In all seriousness, the new dithering and NNEDI3 image doubling looks very nice. NNEDI can look a bit artificial sometimes, but even when that is the case, the overall image is probably better than without it. |
27th January 2014, 23:52 | #22080 | Link | |
Registered User
Join Date: May 2013
Posts: 77
|
Quote:
|
|
Tags |
direct compute, dithering, error diffusion, madvr, ngu, nnedi3, quality, renderer, scaling, uhd upscaling, upsampling |
|
|