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 3rd June 2013, 13:40   #18961  |  Link
Boltron
Registered User
 
Boltron's Avatar
 
Join Date: May 2011
Posts: 94
Quote:
Originally Posted by madshi View Post
Good news: I think I found a way to make refresh rate switching (23Hz vs 24Hz, 59Hz vs 60Hz) work correctly in win8.
Cool.
Boltron is offline   Reply With Quote
Old 3rd June 2013, 16:02   #18962  |  Link
6233638
Registered User
 
Join Date: Apr 2009
Posts: 1,019
Quote:
Originally Posted by madshi View Post
Good news: I think I found a way to make refresh rate switching (23Hz vs 24Hz, 59Hz vs 60Hz) work correctly in win8.
Excellent news! Can’t wait to try out the fixed version.
6233638 is offline   Reply With Quote
Old 3rd June 2013, 16:36   #18963  |  Link
karamancho
black stain
 
karamancho's Avatar
 
Join Date: Apr 2013
Posts: 46
Quote:
Originally Posted by madshi View Post
Are you using the madVR display mode changer? Or some other display mode changer?
I'm not using any display mode changer and my display modes list in devices > display modes is empty. Should I add anything to it?
karamancho is offline   Reply With Quote
Old 3rd June 2013, 16:41   #18964  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by karamancho View Post
I'm not using any display mode changer and my display modes list in devices > display modes is empty. Should I add anything to it?
You don't have to use it if you don't need it. I'm just wondering why your composition rate seemingly changes, depending on which video you're playing. You do mean the composition rate reported by the madVR OSD (Ctrl+J), right? This composition rate usually only changes if the display mode is changed. So how can it change in your case, if you don't use any refresh rate / display mode changer?
madshi is offline   Reply With Quote
Old 3rd June 2013, 17:02   #18965  |  Link
karamancho
black stain
 
karamancho's Avatar
 
Join Date: Apr 2013
Posts: 46
Quote:
Originally Posted by madshi View Post
You do mean the composition rate reported by the madVR OSD (Ctrl+J), right?
yes

Quote:
Originally Posted by madshi View Post
So how can it change in your case, if you don't use any refresh rate / display mode changer?
f.lux might be the problem again. I just disabled it and started a movie that was 30.000Hz and its now back to 60.000Hz.

whats more interesting, after starting f.lux again the same movies composition rate now stays 60.000 (after restarting the player of course)
karamancho is offline   Reply With Quote
Old 3rd June 2013, 18:31   #18966  |  Link
mindbomb
Registered User
 
Join Date: Aug 2010
Posts: 576
for dxva scaling for intel chips-
with what generation did they move from shaders to a specific scaling asic?
mindbomb is offline   Reply With Quote
Old 3rd June 2013, 19:38   #18967  |  Link
AndreaMG
Registered User
 
AndreaMG's Avatar
 
Join Date: Sep 2012
Location: Turin
Posts: 104
Here is a test with Haswell + MadVR + LAV Filters

http://www.anandtech.com/show/7007/i...pc-perspective
__________________
Raven RVZ01 * i7-4790k * 16GB RAM * Zotac GTX 970 4G * SSD 850Evo 500GB * Blu-Ray Burner Slot-In * PSU SFX 80+ Gold 450Watt * Windows 10 64bit * MPCHC+MadVR+SVP * Panasonic 50" VT30 ^^
AndreaMG is offline   Reply With Quote
Old 3rd June 2013, 20:00   #18968  |  Link
Danat
Registered User
 
Join Date: May 2013
Posts: 10
More configurable CPU queue size

Hi madshi. Really appreciate your work on this unique piece of software. I'm using madVR for everything I watch.
Recently I've hit the CPU limit on some 1080p video. I've figured out the exact reason and I'd like to request one small change in madVR config. On like 5 highly detailed fragments (with duration ~15 seconds each) of the entire video, I have stuttering and AV desync (100% CPU usage, decoder queue slowly becomes empty -> hiccups), then everything gets back to normal (60-70% CPU usage, full decoder queue). The bottleneck side-effects appeared even if using EVR renderer, so its the decoder/cpu speed issue. However I've noticed that madVR can pre-buffer decoded frames in advance, which can help my PC to distribute CPU load between heavy and light parts of the video, but the 32 queue size is not enough to achieve this (at least for this video),
so my question/feature request is: Can you increase the configurable CPU queue size to smth like 128 , so I could use all my RAM for buffering ?

