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.

 

Go Back   Doom9's Forum > Hardware & Software > Software players

Reply
 
Thread Tools Search this Thread Display Modes
Old 15th April 2018, 15:35   #50241  |  Link
brazen1
Registered User
 
Join Date: Oct 2017
Posts: 331
Quote:
Originally Posted by Manni View Post
All drivers work in 3D here but batch files are needed to set 3D mode before playback. This can be done with the command file using profiles. Otherwise registry changes do not stick.
I use batch files that launch via KODI using its playercorefactory.xml feature. Of course, they are only going to launch using KODI. Running naked, Windows Explorer for example, I need to manually engage nvstlink.exe (aka stereoscopic in NCP) before 3D playback.

You write you are launching batch files with a command file using profiles. I have no idea what this means but interests me since I assume these .bats are launching from madVR potentially providing another avenue to engage NCP stereoscopic than the KODI playercorefactory.xml keeping everything automated.

Please, please, be kind enough to elaborate how you do this in detail as if explaining to a 4 year old so I have a perfect understanding.
__________________
HOW TO-Kodi 2D-3D-UHD (4k) HDR Guide Internal & External Players
W11 Pro 24H2 GTX960-4GB RGB 4:4:4 @Matched Refresh Rates 8,10,12bit
KODI 22 MPC-HC/BE 82" Q90R Denon S720W
brazen1 is offline   Reply With Quote
Old 15th April 2018, 15:45   #50242  |  Link
brazen1
Registered User
 
Join Date: Oct 2017
Posts: 331
RE: which NVidia drivers and why, here is copy paste from where I originally posted this a couple weeks ago, fwiw. You may not be aware of the audio problem I encountered. I'm using 385.69 but as Manni pointed out, custom modes with 12bit does not work so I too will probably revert to 385.28. A shame we have to use drivers this old.

I have discovered what I assume is another bug introduced by NVidia drivers. Yesterday I decided to work it out. The problem:

Right click your volume icon with your AVR OFF or in standby using passthrough. It should be setup for Stereo.
Now, turn your AVR ON. It should be setup for 5.1 or 7.1 etc. (What ever you use during video playback)
This should automate between stereo and 7.1 (for example) as you toggle your AVR off and on. If it doesn't, you will have to manually change it. If you forget, high bitrate audios will malfunction (audio filter errors) during video playback mode and/or youtube videos from desktop mode will not start.

Not knowing if this was associated with a Windows update or something else, I decided to install NVidia drivers working backwards to rule them out as the culprit or find a working driver to identify where the problem originated.
Eventually the audio setup started working as intended and I've concluded it is an NVidia driver issue. Here's what I installed and concluded using DDU between installs:

391.35-desktop-win10-64bit-international-whql.exe = Audio problem.
391.24-desktop-win10-64bit-international-whql.exe = Audio problem.
391.01-desktop-win10-64bit-international-whql.exe = Audio problem.
390.65-desktop-win10-64bit-international-whql.exe = Audio problem. This is the driver the audio problem was introduced.
All of these drivers also cannot retain a 12bit setting after a reboot but you should be using 8bit anyway since 12bit introduces banding unless your display handles 12bit native properly.

388.59-desktop-win10-64bit-international-whql.exe = Does not turn HDR off after HDR playback but Audio switching problem is not present. This was the last good driver for audio switching.
387.92-desktop-win10-64bit-international-rs3-whql.exe = Does not turn HDR on prior to HDR playback.
385.69-desktop-win10-64bit-international-whql.exe = Working properly for HDR and Audio switching but any mouse movement turns 3D into 2D briefly. This is the driver I have reverted to. This also means I will need to use FSE.
385.28-desktop-win10-64bit-international-whql.exe = Working properly for HDR and Audio switching.
These drivers survive a reboot when using 12bit but again, you should be using 8bit unless your display handles 12bit native properly.

Understanding Nvidia has worked out many bugs, it now has these:

