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 29th May 2013, 17:47   #18901  |  Link
sgraves66
Registered User
 
Join Date: Sep 2012
Posts: 10
madVR settings

I've created my own media center frontend using SDL 2.0 and use LAV filters with madVR. I create a native win32 window to host the renderer. This window is disabled and disallows focus to allow window events to be captured by the primary SDL window. When entering and leaving madVR fullscreen exclusive mode, the hosted window becomes enabled and focused, so keyboard and mouse events aren't being captured by SDL. The first time I change from windowed to exclusive, the hosted widow remains disabled, but any subsequent change back to windowed allows the renderer to be focused.

Would it be possible to add an option to keep the hosted window's styles when entering and leaving fullscreen exclusive mode? It would also be nice to see an option to fully disable keyboard shortcut processing in madVR. I'm sure most user's wouldn't need these options, but it would help my effort tremendously. The frontend is designed to use DirectShow, VLC, mplayer, mplayer2 and any additional player that supports embedding, but DirectShow is default for obvious quality reasons.
sgraves66 is offline   Reply With Quote
Old 30th May 2013, 04:30   #18902  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
BTW, here's a sample of a levels range issue I've been encountering quite a bit lately: test.mkv (2.9 MB)

Here are some screenshots showing the problem.

Basically, the auto-detected TV range looks washed out and I have to use the PC range that looks OK, but apart from some randomly pesky video files, PC range usually looks lighter than TV range so I'm kinda confused here? FFDshow shows that there is indeed life <16 but then processing a PC>TV conversion should make it darker and not lighter

Oh well, I'm not too used to 0-255 native content, maybe that's expected behavior after all

Last edited by leeperry; 30th May 2013 at 05:46.
leeperry is offline   Reply With Quote
Old 30th May 2013, 08:12   #18903  |  Link
TheElix
Registered User
 
Join Date: May 2010
Posts: 236
Quote:
Originally Posted by leeperry View Post
And anyway, all those PC monitors work internally in 8bit(and more often than not 6bit, as proven by their poor REC709 gamut coverage), that's really the stone age when all serious TV's work in 12bit and videoprojectors have been working in at least 10bit for over a decade.....oh well, someday I'll find a flat screen that'll make me happy, I'm a believer
Thanks for the feedback. Personally I'm a fan of CRT image and couldn't be happier with Sony FW900 as a monitor. It offers so much compared to LCDs. Even having a great projector (Mitsubishi HC5) there are times when I miss the image my FW900 can produce.
TheElix is offline   Reply With Quote
Old 30th May 2013, 09:33   #18904  |  Link
zeroibis
Registered User
 
Join Date: May 2013
Posts: 1
I am actually still using a GDM-C520 but it can take up to 5-10min to start it at the beginning of the day (I think the caps are drying out or something). Well it has lasted over 10 years so far... still waiting for something better to be invented.

With the newer scaling modes really pushing many gpus hard is there any plan to offer CUDA support in the future. This could allow us to possibly use more than one low end card and still use high quality scaling.
zeroibis is offline   Reply With Quote
Old 31st May 2013, 16:02   #18905  |  Link
paradoxical
Guest
 
Posts: n/a
Quote:
Originally Posted by DragonQ View Post
You can do 100 revisions with 1.01, 1.02, etc. How is that unreasonable? The other option of course is to use more than one decimal point; it's more obvious that 1.1.0 is larger than 1.0.2 than 1.10 being larger than 1.2.
You still seem to be acting as if version numbers of arithmetic decimal numbers which it is not. The period is nothing but a delimiter between a major and minor version number. Also, adding a second period is usually signifying that the 3rd number is a bug fix number. So saying to use 1.0.2 instead of 1.2 doesn't really make any sense.

Think of it this way: When you type out numbers from, say, one to ten do you type 01, 02, 03, 04, etc. or do you type 1, 2, 3, 4? Each number delimited in the version number major.minor.bugfix (or whatever format used) is a distinct integer value of its own it is not a fractional number just because it's after a decimal.

End of derail.
  Reply With Quote
