Log in

View Full Version : madVR Options Explained


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 [16] 17

QBhd
24th August 2022, 15:00
I'll say it again.... why include srcWidth... totally not needed.

QB

Grimsdyke
6th October 2022, 22:45
Hi Asmodian, do you maybe know if MadVR is aware of "DiscID" and could use it for profiles ?

Asmodian
7th October 2022, 03:01
No, madVR does not get the DiscID from the player so it has no way to use it in profiles.

You might be able to use filePath or fileName instead.

StrifeLeonhart
15th November 2022, 06:57
Hi Asmodian,

I'm using your Max Quality settings.bin for madVR in MPC-HC, so for that I thank you very much.

I would like to know if its possible to use your Max Quality settings.bin but only use CPU and no GPU at all or lowest possible, my PC is 14core and I tend to think its more than enough for a video player even on Max Quality.

Would you be able to make something like that work?

huhn
15th November 2022, 10:11
no that's impossible and even if the code would exist to run GPU code on a CPU a thread ripper would struggle to produce 1 frame a sec.

StrifeLeonhart
15th November 2022, 21:38
no that's impossible and even if the code would exist to run GPU code on a CPU a thread ripper would struggle to produce 1 frame a sec.

Sorry, I think didn't ask the question right.

What I'm trying to say is make the Load more on CPU instead of GPU.

Maybe that makes more sense I hope?

Asmodian
15th November 2022, 22:33
madVR's features either run only on the GPU (mostly) or only on the CPU (IVTC, black bar detection). There is nothing you can move from CPU to GPU or GPU to CPU.

StrifeLeonhart
16th November 2022, 17:28
madVR's features either run only on the GPU (mostly) or only on the CPU (IVTC, black bar detection). There is nothing you can move from CPU to GPU or GPU to CPU.

I understand, thank you very much

JNW
25th November 2022, 01:06
Not exactly what you wanted but best you could do would be to use software decoding. That will use your CPU instead of GPU.

Asmodian
25th November 2022, 19:11
But that really just adds work for your CPU without reducing the workload on the GPU. The GPU even has to do a little more work due to copying the decoded data from the CPU's memory to the GPU.

StrifeLeonhart
26th November 2022, 20:10
Not exactly what you wanted but best you could do would be to use software decoding. That will use your CPU instead of GPU.

My friend that is exactly what I was trying to explain to Asmodian, that is exactly what I wanted to do, thank you so much for saying what I wanted to say but didn't know how.

I don't mind about adding more work for the CPU, I'm just trying to make the CPU take the work load instead of the GPU.

Now I would like to ask Asmodian, which options would I need to go through the "MaxQuality" settings to use Software decoding.

huhn
27th November 2022, 05:23
you should stop ignoring him and understand that this will cost you GPU power...

Asmodian
27th November 2022, 23:18
I don't mind about adding more work for the CPU, I'm just trying to make the CPU take the work load instead of the GPU.

Using software decoding does not make the CPU take the workload instead of the GPU. It makes the CPU do a lot more work, while also making the GPU do more work.

I know it is counterintuitive, it seems like the CPU doing a lot more work would mean the GPU has less to do, but the way hardware decoding works on modern GPUs means that madVR has the most GPU power available when using native hardware decoding. The GPU has extra fixed function hardware that does the decoding directly into GPU memory which takes less GPU power than copying the data from system memory.

There are reasons to use software decoding but moving workload from the GPU to the CPU is not one of them.

Now I would like to ask Asmodian, which options would I need to go through the "MaxQuality" settings to use Software decoding.

You do not change anything in madVR, hardware v.s. software decoding is an option in LAV Video.

alexnt
9th December 2022, 15:32
Is it correct to use
1080p23, 1080p24, 1080p60, 1080p120, 2560x1440p23, 2560x1440p24, 2560x1440p60, 2560x1440p120
under "list all display modes madvr may switch to" ?

My monitor is 1440p@144 but I use it @120Hz
The content I watch on this monitor is mostly 23.976 & 24 fps.

huhn
9th December 2022, 22:18
you sadly have to check the refreshrates manual 144 and 240 are usually 143 and 239 so a muliply of 23 refreshrate.

looking at all the modes provided maybe enough.
2560x1440p120 and 2560x1440p144