I tried to hack the madVR registry config values to set 64 queue size, so I could see how that would work out for me, but that didnt work - when I ran MPC-HC the queue size became 12 instead. In case you don't want to mess up the UI with overTICKed trackbar, then perhaps can you allow manual registry config value changes outside of the UI range to be properly processed by madVR ? Or maybe some numeric box under the trackbar for "above 32" values (could be made as a trackbar value multiplier) ?

My specs are:
Athlon II X2 215 ~2.7GHz; NVIDIA GeForce 8800 GTS (320 MB); 3 GB RAM
Win XP SP3; 1920x1080@72Hz
MPC-HC(v1.6.7.7091); LAV(v0.57)-Splitter/Video/Audio; madVR(v0.86.1); ReClock;

Video material:
1860x1048 @ 23.976 fps (1080p x264 Hi10p)

madVR rendering settings:
CPU queue: 32
GPU queue: 8

Setting CPU queue size to 4 doesn't help - it plays the fragment slower/longer with frequent but small frame drops and I think the video looks less stuttering because of that, but the AV desync is still there - even a bit worse than with 32 queue size.
Danat is offline   Reply With Quote
Old 3rd June 2013, 20:46   #18969  |  Link
truexfan81
Registered User
 
truexfan81's Avatar
 
Join Date: Nov 2012
Posts: 138
Quote:
Originally Posted by Danat View Post
Hi madshi. Really appreciate your work on this unique piece of software. I'm using madVR for everything I watch.
Recently I've hit the CPU limit on some 1080p video. I've figured out the exact reason and I'd like to request one small change in madVR config. On like 5 highly detailed fragments (with duration ~15 seconds each) of the entire video, I have stuttering and AV desync (100% CPU usage, decoder queue slowly becomes empty -> hiccups), then everything gets back to normal (60-70% CPU usage, full decoder queue). The bottleneck side-effects appeared even if using EVR renderer, so its the decoder/cpu speed issue. However I've noticed that madVR can pre-buffer decoded frames in advance, which can help my PC to distribute CPU load between heavy and light parts of the video, but the 32 queue size is not enough to achieve this (at least for this video),
so my question/feature request is: Can you increase the configurable CPU queue size to smth like 128 , so I could use all my RAM for buffering ?

I tried to hack the madVR registry config values to set 64 queue size, so I could see how that would work out for me, but that didnt work - when I ran MPC-HC the queue size became 12 instead. In case you don't want to mess up the UI with overTICKed trackbar, then perhaps can you allow manual registry config value changes outside of the UI range to be properly processed by madVR ? Or maybe some numeric box under the trackbar for "above 32" values (could be made as a trackbar value multiplier) ?

My specs are:
Athlon II X2 215 ~2.7GHz; NVIDIA GeForce 8800 GTS (320 MB); 3 GB RAM
Win XP SP3; 1920x1080@72Hz
MPC-HC(v1.6.7.7091); LAV(v0.57)-Splitter/Video/Audio; madVR(v0.86.1); ReClock;

Video material:
1860x1048 @ 23.976 fps (1080p x264 Hi10p)

madVR rendering settings:
CPU queue: 32
GPU queue: 8

Setting CPU queue size to 4 doesn't help - it plays the fragment slower/longer with frequent but small frame drops and I think the video looks less stuttering because of that, but the AV desync is still there - even a bit worse than with 32 queue size.

if you have 100% cpu usage its going to drop frames no matter what settings you use, sounds like you need a faster cpu to play that video
truexfan81 is offline   Reply With Quote
Old 3rd June 2013, 21:02   #18970  |  Link
Danat
Registered User
 