Old 31st May 2013, 17:27   #18906  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by leeperry View Post
I don't think it's ever been as the new rendering path would appear to cause random presentation glitches from time to time, as if mVR missed the VSYNC fliptime or something....
With the new presentation path, the GPU driver is responsible for syncing to vsync, so it's the GPU driver which misses the vsync fliptime, not madVR. Doesn't make any difference to you, but I'm not taking the blame for NVidia bugs...

Quote:
Originally Posted by leeperry View Post
I do get occasional ghosting and all(even though my brain seems to get used to it), but it's either this or normal 24/25p judder so pick your poison....
I'm slightly confused now. SmoothMotion FRC does not reduce 24/25p judder.

Quote:
Originally Posted by corporalgator View Post
Madshi, I cannot get DXVA2 (Native or copyback) decoding through lav filters to work with madvr. The screen goes completely green after a few seconds. It does not happen with evr. Intel Quick sync decoding works fine as well. I've tried several different options within madvr with no luck.
If copyback doesn't work, either, then it can't be madVR's fault. You may want to report this in the LAV thread. If copyback doesn't work, it's nevcairiel's job to fix this.

Quote:
Originally Posted by dansrfe View Post
Sometimes when I press the next arrow button rapidly when trying to find a scene in a movie the window gets "stuck" on a a few frames and just keeps repeating in exclusive mode. The audio keeps going like normal though. If I go back to windowed mode then the problem goes away but going back to exclusive mode just gives a black screen thereafter. The only resolution at that point is to restart MPC-HC. I have smooth motion on.
Quote:
Originally Posted by mrkazador View Post
Having this weird problem with a random black frame appearing during a movie.
There seem to be some weird problems with SmoothMotion FRC turned on. I'll try to fix these, but since they're hard to reproduce on my PC, it will not be easy...

Quote:
Originally Posted by Aleksoid1978 View Post
About SetWindowText()

I made some test - and i can say that some bug in madVR. I do some change in MPC-HC-> call SetWindowText() after graph is build, and main window Title is also broken(replace non english/locale characters with '?').
Ok, thanks, will have a look at this.

Quote:
Originally Posted by loa-ash View Post
hello, i've a problem using latest version of MPC-HC stable release with madvr 0.86.1... When i try to open any video it tooks about 10 seconds to mpc to show the images. It stay with "Opening..." for 10 seconds then, the icon of madvr appears in system tray and video start reproduce without problems... how can i fix that?
That sounds weird. Is this a new problem or did it always behave this way for you? If it's a new problem, does it only occur with specific MPC-HC builds? Or what else did you change recently which might have introduced this problem?

Quote:
Originally Posted by digitech View Post
Hi guys, i have an Acer Revo 3610 witn an Nvidia Ion gpu htpc, actually it has lots of obvious limitations, i can't do 1080p native playback and 720p upscaled to 1080 with smooth motion (i can't live without that madvr feature) on has lots of hiccups, without it i dont have any troubles, only if i upscale 720p to 1440x810 i can have a pretty decent playback with smooth motion on but i have to settle with bilinear or dxva image upscaling, my question is if i play all my 720p material without upscaling it to 1080p, it plays flawlessly even with more demanding upscaling methods, but are there really too much disadvantages if i only play in 720p with the best upscaling methods (even if i dont need them cause im not upscaling) vs 720p upscaled to 1080p or in my case 1440x810 but only with bilinear or dxva image upscaling
Well, you could switch your PC into 720p output mode and then let your TV upscale. Of course the end result will not be as nice as letting madVR do all the work, but if your GPU is so slow, you'll have to live with *some* compromise. You could also try all those "trade quality for performance" options in the madVR settings. Maybe some of those make a difference for you? But keep only those checked which you absolutely must.

Quote:
Originally Posted by hdboy View Post
I reported earlier that this mp4 trailer

http://www.hd-trailers.net/yahoo-redir.php?id=94eacdcc-ade6-35fa-aa14-5d22c8d71934&resolution=1080

gave me massive frame drops with smooth motion on. Then I said using FSE fixed it. But turned out I was wrong. It's when I zoom in the picture in MPC (hit Pan&Scan increase size about 8 times) that I get the frame drops with smooth motion on. Playing in unzoomed size or smooth motion off causes no problem. windowed/windowed overlay/FSE makes no difference.

