View Full Version : madVR - high quality video renderer (GPU assisted)
Manni
1st March 2018, 21:25
Thank you.
Yes, I'm mainly interested in Pass Through mode. So if file has some meaningful metadata then it's passed. If metadata is missing or "bad" then it's replaced with some default one (do we know what it's?).
In the same time there is no way to specify "custom" metadata which would overwrite original one in the file.
Yes, there are tools for this, like HDFury box or AJA converter:
Do you know if HDR TVs really use this metadata?
All sample files made for TV manufactures seems to have them.
In the same time when you play file inside TV (through its own player) mastering info seems to be fully ignored, at least on Samsung KS8000. I don't know if this is different in case of signal coming over HDMI.
Do you also know if Pass Through mode is 100% "lossless" except format conversion (e.g. YUV420 10bit to YUV422 10bit). I'm interested in mode which will guarantee me that signal is really passed without any unnecessary "touches". I would also rather prefer to stay in YUV and let TV convert this internally.
Passthrough is fine, you get everything as far as I can see, including the bad/invalid/missing metadata. It's up to you to deal with it if your display doesn't. I use a Vertex and custom gamma curves with an algorithm I've designed and asked HDFury to implement for JVC projectors using RS-232 control, until MadVR's HDR to SDR conversion works better with projectors. It alrewady works fine with many displays.
The way displays handle HDR metadata is fairly OT so I'd rather not engage in this discussion here.
kolak
1st March 2018, 21:32
Useful info.
Have you done some more advanced measurements and can confirm that madVR preview is 100% accurate for HDR?
(for me this would be capturing HDMI signal as v210 or at least ProRes etc. and then comparing it to original file which was used for playback).
Manni
1st March 2018, 22:01
Useful info.
Have you done some more advanced measurements and can confirm that madVR preview is 100% accurate for HDR?
(for me this would be capturing HDMI signal as v210 or at least ProRes etc. and then comparing it to original file which was used for playback).
100% accurate for HDR doesn't mean anything, there is no standard for HDR reproduction on the consumer side. Each manufacturer does some kind of tonemapping and each display does it differently. Outside of Dolby Vision, which has its own issues, it's still the wild west and we still can't calibrate to a standard, so "bit perfect" is kind of irrelevant in my opinion.
What I can tell you is that MadVR in passthrough mode gives me as good as my UB900. That's good enough for me.
If you want to perform further tests, why don't you do so and report back for those who might be interested? I'm not but others might be.
kolak
1st March 2018, 22:06
By accurate I mean if data which I play is passed over HDMI to TV untouched for Pass Through mode (goes through proper and accurate YUY<=>RGB conversion, etc). How it looks and is processed on specific TV is a different matter.
I want to make sure that correct signal hits TV, like I have in case of pro SDI/HDMI card.
I assume this is the case, which is great.
I hope we will get custom HDR metadata injection soon, which can be sometimes useful.
Ver Greeneyes
1st March 2018, 22:12
I assume RGB<->YUV conversions are accurate.
If the format is some variant of YUV444 the quality loss won't be very big, but there might still be rounding errors from the roundtrip conversion.
kolak
1st March 2018, 22:36
Those small possible rounding errors are "fine".
VAMET
2nd March 2018, 10:31
Dear Friends
I would like to ask, if I can use madVR without dedicated GPU such as GTX 1070 etc., only with CPU with integrated GPU like Intel 630? What is the best choice of CPU to use with madVR to UHD (HEVC), to have rendering lower then 41,71ms for 3840x2160 @ 23.976 (no dropped, repeated, delayed frames)?
Thank you in advance.
Sincerely
Asmodian
2nd March 2018, 11:15
Perhaps the i5-8400 or better (the 192 core UHD 630)? Get 3200 MHz memory too. 4K HDR->SDR with madVR is hard with the memory bandwidth available on iGPUs.
The Ryzen 5 2400G might also be a good option but I haven't heard many reports about it yet. It is also important to give it 3200 MHz ram. NGU likely being slow on Vega isn't a problem because you aren't running NGU on a iGPU anyway.
Manni
2nd March 2018, 11:51
ASIO4ALL is not the only "virtual" ASIO driver available. There is also FlexASIO (https://github.com/dechamps/FlexASIO), ASIO2WASAPI (https://sourceforge.net/projects/asio2wasapi/) and ASIO2KS (http://www.asio2ks.de/). You might have better luck with those. Especially the first one, since, well, I wrote it :D
Couldn't try yours (Flexasio) as I couldn't find a compiled version with installer, but I tried Asio2wasapi and it also doesn't work with the latest nVidia drivers.
So at least here, Asio4all and Asio2wasapi don't work with 39x.xx on Windows 10 Pro x64 1709 16299.248, and it's not only with REW, jRiver doesn't see the nVidia HDMI out either.
So this points to either nVidia or MS. As I don't know which build of Windows 10 Necairiel is using, I have no idea which of these two is at fault, but it's neither the Asio driver nor the application itself.
Anyone with relevant info on this please PM me so as not to clutter the thread.
e-t172
2nd March 2018, 12:36
Couldn't try yours (Flexasio) as I couldn't find a compiled version with installer
It's on the releases page (https://github.com/dechamps/FlexASIO/releases). Make sure that the sample rate for your playback device and recording device are the same (as configured in your Windows sound settings).
Manni
2nd March 2018, 14:37
It's on the releases page (https://github.com/dechamps/FlexASIO/releases). Make sure that the sample rate for your playback device and recording device are the same (as configured in your Windows sound settings).
Thanks, happy to report that FlexAsio is working fine with 391.01 :)
Yes I'm always set to 48Khz for both playback and recording.
FlexAsio has the advantage of labeling the channels, while Asio4all only provides numbers.
The only (minor) downside is the absence of control panel. Do you plan to implement this at some point?
Otherwise I haven't done any in depth testing but there doesn't seem to be any performance downside.
Well done and thanks for your help :)
e-t172
2nd March 2018, 18:10
The only (minor) downside is the absence of control panel. Do you plan to implement this at some point?
Nah. I just don't have the time nor the motivation I'm afraid. I only wrote FlexASIO for a specific use case I have with REW.
Otherwise I haven't done any in depth testing but there doesn't seem to be any performance downside.
Just keep in mind that FlexASIO is using your audio device in "shared" mode, not exclusive mode (contrary to what all the other virtual ASIO drivers do). That means you're going through the whole windows audio pipeline (mixing etc.), not going directly to the sound card. Depending on what you're trying to achieve, this might matter, or it might not. (It probably doesn't.)
Asmodian
2nd March 2018, 23:24
I am using 391.01 with good success. Did you change "Power management mode" to something other than "Optimal power"?
Asmodian
2nd March 2018, 23:48
Sorry, I should have looked at your screenshot. :o
Your decoding is too slow, is LAV Video set to use hardware acceleration? 4K HEVC is very hard for software decoding.
ryrynz
3rd March 2018, 00:44
Does it happen with all 4K content? Can you confirm your CPU load is high?
brazen1
3rd March 2018, 00:48
Try D3D11 with automatic/native and ordered dithering. Also, different sources can require more resources. Not all 4k titles are alike. Are you testing a known to work in the past title or a new one? Lastly, are you sure your Luma, processing, or enhancements are not set too high? Your queues are empty and your rendering stats are through the roof. In the bios of your new MB, did you turn off the Intel GPU and allow your 1050Ti and select it in NVidia control panel?
ryrynz
3rd March 2018, 01:27
yes, all. cpu low gpu high
And the GPU that's high is the 1050Ti? Confirm it.
ryrynz
3rd March 2018, 01:37
At this point for a quick test, I'd rename settings.bin and then reset madVR to defaults and see what happens, you can always rename your settings back if it does nothing.
Also confirming that not only is it 100% load but it's definitely the 1050Ti, make sure you see the name of it.
ryrynz
3rd March 2018, 01:46
At this point I'd stick with 390.77, seems to be less problematic overall based on the things I've seen on the forums, I'll wait for that to mature a little.
Asmodian
3rd March 2018, 02:21
Maybe PCIe settings or the wrong PCIe slot on the motherboard? Memory settings are all OK, no missing DIMMs? It is odd your GPU is maxed while the decoder queue is mostly empty, things seem to be going wrong somewhere in decoding or upload. It could be GPU drivers but I wouldn't assume it as a certainty.
mytbyte
3rd March 2018, 11:21
Why not try EVR to confirm it's a MadVR issue?
Sent from my GM 5 Plus d using Tapatalk
Knight77
3rd March 2018, 12:39
I remember someone pointed this out in the past but for what I remember (if I missed something I'm sorry) has not been "solved": with HDR active the subtitles are really too bright, is there any way to have different subs brightness when HDR is active? With normal video the colour and the brightness is fine but with HDR the subs are really unbearable.
EDIT: I found the original discussion
Quote:
Originally Posted by pankov
Since madVR is smart enough to turn on the HDR mode on the TV and get specular highlights in 1000+ nits (well ~500 nits on this OLED TV) while maintaining the rest of the picture at lower levels ... or even much lower in dark scenes ... the rendered subtitles (which by default are "white" - RGB 255,255,255) are blindingly bright and they have much greater area than a specular highlight and are almost hurting the eyes. This got me thinking if the way madVR and XySubFilter that I use are actually rendering the subtitles is correct. On one side XySubFilter doesn't know if the subs are rendered over an HDR or SDR video ... I think ... and the preference for font color it uses is always the same ... which makes me believe that it's madVR's job to lower the brightness of the color/white in some way (f.e. 255,255,255 = 100 nits as per SDR spec) but on the other side if there is some color/brightness information in the SRT file (I'm not 100% sure if it's possible but with other external subtitles formats it is AFAIK) how should madVR react?
Originally Posted by madshi
Good question! Will have to add this to my to-do list. I suppose subtitles should probably never be brighter than 100 nits. So maybe I need to post process the subtitles to enforce them to not be too bright...
el Filou
3rd March 2018, 14:32
@Rippner : I bet it's an issue with Copy-Back mode. Is your system RAM running at the same settings as with the previous motherboard? Check also PCI Express bus power saving settings if you can find some.
lansing
3rd March 2018, 20:30
How do I stop madvr from enforcing my playback frame rate to match the displaying refresh rate? I'm playing a 24fps video in mpc and it kept forcing it to 60fps. I tried turning off all the deinterlacing options I can find but that doesn't help.
Redemption80
3rd March 2018, 21:18
Rippner, i',m actually having a similar issue, but with 1080p content on a GTX 970.
6 months of using MadVR and everything has been fine, but the last few weeks every so often it's turning into a slideshow. I left my poor three year old to watch something and came back to see that it had dropped over 11,000 frames.
I was actually blaming Mediaportal as it's old and prone to bugs, but i have also just downloaded every Nvidia driver from 388.43 to 391.03 to try out tonight.
Also, i can't seem to get Optimise to work with JRiver, always states Not Measured Yet, even after an hour.
How do I stop madvr from enforcing my playback frame rate to match the displaying refresh rate? I'm playing a 24fps video in mpc and it kept forcing it to 60fps. I tried turning off all the deinterlacing options I can find but that doesn't help.
Do you mean stop it forcing it to 60hz?
If so, then you need to add 1080p24, 2160p24 etc.. in the display modes, then list all display modes madVR may switch to: option for your screen.
huhn
3rd March 2018, 21:26
How do I stop madvr from enforcing my playback frame rate to match the displaying refresh rate? I'm playing a 24fps video in mpc and it kept forcing it to 60fps. I tried turning off all the deinterlacing options I can find but that doesn't help.
what display mode are you using?
by default madVR leaves the refreshrate as it is.
@Redemption80
if you are playing HEVC content too like him be aware your card can't decode it.
Redemption80
3rd March 2018, 21:44
Thanks for the response huhn, but no it's not HEVC content as i have none. Alot is stuff that has been on there for a while now and and watched quite frequently.
I've been having the issue for a few weeks now, at first i blamed fast ring W10 updates, but rolling back to previous ones made no difference, even going back to Fall Creators Update made no difference.
I was actually thinking it may be related just to my PC as i was seeing no one else with this issue, and when MadVR has not been updated since then i wasn't blaming that. I will see what results my driver testing brings.
Planning on dual booting a stable W10 with one i can test stuff on, as this has been a pita lol.
lansing
3rd March 2018, 22:20
Do you mean stop it forcing it to 60hz?
If so, then you need to add 1080p24, 2160p24 etc.. in the display modes, then list all display modes madVR may switch to: option for your screen.
I want the video to play at 24fps. I added 1080p23 to the display mode, it doesn't work. I even tried disabling the display mode altogether, still the video is playing at 60fps.
huhn
3rd March 2018, 22:23
for both of you. can you please try this:
try mpc-hc and see if the problem persist there too.
if the problem happens post me your filter list plz.
play -> filter-> "copy filter to..."
post a screen of GPU-Z sensors too plz.
a task manager screen would be nice too.
a new madVR OSD would be nice too with ShowRenderSteps may help too.
go to the madVR folder and create a new folder named ShowRenderSteps
all of this in playback not >paused< and only with mpc-hc the rest comes later.
huhn
3rd March 2018, 22:24
I want the video to play at 24fps. I added 1080p23 to the display mode, it doesn't work. I even tried disabling the display mode altogether, still the video is playing at 60fps.
does your screen even support 23p?
Oguignant
3rd March 2018, 22:31
Hi. someone with experience to create a 3dlut for HDR content with Calman? Is there any guide or manual to consult?
huhn
3rd March 2018, 22:51
your task manager doesn't have GPU informations and you have a really high CPU load if this is hardware decoded. so this isn't the newest version windows 10 isn't it?
can you click on - LAV Video Decoder (internal) and check which decoder is used.
try to run GPU-Z go to the graphic card page and search for a small "?" on the right side next to the PCIe... press it and and run the test for a couple of setting and check the PCIe speed.
the card is a kalmx correct?
lansing
3rd March 2018, 23:01
does your screen even support 23p?
It was in the hint in the madvr ui to write 23.976 as 23.
Here is the filter list
Filters currently loaded:
- Default DirectSound Device
- madVR
- Audio Switcher
- LAV Video Decoder (internal) (low merit)
- LAV Audio Decoder
- LAV Splitter Source (internal)
Here is the madvr osd
https://i.imgur.com/iBbETOR.jpg
huhn
3rd March 2018, 23:22
well that doesn't mean your screen can do this refreshrate.
you can check your possible under "windows key" type in display settings -> display adapter properties -> monitor.
or in your GPU driver (afaik AMD doesn't have an option for it they removed it with the crimson driver)
huhn
3rd March 2018, 23:52
did you disable the GPU trackign in the task manager?
the decoder image doesn't help if you are not running a file at the same time.
and now the important part you only have PCIe x2 v3.
what board are you using? you most likely have the card in the "wrong" slot or something even worse.
Asmodian
4th March 2018, 00:07
x2 PCIe is usually the processor mounted in the socket badly or bent pins, each PCIe lane from the CPU has its own pins and each lane can fail individually. I have never heard of a motherboard with an electrically PCIe x2 x16 slot (only M.2 was ever x2) but I have had x16 slots turn into <x16 slots due to CPU socket mounting issues. In my case it was not enough force pushing the CPU into the socket due to trying to run without a heatspreader but I have heard of cases where bent pins or slightly off use of the retention mechanism caused the same thing.
huhn
4th March 2018, 00:12
chill easy to know with the name of the board and...
PCIe 16 slots with mechanical 8x and electrical 4x are so common...
adding a 16 x electrical 2x is easy task for a mainboard creator.
Asmodian
4th March 2018, 00:18
It could also be the video card mounted into the slot slightly badly. I have had a card pulled forward a little at the screw so the back wasn't quite in the slot correctly, it would only run at x4 until I reinstalled it.
Edit: the x2 PCIe connection is definitely your issue, x2 PCIe 3.0 is simply too slow for good playback. Your motherboard does have a full PCIe 3.0 x16 slot so it should be running x16. x8 would be fine, even x4 might work, but x2 is too slow.
huhn
4th March 2018, 00:21
https://abload.de/img/gpu71p50.png that would be the interesting part.
the lavfilter you ahve open is not the lavfitler that is in use.
both of these doesn't matter anymore.
so ignore them you have way bigger problems.
first i personally would reset the bios, check all settings in it and retry it.
than i would remove and add the GPU again and retry it.
other GPU...
CPU...
other CPU...
RMA the board...
and/or something in between the lines.
QBhd
4th March 2018, 01:30
why is your target 3397x1911?? Doing that downscale will certainly push most cards on the edge, over it.
QB
Redemption80
4th March 2018, 01:45
I may have found the culprit, and i doubt this will be any help to Rippner.
While i thought it was Mediaportal, i couldn't work out why.
Compared to MPC-HC it was twice as long, as in always over 20ms compared to 10ms with MPC-HC. At this point i remembered that MP19 was pre-release, and i'm sure there were some MadVR fixes/changes.
The issue also happened around about the same time as i installed MP19, so i'm abit annoyed at myself that (after putting the blame on drivers, then the OS, then Lav and MadVR) the player was the last place i looked.
Re-installing MP18 has dropped it back down to under 10ms and i managed 20mins of video without dropping a frame so looking good.
I am a big screen HTPC guy, so MPC-HC is something i have limited experience with, though i did notice that it uses it's own version of LavFilters, that confused me for a bit lol.
ryrynz
4th March 2018, 02:05
I feel there should probably have a general troubleshooting post for dealing with these sorts of basic issues that people need to go through ideally before asking.
Asmodian
4th March 2018, 03:09
already reset bios settings and removed/replug gpu, also cleaned circuit
i'll try linux live, maybe is a windows problem .-.
A 2x PCIe link is not a Windows problem. :confused:
Try reseating the CPU.
Magik Mark
4th March 2018, 05:01
Hi!
I reencoded a video to 1080p 1920 x 940
Why is it Madvr upscales it back to 1920 x 1080? How do I prevent this?
Sent from my iPhone using Tapatalk
ryrynz
4th March 2018, 06:45
That would be your player, MPC-BE has some 'do not scale' options for small changes like that.
Asmodian
4th March 2018, 06:47
madVR simply does what the the video player tells it to do. Is your video still flagged as 16:9? Is your player set to simply stretch to fullscreen?
Magik Mark
4th March 2018, 08:10
Thanks a lot. Changing the flag to 1920x940 or 2.0 did the trick
Sent from my iPhone using Tapatalk
huhn
4th March 2018, 08:44
why is your target 3397x1911?? Doing that downscale will certainly push most cards on the edge, over it.
QB
this will not result in CPU usages and not in 20 ms+ finalsteps and freaking 100 ms for chroma.
QBhd
4th March 2018, 11:33
Agreed! The user has many, many problems going on, including some serious hardware issues. The x2 on the PCI-e slot certainly throws some red flags up about that.
QB
Bozotheclown
4th March 2018, 11:52
@Rippner
use mpc, madvr, etc in 64bit,
you can also check performance under different player https://mpv.io/
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.