Join Date: May 2013
Posts: 10
Quote:
Originally Posted by truexfan81 View Post
if you have 100% cpu usage its going to drop frames no matter what settings you use, sounds like you need a faster cpu to play that video
I understand that, though while the decoder queue is being emptied the video goes smooth enough (I'm not demanding 0 frame drops lol, if that was the impression). It almost plays fine the first heavy ~7 secs fragment - only on 6-7-th seconds i see heavy stuttering and audio becomes choppy which is quite disturbing . Thats how I got an idea of increasing the queue size more.

I love my PC because its properly configured and works like a clock without glitches. This is the only video so far that I got unsolvable problems with (I've been watching many 1080p videos just fine) and I'd rather try out some options such as these before thinking about selling the case .

Last edited by Danat; 3rd June 2013 at 21:07.
Danat is offline   Reply With Quote
Old 3rd June 2013, 21:08   #18971  |  Link
kiccolsd
Registered User
 
Join Date: Mar 2010
Posts: 14
Anyone can help me with ringing artifact issue? I have downgraded Intel HD4000 driver to 29XX in order to use Madvr but I'm experiencing some ringing. Tried a lot of 1080p mkv's played on a 1080p LCD therefore I can exclude resize related issues.
kiccolsd is offline   Reply With Quote
Old 3rd June 2013, 21:35   #18972  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by karamancho View Post
f.lux might be the problem again.
Argh...

Quote:
Originally Posted by mindbomb View Post
for dxva scaling for intel chips-
with what generation did they move from shaders to a specific scaling asic?
I don't know if they ever used shaders.

Quote:
Originally Posted by AndreaMG View Post
Here is a test with Haswell + MadVR + LAV Filters
Nice - good to see Haswell finally gets the refresh rates right!

Quote:
Originally Posted by Danat View Post
Can you increase the configurable CPU queue size to smth like 128 , so I could use all my RAM for buffering ?
Hmmmm... I'll think about it...

Quote:
Originally Posted by kiccolsd View Post
Anyone can help me with ringing artifact issue? I have downgraded Intel HD4000 driver to 29XX in order to use Madvr but I'm experiencing some ringing. Tried a lot of 1080p mkv's played on a 1080p LCD therefore I can exclude resize related issues.
I'm not sure I understand what you mean. Do you think that your playback chain somehow adds ringing artifacts to the movie which aren't in the original movie source? Can you show me a screenshot of the exact artifact you mean?
madshi is offline   Reply With Quote
Old 3rd June 2013, 22:49   #18973  |  Link
cyberbeing
Broadband Junkie
 
Join Date: Oct 2005
Posts: 1,859
Quote:
Originally Posted by madshi View Post
Nice - good to see Haswell finally gets the refresh rates right!
Not that that 23.97605 Hz really helps much when the clock deviation is so high at 0.00472% with a dropped frame every 14.84 minutes like their screenshot. The refresh rate of 23.97605 is actually very far from optimal on Ananatech's ASRock Z87E-ITX Haswell testbed in this instance, and still means using something like Reclock is required. I wish review sites like Anandtech would do more in-depth testing on the clock deviation with various hardware setups to find the best matches at standard refresh rates.

IMHO, the optimal setup is one which madVR reports drop/repeat every 3-7+ days when not using Reclock (or similar) with default GPU refresh rate settings. Matching the refresh rate to clock deviance is pretty much the only way to achieve perfect sync without degrading quality in some way, but unfortunately many GPU drivers are too inflexible to lock in fine-tuned refresh rates. This is the main thing going for using madVR with a high refresh rate multiple instead of a matching refresh rate if you seek to fine-tune refresh rate around stubborn drivers. Assuming the driver allow refresh rate timing tweaks of some kind, it becomes exponentially easier to lock in a clock deviance matched refresh rate each time you increase the refresh rate multiple.

Quote:
Originally Posted by madshi View Post
Hmmmm... I'll think about it...
If you do implement a high CPU queue like 128, you may want to consider adding an additional slider for the Subtitle queue and/or have it match the GPU queue size instead. Setting the Subtitle queue smaller than than CPU queue I would actually expect would improve reliability in cases of CPU bottlenecks, similar to how setting the CPU queue slightly higher than the GPU queue does.

Last edited by cyberbeing; 3rd June 2013 at 23:02.
cyberbeing is offline   Reply With Quote
Old 3rd June 2013, 22:58   #18974  |  Link
6233638
Registered User
 
Join Date: Apr 2009
Posts: 1,019
Why is it that video cards have such a hard time outputting the exact clock that you set anyway?
6233638 is offline   Reply With Quote
Old 3rd June 2013, 23:02   #18975  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Usually precision issues with the clock generators, or inflexibility issues. It may be designed for 23.9760 specifically, but that doesn't mean it can do 23.977 to compensate for audio deviation.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 3rd June 2013, 23:19   #18976  |  Link
e-t172
Registered User
 
Join Date: Jan 2008
Posts: 589
Wait. If I understand this correctly, if you use the same HDMI port for audio *and* video, they should be governed by the same clock (since, AFAIK, in HDMI audio is transferred during the blanking interval between two frames). If that's the case, why is clock deviation still an issue? Shouldn't they be perfectly in sync since it's the *same* clock? Or are we only discussing the case where audio is transported separately (e.g. analog)?
e-t172 is offline   Reply With Quote
Old 3rd June 2013, 23:20   #18977  |  Link
Buckster
Registered User
 
Join Date: Dec 2008
Posts: 18
I did some more viewing with Smooth Motion rendering on tonight - watching snippets of films I've watched over and over again (you know those AV demo worthy parts that are worth watching over and over again )

what has really shocked me is how with Smooth Motion on - I'm noticing details I've never noticed before - when I say details I don't mean as in it looks sharper, or there is more detail on screen so to speak, but just that there seems to be so much more content in any shot with motion

genuinely leagues better - ok there is the odd very minor additional artefact - but perfectly acceptable

I'm not normally one for "post-processing" - but whatever Smooth Motion is doing it works for my setup - so thanks !

I'm comparing 24p from MadVR as 24p input into TV (my Panasonic plays 24p at 23.976hz which is quite unusual) - you get noticeable flicker in Windows Desktop - but no obvious flicker whilst watching films

to 60p from MadVR as a 60p input into TV

in theory the Panasonic playing 24p content with near to no processing without Smooth Vision should be the ideal setup - but with Smooth Vision on its leagues better
Buckster is offline   Reply With Quote
Old 4th June 2013, 00:23   #18978  |  Link
cyberbeing
Broadband Junkie
 
Join Date: Oct 2005
Posts: 1,859
Quote:
Originally Posted by e-t172 View Post
Or are we only discussing the case where audio is transported separately (e.g. analog)?
It applies to all cases where madVR does not report drop/repeats every "1#J days". My testing with HDMI audio both PCM & Bitstream on my NVIDIA card, tells me it's not excluded. DirectShow's reference clock on the PC is a difference beast related to timing and sync compared to standalone consumer electronic devices.

I have no idea what you consider as "video clock", but the "audio clock" is what DirectShow uses as a reference clock as interpreted by the "system clock". The clock deviance shown by madVR, multiplied by and added to the video frame rate is the "real" playback rate in DirectShow before anything ever gets passed over HDMI or other output. For example, in Anandtech's screenshot with 0.00472% clock deviance, the "real" video & audio playback rate is equivalent to ~23.97715 fps, which is higher than his display refresh rate of ~23.97605 Hz.

I've found madVR's "clock deviation" + "drop/repeat every" measurements to be highly accurate on my systems, but ultimately you should trust your eyes in combination with the number of actual frame drops/repeats/glitches madVR records in the OSD stats. At a certain point, if you are unable to perceive or detect any anomalies, its good enough.

Last edited by cyberbeing; 4th June 2013 at 00:44.
cyberbeing is offline   Reply With Quote
Old 4th June 2013, 16:23   #18979  |  Link
callannn
Registered User
 
Join Date: Apr 2013
Posts: 6
Hi, I seem to be having a slight problem. Usually on playback I get no dropped/delayed frames at all, but sometimes I can watch the exact same video again (that I've previously had no dropped/delayed frames) on a different day and receive a significant amount of delayed frames (usually ranging from around 70-130 I've noticed). Does anybody know why this is?

If it helps, here are my specs: Samsung NPC700G7C, 16.0GB RAM, Intel Core 17 3610QM @ 2.30GHz, GTX 675M
I'm also using Niyawa's Guide and use it exclusively for anime playback. I'm also using his 'highest settings' for the scaling algorithm's.

If anyone could help that would be great!
callannn is offline   Reply With Quote
Old 4th June 2013, 18:46   #18980  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by cyberbeing View Post
Not that that 23.97605 Hz really helps much when the clock deviation is so high at 0.00472% with a dropped frame every 14.84 minutes like their screenshot.
Well, the article text did mention that they got an estimate of one frame drop/repeat every couple of hours, IIRC. Not sure why the screenshot doesn't match that.

Quote:
Originally Posted by cyberbeing View Post
If you do implement a high CPU queue like 128, you may want to consider adding an additional slider for the Subtitle queue and/or have it match the GPU queue size instead. Setting the Subtitle queue smaller than than CPU queue I would actually expect would improve reliability in cases of CPU bottlenecks, similar to how setting the CPU queue slightly higher than the GPU queue does.
Why would setting the Subtitle queue *smaller* have a similar effect compared to having the CPU queue *bigger*. Both subtitle rendering and decoding are CPU tasks. So I would expect a *bigger* subtitle queue to be benefical for reliability. Of course CPU consumption will be higher while filling the queue. But once it's filled it doesn't matter how large it is. CPU consumption should go back to the same value. So I don't see any problem with a large subtitle queue.

Quote:
Originally Posted by e-t172 View Post
Wait. If I understand this correctly, if you use the same HDMI port for audio *and* video, they should be governed by the same clock (since, AFAIK, in HDMI audio is transferred during the blanking interval between two frames).
In theory this sounds right. But in real life it doesn't always seem to work that way. I'm not sure, maybe they still use different clocks somehow. But what do I know...

Quote:
Originally Posted by Buckster View Post
I did some more viewing with Smooth Motion rendering on tonight - watching snippets of films I've watched over and over again (you know those AV demo worthy parts that are worth watching over and over again )

what has really shocked me is how with Smooth Motion on - I'm noticing details I've never noticed before - when I say details I don't mean as in it looks sharper, or there is more detail on screen so to speak, but just that there seems to be so much more content in any shot with motion

genuinely leagues better - ok there is the odd very minor additional artefact - but perfectly acceptable

I'm not normally one for "post-processing" - but whatever Smooth Motion is doing it works for my setup - so thanks !

I'm comparing 24p from MadVR as 24p input into TV (my Panasonic plays 24p at 23.976hz which is quite unusual) - you get noticeable flicker in Windows Desktop - but no obvious flicker whilst watching films

to 60p from MadVR as a 60p input into TV

in theory the Panasonic playing 24p content with near to no processing without Smooth Vision should be the ideal setup - but with Smooth Vision on its leagues better
Good to hear. FWIW, there have been multiple Panasonic plasma owners now saying similar things. It seems that the 24Hz implementation of Panasonic plasmas is severely lacking.

Quote:
Originally Posted by callannn View Post
Hi, I seem to be having a slight problem. Usually on playback I get no dropped/delayed frames at all, but sometimes I can watch the exact same video again (that I've previously had no dropped/delayed frames) on a different day and receive a significant amount of delayed frames (usually ranging from around 70-130 I've noticed). Does anybody know why this is?

If it helps, here are my specs: Samsung NPC700G7C, 16.0GB RAM, Intel Core 17 3610QM @ 2.30GHz, GTX 675M
I'm also using Niyawa's Guide and use it exclusively for anime playback. I'm also using his 'highest settings' for the scaling algorithm's.
We don't have enough information to help. Without any more info all I can do is give general hints like:

(1) Make sure you disable tools/applications which might eat GPU performance. E.g. newer Firefox/Chrome/IE versions might use the GPU for rendering tasks. Or recently it has been reported that the "f.lux" and "GpuZ" tools can also result in video playback problems. So close them before watching a movie.

(2) Make sure your GPU doesn't clock down. This has happened to some users. I think some tweak tools allow to fix the clock to some specific value.

If these hints don't help, make a screenshot of the madVR OSD (Ctrl+J) in the moment when those frame drops occur. If you can't make a screenshot (FSE mode?), please at least write down the state of the queues and report them here. Then we can go from there...
madshi 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:28.


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