Oddly, most stuff play fine. I don't know what's different with that video (and others).
I don't know, either, seems to work fine on my PC. You could try demuxing the video and audio tracks, and then mux the video to MKV with eac3to. Afterwards add the audio track back in with mkvtoolnix. This way you should get an MKV file with "optimal" timestamps. Maybe the timestamps in the original file are somewhat broken. This is just a wild guess, though...

Quote:
Originally Posted by digitech View Post
My display is 1080p native but works with 720p too, i just asked in your opinion which is better, 720p with advanced upscaling methods like lanczos3 or Jinc chroma & image, vs 720p to 1080p with bilinear in both upscaling methods.
Activating Lanczos/Jinc makes no difference if you don't actually scale.

Quote:
Originally Posted by Xaurus View Post
Yeah, it gives me the date of when the post was updated. Since when is that equal to the date of the latest version?
I usually only update the first post when I release a new build. So the date is usually equal to the date of the latest version. Of course there's no guarantee, I might update the first post once in a while without posting a new build - but that's rather rare.

Anyway, why is the date so important? I would imagine the version number is the key and that's visible on the first post.

Quote:
Originally Posted by FlashGordon View Post
madshi, is it possible to make the refreshRate file tags work even if the format isn't specified in the settings? For example, I currently only have 1080p24 as a display mode because I mostly watch films and NTSC DVDs were not triggering the change to 24hz. However, for the odd video file that I have, even if I tag it with [refreshRate=60], the display will still switch to 24hz because I don't have 1080p60 as a display mode in the settings. Is there a way you can make the filename tag override this and force the switch to whatever refreshRate is specified?
It's possible, of course, but it's not as easy as it might sound. E.g. if you use a tag [refreshRate=60] how would madVR know which resolution to switch to, if there's no such mode in the display mode changer list? This sounds like too much of a headache for me. Why don't you simply add 1080p60 to the list of supported modes?

Quote:
Originally Posted by petran79 View Post
I did upgrade the GPU, from an Nvidia GTS450 to a GTX660

Now in Windows 7 there are no issues with MadVR.

But on Windows XP, after the upgrade any video I play with MadVR shows dropped frames for like 10-15 seconds, then plays normally and after a while dropped frames appear again for the same length. If I choose other renderers videos play normally. If I choose lower settings in Madvr, delay may appear much later or not at all if the video is lower in quality.
I'd suggest to check whether the GPU is clocking down when the frame drops occur. Try forcing the GPU clocks to a fixed value with one of those tweaker tools.

Quote:
Originally Posted by maco07 View Post
Hi madshi. Can you share with us in wich new features are you working for next madVR version?
None at the moment. The next build will just contain bugfixes and minor improvements.

Quote:
Originally Posted by JarrettH View Post
I don't know who else is using Intel HD Graphics here, but I just lowered my rendering times by 10 ms on this PC:

Intel i3 2100
4GB DDR3
Intel HD Graphics 2000 on latest drivers
Win 7 64-bit
latest official mpc, madvr, lav (quicksync)

madvr settings

image scaling: DXVA2
chroma scaling: bicubic75 with AR

general settings: cpu queue 8, gpu queue 4 <<< that made a tremendous difference from the default of 12/8

backbuffers: 4
present queue: 6

smooth motion: on <<< allowing me to now turn on smooth motion
Other people reported that for SmoothMotion FRC to work correctly, they had to increase the queue size. Seems this is one of those things that is different for every user, depending on OS, GPU, driver etc. Maybe the higher queue makes problems for you because the GPU is running out of RAM? Don't know...

Quote:
Originally Posted by callannn View Post
When I play 480p and lower content and lower, my average rendering time seems to skyrocket, but when I watch 720p/1080p content, it stays at around 4-6ms depending on if i'm watching 8bit or 10bit content. Surely it should be a lot than this?
If you watch 1080p content on a 1080p display, madVR doesn't have to scale at all (except chroma), so that's a lot easier on the GPU. However, 720p content upscaled to 1080p should consume at least as much resources as 480p upscaled to 1080p, so I'm not sure what's going on there. Well, maybe the 720p content was 24fps and the 480p content might be DXVA deinterlaced to 60fps? Of course 60fps consumes 2.5x as much power as 24fps.