No 10bit selection when using RGB.
No auto switch from stereo to multiple speaker setup in Windows Audio considering if AVR state is On or Off.
Audio Video sync for common refresh rates such as 23.976 f/ps leads to dropped frames without creating custom timings.
__________________
HOW TO-Kodi 2D-3D-UHD (4k) HDR Guide Internal & External Players
W11 Pro 24H2 GTX960-4GB RGB 4:4:4 @Matched Refresh Rates 8,10,12bit
KODI 22 MPC-HC/BE 82" Q90R Denon S720W

Last edited by brazen1; 16th April 2018 at 01:33.
brazen1 is offline   Reply With Quote
Old 15th April 2018, 16:37   #50243  |  Link
Sunset1982
Registered User
 
Join Date: Sep 2014
Posts: 280
I maybe found a bug today. After I exchanged my GPU I tried to lower the luma settings from NGUSharp Very High to Mid and nothing happened. I can change it to NGUStandard mid or high, but within NGUSharp I can't change anything.

Is this a known bug madshi?
__________________
Intel i5 6600, 16 GB DDR4, AMD Vega RX56 8 GB, Windows 10 x64, Kodi DS Player 17.6, MadVR (x64), LAV Filters (x64), XySubfilter .746 (x64)
LG 4K OLED (65C8D), Denon X-4200 AVR, Dali Zensor 5.1 Set
Sunset1982 is offline   Reply With Quote
Old 15th April 2018, 16:49   #50244  |  Link
Warner306
Registered User
 
Join Date: Dec 2014
Posts: 1,127
Quote:
Originally Posted by Sunset1982 View Post
I maybe found a bug today. After I exchanged my GPU I tried to lower the luma settings from NGUSharp Very High to Mid and nothing happened. I can change it to NGUStandard mid or high, but within NGUSharp I can't change anything.

Is this a known bug madshi?
This happened to me once. I had to reset madVR settings.
Warner306 is offline   Reply With Quote
Old 15th April 2018, 22:32   #50245  |  Link
Manni
Registered User
 
Join Date: Jul 2014
Posts: 942
Quote:
Originally Posted by brazen1 View Post
You write you are launching batch files with a command file using profiles. I have no idea what this means but interests me since I assume these .bats are launching from madVR potentially providing another avenue to engage NCP stereoscopic than the KODI playercorefactory.xml keeping everything automated.

Please, please, be kind enough to elaborate how you do this in detail as if explaining to a 4 year old so I have a perfect understanding.
Profiles are explained in the third post of this thread in detail, so please read this first and ask any questions not answered there. I don't have the time or the inclination to explain this as if to a 4 year old, maybe someone else will

Once you have created a profile that tests for 3D, in the 3D profile (for example in processing) you simply specify the name of your batch file to enable 3D in the field "command line to execute when this profile is activated".

Provided your profiles are well defined, the batch file will be launched every time 3D content is played.

Here is my condition for my profiles in processing:

if (3D) "3D"
else if (srcWidth <= 720) and (srcHeight <= 576)"SD"
else if (srcWidth <= 1280) and (srcHeight <= 720)"HD"
else if (srcWidth <= 1920) and (srcHeight <= 1080)"FHD"
else if (srcWidth <= 3840) and (srcHeight <= 2160)"UHD"
else "4K"

When the 3D profile is activated, it launches my batch file enabling 3D.

Here is the content of my file:

Code:
REM Necessary header for importing .reg file.
> "%temp%\Update3DSettings.reg" ECHO Windows Registry Editor Version 5.00
>> "%temp%\Update3DSettings.reg" ECHO.

REM Decide which CPU architecture- to set the proper registry keys for x86 and x64.
REM Using GOTO instead of IF THEN ELSE because of better compatibility.
REM Assume x86 as the architecture.
SET "KEY=[HKEY_LOCAL_MACHINE\SOFTWARE\NVIDIA Corporation\Global\Stereo3D]"
REM Reset the key if that's not right.
IF "%PROCESSOR_ARCHITECTURE%"=="x86"  GOTO EchoKey
SET "KEY=[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\NVIDIA Corporation\Global\Stereo3D]"
:EchoKey
>> "%temp%\Update3DSettings.reg" ECHO %KEY%

