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 22nd July 2014, 19:51   #26961  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,921
it's using 4:2:0 for 4k 60 fps but laeve it at this.
huhn is offline   Reply With Quote
Old 22nd July 2014, 20:20   #26962  |  Link
Ceremony
Registered User
 
Join Date: Jan 2014
Posts: 93
I've got an issue with madvr on my new laptop (i5-4210, HD4400 or GTX850M, 8GB RAM):

When watching, I get frame drops after a minute or so. The backbuffer queue (all other queues are full!) is suddenly empty and causing dropped frames till i restart the player for another minute of flawless playback. I tried every option in madVR there is. Using either the integrated HD4400 GPU or the dedicated GTX850M doesnt seem to make a difference either. Exclusive fullscreen mode doesnt change anything either.

Overall resource usage is very low while watching and with frames taking merely up to 10ms to render, i doubt raw power is the issue... HELP!
Ceremony is offline   Reply With Quote
Old 22nd July 2014, 21:05   #26963  |  Link
Asmodian
Registered User
 
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,407
It sounds like something is going into a low power mode? Check all your advanced power management options or try a "High Power" preset for testing. Try renaming the video player's exe? I don't think this is really a madVR issue, maybe open a new thread so we can discuss possibilities without clogging up this thread with general (video playback) PC support. Maybe link to it from here?
Asmodian is offline   Reply With Quote
Old 22nd July 2014, 22:51   #26964  |  Link
Ceremony
Registered User
 
Join Date: Jan 2014
Posts: 93
Quote:
Originally Posted by Asmodian View Post
It sounds like something is going into a low power mode? Check all your advanced power management options or try a "High Power" preset for testing. Try renaming the video player's exe? I don't think this is really a madVR issue, maybe open a new thread so we can discuss possibilities without clogging up this thread with general (video playback) PC support. Maybe link to it from here?
mhh yeah i will, once i tried that power thingy - though it also happens when im on AC, so i somewhat doubt it. also, render queue also drops. ignore my previous statement^^
Ceremony is offline   Reply With Quote
Old 23rd July 2014, 00:49   #26965  |  Link
JarrettH
Registered User
 
Join Date: Aug 2004
Location: Canada
Posts: 860
Quote:
Originally Posted by Asmodian View Post
I did a madVR performance test on my Titan with Jinc3+AR/Jinc3+AR, smooth motion on, debanding low/low, ordered dithering. 4 frame rendering buffer, 1 present queue, windowed mode (new path), Windows 8.1. SLI Off.

1080p24 -> 3840x2160@60Hz, 17.5ms

While playing Nvidia Inspector says:
GPU 41-52%
MCU 10-14%
GPU CLK 549-679 MHz
RAM 1429MB

Assuming performance is directly proportional to shaders*MHz a stock GTX650Ti has 39% of the GPU performance of a Titan @ 679 MHz. It also has 28% of the memory bandwidth of my Titan, well above the 14% I used.

This works out to at worst a 25.9ms rendering time on a GTX650Ti at 90% GPU usage; fine for 30fps or lower but not 60fps (16.6ms).

If I use Bicubic75+AR for chroma scaling and Jinc3 for image it changes to a 15.6 ms rendering time with at most 44% GPU usage. Scaling to a 19.5ms rendering time on a GTX650Ti @ 928MHz and 90% usage. Still not enough for 60 fps but plenty of headroom for 30 fps (33.3ms).

These are worst case estimates though, I wouldn't be surprised if the GTX650Ti had the GPU power for Jinc3 Image and Bicubic75 chroma for 1080p60. Sadly the memory bandwidth is probably insufficient.

Memory usage is a major issue though; if I turn the buffers down to 4 rending and 1 present I still hit 1429MB of GPU memory used and 4/1 is the minimum.

Edit: I was able to get memory usage down to 958MB with Jinc3+AR chroma and Jinc3+AR image by turning on most of the trade quality for performance options (10 bit instead of 16 bit) and turning off debanding and smooth motion.
Speaking of rendering times, how do I know what to aim for? My refresh rate is 60 hz. Where did 16.6 ms come from?
JarrettH is offline   Reply With Quote
Old 23rd July 2014, 00:55   #26966  |  Link
Stereodude
Registered User
 