Quote:
Originally Posted by callannn View Post
I also seem to be having problems with exclusive mode. Now, even though I don't particularly use it, I was just wondering why when I switch to it the playback becomes sluggish and redering time skyrockets once again?
Sounds weird. Does your laptop use the NVidia GPU or the Intel GPU for rendering? Maybe it's one of those cases where the communication between Intel <-> NVidia GPU makes problems somehow, I don't know. If you don't have any problems with windowed mode, you can simply disable exclusive mode. Although for most people it should produce better performance than windowed mode! You could also try whether the "use a separate device for presentation" option helps or not.
madshi is offline   Reply With Quote
Old 31st May 2013, 17:29   #18907  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by Undead Sega View Post
Hi everyone, I dont know if this has been mentioned before, however (although silly), can nnedi3 be used as a chroma upsampler?
Technically possible. Maybe some time in the future, but not anytime soon. I don't know how fast (or rather slow) it would run, though.

Quote:
Originally Posted by Buckster View Post
with some content (1080p) - my Render buffer drops to 0 - thus causing dropped frames - yet other its at a more healthy 6+

can I check that the Render buffer is GPU related not CPU related ? (I'm trying to work out where my weak link is)

I've had got set Chroma Upscaling to Jinc3 but have dropped to Spline3 which has reduced no. of instances of the buffer dropping to 0 - but not totally eliminated it

CPU is a E7400 overclocked to about 3.5

GPU is a ATI 5670 overclocked to about 900 core, 512MB GDDR5 VRAM
What is the difference between the content where the render buffer drops to 0 and that where it stays at 6+? Different framerate maybe? Or one interlaced, the other progressive, maybe? Are you using fullscreen exclusive mode? Maybe posting a screenshot of the debug OSD (Ctrl+J) when the rendering queue does to 0 might be helpful to diagnose the problem further...

Quote:
Originally Posted by Asmodian View Post
Well I have no idea then, I get full present queue (3-4/4). Running Win8 pro x64 with LAV software decoding (i7-3770k) and SLI GTX Titans. 13 ms rendering, 41.7 ms frame interval, and 8.3 ms v-sync.
Why is your present queue so small? Try using a *much* higher value, unless you're short on GPU RAM. E.g. try 12. Does the present queue then still go to 0-4/12?

Quote:
Originally Posted by nekromantik View Post
I got Jinc 3 tap for chroma and image upscale, is this good or should I put chroma upscale to SoftCubic?
Jinc 3 is good for quality, if your GPU is fast enough to handle it.

Quote:
Originally Posted by nekromantik View Post
My main question is, I have selected "Only when needed" for smooth motion and have deleted 1080p24 on my display resolution switcher in MadVR.
If I play back 480p or 720p video fileswhich are 23.976fps will MadVR upscale to 1080P on my TV if I have disabled the display mode switcher?
If you have disabled the display mode switcher, madVR will simply use the desktop GPU mode. Whether madVR upscales or not depends on the settings of your media player. E.g. if the video is 480p and your desktop GPU mode is 1080p then madVR will upscale 480p to 1080p if you set your media player to e.g. "touch window from inside" and then switch it to fullscreen.

Quote:
Originally Posted by nekromantik View Post
Just tried a 720P 24fps H264 video in exclusive fullscreen mode and Im getting around 130ms render time but in windowed fullscreen around 40ms. Putting chroma upscale and image upscale to Lanzos 4 taps does not make much of a difference.

Im using software decoding on a i5 3337U CPU with HD 4000 and Radeon 8730m dGPU.
130ms render time is *A LOT*. Much too high for fluid playback. Maybe the 8730m is too slow, I don't know. Try starting with Bilinear scaling for both chroma and image scaling. If that works fluidly, you can try using more expensive scaling algorithms. Also make sure you don't force Antialiasing and Anisotropic Filtering on in the GPU control panel. These features have no benefit for video rendering, but consume a lot of power.

Quote:
Originally Posted by rahzel View Post
I see this bug has been reported, but I just want to say that I have the same issue. Using the latest Intel drivers on my HD4000 (3570K) the seekbar doesn't disappear on some videos. Reverting back to the previous driver solves it.

Using same drivers as the bug report above, but I'm using MPC HC, LAV 0.57.
I can't handle bug reports that are spread across bug tracker and forum thread. If you want your feedback to be helpful, you have to add it to the bug tracker report you mentioned.

Quote:
Originally Posted by TheElix View Post
madshi, it seems that "disable GPU gamma ramp" stopped working. This isn't an issue exclusive to my system: http://www.avsforum.com/t/1471169/madvr-argyllcms
Did you add this to the madVR bug tracker?

Quote:
Originally Posted by kiccolsd View Post
Hi, I'm using madvr with success for months (Intel HD4000 9.18.10.3111) and I'm experiencing an issue the exclusive mode tag, upper left, is fixed no way to made it disappear. Same for rendering info (CTRL+J) no way to trash them, if I try the portion on the black zone seem to be fixed instead the part over the video disappear. The issue was present also with previous Intel driver. Someone can help me??
Did you add this to the madVR bug tracker?

Quote:
Originally Posted by ryrynz View Post
The latest drivers also cause some serious juddering with smooth motion enabled.
Did you add this to the madVR bug tracker?

Quote:
Originally Posted by Portioli View Post
@6233638 (and any other scaling maniac :P)

I just assembled an htpc for a friend that has the most awfull collection of avi & divx ever seen.
Right now i use MN for chroma, Softcubic80 for luma.
Any better recommendation for such material.
My main goal is to hide compression artifacts.
For hiding artifacts I'd suggest SoftCubic. Of course it'll be blurrier than other scalers. You could also try setting up some AviSynth noise/artifact reduction scripts, if his CPU is fast enough for that. Or alternatively some custom shaders (they're not as good in quality as better AviSynth scripts, though)...

Quote:
Originally Posted by Buckster View Post
I have to say - big thanks to the developers of MadVR - as I'm finding the 24-60hz processing much better for motion etc than my internal 24hz processing on my TV

my TV is a Panasonic PF11 (pro-panel) - and it displays 24p as pure 24hz - should be pretty perfect - but for some reason the MadVR processed to 60 looks a lot better
Good to hear!

Quote:
Originally Posted by andybkma View Post
On Windows 7 64 bit does having Aero turned on or off effect the playback quality of mVR? I mean does it effect it (better or worse) with stuttering/delayed/dropped frames etc?
Having it off might introduce tearing. If you don't have tearing with it turned off, then there should be no difference. Aero adds a little bit of additional GPU consumption, so performance with it off might be slightly better. Of course in fullscreen exclusive mode or when using Overlay, it doesn't matter whether Aero is on or off.

Quote:
Originally Posted by nekromantik View Post
Im kinda annoyed lol
This is a new laptop with Radeon 8730M but cant use that card for MadVR as in exclusive mode I get 5 times slower rendering then windowed mode! As its switchable graphivs only solution is to use HD4000 but with that I can only use Lanz3 and BiCubic 75 and I get around 30 - 35ms render for 720P to 1080P.
Not sure why you get 5x slower rendering in FSE mode. Makes no sense to me. You could try activating the "use a separate device for presentation" option. That helps some people, but I've heard it makes problems with some laptops with shared GPUs. Maybe it helps you, or maybe not. You could also try checking whether the AMD GPU clock goes down in exclusive mode for some weird reason. If it does, try to use a tweaker to fix it to a reasonably high clock.

It is possible that in exclusive mode your AMD renders the frame, then has to send it to the Intel GPU for output. Maybe that is so slow for some reason. But I don't really know...

Quote:
Originally Posted by yok833 View Post
Madshi, are you close to release a new update or is there nothing to expect in the next couple of weeks ??
There should be a new bugfix build sooner or later, but no big new features.

Quote:
Originally Posted by sgraves66 View Post
I've created my own media center frontend using SDL 2.0 and use LAV filters with madVR. I create a native win32 window to host the renderer. This window is disabled and disallows focus to allow window events to be captured by the primary SDL window. When entering and leaving madVR fullscreen exclusive mode, the hosted window becomes enabled and focused, so keyboard and mouse events aren't being captured by SDL. The first time I change from windowed to exclusive, the hosted widow remains disabled, but any subsequent change back to windowed allows the renderer to be focused.

Would it be possible to add an option to keep the hosted window's styles when entering and leaving fullscreen exclusive mode? It would also be nice to see an option to fully disable keyboard shortcut processing in madVR. I'm sure most user's wouldn't need these options, but it would help my effort tremendously. The frontend is designed to use DirectShow, VLC, mplayer, mplayer2 and any additional player that supports embedding, but DirectShow is default for obvious quality reasons.
This sounds like a weird design, having a renderer window which is disabled, to allow a different window to process keyboard events. Why don't you use this instead:

http://msdn.microsoft.com/en-us/library/windows/desktop/dd377323(v=vs.85).aspx
madshi is offline   Reply With Quote
Old 31st May 2013, 18:37   #18908  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
Quote:
Originally Posted by madshi View Post
With the new presentation path, the GPU driver is responsible for syncing to vsync, so it's the GPU driver which misses the vsync fliptime, not madVR. Doesn't make any difference to you, but I'm not taking the blame for NVidia bugs...
You've made very clear that the nvidia drivers are the cause of the random hiccuping with the new rendering path on XP, but the old one has always worked flawlessly with my 8800GS so as long as you leave it there all is well

Well, I guess I would have to try a 660 myself with the old rendering path.....but the 700 serie is bound to arise and I have yet to find a 1080p LCD screen that'd make me happy, so it might very well take me half a decade to upgrade until OLED would finally hit stores(at reasonable prices )

Quote:
Originally Posted by madshi View Post
I'm slightly confused now. SmoothMotion FRC does not reduce 24/25p judder.
Well, when I enable FRC in 90/96Hz I don't get the nasty 24/25p judder anymore for sure.......it's a hell lot smoother, the pop effect is drastically increased as well and it's just a real treat to look at. I think SVP also has a frame rate conversion option, not just interpolation....It would appear to me that you are making the movements smoother due to (mostly) imperceptible perfectly synchronized blending/"ghosting". I'm really hooked to it now!

BTW, you didn't answer me on my 0-255 source levels report, is that expected behavior at all


Last edited by leeperry; 31st May 2013 at 20:29.
leeperry is offline   Reply With Quote
Old 31st May 2013, 20:14   #18909  |  Link
nekromantik
Registered User
 
Join Date: Feb 2013
Posts: 96
Quote:
Originally Posted by madshi View Post
130ms render time is *A LOT*. Much too high for fluid playback. Maybe the 8730m is too slow, I don't know. Try starting with Bilinear scaling for both chroma and image scaling. If that works fluidly, you can try using more expensive scaling algorithms. Also make sure you don't force Antialiasing and Anisotropic Filtering on in the GPU control panel. These features have no benefit for video rendering, but consume a lot of power.
I think its as its switch able graphics I am unable to use the AMD card. The 8730M is much faster then then HD4000 which I am forced to use. According to system minitor the amd card gets activated but for some reason its always 100ms+ on FSE mode.
On HD4000 I am getting 25 - 30ms upscaling 720P to 1080P using Jinc3 and Softcubic 100.
I need modified drivers to make the AMD card work.
nekromantik is offline   Reply With Quote
Old 31st May 2013, 21:47   #18910  |  Link
karamancho
black stain
 
karamancho's Avatar
 
Join Date: Apr 2013
Posts: 46
Quote:
Originally Posted by madshi View Post
Why is your present queue so small? Try using a *much* higher value, unless you're short on GPU RAM. E.g. try 12. Does the present queue then still go to 0-4/12?
4 is the default value for the number of frames presented in advance. I tried 12 but the queue still remains empty (0-12/12)
karamancho is offline   Reply With Quote
Old 31st May 2013, 21:59   #18911  |  Link
sgraves66
Registered User
 
Join Date: Sep 2012
Posts: 10
Quote:
Originally Posted by madshi View Post
This sounds like a weird design, having a renderer window which is disabled, to allow a different window to process keyboard events. Why don't you use this instead:

http://msdn.microsoft.com/en-us/library/windows/desktop/dd377323(v=vs.85).aspx
It's actually a generic workaround to support external media players that don't allow me to specify a message drain, only a window handle, but thanks for the suggestion. I've only recently added support for DirectShow and completely forgot about that method. It doesn't just host media players, but also game emulators, screen savers, etc. Disabling the window works 99% of the time, so I've stuck to this simple pattern for many reasons.
sgraves66 is offline   Reply With Quote
Old 31st May 2013, 22:00   #18912  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by leeperry View Post
BTW, here's a sample of a levels range issue I've been encountering quite a bit lately: test.mkv (2.9 MB)

Here are some screenshots showing the problem.

Basically, the auto-detected TV range looks washed out and I have to use the PC range that looks OK, but apart from some randomly pesky video files, PC range usually looks lighter than TV range so I'm kinda confused here?
Not sure what you did there. On my PC your sample behaves as expected. Meaning: PC range looks lighter than TV range. Maybe ffdshow has screwed up somehow. I didn't have ffdshow in the chain.

Quote:
Originally Posted by nekromantik View Post
I think its as its switch able graphics I am unable to use the AMD card. The 8730M is much faster then then HD4000 which I am forced to use. According to system minitor the amd card gets activated but for some reason its always 100ms+ on FSE mode.
Have you tried the option "use a separate device for presentation"? Not sure if it works at all in your case, but it might be worth a try. In any case, do you need FSE mode? Maybe windowed mode works ok for you?

Quote:
Originally Posted by nekromantik View Post
I need modified drivers to make the AMD card work.
Maybe, I don't know.

Quote:
Originally Posted by karamancho View Post
4 is the default value for the number of frames presented in advance. I tried 12 but the queue still remains empty (0-12/12)
What is your GPU, your OS and your GPU driver? What is your display refresh rate? Your movie fps? And do you have Smooth Motion FRC turned on or off? A screenshot of the debug OSD (Ctrl+J) in the moment when the presentation queue is empty might be helpful.
madshi is offline   Reply With Quote
Old 31st May 2013, 22:02   #18913  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by sgraves66 View Post
It's actually a generic workaround to support external media players that don't allow me to specify a message drain, only a window handle, but thanks for the suggestion. I've only recently added support for DirectShow and completely forgot about that method. It doesn't just host media players, but also game emulators, screen savers, etc. Disabling the window works 99% of the time, so I've stuck to this simple pattern for many reasons.
I understand. The problem for fullscreen exclusive mode is that madVR tries to make it work for any media player, regardless of whether it's aware of it or not. And it does work for all the media players out there (that I'm aware of) - seemingly except yours. If you can make do with the IVideoWindow method I suggested that would be welcome, then I don't have to change madVR. I'd like to avoid changing madVR's behaviour for just one media player. It might result in follow up problems with other media players...
madshi is offline   Reply With Quote
Old 31st May 2013, 22:30   #18914  |  Link
sgraves66
Registered User
 
Join Date: Sep 2012
Posts: 10
Quote:
Originally Posted by madshi View Post
I understand. The problem for fullscreen exclusive mode is that madVR tries to make it work for any media player, regardless of whether it's aware of it or not. And it does work for all the media players out there (that I'm aware of) - seemingly except yours. If you can make do with the IVideoWindow method I suggested that would be welcome, then I don't have to change madVR. I'd like to avoid changing madVR's behaviour for just one media player. It might result in follow up problems with other media players...
Completely understand. I doubt that mine will ever be seen outside of my home, anyways. It's taken years to develop and is constantly in motion. I'd need more developers to make it publicly available.

