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. |
18th October 2013, 08:56 | #20421 | Link | |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
I've intentionally released this test build *before* the weekend, so that you guys have it before the weekend starts, so no part of the weekend is lost... That is intentional for the test builds. It stays on for 20 seconds. The purpose is that you have a lot of time to play with the parameters. If it went away after 3-4 seconds, like all other OSD messages, that would make tweaking the parameters more difficult. The OSD message will be cut down to 3-4 seconds when the next official build is released. |
|
18th October 2013, 09:31 | #20422 | Link | |
Registered User
Join Date: Apr 2009
Posts: 1,019
|
Quote:
I can touch-type, but I have difficulty doing Ctrl+Alt+Shift 1-9 without looking at the keyboard, instead of looking at the screen while making adjustments. With AltGr instead of Ctrl+Alt, and something like QWERT: + ASDFG: − ZXCVB: on/off You're only ever pressing two keys, and shouldn't have to look at the keyboard. |
|
18th October 2013, 09:44 | #20423 | Link |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Well, there aren't so many letter keys left which are next to each other and not already in use by default madVR settings. Ok, I've modified F9/F10 to K/L now. But I don't have a replacement for the number keys.
http://madshi.net/madVRdeband7.rar This build also has a bugfix in it, so please everybody who uses the debanding test build update to this one. The keys for the "angleBoost" are now Ctrl+Alt+K/L and Ctrl+Alt+Shift+K/L. |
18th October 2013, 10:09 | #20424 | Link |
Registered User
Join Date: Mar 2009
Posts: 3,650
|
Angleboost is amazing.
Here's my offer for the low preset. 6233638, I have tested this vs your previous preference and have found these settings provide better debanding and much improved shadow detail retention. It could probably still tweak a bit here and there like anything, but overall I'm quite impressed. A excellent find with this setting Madshi! After some more testing I conclude Localcontrast is not required for great results. Code:
avgDif maxDif grad penalty localcontrast angleboost low: 0.6 2.4 1.0 1.2 off 2.0 Last edited by ryrynz; 18th October 2013 at 12:02. |
18th October 2013, 10:15 | #20425 | Link |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
FWIW, the AngleBoost feature isn't perfect. It misses some parts where debanding should be applied. So we should make sure that we don't lower the other parameters too much. The other parameters should still do useful debanding even without AngleBoost. Maybe your suggested settings already do, haven't checked. Just wanted to say... I had nonGradiantPenalty and localContrast swapped in the OSD. Meaning if the OSD claimed you had localContrast off, you actually had nonGradiantPenalty off and vice versa. I'm sorry about the confusion! |
18th October 2013, 11:12 | #20426 | Link | ||
Registered User
Join Date: Mar 2009
Posts: 3,650
|
Quote:
Quote:
I might enable if it was an available option and I had the GPU power for it, I'm not going to push for the option to be there though, have adjusted my preset accordingly. Making a comparison vs my old f3kd settings shows my current low preset providing vastly better detail retention whilst maintaining about the same deband strength, awesome stuff. Last edited by ryrynz; 18th October 2013 at 12:15. |
||
18th October 2013, 12:26 | #20427 | Link | |
Registered User
Join Date: May 2012
Posts: 447
|
Quote:
(you could even apply a knee strength setting to the result, like in dynamic range compression, but that's probably getting too fancy for how much good it'll do) Last edited by Ver Greeneyes; 18th October 2013 at 12:29. |
|
18th October 2013, 12:52 | #20428 | Link |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
So two suggestions:
(1) penalty vs. boost: I think a penalty for non-matching angles would make things too complicated. Sometimes the angles don't match, but still debanding is needed. So I think a pure boost is a better solution. This way we can set up the other thresholds to do a minimum of debanding in case the angles don't match, and we can rely on that this minimum amount of debanding is always applied. (2) binary threshold vs continuum: I've actually thought about this, too. All the other thresholds are already applied with "FuzzyLogic" (continuum instead of binary threshold, using a simplified knee strength algorithm). The AngleBoost is currently a binary threshold. I could make the AngleBoost non-binary, too, but I'm not sure if I should do that. FWIW, there are 4 surrounding pixels I have to take into account (each with its own angle), that makes it different to find a continuum formula which covers all the possible situations. But I'll go experiment a little, maybe I can find a solution which works well enough... |
18th October 2013, 14:53 | #20429 | Link |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Ok, here's the latest build:
http://madshi.net/madVRdeband8.rar Changes: (1) The AngleBoost is now of variable strength, depending on how much the angle differs (suggested by Ver Greeneyes). (2) You can now define both the AngleBoost strength (Ctrl+Alt+H/J), and also the "MaxAngle" for with the boost is applied (Ctrl+Alt+K/L). (3) You can still turn the AngleBoost completely on/off (Ctrl+Alt+Shift+H/J). (4) You can activate a debug mode (Ctrl+Alt+Shift+K/L) which shows to which image areas the AngleBoost is applied. White image areas get the full boost. Black image areas don't get any boost. Gray areas get a reduced boost. That should help figuring out the optimal "MaxAngle". The current default values are "AngleBoost = 2.0" and "MaxAngle = 0.2". Practically this means that if the angle of a gradient differs by up to 13.333%, all thresholds are multiplied by 2x. If the angle differs by 20%, all thresholds are unchanged. If the angle differs by a value between 13.333% and 20% the thresholds are multiplied by a value between 1.0 (20%) and 2.0 (13.333%). For example, an angle difference of 15% would result in a threshold boost of 1.75x. My first tests indicate that for some gradients the "MaxAngle" could be set as low as 0.01. However, for other gradients, we need at least 0.10-0.15. Maybe even 0.20. Let me know what you think. |
18th October 2013, 15:18 | #20430 | Link | |
Registered User
Join Date: Oct 2013
Location: France - Paris
Posts: 21
|
Smooth Motion
Hello Madshi!
First, thanks for your amazing work along the years! I've one question concerning the smooth motion option under madVr v0.86.11. On my computer (i7 3770k @4.6Ghz + 660GTX Ti + 8Go ram) The picture quality is bad with this option (@60Hz). There is no difference in the picture fluidity and sometimes I can see some frame doubling. It's really strange. I'm using Windows 7 Pro N (special version without Windows Media Player and Media Center) Do you think my problem can be link? Thanks again for your help Quote:
I've no dropped frames and no glitches (ctrl+j) and I'm using Fullscreen Exclusive Mode. Sorry for my poor explanations in my first question. I'm using MPC-BE + LAV Splitter + LAV Video decoder (8 bits YV12 output) + ffdshow with some avisynth scripts (4:4:4 AYUV output) + MadVr 0.86.11 On Madvr: - Chroma upscaling Jinc 3taps + anti ringing - Image downscaling Jinc 8taps + anti ringing - Nothing in "Trade quality for performance" - Smooth motion On... - CPU queue size: 12 / GPU: 8 I've also remarked 1 thing. On my Benq W1070 if I output 16 bits colorspace (P016, P216 or Y416) my black are little grayed compared to a 8 bits output. am I crazy? Thanks again for your explanations Madshi! |
|
18th October 2013, 16:34 | #20431 | Link | |
Registered User
Join Date: Feb 2013
Posts: 137
|
Quote:
Here are my settings for low : avgDif 0.6, maxDif : 2.0, gradient 1.3, nonGradientPenalty : 1.2, localContrast ; off, angleBoost : 2.0, maxAngle : 0.20 . 1.0 for gradient is not enough sometimes like I saw in a earlier post and we can lower maxDif at 2.0. The debanding is better than before with my low settings (0.7, 2.4, 1.5, 1.2, off) and details are better preserved. Great job madshi |
|
18th October 2013, 18:46 | #20432 | Link |
Registered User
Join Date: Jan 2007
Posts: 729
|
This might eventually become interesting for smooth video playback, in the future: http://www.pcper.com/news/Graphics-C...tor-Technology
Basically it makes the rendering on an LCD fully VFR. Sadly, it needs special logic in the monitor, might be nvidia-only feature, and what's worst, will cost extra (so it might end up in highend devices only). |
18th October 2013, 20:17 | #20433 | Link |
Registered User
Join Date: Oct 2013
Location: Sweden
Posts: 128
|
The new angleBoost algorithm seems to work good some times and bad other times. Especially it seems to blur sharp dark lines alot, and it seems to detect dark grey flat colored boxes as gradients.
It seems to be effective at removing banding in heavy banded material at the expense of blurring sharp dark details. I would prefer it off on a low deband setting and maby turn it on at medium or high. I've concocted a test image with some dark boxes of different sizes and a banded gradient: Test image Contrast boosted (easier to spot differences) images with different settings on the previously mentioned test image: No debanding (My prefered settings "low") avgDif0.7, maxDif 2.4, gradient 1.5, nonGradientPenalty 1.2, localcontrast off, angleBoost off avgDif0.7, maxDif 2.4, gradient 1.5, nonGradientPenalty 1.2, localcontrast off, angleBoost 2.0, maxAngle 0.20 avgDif0.6, maxDif 2.0, gradient 1.3, nonGradientPenalty 1.2, localcontrast off, angleBoost 2.0, maxAngle 0.20 avgDif0.6, maxDif 2.0, gradient 1.3, nonGradientPenalty 1.2, localcontrast off, angleBoost 2.0, maxAngle 0.01 angleBoost debug mode /Addendum I was looking for a medium setting and made a full screen gradient with <7-bit (<127 steps) to simulate bitdeph loss. And i found that the settings below was sufficient to smooth the stairstep gradient to a continuous smooth gradient. My suggestion for medium debanding: avgDif 1.1, maxDif 3.0, gradient 2.5, nonGradientPenalty 1.3, localContast off, angleBoost off Last edited by bacondither; 18th October 2013 at 21:06. |
18th October 2013, 22:41 | #20435 | Link | |
Registered User
Join Date: Dec 2008
Posts: 496
|
Quote:
Since Nvidia hasnīt yet detailed how exactly G-Sync operates (they said it switches to 3D-Mode) it seems a bit early to tell. However, since madVR basically behaves like a game that uses a D3D-variant and supports fullscreen exklusive, this seems like a no-brainer at first. Perfectly smooth playback with any input fps at (hopefully) sanely priced monitors (as long as the panel is fast enough) just seems too good to be true. |
|
18th October 2013, 23:38 | #20436 | Link |
Registered User
Join Date: Jan 2008
Posts: 589
|
Yes, G-SYNC seems very exciting. What's more, that would probably mean that the application has full control over the display clock and is not constrained by the video clock anymore, which would remove audio/video clock drift issues and thus render ReClock completely useless!
|
18th October 2013, 23:52 | #20437 | Link |
Registered User
Join Date: May 2008
Posts: 1,840
|
It would be nice if nvidia worked with competitors on a standard. So we don't get 3 different technologies programs need to support which reduces the chances of supporting it. Then of course we'll probably get some things that only support one technology (paid off?). Comparable to cuvid, quicksync and opencl vs dxva.
Code:
avgDif maxDif grad penalty contrast low: 0.7 2.4 1.6 1.2 1.4 maximum: 1.9 3.7 4.3 off off
__________________
PC: FX-8320 GTS250 HTPC: G1610 GTX650 PotPlayer/MPC-BE LAVFilters MadVR-Bicubic75AR/Lanczos4AR/Lanczos4AR LumaSharpen -Strength0.9-Pattern3-Clamp0.1-OffsetBias2.0 |
19th October 2013, 01:18 | #20438 | Link | |||||||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Please try playing the 24fps Smooth Motion test patterns (see madTestPatternSource download in the first post of this thread) with your projector set to 60Hz. Play that test pattern and then toggle SmoothMotion FRC between on and off during playback, ideally with keyboard shortcuts. Do you see a difference in smoothness that way? It should be smoother with SmoothMotion FRC on. But it will still not be perfectly smooth because 24fps cannot be perfectly smooth. Quote:
Quote:
Quote:
What I'd like to see is for the driver to support very small changes to the pixel clock without a full mode reset. That would truely render ReClock useless (unless you want to modify the source fps), and it should work with most displays without any changes. That would be a much better solution for video playback. G-Sync is aimed at gamers, not at HTPC users. Quote:
Quote:
Quote:
From my point of view large flat image areas which are barely different from neighboring large flat image areas are more likely to be "banding" than "image detail". Image detail usually contains a little bit of contrast, a little bit of per pixel changes, a little bit of angles/curves/edges in it. There's nothing of that in your large flat barely visible gray boxes. Because of that I don't think those boxes can be considered "image detail". Can you provide a real life sample (or 2 or 3) which shows the following problems: > Especially it seems to blur sharp dark lines alot, > and it seems to detect dark grey flat colored > boxes as gradients. > It seems to be effective at removing banding > in heavy banded material at the expense of > blurring sharp dark details. Having a sample (or 2 or 3) which show these problems would be really useful. Maybe I can find a way to improve the AngleBoost feature accordingly. There's one thing making me wonder, though: In your "debug" mode image it seems that only the left border of your gray boxes is detected at all, but not the right border. That's weird, will look into that. Doing so will not change the final output, though. |
|||||||
19th October 2013, 01:52 | #20439 | Link | |
Registered User
Join Date: Dec 2008
Posts: 496
|
Quote:
Hereīs a video of it: http://www.youtube.com/watch?v=WiZ9l3I26ec The one clear advantage I see is that you could drive G-SYNC equipped monitors at native movie refresh rates (where you would have to buy much more expensive monitors like Eizo CGs) or even some movie refresh rate multiples that are only available with the G-Sync module. Thatīs because the module completely replaces the scaler component inside the monitor and the GPU and pixel clock drives it. And depending how well they implemented it, this could also lead to other side-benefits like the ones you mentioned (smaller variations in pixel clocks, since they will possibly do a bit of a rewrite of that part of the driver). Maybe there are even more benefits we donīt even know about, more details will probably be available on the 21st and if it works like they made it sound, it seemed like you wouldnīt even need to adjust anything within madVR, since it behaves like a game, but who knows at this point. I agree though that an open standard would have been nice, too. BTW, love the new deband, even though I donīt watch a lot of Anime and I am certainly not the prime target for this. Last edited by iSunrise; 19th October 2013 at 02:04. |
|
19th October 2013, 03:52 | #20440 | Link | ||
Registered User
Join Date: Apr 2009
Posts: 1,019
|
Quote:
This allows you to avoid screen tearing without increasing latency or limiting framerates. (e.g. locking to 30 or 60fps) EDIT: Yes, it's continuously variable and synced to the framerate: http://www.youtube.com/watch?v=WiZ9l3I26ec That said, I'm not sure how uneven framerates, even with the refresh rate synced, and without tearing, are going to avoid judder. Quote:
Last edited by 6233638; 19th October 2013 at 04:14. |
||
Tags |
direct compute, dithering, error diffusion, madvr, ngu, nnedi3, quality, renderer, scaling, uhd upscaling, upsampling |
Thread Tools | Search this Thread |
Display Modes | |
|
|