REM Now the series of registry dwords for that \Stereo3D key.
REM Let's auto-enable 3D, without going through the test.
REM Bypass the Medical Test
>> "%temp%\Update3DSettings.reg" ECHO "StereoVisionConfirmed"=dword:00000001
REM Reset from Discover
>> "%temp%\Update3DSettings.reg" ECHO "StereoViewerType"=dword:00000001

REM Now let's import registry file
REM /s is used to avoid an "Are you sure" prompt
regedit.exe /s "%temp%\Update3DSettings.reg"

REM -- No registry key for Enable stereoscopic 3D checkbox, so we'll directly
REM  call the activation tool.  Change path if this is not correct.
REM  We call for both 32 bit and 64 bit. If one fails it's not a problem.
CALL "C:\Program Files\NVIDIA Corporation\3D Vision\nvstlink.exe" /enable
CALL "C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /enable
Quote:
Originally Posted by brazen1 View Post
All of these drivers also cannot retain a 12bit setting after a reboot but you should be using 8bit anyway since 12bit introduces banding.
This isn't true. 12bits only introduces banding in HDR passthrough using Windows 10 in windowed mode, at least here. There is no banding in 12bits if you use FSE with passthrough, or if you use pixel shader (full screen windowed mode or FSE) instead of passthrough.

This is with a display able to handle 12bits of course. If your display doesn't support 12bits, then you can have banding in 12bits and will have to use 8bits in that case.

I can confirm that the JVC projectors from 2015 (so starting with RS400/500/600/5000/7000/9000) support 12bits natively from inputs to panels and that there is no banding in 12bits provided you use FSE if HDR passthrough, or pixel shader in either FSE or full screen windowed.
__________________
Win11 Pro x64 b23H2
Ryzen 5950X@4.5Ghz 32Gb@3600 Zotac 3090 24Gb 551.33
madVR/LAV/jRiver/MyMovies/CMC
Denon X8500HA>HD Fury VRRoom>TCL 55C805K

Last edited by Manni; 15th April 2018 at 22:38.
Manni is offline   Reply With Quote
Old 16th April 2018, 01:30   #50246  |  Link
brazen1
Registered User
 
Join Date: Oct 2017
Posts: 331
Thank you for sharing. This is very useful info encouraging me to make some changes and experiment.

Yes, I understand native 12bit displays do not need to use RGB 8bit (since RGB 10bit is not offered) to avoid banding. When madshi wrote to use 8bit, I was only focusing on 10bit native displays that do not handle 12bit proper enough to dither down to 10bit. My bad. I'll edit appropriately.
__________________
HOW TO-Kodi 2D-3D-UHD (4k) HDR Guide Internal & External Players
W11 Pro 24H2 GTX960-4GB RGB 4:4:4 @Matched Refresh Rates 8,10,12bit
KODI 22 MPC-HC/BE 82" Q90R Denon S720W
brazen1 is offline   Reply With Quote
Old 16th April 2018, 04:12   #50247  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,903
because your Tv doesn't handle 12 bit correctly doesn't many other have the same problem.

i'm even at a point that i never saw a SDR Tv with 12 input problem yet.

not dithering 12 bit down to 10 bit shouldn't show a terrible banding especial if the real image is dithered 10 bit. truncated could even be perfect for such a situation.

and the real known issue is with HDR and 10 bit windowed mode only. which is a clear driver problem not a display problem.
huhn is offline   Reply With Quote
Old 16th April 2018, 12:29   #50248  |  Link
Sunset1982
Registered User
 
Join Date: Sep 2014
Posts: 280
Quote:
Originally Posted by Warner306 View Post
This happened to me once. I had to reset madVR settings.
Thx, I will try to reset the settings.
__________________
Intel i5 6600, 16 GB DDR4, AMD Vega RX56 8 GB, Windows 10 x64, Kodi DS Player 17.6, MadVR (x64), LAV Filters (x64), XySubfilter .746 (x64)
LG 4K OLED (65C8D), Denon X-4200 AVR, Dali Zensor 5.1 Set
Sunset1982 is offline   Reply With Quote
Old 16th April 2018, 17:39   #50249  |  Link
theDongerr
Registered User
 