put_MessageDrain didn't seem to improve anything. madVR does work fine in most cases, but the mouse wheel seems to give me the most issues, plus some overlapping keyboard shortcuts between the frontend and madVR. The later is easily solved and there may be an issue within SDL 2.0 causing the intermittent loss of the mouse wheel. Disabling the window just seems to care of all these issues in a simple manner.

The fronted is primary controlled by bluetooth remote and/or joystick, anyways, so it's rare that a mouse is actually used.
sgraves66 is offline   Reply With Quote
Old 31st May 2013, 22:30   #18915  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
Quote:
Originally Posted by madshi View Post
Not sure what you did there. On my PC your sample behaves as expected. Meaning: PC range looks lighter than TV range. Maybe ffdshow has screwed up somehow. I didn't have ffdshow in the chain.
I only used ffdshow to check the levels, the very same problem occurs with LAV alone.....apparently it's due to my gamut mapping PS scripts(used as post-scaling in PotP):
Code:
// script=ps_3_0
// Code from MPC

sampler s0 : register(s0);
float4 p0 : register(c0);

static float4x4 r2r =
{
1.07521105249278,-0.0851867514203263,-3.55175263678786E-05,0,
-0.0256692518211088,1.06388788724376,-0.0340832039107225,0,
-0.0112108076565148,0.019277609404304,0.985946849621001,0,
0, 0, 0, 0
};