you can skip 144.

why would you ever want to switch to 1080?

alexnt
9th December 2022, 22:43
you sadly have to check the refreshrates manual 144 and 240 are usually 143 and 239 so a muliply of 23 refreshrate.

looking at all the modes provided maybe enough.
2560x1440p120 and 2560x1440p144

you can skip 144.

why would you ever want to switch to 1080?

Thanks for the reply!
Because movies are 1080 but as I understand from what you said this not a correct assumption.

I'll stick with 2560x1440p120

JNW
24th December 2022, 08:01
Using software decoding does not make the CPU take the workload instead of the GPU. It makes the CPU do a lot more work, while also making the GPU do more work. Verified with task manager.

I know it is counterintuitive, it seems like the CPU doing a lot more work would mean the GPU has less to do, but the way hardware decoding works on modern GPUs means that madVR has the most GPU power available when using native hardware decoding. The GPU has extra fixed function hardware that does the decoding directly into GPU memory which takes less GPU power than copying the data from system memory.

There are reasons to use software decoding but moving workload from the GPU to the CPU is not one of them.



You do not change anything in madVR, hardware v.s. software decoding is an option in LAV Video.

I'd never argue with you but not how it works on an Intel 11th Gen XE. Get better performance dropping to software. Depends on GPU most likely. Verified task manager. Same madVR, mpv.


EDIT: Merry Christmas Doom9 :)

Klaus1189
24th December 2022, 08:19
So what GPU do you use?

Asmodian
24th December 2022, 22:27
Get better performance dropping to software.

I am curious how you measured "better performance" along with which GPU you are using. Are you comparing to DXVA2 or D3D11, copyback or native?

Do you get lower GPU power draw when running software decoding?

The point I was arguing against with was the idea that you can free up GPU resources by using software decoding. Unless your GPU is pretty old, e.g. using a hybrid decoder, software decoding does not free up GPU resources. It actually uses more GPU resources due to the increased data transfer over the PCIe bus. This is usually a very minor effect with higher end GPUs; however, it is counter intuitive if you expect the CPU to have taken a lot of work from the GPU.

Sometimes you do get better performance overall with software decoding. This is because the GPU switches to a higher power (higher clock speed) mode due to the increased workload, which actually runs madVR better. The drivers don't seem to be that good at picking power levels for madVR's workload. I suggest using a mode other than "Optimal power" for Nvidia GPUs, unless power usage is very important to you.

zamadatix
4th September 2023, 02:49
Thanks for this thread, it helped me get IVTC working because I did not realize it would be broken with DXVA or D3D11 decoding (which is default in a lot of cases).

For those on MPC-BE you can configure this under View -> Options -> Internal Filters -> Video Decoders -> Video decoder configuration. In that window you'll find a "Hardware Acceleration" area. In my case, simply switching it to NVDEC works since I have an Nvidia GPU.

TheGameMaster
22nd October 2023, 04:14
Maybe someone here can help. My MadVr is stuck on super-xbr for doubling. I want to continue to use NGU-Anti Alias. But no mater what I set MadVr to, it still runs super-xbr. I am using the 169 beta release on an HDR system. I did a complete re-install with no change. Any ideas?

huhn
22nd October 2023, 12:06
you are mixing up chroma with luma?

TheGameMaster
22nd October 2023, 23:45
I set it to NGU Anti-Alias and it's wont' switch to it. Chroma upscaling is set to NGU Anti-Alias Low. I have had it set to Very High luma doubling, and medium luma quadrupling, and high chroma for years. But after this update, it switched, on it's own, to super-xbr when you do a ctrl-J to view it. Unless you do not double, regardless of setting in MadVR settings, it only uses super -xbr for doubling. Very annoying. I want it to work like it did. I did a complete re-install and went back to an older version of MadVR and no change, and that included deleting the setting.bin and the madvr reg settings in windows 11. It's really strange.

Asmodian
24th October 2023, 18:30
Can you post a screenshot of your settings pages?

TheGameMaster
4th November 2023, 06:13
Here are the two screen shots. The control-j and the upscale page. As you can see, it is set to NGU-Antialias in settings. But in control-J it shows super-xbr. I have uninstalled, cleared the registery, and reinstalled. Same issue. I even tried going back to an earlier version of MPC-BE and MadVR to see if that would fix it. But no luck.

