View Full Version : madVR - high quality video renderer (GPU assisted)
madshi
12th October 2015, 14:05
Thanks, guys! But I still need a *debug log* (not a crash report) from both of you. See "activate debug mode.bat" in the madVR folder. Maybe I could also get a small video sample from one of you, if that's possible? Thanks!
YxP
12th October 2015, 14:24
I don't currently have any video editing software installed, so I hope ashlar can provide you with a clip. Here's a log (not from the exact same instance than the previous report, of course) though. Btw, your .bat didn't seem to work so I had to rename the files manually. Not a big thing, ofc, but something you'd might want to know. Error was Madvr.ax not found. https://www.dropbox.com/s/r7knw16skxl92dx/madVR%20-%20log.rar
ashlar42
12th October 2015, 14:32
Thanks, guys! But I still need a *debug log* (not a crash report) from both of you. See "activate debug mode.bat" in the madVR folder. Maybe I could also get a small video sample from one of you, if that's possible? Thanks!
Right, here it is: http://s000.tinyupload.com/index.php?file_id=60177918344254832568
And sorry, no editing software here to cut a small piece. But it's happening no matter what the file, as long as black bars are introduced in the equation (obviously not if they are in the encoded material, I'm talking about black bars due to window size being bigger than content).
chros
12th October 2015, 15:11
which numbers/bars do I need to see?
There supposed to be a manual in pdf format in the archive, it should tell you everything what you should examine about each an every clip.
(apl-clipping is good for brightness (white level) and contrast (black level) test as well.)
huhn
12th October 2015, 15:39
which numbers/bars do I need to see?
17-234 should flash. some level can be clipped without proper calibration.
madshi
12th October 2015, 16:28
So far no crashing problem with xySubfilter. However, I noticed the ff:
1. Fonts are bigger
2. I think we still can place the subtitle i row lower. This would allow us to use the black bar totally and watch the movie without distraction
This will be the next thing to look at once the crashes are fixed. See next post.
madshi
12th October 2015, 16:35
madVR v0.89.9 released
http://madshi.net/madVR.zip
* fixed: madVR crashed sometimes when using XySubFilter + Deband + Dither
* fixed: XySubFilter text subs didn't show under some specific circumstances
Should be back to stable now. Next thing to look at is the size and aspect ratios of subtitles. Let me explain:
Starting with madVR v0.89.7, madVR currently *always* moves XySubFilter subtitles into the black bars, if possible. I've already heard from two users that this should be optional, so I'm planning to add an option to disable this behaviour. But this probably won't come before next weekend.
For now: Please double check with v0.89.9 if your subtitles are drawn correctly or not. With "correctly" I mean especially the size and aspect ratio of the subtitles. Please note that if they are moved into the black bars, they may actually get a big bigger, that is as expected because text subtitles usually adjust their size dynamically to the video size, and the video size gets bigger if you include the black bars into the subtitle render target area. However, the size should only get *a bit* larger and the aspect ratio should not be changed at all. So please double check if that is all working as expected.
Please note that depending on the type of subtitles (SRT, ASS or bitmap subtitles), madVR may behave differently.
If you see any problems, please send me short samples. You don't need a video editor for that. Usually mkvtoolnix (freeware) allows you to quite easily extract parts of an MKV file. You can PM me sample links if you don't want to post them publically.
YxP
12th October 2015, 16:51
Works great! Thanks! Downloading mkvtoolnix too.
ace960
12th October 2015, 17:08
I found out that the option "disable desktop composition" no longer works for me. I am not able to specify exact releases. However, it worked in 0.87.13. It does not work in 0.89.7 (and few older ones).
I do not use Direct 3D 11.
The workaround to disable desktop composition for mpc-hc.exe works.
Some system details:
- the system has two displays (1x PC monitor (via DVI), 1x TV (via HDMI))
- Windows 7 64-bit SP1 + updates
- nvidia drivers 358.50 (GPU Geforce GTX660)
- mpc-hc 1.7.9.181 32-bit
The problem was present with few previous releases of nvidia drivers and mpc-hc.
Thunderbolt8
12th October 2015, 17:44
Starting with madVR v0.89.7, madVR currently *always* moves XySubFilter subtitles into the black bars, if possible. does this apply to all movies or only those with zoom settings active? if to all movies, the subs should always be at exactly that position where they are when using any other player as well.
har3inger
12th October 2015, 19:43
Half a crash report doesn't help, I'd need the full thing. Upload it somewhere, thanks. And does this only occur when using XySubFilter? If so, try the 2 test builds posted a couple posts above.
I sent you a log just now, but tested 0.89.9 and it's fixed. Loading times are back to normal, and doesn't crash on exit anymore.
Thanks!
ashlar42
12th October 2015, 20:36
does this apply to all movies or only those with zoom settings active? if to all movies, the subs should always be at exactly that position where they are when using any other player as well.
??? Other players offer options to move subs too. What are you referring to?
It's not as if we are using HTPCs to give up on flexibility.
ashlar42
12th October 2015, 20:54
Tried 0.89.9, works just fine :)
Thanks madshi for working on this on Monday too. Much appreciated.
I understand what you mean regarding subs size. Yes they get bigger as the render window gets bigger. To understand it, it's sufficient to open a 2.35:1 movie in a window and drag it to one side, on Windows. It fills half the screen, with a lot of black vertical space. In that case subs get humongous. But obviously I'm mentioning this only as a way for others to understand what you mean, as it's not a likely scenario.
Arm3nian
13th October 2015, 03:47
Anyone notice poor performance with smooth motion? On my 980ti it increases render times by 6ms. That's quite a bit when your gpu already getting destroyed by nnedi3 upscaling to 4k.
Magik Mark
13th October 2015, 04:17
Anyone notice poor performance with smooth motion? On my 980ti it increases render times by 6ms. That's quite a bit when your gpu already getting destroyed by nnedi3 upscaling to 4k.
Maybe Madshi can provide support for SLI. This is one of the compelling reason why he may want to reconsider
ryrynz
13th October 2015, 04:47
Anyone notice poor performance with smooth motion? On my 980ti it increases render times by 6ms. That's quite a bit when your gpu already getting destroyed by nnedi3 upscaling to 4k.
Is it really poor performance if you're creating frames and upscaling them to 4k with NNEDI3 as well? This is where dual neuron settings for NNEDI3 would come in handy which madshi expressed interest in bringing to madVR at some stage.
huhn
13th October 2015, 05:09
Anyone notice poor performance with smooth motion? On my 980ti it increases render times by 6ms. That's quite a bit when your gpu already getting destroyed by nnedi3 upscaling to 4k.
yes as a bug it takes up to 22 ms for me.
Arm3nian
13th October 2015, 05:12
Maybe Madshi can provide support for SLI. This is one of the compelling reason why he may want to reconsider
I think many users would appreciate SLI if it's possible but I personally don't plan on getting a second gpu. I occasionally watch movies and tv shows and am happy with the IQ my system provides.
Is it really poor performance if you're creating frames and upscaling them to 4k with NNEDI3 as well? This is where dual neuron settings for NNEDI3 would come in handy which madshi expressed interest in bringing to madVR at some stage.
That makes sense. Instead of SM, I could enable chroma upscaling at 32 neurons. I've always used SM and will continue since AFAIK reclock is still 32bit. Sucks I have to compromise at 4k, when SM had little performance impact with a 1080 source on a 1080 panel.
ryrynz
13th October 2015, 05:33
I also wonder if it's useful to specify a different neuron count for smooth motion frames.
huhn
13th October 2015, 06:06
I also wonder if it's useful to specify a different neuron count for smooth motion frames.
it doesn't work like this.
first the frames are scaled and than SM is used. so the number of frames nnedi3 is used on doesn't change.
ryrynz
13th October 2015, 06:34
it doesn't work like this.
first the frames are scaled and than SM is used. so the number of frames nnedi3 is used on doesn't change.
Probably more effort than what it's worth. Nvidia's Pascal ain't that far off.
huhn
13th October 2015, 07:19
there is a bug some where SM should be kind of free compared to nnedi3.
Asmodian
13th October 2015, 07:27
Dithering is performed after SM; when using ordered dithering the hit from smooth motion is much less.
Probably more effort than what it's worth. Nvidia's Pascal ain't that far off.
It isn't that it is not worth the effort, it doesn't make sense, smooth motion is something that happens to the frames after scaling.
NNEDI is never run on smooth motion frames, only calibration and dither happen after smooth motion.
ryrynz
13th October 2015, 08:09
NNEDI is never run on smooth motion frames, only calibration and dither happen after smooth motion.
Then SM is buggy.
MrBonk
13th October 2015, 08:24
Finally*
I've been trying to get my account to work for ages. Needed a PW reset but email would never come.
Anywho.
I just wanted to ask, with DX11 exclusive mode. Is it normal on W7 for it to simply say "D3D9 Exclusive (New Path)"
Afterburner's OSD shows DX9 and not DX11
Is something wrong here?
http://u.cubeupload.com/MrBonk/mpchc201510130023299.png
(This is just a screenshot I loaded into MPC to show/use as a test)
huhn
13th October 2015, 08:47
d3d11 is not working for you for some reasons.
you may start with your system specs.
huhn
13th October 2015, 09:07
about the SM/nnedi3 issue.
we should first make sure we all talk about the same issue.
my issue is that i get very high rendertimes with nnedi3 and SM most of the time using d3d9 new path none FSE.
MrBonk
13th October 2015, 09:11
I don't think it could be a specs issue.
Core i7 950 @4Ghz
12GB DDR3 @1600Mhz
GTX 980 with a modded Vbios (Issue happens regardless whether it's modded or not)
Windows 7 Ultimate x64
No matter whether "Use Direct3D11 for..." is ticked or not. I only get D3D9 Exclusive (new)
andybkma
13th October 2015, 09:27
madVR v0.89.9 released
For now: Please double check with v0.89.9 if your subtitles are drawn correctly or not. With "correctly" I mean especially the size and aspect ratio of the subtitles.
I have limited experience with subs, never paid too much attention to them before. But since you are asking for feedback, here is mine (Using mVR 89.9 & Subfilter 3.1.0.744):
1) Right away noticed that sub font size was much bigger than before, so reduced the font size from 100% to 80% which seems better
2) If the sub is one line then it is completely inside the bottom black bar which am sure is the intended effect. But if the sub contains two lines then the top line is still up in the video picture and bottom line is now in the black bar. Not sure if this is intended or if both sub lines are supposed to be inside in the black bar. Only Subfilter default setting I changed is the font size as stated above.
Hope this helps
Asmodian
13th October 2015, 10:41
Then SM is buggy.
Why? I get about +3ms due to SM when also using ED dithering, with or without NNEDI3 image doubling, but <1ms hit from SM when using ordered dithering. This is using an overclocked 980 Ti, no trade quality for performance options, 720 -> 1440, overlay, and Win10. NNEDI3's OpenCL might interact a little bit with Error Diffusion's Direct-Compute for a small extra performance hit but I cannot measure it on my system.
It has always been this way. :confused:
nevcairiel
13th October 2015, 10:45
Indeed, if you use ED dithering on a 4K output, then 6ms for SM seems normal. Switch to OD to avoid this hit.
x7007
13th October 2015, 13:36
Madvr has issues with DPC using in Potplayer x32 newest not beta , has terrible high DPC and slow motion high cpu after seeking couple of time. didn't happen with madvr 89.6
MPDN x64 2.42.4.3407 doesn't have the issue.
EDIT : on version 89.8 and 89.9 Very high DPC and high cpu with stuttering randomly and slow motion if seeking more than 5-6 times till it's back to normal after 7 seconds and still continue with high randomly high DPC jumps
EDIT : The slow motion and high jumps happens when Subtitles are shown.
Siso
13th October 2015, 14:16
Madvr has issues with DPC using in Potplayer x32 newest not beta , has terrible high DPC and slow motion high cpu after seeking couple of time. didn't happen with madvr 89.6
MPDN x64 2.42.4.3407 doesn't have the issue.
EDIT : Using Madvr 89.8 still doesn't happen and working properly, only on version 89.9 Very high DPC and high cpu with stuttering randomly and slow motion if seeking more than 5-6 times till it's back to normal after 7 seconds and still continue with high randomly high DPC jumps
The DPC latencies here seems ok with 0.89.9 + mpc-be 1.4.5 stable.
x7007
13th October 2015, 14:59
The DPC latencies here seems ok with 0.89.9 + mpc-be 1.4.5 stable.
Something with the subtitles, with a movie which I have the issue, on very same spots where I have subtitles enabled it slows down.
When subtitles disable it doesn't freeze.
The upload , render , present Queues are going to low number 1-3,1-2,1-2, 0-3 .
Why there is always issue with subtitles.
I am using the built in Potplayer subtitles.
EDIT : Kinda fix for this specific movie . Using Subtitles Output : Disaply on Overlay / VMR/ EVR Surface fix the Queues drops when subtitles enabled.
Using Display on Video / TV OUT makes specific sections in the movie dropped Queues. But using EVR in 3D movies with potplayer get the render time to 115 ms when using 3D subtitles , even with Super-xbr .
Can't figure why subtitles output so important.
JohnLai
13th October 2015, 16:14
Anyone noticed the weird flickering with Intel HD4600 IGPU with every madvr version when DirectX 11 being used to render the video?
The flickering occurs when fast forward or even changing full screen exclusive to windowed while video is playing.
har3inger
13th October 2015, 20:03
I have limited experience with subs, never paid too much attention to them before. But since you are asking for feedback, here is mine (Using mVR 89.9 & Subfilter 3.1.0.744):
2) If the sub is one line then it is completely inside the bottom black bar which am sure is the intended effect. But if the sub contains two lines then the top line is still up in the video picture and bottom line is now in the black bar. Not sure if this is intended or if both sub lines are supposed to be inside in the black bar. Only Subfilter default setting I changed is the font size as stated above.
This.
It's possible to adjust the margin/gutters for subs such that double-line subs are entirely within the black space, but then single line subs are way at the bottom and look sorta weird. Right now I have this compromise using gutters and spacing where single subs look fine, and double subs half overlap into the video area.
Is there any possible way to adjust subs to snap to the top of the bottom black bar? However, I'm not sure how >2 line subs would then be handled.
Thunderbolt8
13th October 2015, 20:31
??? Other players offer options to move subs too. What are you referring to?default settings
jmartinr
13th October 2015, 20:36
Is there any possible way to adjust subs to snap to the top of the bottom black bar? However, I'm not sure how >2 line subs would then be handled.
Position the subtitles relatively to the top.
hannes69
13th October 2015, 23:18
Posted by madshi:
I think the software solution should be much more reliable. I've added the "command line to execute" feature to profiles for the exact reason that people might want to automate anamorphic lenses or screen masking or lens memories or stuff. So the plan was that every time a profile is switched, madVR calls some command line, maybe passing some parameters. However, I'm not sure if that's what you need? It would allow you to e.g. switch between CinemaScope and 1.85:1 movies. But maybe you want a "perfect" solution which tells you exactly (with 1 pixel precision) where the black bars are? That's somewhat more complicated because currently I've no feature in madVR that would transport that kind of information to you. Shouldn't be hard to add, but the big question is how to do it in a useful and intuitive way, so that other users could reuse the same feature...
In my opinion the software based solution should be better too.
The screen masking should be very exact: uncovered areas would appear as grey edges, covered image areas would appear as light areas on top of the masking boards. Maybe corrupted image boarders would need the new cropping feature. And there are different cinemascope ARs like 2.40:1, 2.39:1, 2.35:1 and so on. So 1 pixel precision is welcome (and needed ;) ).
Now the question how to transport the information out of madvr. I think for several purposes some kind of interface between madvr and an end-user is needed / useful:
- controlling of projector related stuff like masking, external calibration boxes, ...
- leaner "trade quality for performance"-list (main items for the "normal" user in the list, special commands for the "pro" user by interface; no more excuses "the list is already too long" ;)
- probably no more need of filenaming-tricks :rolleyes:
- user wishes like 538 different adjusting options in the image refinement section :devil:
- customizable OSD with 50+ displayable parameters for control freaks ;)
There are many reasons for such an interface.
Of course it makes no sense to give an end-user too much control, but on the other side there are many "pros" (and I think madvr is developed for enthusiasts) who know to make use of more controlling possibilities in a right way.
I think an interface would be the right way out of blowing up the GUI with too many options for a beginner but preserve much more freedom for the advanced user.
Iīm not a "real" programmer so I canīt say what would be the best solution for such an interface.
For my application case the following would be nice (donīt know if that is easy to do):
To control the motors of my masking system I plan to make a simple GUI application with Visual Studio (GUI to have some knobs, sliders and so on for real time adjustments for the system and a manual override possibility in case of automatic failures). The system is controlled through a serial connection (RS232).
The needed information from madvr (in my case target rectangle) can be gathered like that: there exists a madvr_communication_to_end_user.dll which I can simply import to my project (add reference) and then I can directly make use of the many well-prepared and well-documented ;) methods of the dll (using madvr = madvr_communication_to_end_user; int w = madvr.target.width(); )
That would be really nice for programming purposes.
For me it doesnīt matter HOW to gather the needed information from madvr, it matters THAT I can gather it ...
You are a real programmer madshi, itīs up to you to decide about the right interface :)
Hannes.
XMonarchY
14th October 2015, 00:24
Off-topic, but I never thought Subtitles can be THAT important to some people... They are just Subtitles...
har3inger
14th October 2015, 03:27
Position the subtitles relatively to the top.
Looking around, haven't figured out how to do this. Where is the setting? Madvr? xysubfilter?
jkauff
14th October 2015, 03:30
Off-topic, but I never thought Subtitles can be THAT important to some people... They are just Subtitles...
Hollywood releases everything in English. English is not the first language of millions of movie fans.
Some of us English-speakers also like to watch movies made in other countries.
agustin9
14th October 2015, 05:45
And don't forget about anime fansubs, with styled subtitles...
rafi.hamid
14th October 2015, 07:36
What are the appropriately settings for nividia control panel? is there anything I should to change it? because I have now all settings by default.
software
windows 10 64bit
mpc-hc + madvr
hardware
intel core i5 4690
gtx 980ti
4k tv Panasonic 55ax630
hdmi cable 2.0v 18gbps
Sent from my iPad using Tapatalk
huhn
14th October 2015, 08:31
defaults are fine.
output dynamic range depends on your TV settings.
dansrfe
14th October 2015, 08:47
@madshi
Vobsub from bluray, rendered on cinemascope cropped encode is cut (about halfway) and stretched along its horizontal axis. They also don't render on black bars when fullscreen on 16:9 display. I can take a screenshot if required.
SweetLow
14th October 2015, 10:14
Windows 7 Ultimate x64
Are you have Platform Update https://support.microsoft.com/en-us/kb/2670838 installed?
SweetLow
14th October 2015, 11:12
Anyone noticed the weird flickering with Intel HD4600 IGPU with every madvr version when DirectX 11 being used to render the video?
The flickering occurs when fast forward or even changing full screen exclusive to windowed while video is playing.
Yes (intel hd4000). But this is not madVR bug, AFAIK.
chros
14th October 2015, 12:11
The needed information from madvr (in my case target rectangle) can be gathered like that: there exists a madvr_communication_to_end_user.dll which I can simply import to my project (add reference) and then I can directly make use of the many well-prepared and well-documented ;) methods of the dll (using madvr = madvr_communication_to_end_user; int w = madvr.target.width(); )
That would be really nice for programming purposes.
I think a more generalized interface to get (and maybe set them as well :) ) those variables would be even better. E.g. like it was implemented in MPC-HC by gabest at the ancient days (through a small built-in web server), and it could give back a json string or any other standard strings.
JohnLai
14th October 2015, 12:20
Yes (intel hd4000). But this is not madVR bug, AFAIK.
Ugh.......then it is Intel fault?
If this is the case.....then I propose madshi to disable the directx 11 option for intel IGPU.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.