float4 main(float2 tex : TEXCOORD0) : COLOR
{
    float4 c0 = tex2D(s0, tex);
    c0 = pow(c0, 1/0.45);
    c0 = mul(r2r, c0);
    c0 = saturate(c0);
    c0 = pow(c0, 0.45);

    return c0;
}
Could it be that your BTB/WTW expanding "trick" gives the aforementioned issue if there originally was data in those areas somehow? Or maybe it's just not compatible with what this PS script expects? How could I fix it then please?

If I don't enable this PS script, then indeed PC is lighter than TV on this sample and this PS script works fine on 16-235 content.

Last edited by leeperry; 31st May 2013 at 22:47.
leeperry is offline   Reply With Quote
Old 31st May 2013, 22:52   #18916  |  Link
nekromantik
Registered User
 
Join Date: Feb 2013
Posts: 96
Quote:
Originally Posted by madshi View Post
Have you tried the option "use a separate device for presentation"? Not sure if it works at all in your case, but it might be worth a try. In any case, do you need FSE mode? Maybe windowed mode works ok for you?
Yes I tried that.
That breaks playback, I get blank screen but with audio.

With windowed mode and AMD card I still get around 50 - 60ms rander times and its jittery and lots of frame drops.
The card is not been utilized properly, gaming works fine. I think I need to stick with HD4000.
nekromantik is offline   Reply With Quote
Old 31st May 2013, 22:54   #18917  |  Link
karamancho
black stain
 