Join Date: Dec 2002
Location: Region 0
Posts: 1,436
Quote:
Originally Posted by JarrettH View Post
Speaking of rendering times, how do I know what to aim for? My refresh rate is 60 hz. Where did 16.6 ms come from?
1/60= ?
Stereodude is offline   Reply With Quote
Old 23rd July 2014, 02:45   #26967  |  Link
Asmodian
Registered User
 
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,407
Quote:
Originally Posted by JarrettH View Post
Speaking of rendering times, how do I know what to aim for? My refresh rate is 60 hz. Where did 16.6 ms come from?
In addition to what Stereodude said; it isn't based off of your screen's refresh rate but the frame rate of the content you want to watch. Also madVR reports the rendering times you need to be below as "movie frame interval" in its OSD.
Asmodian is offline   Reply With Quote
Old 24th July 2014, 02:36   #26968  |  Link
seiyafan
Registered User
 
Join Date: Feb 2014
Posts: 162
How do you show real rendering time? After the last NNEDI3 improvement my rendering times were all in the 1-2 ms.
seiyafan is offline   Reply With Quote
Old 24th July 2014, 02:55   #26969  |  Link
Anime Viewer
Troubleshooter
 
Anime Viewer's Avatar
 
Join Date: Feb 2014
Posts: 339
Quote:
Originally Posted by seiyafan View Post
How do you show real rendering time? After the last NNEDI3 improvement my rendering times were all in the 1-2 ms.
My guess is that something has disabled NNEDI3 in madVR/MPC (or whatever you may be using in place of MPC...like Potplayer, etc). Have you changed anything in madVR settings recently (like setting image upscaling to DXVA2)?
__________________
System specs: Sager NP9150 SE with i7-3630QM 2.40GHz, 16 GB RAM, 64-bit Windows 10 Pro, NVidia GTX 680M/Intel 4000 HD optimus dual GPU system. Video viewed on LG notebook screen and LG 3D passive TV.
Anime Viewer is offline   Reply With Quote
Old 25th July 2014, 18:43   #26970  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by innocenat View Post
It's already disabled, and GPU queue and pre-presented is at 8 -- should I lower it?
That probably won't help. Playing games works alright on your laptop, using the NVidia GPU? I've no idea what's going on there, to be honest. Probably a driver issue of some sort...

Quote:
Originally Posted by James Freeman View Post
Blu-Ray is encoded and stored on the disc as Ycbcr 4:2:0, then madVR converts YCbCr to RGB and does all the processing and output in RGB, correct?
Well, madVR first upscales chroma to get from 4:2:0 to 4:4:4, and then converts to RGB, but other than that: Yes.

Quote:
Originally Posted by James Freeman View Post
I have read on AVSForums that most TVs convert incoming RGB signal back to YCbCr for processing unless we choose a special option to tell the TV to skip the conversion and output pure RGB.
On a Panasonic this option called "1080 Pixel Direct".
Quite true. However, usually this converting back to YCbCr is done in more than 8bit and with some better TVs also in 4:4:4. If done that way it's not too much of a problem. But if the display processes in 4:2:2 or 4:2:0, then obviously you're losing quality. If you have a "pure" mode, that is a good mode to use. However, some displays are fixed to 60Hz in that mode. So there's no simple recommendation that would be valid for every TV.

Quote:
Originally Posted by omarank View Post
In my Optimus enabled laptop with GT650m graphics, I can use NNEDI3 upscaling (with no frame drops for SD videos) by adding a registry key to force NVIDIA gpu for OpenCL processing; but I am not able to use any of the error diffusion algorithms due to frames getting dropped when they are enabled. I was wondering if this was due to intel igpu being used for directcompute processing. If this is a possibility, can a registry key be added similarly to force the NVIDIA gpu for directcompute processing?
That's technically not possible, unfortunately. I can choose the GPU for OpenCL processing, but I can't choose the GPU for Direct3D. Have you tried renaming your media player? Reportedly sometimes that helps to activate the NVidia GPU instead of the Intel one.

Quote:
Originally Posted by wikita View Post
i was under the impression that onboard graphics is more than sufficient for video playback, but the little time spent reading up on madvr so far has proven me wrong. i know plenty about audio related matters but not so much video, hence this is doubly confusing for me

where do you think the law of diminishing returns kicks in with regards to settings used and GPU power?
A good current onboard graphics is powerful enough for madVR to beat any other renderer out there in quality, and most external video processors and Blu-Ray players etc, too. However, madVR also contains some very power hungry algorithms which are able to squeeze out another few percent of added quality. I can't tell you whether your eyes would see/notice the difference or not, or whether the improvement is worth the added price of a dedicated GPU for you. I just try to give you the best quality I can provide for any GPU power you can offer. Now it's your job to decide whether you're satisfied with very good (if so, just get a good onboard GPU), or whether you want to pay more dollars for a few percent more quality.