TheGameMaster
9th November 2023, 02:53
The OS I was on was Windows 11 Pro 22H2 Beta channel. I upgraded to 23H2 Canary channel (in order to force the upgrade I had to switch channels). Post-upgrade, MadVR is now behaving normally again. It is no longer stuck on super-xbr. That said, forcing me to use super-xbr did open my eyes to how useful that code set can be. It does run a lot cooler with less dropped frames than NGU-Anti-Alias with my set up. I'm running two GPUs - Radeon RX 5700XT and a still supported Nivida GTX 750ti - on a Aurus 570 Master board and Ryzen 3900 12 core CPU with 64 gigs of RAM. I use the 750ti as my audio card and hardware video decoder (CUVID - in LAV Video with hardware deinterlaceing). It frees up the 5700XT to do the rendering and presentation. Anyway, it works now.

huhn
9th November 2023, 14:14
hardware decoding is actually "free".
the real cost is the upload of the decode data which is gigantic with a copyback decoder like cuvid a native decoder could be cheaper.

what so ever a 5700 xt doesn't really care i speak out of experience with it.

Charky
9th November 2023, 14:19
I'm running two GPUs - Radeon RX 5700XT and a still supported Nivida GTX 750ti - on a Aurus 570 Master board and Ryzen 3900 12 core CPU with 64 gigs of RAM. I use the 750ti as my audio card and hardware video decoder (CUVID - in LAV Video with hardware deinterlaceing). It frees up the 5700XT to do the rendering and presentation. Anyway, it works now.
Seems like an unnecessarily complicated setup.

EDIT : well, huhn beat me to it :D

mark0077
30th January 2024, 22:07
Just regarding this option

"calibration [disable calibration controls for this display]"

the guide mentions that if its set to disable calibration, that madVR defaults to assuming the TV is using REC 709. Is this still true though if the content is HDR and madVR is outputting in one of its HDR modes (like passthrough or pixel shader mode)j, or does madVR instead assume BT. 2020 in such cases?

huhn
30th January 2024, 22:16
in HDR output it will assume bt 2020 and PQ this also counts when output in HDR format is check in pixel shader else with pixel shader it will assume bt 709 and gamma 2.2.

mark0077
30th January 2024, 22:42
Ah right ok great, thanks. I wonder is it something that's worth updating in the main page of this thread, to explain the behavior? I saw some forum members on avsforum creating profiles for this, eg if (HDR) BT2020 else REC709, but I guess thats not needed in many cases.

huhn
31st January 2024, 02:18
the profile is usually to use the nvidia only feature to report bt 2020.

but if that option is used it will also assume bt 2020.
this is only an issue for PJ.

Asmodian
29th February 2024, 19:27
I wonder is it something that's worth updating in the main page of this thread, to explain the behavior?

I updated the first post. Thank you!

webbo
20th March 2024, 09:54
Definitely need some advice here, please

Regarding setting up madVR correctly in the following environment :
-ISF calibrated LG G3 OLED (calibrated both for SDR / HDR)

Should madVR run like this =>
tone map HDR using pixel shaders + output in HDR - so TV switches to its HDR mode?

Or just use tone map HDR - so the TV remains in SDR mode, yet madVR does all the tonemapping

Posting two screenshots

https://images2.imgbox.com/b0/28/s72wEbwv_o.jpg (https://imgbox.com/s72wEbwv) https://images2.imgbox.com/88/ec/sOhELYfP_o.jpg (https://imgbox.com/sOhELYfP)


Sorry if this is confusing, hope someone gets my point
Many thanks

JaylumX
21st March 2024, 14:29
Definitely need some advice here, please

Regarding setting up madVR correctly in the following environment :
-ISF calibrated LG G3 OLED (calibrated both for SDR / HDR)

Should madVR run like this =>
tone map HDR using pixel shaders + output in HDR - so TV switches to its HDR mode?

Or just use tone map HDR - so the TV remains in SDR mode, yet madVR does all the tonemapping

Posting two screenshots

Sorry if this is confusing, hope someone gets my point
Many thanks

You may want the latter if you like HDR.