Join Date: Nov 2016
Posts: 16
Quote:
Originally Posted by Warner306 View Post
There is a difference between the frame rate of the video and the refresh rate of the display. madVR does not convert a 24 fps source to 60 fps; it feeds it to the display with 3/2 pulldown, so it is still rendering a 24 fps image.

The 60 fps video is native 60 fps. That is your problem. A new frame is drawn every 16.68ms, so your render times have to be very fast. If you took a native 24 fps source (like most real UHD material), a new frame is drawn every 41.71ms, so your total render times could be as high as 35-37ms, which is much higher than 16.68ms. This gives you more headroom for more demanding settings.

If you are using Error Diffusion dithering with 4K content, switch to Ordered. This can eat up a lot of performance for little gain; especially, if you are outputting at 10-bits from madVR.
Ok, makes sense and thank you for responding.

Question: Since I am running my GPU at 2160p60, Full RGB 4:4:4 8-bit. Should I be telling MadVR that my display's native bitdepth is 8-bit or 10bits (or higher)?

Is it possible that my render time is higher than it could be because I have 10 bit (or higher) selected in MadVR despite MadVR dithering 12-bit down to 8-bit?
theDongerr is offline   Reply With Quote
Old 16th April 2018, 18:02   #50250  |  Link
Asmodian
Registered User
 
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,406
Quote:
Originally Posted by theDongerr View Post
Question: Since I am running my GPU at 2160p60, Full RGB 4:4:4 8-bit. Should I be telling MadVR that my display's native bitdepth is 8-bit or 10bits (or higher)?
8-bit. If you send your GPU >8-bit it simply dithers it to 8-bit so you get two dithering steps, madVR dithers to 10-bit then the GPU dithers that to 8-bit. madVR's dithering is higher quality and two dithering steps adds more noise than needed if you can do the bit depth conversion in one step.

Quote:
Originally Posted by theDongerr View Post
Is it possible that my render time is higher than it could be because I have 10 bit (or higher) selected in MadVR despite MadVR dithering 12-bit down to 8-bit?
No, dithering to 10 bit is not any harder than dithering to 8-bit. madVR cannot dither to >10 bit, it is always dithering from its internal 16 bit data to 10 or few bits. madVR always does its dithering in one step at the end of the rendering pipeline, if it outputs 8 bit it always dithers directly to 8 bit.
__________________
madVR options explained
Asmodian is offline   Reply With Quote
Old 17th April 2018, 00:13   #50251  |  Link
maxkolonko123
Registered User
 
Join Date: Nov 2017
Posts: 66
I've noticed something really odd tonight, when playing movie i don't see any drop frames in madvr OSD, but when then credits shows up dropped frames are increasing really quick and max stats rendering goes really high too(like from 10ms to 45ms)... even the madvr shows 1 frame drop every 1h07min. I will try to record it tomorrow so you can see yourself how madvr behave. Movie is called "Better Watch Out" and the credits are with strong red and yellow colours ( dont know if this even matter though )
maxkolonko123 is offline   Reply With Quote
Old 17th April 2018, 01:04   #50252  |  Link
Warner306
Registered User
 
Join Date: Dec 2014
Posts: 1,127
This is most likely a fault with the file or the way the media player handles the file. Try another file. If it persists, try another media player.
Warner306 is offline   Reply With Quote
Old 17th April 2018, 03:02   #50253  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,903
is a 3d LUT in use?
huhn is offline   Reply With Quote
Old 17th April 2018, 07:53   #50254  |  Link
x7007
Registered User
 
Join Date: Apr 2013
Posts: 315
Anything we know is going to be released at 0.92.13 ?
x7007 is offline   Reply With Quote
Old 17th April 2018, 08:06   #50255  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,646
Some big improvements for HDR to SDR, besides that as usual nothing is known.
ryrynz is offline   Reply With Quote
Old 17th April 2018, 10:16   #50256  |  Link
cork_OS
Registered User
 