Quote:
Originally Posted by Vyral View Post
EDIT : I've changed the settings with 1080p60 and 1080p59. It seems to work because the refresh rate is changed during playback but it's either 60Hz or 59.9Hz.
Actually that is correct! 1080p59 is a weird name for "1080p with 59.940Hz". Basically 1080p59 is "60Hz / 1.001".

USA NTSC and ATSC use this weird 1.001 factor, which is why for video playback it's usually better to use 24/1.001 instead of 24, and 60/1.001 instead of 60.

Quote:
Originally Posted by huhn View Post
as far as i know repeated or dropped frame forced by vsync are not shown in the OSD.
They should be, I think?

Quote:
Originally Posted by DarkSpace View Post
Not even in LAV, but in ffdshow... and I find it interesting that madVR specifies that the fullrange information comes not from upstream, but specifically from ffdshow, too.
Cool, eh?

Quote:
Originally Posted by Stereodude View Post
Also, I know you're officially not taking feature requests, but have you given any thought to adding a masking step in the processing pipeline. Something where a custom number of pixels on each edge could be masked/replaced with black? Something like the equivalent of crop + addborders in Avisynth. This would allow people with fixed pixel displays who are running with 1:1 pixel mapping to hide unwanted artifacts from the edges of content. Thanks!
Some media players already have a feature like this, e.g. J.River MC. However, I do plan to add masking features in a future version. It's mainly intended for front projection, though (CIH etc).

Quote:
Originally Posted by nikola View Post
Be aware that nVidia is actually using chroma downsampling (4:2:2 if I recall correctly) to squeeze 4K into the bandwidth constraints of HDMI 1.4. Which defeats the whole purpose of madVR's RGB processing.
Quote:
Originally Posted by huhn View Post
it's using 4:2:0 for 4k 60 fps but laeve it at this.
^ Yes. AFAIK NVidia uses 4:2:0 for 4Kp60, because that's the only way you can send 4Kp60 with the HDMI 1.4 bandwidth. Framesrates of 30p and lower should not be affected, IIRC.
madshi is offline   Reply With Quote
Old 25th July 2014, 18:43   #26971  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by NicolasRobidoux View Post
Mathias: Sigmoidization was definitely pointing you in the wrong direction. It's dead. (Apologies.)
On the other hand, I'm pretty excited about this: http://www.imagemagick.org/discourse...113483#p113483
Hmmmm... Sounds interesting. I'm not familiar with the ImageMagick scripting language, though. Could you do me the favour of describing in a few words how the algorithm works exactly? E.g. I don't understand the exact meaning of "-evaluate-sequence mean -colorspace gray -auto-level" and of "-delete 0 -compose over -composite". Thanks!
madshi is offline   Reply With Quote
Old 25th July 2014, 21:20   #26972  |  Link
DarkSpace
Registered User
 
Join Date: Oct 2011
Posts: 204
Quote:
Originally Posted by madshi View Post
Quote:
Originally Posted by DarkSpace View Post
Not even in LAV, but in ffdshow... and I find it interesting that madVR specifies that the fullrange information comes not from upstream, but specifically from ffdshow, too.
Cool, eh?
Indeed it is! And although I don't use ffdshow myself, I wonder if it makes sense to select profile rules based on the upstream filter, or at least based on whether or not the upstream filter is ffdshow, since madVR can obviously detect that
DarkSpace is offline   Reply With Quote
Old 26th July 2014, 00:30   #26973  |  Link
dansrfe
Registered User
 
Join Date: Jan 2009
Posts: 1,210
madshi, I've discovered that my iGPU -> 750M problem is resolved when I select "System Default", "VMR 7 (Renderless)", or "Overlay Video Renderer" with "High-performance NVIDIA processor" selected for a renamed mpc-hc.

Strangely, I had only tried EVR and VMR 9 (Renderless) other than madVR and both of the others also gave the same black screen result as madVR. Should I open a bug report for this on the tracker and/or would you need me to provide more information? Thanks.
dansrfe is offline   Reply With Quote
Old 26th July 2014, 01:12   #26974  |  Link
Asmodian
Registered User
 
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,407
Have you tried "enable windowed overlay" in the rendering options of madVR? It is interesting that only the old renderers work for you.
Asmodian is offline   Reply With Quote
Old 26th July 2014, 01:25   #26975  |  Link
dansrfe
Registered User
 
Join Date: Jan 2009
Posts: 1,210
Quote:
Originally Posted by Asmodian View Post
Have you tried "enable windowed overlay" in the rendering options of madVR? It is interesting that only the old renderers work for you.
When I select overlay mode in madVR I get "Overly mode not supported on this GPU".