Asmodian
21st March 2024, 19:11
HDR really needs that peak brightness. I would put the TV into HDR mode for HDR content.

jmonier
22nd March 2024, 12:45
HDR really needs that peak brightness. I would put the TV into HDR mode for HDR content.

It's my understanding that earlier LG OLED's DID provide extra brightness for HDR. I don't know for sure about other brands, but I've always thought that they didn't. I seem to recall that madshi stated that this was the reason for that checkbox, although he seemed to be relying on reports from others.

I DO know that current LG OLED's (like my C3) no longer do this. I also know that that it has no effect on my JVC HDR projector (RS3000), although it doesn't seem to hurt. I leave it off.

I would be interested in any comments from others who have direct experience.

huhn
22nd March 2024, 13:41
on a PJ outputting HDR as HDR is a waste of time.
just tone map it directly to SDR.

with a TV everything changes.
yes some TV can do high brightness in SDR or are even brighter in SDR then HDR in rare cases.
but that means you watch SDR at like 1500 nits that's gonna hurt.

according to rtings so not that trustworthy anymore... your C3 is dimmer in SDR then HDR by like 200 nits:
https://www.rtings.com/tv/reviews/lg/c3-oled

BTW. did they fix the PC mode chroma and it is back to 4:4:4 with newer OLED TVs? pretty sure Asmodian talk about this before could be compete BS i'm saying here.

Asmodian
22nd March 2024, 16:18
did they fix the PC mode chroma and it is back to 4:4:4 with newer OLED TVs?

SDR is 4:4:4 in PC mode on my C1. I don't have any LGs newer than that.

HDR tone mapping is noticeably worse in PC mode though, so for HDR I am not sure there is a good solution to preserve 4:4:4 (at least on my C1 I decided 4:2:2 was the less-bad tradeoff for HDR content).

huhn
22nd March 2024, 17:36
so there is nothing like reconstruction going on in PC mode and 4:4:4.

my CX didn't care about the PC mode HDR issues when it was new.
i never use HDR anyway.

acgm
16th May 2025, 15:27
Hello, I'd like to use the latest madVR test build. Could you provide the download link? Thank you!

huhn
17th May 2025, 00:28
https://www.videohelp.com/software/madVR

Bily
3rd June 2025, 20:29
Hello

Is there a configuration file that leaves all MadVR parameters for MPC-HC at maximum?

In which you just have to put the file in a specific folder?

I use an RTX 2060 and a 4K TV.
I have here: madVR v0.92.17

Thanks

huhn
4th June 2025, 01:42
your GPU can't do that.

Bily
4th June 2025, 01:52
your GPU can't do that.

But is there a basic configuration? That works for all types of VGA?

And how do I use this file?


Another question:

Is there a way to reset the settings?
Return the installation settings?


Thanks

huhn
4th June 2025, 03:20
But is there a basic configuration? That works for all types of VGA?
no
And how do I use this file?

you overwrie the settings.bin in the madVR installation folder
there are 2 here:
https://forum.doom9.org/showthread.php?t=171787

Is there a way to reset the settings?
Return the installation settings?
the "restore default settings.bat"
will do that

Bily
4th June 2025, 03:36
no

you overwrie the settings.bin in the madVR installation folder
there are 2 here:
https://forum.doom9.org/showthread.php?t=171787

the "restore default settings.bat"
will do that

you said:
you overwrie the settings.bin in the madVR installation folder
there are 2 here:

do both of them work for my video card?

or will the more powerful configuration crash my mpc-hc?
Is there a way to use the maximum configuration file by changing just a few parameters to make it compatible with the VGA RTX 2060?

thanks a lot

huhn
4th June 2025, 12:22
i don't have your GPU i can not say but it was created with a 2080 ti in mind so pretty sure that's a no.

is it possible to change a couple parameter and make it work yes.

Bily
5th June 2025, 00:22
Hi

I made a very good configuration.

But a problem arose:

The image in most of the movies is "dirty", I think it is grainy.

Is there any way to fix this? To have a very clean image?

Thank you very much

huhn
5th June 2025, 00:34
denoise can be done by using reduce random noise.
it will destroy the image and is very expensive to do.


a grainy image with no applied sharpening filter should be just fine.