karamancho's Avatar
 
Join Date: Apr 2013
Posts: 46
Quote:
Originally Posted by madshi View Post
What is your GPU, your OS and your GPU driver? What is your display refresh rate? Your movie fps? And do you have Smooth Motion FRC turned on or off? A screenshot of the debug OSD (Ctrl+J) in the moment when the presentation queue is empty might be helpful.
NVIDIA Quadro NVS 135M
Windows 7 ultimate sp1 32bit
drivers ver. 320.00
display 59.87547Hz
movie 23.976 fps
smooth motion off

since the 'display several frames in advance' only works in FSE mode a screenshot of the debug OSD isn't possible
karamancho is offline   Reply With Quote
Old 31st May 2013, 23:39   #18918  |  Link
Asmodian
Registered User
 
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,406
You might be running out of video memory? Is it a 128MB or 256MB NVS 135M?

You can check video memory usage with GPU-Z. You might also take a look at how much memory bandwidth you are using while you are in there, 9.6GB/sec is pretty low for MadVR.
Asmodian is offline   Reply With Quote
Old 1st June 2013, 00:10   #18919  |  Link
karamancho
black stain
 
karamancho's Avatar
 
Join Date: Apr 2013
Posts: 46
memory size: 128 MB
bandwidth: 9.5 GB/s
karamancho is offline   Reply With Quote
Old 1st June 2013, 00:39   #18920  |  Link
Asmodian
Registered User
 
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,406
How much video RAM is used when running MadVR?
Asmodian 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 11:08.


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