Furthermore, when madVR or any other unsupported renderer (EVR/VMR9) is selected then no activity is shown for the 750M in GPU-Z. While the other mentioned renderers utilize the 750M.
dansrfe is offline   Reply With Quote
Old 26th July 2014, 01:37   #26976  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,657
don't know if it's a bug or something that I missed, I'm using version 0.87.10. I wanted to play my video at its native 24fps, but turning deinterlacing off in madvr's setting doesn't do anything, the video still plays at 60fps.
lansing is offline   Reply With Quote
Old 26th July 2014, 07:13   #26977  |  Link
Flux
Registered User
 
Flux's Avatar
 
Join Date: Jul 2004
Location: Finland
Posts: 109
madVR 0.87.4 + MPCHC (Windows 7 SP1 64-bit)

Chroma upscaling: NNEDI3 (32 neurons)
Image upscaling: Jinc (3 taps) + anti-ringing filter
Smooth motion: enabled
Trade quality for performance: all unticked except "use random dithering instead of OpenCL error diffusion"
Exclusive mode: enabled

AMD R9 280 3GB GPU (940 MHz / 1250 MHz) with Catalyst 13.12 drivers.

I'm playing 1080p24 10-bit videos and rendering times hover around ~ 22 ms with GPU usage ~ 50% (~ 70ms with error diffusion and ~90% GPU usage).

It is normal that I can't use error diffusion with this GPU? There is tons of dropped frames. Rendering times are correct for this GPU?
__________________
Interlaced, 50 Hz and 60 Hz, 24 fps film. These are evil artifacts from the past which still possess modern video technology.

Last edited by Flux; 26th July 2014 at 07:15.
Flux is offline   Reply With Quote
Old 26th July 2014, 07:17   #26978  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Upgrade to the latest version of madVR.
sneaker_ger is offline   Reply With Quote
Old 26th July 2014, 07:32   #26979  |  Link
Flux
Registered User
 
Flux's Avatar
 
Join Date: Jul 2004
Location: Finland
Posts: 109
I thought it was latest. Now I'm using 0.87.10 version.

0.87.4

I'm playing 1080p24 10-bit videos and rendering times hover around ~ 22 ms with GPU usage ~ 50% (~ 70ms with error diffusion and ~90% GPU usage).

0.87.10

I'm playing 1080p24 10-bit videos and rendering times hover around ~ 19 ms with GPU usage ~ 43% (~ 20ms with error diffusion and ~47% GPU usage).

Well, I guess that noticeable difference with error diffusion

Thanks for correcting this simple mistake
__________________
Interlaced, 50 Hz and 60 Hz, 24 fps film. These are evil artifacts from the past which still possess modern video technology.
Flux is offline   Reply With Quote
Old 26th July 2014, 08:24   #26980  |  Link
James Freeman
Registered User
 
Join Date: Sep 2013
Posts: 919
I am currently experimenting with my Panasonic ST60 plasma and MadVR, contrast ratio is superb (above 10,000:1), and colors are perfect (sub 2 dE with built in CMS).

First, with this particular model the madLevelsTweaker does nothing, but on my other displays it has effect; It appears the the GPU outputs 0-255 no matter what (like PC mode) when it detects this TV,
In RGB or YCbCr444 modes (nVidia card). I also use the "Pixel Direct" to get 4:4:4 Chroma.

To get a band-less picture I have to use the RGB Limited setting on the TV, and output 16-235 from madVR, this clips the OS shades but it does't matter for me.
When using the RGB Full setting & 0-255 with madVR, the TV creates minor banding like its compressing the incoming 0-255 to 16-235 then stretches back to 0-255.
Its' definitely not MadVR or Nvidia that creates the banding, it appears that the TV's processor only accepts 16-235 steps for bandless picture.

All in all, I preserve BTB and WTW using the RGB Limited on the TV & 16-235 with MadVR, and without any banding.
In effect madVR use one less dithering step because the image does not need to be stretch to 0-255, it stays at the native 16-235.

Bottom line is: 0-255 is not always best; it depends on the display device.
I use the Greyscale Ramp from the AVS709HD disc, and engage the "Reduce Banding Artifacts" in madVR for maximum smoothness, then I select the setting on the TV that looks smoothest/bandless.
I suggest you do the same, to know what's the native range the TV processor expects at the input; it may accept 0-255 and show all shades perfectly but create banding as a side effect.

One question remains; Can madTPG use 16-235, or is it locked to 0-255?
__________________
System: i7 3770K, GTX660, Win7 64bit, Panasonic ST60, Dell U2410.

Last edited by James Freeman; 26th July 2014 at 08:32.
James Freeman 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 22:15.


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