cork_OS's Avatar
 
Join Date: Mar 2016
Posts: 160
Quote:
Originally Posted by x7007 View Post
Anything we know is going to be released at 0.92.13 ?
Searching for madshi posts in this thread is most accurate way to know it.
Quote:
Originally Posted by madshi View Post
Next madVR build will come maybe in a week or two or so, I'm not sure right now. It will feature improved HDR tone mapping quality and an additional "low" RCA quality level (which will fuse with NGU medium quality).

FYI, although I didn't have much time for madVR recently, I did start working on a totally new algorithm (not scaling related) last year, and I've been working on it ever since. I even hired external help for some things I didn't know how to do myself (I'm not a math genius, unfortunately). I'm not completely sure yet if I can manage to make it work. It might end up being much too slow, or too low quality, but I'm hopeful. If it works out as well as I hope, it could be a relatively big thing. But it's going to take several more weeks at least. Sorry, no more information at this point.
HDR tone mapping development discussion are going on avsforum, you could also search for madshi posts there.
__________________
I'm infected with poor sources.

Last edited by cork_OS; 17th April 2018 at 10:20.
cork_OS is offline   Reply With Quote
Old 18th April 2018, 11:12   #50257  |  Link
hasec
Registered User
 
Join Date: Mar 2018
Posts: 2
A problem with Madvr and MPC-HC timings

Hi


First of all this is my first post


i have a problem with madvr.
At first i was able to optimize timings and so on.
i had the perfect timings for 23.976 (71.928 in case of my monitor).

Now what ever i do (optimizing, CRU...) madvr shows frame drop/repeat in every 30s to few minutes.
Anyone having the same problem?

i use MPC-HC.
i have set the following display modes:
1080p23, 1080p24, 1080p29, 1080p30, 1080p48, 1080p50, 1080p59, 1080p60

i have tried many madvr versions but no dice.

Here are my specs:

Hardware:
i7 6700k 4.5gHz
Asus Strix GTX 1080 OC (stock clocks)
16 GB DDR4
500 GB SATA II System drive (system partition has about 80 GB)
Acer s231hl monitor Max OC being 74-75Hz (sometimes 75 works and sometimes it doesn't)

Software:
Windows 7 x64
ReClock 1.9.0.0
Madvr 0.92.12
MPC-HC 1.7.13 x86
CRU 1.3.1


i am switching my monitor into C27FG73.
i have already tried using the latter monitor twice but had to RMA twice because of clouding.
C27FG73s had the same problem with madvr.


Like i said at first everything worked well.
And sorry about being lazy and not reading through the whole thead.

Last edited by hasec; 18th April 2018 at 11:19.
hasec is offline   Reply With Quote
Old 18th April 2018, 11:31   #50258  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,903
if you are going to use 71 HZ and you add display modes like this: 1080p23, 1080p24, 1080p29, 1080p30, 1080p48, 1080p50, 1080p59, 1080p60

how should madVR switch to the 71 hz if it is not there.
huhn is offline   Reply With Quote
Old 18th April 2018, 11:43   #50259  |  Link
hasec
Registered User
 
Join Date: Mar 2018
Posts: 2
Thanks for the quick reply.

If i press ctrl+j it says
display 71.9....
composition rate: 71.928
even though i haven't set 1080p71 on display modes.
hasec is offline   Reply With Quote
Old 18th April 2018, 15:56   #50260  |  Link
Warner306
Registered User
 
Join Date: Dec 2014
Posts: 1,127
Are you using media speed correction in ReClock? There is no need to use ReClock with custom timings.

Are you getting any dropped/repeated frames, or is madVR just estimating these? The custom timing screws with madVR's estimation.

It could be the custom timing is no longer active. Maybe you updated the drivers? In any case, have you tried going through the optimization process again?
Warner306 is offline   Reply With Quote
Reply

Tags
direct compute, dithering, error diffusion, madvr, ngu, nnedi3, quality, renderer, scaling, uhd upscaling, upsampling

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 19:38.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.