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. |
23rd September 2012, 03:34 | #13942 | Link |
Registered User
Join Date: Jan 2002
Posts: 1,264
|
Thx. I'm having issues with the occasional frame drop which is annoying since I have the HDTV synced at 23.976Hz with a .00003Hz deviation. I can't figure out why MadVR says 1 frame drop every 30+ minutes. I thought it would be telling me several hours if not days when the Hz to FPS is so spot on. I am using LAV filters BTW.
EDIT: Oh and I have another issue. If I play a video with Directx11 enabled and use a separate thread ticked. If I then click away from the video window the video freezes whilst the audio continues. If I disable use a separate thread it works as expected. I've also noticed this weird back and forth glitch on certain settings (whereby the video seems to be repeating previous frames continuously). This often happens when using ffdshow audio with jitter correction enabled but I have seen it happen with it disabled too (or using LAV audio decoder instead). GTX560Ti BTW with 306 drivers (did it before with older drivers though). Last edited by oddball; 23rd September 2012 at 04:47. |
23rd September 2012, 11:43 | #13944 | Link |
Registered User
Join Date: Sep 2012
Location: Turin
Posts: 104
|
Hi madshi,
pixel shaders will be integrated the way EVR custom does? Will we be able to choose between pre and post-resize shaders and utilize directly the scripts from EVR custom? It will be fantastic to finally be able to use a post-resize sharpener in madVR without recurring to the TV set sharpening (which is usually crap) or NVIDIA enhancements. I’ve seen you mentioned Dideé's "fine sharp", which to my eyes is the best around (better than Seesaw and LFSMod), do you think it will be possible to integrate it into madVR via pixel-shaders (GPU) so that we can sharpen AFTER resize with madVR? It will be also cool to integrate into the interface the most common pixel shaders and to be able to tweak the basic parameters directly from madVR interface (like ffdshow does!). Thanks |
23rd September 2012, 12:35 | #13945 | Link | |
Registered User
Join Date: Jan 2002
Posts: 1,264
|
Quote:
After 8 minutes playback display 23.97603Hz Composition rate 59.940Hz clock deviation 0.00179% 1 frame drop every 37 minutes but never seems to get past a certain amount (like never in hours). use seperate thread is disabled. I always get 1 presentation glitch from start. I sometimes get an error message box popup on MPC exit but it vanishes from the screen too fast for me to see what it is. Does not happen if D3D11 is unticked. Again after 8 minutes playback. With D3D11 unticked and use seperate thread ticked. display 23.97603Hz clock deviation 0.00195% 1 frame drop every 34 minutes. Again it never seems to go any higher. ctrl-j says 0 dropped frames , delayed frames and glitches but need to wait for the movie to get past around the 2 hour mark to know (I am using a 3 hour 1080p movie as a test) if it actually does. With D3D11 unticked and use seperate thread unticked I get a slightly lower clock deviation and it gets there bit quicker. If I use ReClock in the chain (allowing the not recommended bitstream processing) deviation goes down to single digits. With D3D11 enabled it says 1 dropped frame every so many days. With D3D11 unticked, several hours. However I don't know about dropped audio frames. It says in ReClock 1 repeat audio frame initially. I would need to play something for a couple of hours to see if I get any dropped/repeated audio (and video) frames using that. BTW if I tick A/V Sync in LAV audio decoder I always get dropped frames at the beginning of playback. I usually have it unticked. I'm thinking I might just use ReClock as I can suffer the occasional dropped audio frame. I tend not to notice those unless there are lots of them and music is playing. Video frame drops however I nearly always notice. Oh and I use CUVID for decoding. I am going to try MadVR's software decoding to see if I get any different results. EDIT: Just a quick test of using MadVR's video decoding does not seem to make any difference. I am thinking ReClock does a better job of correcting any fluctuations in a/v sync or jitter? I don't have any vsync on in ReClock so don't know what it's actually doing to get the better playback figures (WASAPI perhaps?) EDIT: One other thing. I use SPDIF output from my motherboards onboard sound (SoundMax) as my receiver is old and does not support HDMI audio. I am thinking the audio clock is not so good on the onboard soundcard which may be why ReClock has to compensate? Last edited by oddball; 23rd September 2012 at 13:01. |
|
23rd September 2012, 13:03 | #13946 | Link |
Broadband Junkie
Join Date: Oct 2005
Posts: 1,859
|
Optimal Refresh Rate: 23.97645Hz
Optimal Refresh Rate: 23.97649Hz The reason madVR never reports greater than ~35-40 minutes for you is because your refresh rate is 0.00042Hz to 0.00046Hz too low. If you are able to get closer to the optimal refresh rate values for your PC, you should be able to avoid dropped frames without using ReClock. |
23rd September 2012, 13:35 | #13947 | Link | |
Registered User
Join Date: Jan 2002
Posts: 1,264
|
Quote:
I can't seem to get to the magical 23.97645-49 mark you suggest is the optimal refresh rate. 1124 total vertical pixels and 23.978 as outlined in a few places I have Googled is a no go. Nvidia 306 drivers just as a reminder EDIT: I give up. I am going to contiue using ReClock with the refresh set at 23.97603Hz as it gives a calculation of 1 frame drop in the days (vs 1 frame drop within 2 hours if I set to 23.97663Hz - the closest I can get to the 45-49 mark - and no ReClock in the chain). I am thinking it's either an issue with Nvidia or my HDTV's EDID or it just not supporting that refresh rate (hardware or firmware issue perhaps). Last edited by oddball; 23rd September 2012 at 14:00. |
|
23rd September 2012, 14:38 | #13948 | Link |
Registered User
Join Date: Jun 2011
Posts: 288
|
Where does this 23.97650 "optimal refresh rate" come from?
I have it as close to 23.97600 as possible and I have no problems...
__________________
SETUP: Win 10/MPC-HC/LAV/MadVR HARDWARE: Fractal Design Node 804 | Xeon E3-1260L v5 | Supermicro X11SSZ-TLN4F | Samsung 2x8GB DDR4 ECC | Samsung 850 EVO 1TB | MSI GTX 1650 Super | EVGA G2 750 |
23rd September 2012, 14:55 | #13949 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
|
In the perfect world, its 23.9760239760...... (24000/1001).
However, clocks are not accurate, so there is clock deviation coming in. You need to calculate this clock deviation into the refresh rate if you want a "truely" perfect result, its different for every hardware, basically. The clock deviation is also the knob ReClock uses to adjust playback for a slightly off refresh rate.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
23rd September 2012, 15:50 | #13950 | Link | |||||||||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
|
|||||||||
23rd September 2012, 16:05 | #13951 | Link |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
madVR v0.83 released
http://madshi.net/madVR.zip Code:
* added "enable windowed overlay (Windows 7 and newer)" option * added "anti-ringing" option for chroma and luma scaling * added extra "delay playback start after seeking, too" option * added new calibration option "disable GPU gamma ramps" * doubled exclusive mode seekbar in size * added position / runtime information to exclusive mode seekbar * removed some tweak options (rendered superfluous by new WHQL NVidia driver) * madVR window is now created and served by a separate thread * Windows timer/scheduler is now always set to finest possible resolution * modified DXVA deinterlacing to work a bit more similar to EVR * AVI Decompressor output is now always considered to be decompressed video * added workaround to hide kmplayer crash when resizing video * fixed: crash when multiple madVR instances are created at the same time * fixed: freeing madVR instance sometimes resulted in a crash * fixed: VSFilter passes RGB -> input was incorrectly considered limited range * fixed: bilinear chroma upsampling used MPEG1 chroma position instead of MPEG2 * fixed: switching deinterlacing mode -> "resetting Direct3D device failed" * fixed: crash when playing certain video files with AVSplitter (1) I've received several crash reports from madVR users pointing to crashes during madVR shutdown. As a result I've modified the shutdown behaviour and I think those crashes should be gone now. However, there's a certain chance that instead madVR (and with it the media player) might freeze once in a while when closing or changing video files. I have done some more changes in the hope to avoid such freezes, but only real life will tell whether freezes will occur or not. Please let me know... (2) The new option "disable GPU gamma ramps" seems to work only in fullscreen exclusive mode. Is that what you guys need? Or do you need/want madVR to disable the gamma ramps in windowed mode, too? (3) I've tried to improve the anti-ringing quality further compared to the last test build, but I have been unable to do so. So this build is identical in quality to the last test build. I might look into providing a higher quality option in a future build, which will probably consume quite a bit more GPU power, though. (4) Most importantly: madVR now supports using "Overlay" for windowed mode (requires Windows 7 or 8). This has several benefits and a few disadvantages: + should have no tearing (I think) + performs noticeably better than standard windowed mode + seems to work around the levels problems with NVidia drivers - resizing the media player window looks ugly - only one player (instance) can use overlay at a time - I'm not sure yet whether the GPU driver leaves the video untouched I've enabled Overlay by default for Windows 7, but I need your FEEDBACK: (1) Does it work well for you? (need feedback from all AMD, NVidia and Intel users) (2) Do you think it should be enabled or disabled by default? (3) If you can (and know how to) please check whether image quality is alright and untouched by the GPU driver and report back. (4) Is there anybody who still needs the "old exclusive mode path" (which is what you get when enabling exclusive mode and disabling the option "prerender multiple frames in advance")? I'm asking because I'd like to remove the old exclusive mode path. |
23rd September 2012, 16:13 | #13952 | Link |
Registered User
Join Date: Jan 2009
Posts: 1,210
|
I don't know about an API but there is a registry key which allows the wallpaper interval to change. Unfortunately, there is no "disable" option in the Personalization area anyways so that won't work but the interval can be pushed all the way to 1 day which may be a good enough period of time to consider it off for the time that madVR is being used in one go.
The key is at: HKEY_CURRENT_USER\Control Panel\Personalization\Desktop Slideshow @ Interval |
23rd September 2012, 16:18 | #13953 | Link | |
Registered User
Join Date: Sep 2006
Posts: 212
|
Quote:
|
|
23rd September 2012, 16:19 | #13954 | Link |
Registered User
Join Date: Sep 2010
Posts: 321
|
Madshi, thanks as always for continuing support. As for "enable windowed overlay (Windows 7 and newer)" on my system using mpc-be v1.0.3.0 I get no picture. Basically the media player just pauses the video automatically and i get a constant black screen. (with audio playing) I can then force the mpc-be to begin the video but again it just displays a black screen. The loaded filters are the usual, lav suite + madVR + reclock.
edit: also tested on MPC-HC and same behavior. Also using 12.8 official WHQL drivers on my 7870.
__________________
MPC-HC/MPC-BE, Lav Filters, MadVR CPU: AMD Ryzen 5 1600, Video: AMD Radeon RX Vega 56 -> TCL S405 55", Audio: Audio-Technica M50S Last edited by fairchild; 23rd September 2012 at 16:23. |
23rd September 2012, 16:28 | #13956 | Link | |||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Quote:
Have you tried the new Overlay windowed mode option? It should behave quite similar to the old exclusive mode path. Quote:
|
|||
23rd September 2012, 16:38 | #13957 | Link |
Registered User
Join Date: Jan 2009
Posts: 1,210
|
Changing the registry key takes immediate effect. I checked the interval in the GUI as well as the registry. The value is in ms I believe.
madVR log from ATI device: http://www.sendspace.com/file/f6m47w |
23rd September 2012, 16:39 | #13958 | Link |
Registered User
Join Date: Sep 2010
Posts: 321
|
http://www.sendspace.com/file/x6yx2f
This is from loading one of my test files and media player just pauses automatically on my 7870. Also noticing a new bug, when in FSE (tested both old path and the new) and you close the media file/video while it's still playing, it freezes the player. I then have to go intot he task manager and end the media player, also I notice that the MadVR thread is not running, so not sure what's causing this. This is on mpc-be, probably affects mpc-hc since they are so similair. Not sure if this is affecting others.
__________________
MPC-HC/MPC-BE, Lav Filters, MadVR CPU: AMD Ryzen 5 1600, Video: AMD Radeon RX Vega 56 -> TCL S405 55", Audio: Audio-Technica M50S Last edited by fairchild; 23rd September 2012 at 16:48. |
23rd September 2012, 16:42 | #13960 | Link |
/人 ◕ ‿‿ ◕ 人\
Join Date: May 2011
Location: Russia
Posts: 643
|
nVidia Optimus system: On integrated Intel HD 3000 overlay is slower by 0.40 ms (16.05->16.46) and present is mush slower (0.05 -> 0.19). But on discrete nVidia 540m overlay is more than 2 times faster (14.1->6.5 ms rendering and 4.28->2.55 ms present time)!
Also +1 disadvantage - it's impossible to take screenshot with video. Last edited by vivan; 23rd September 2012 at 16:51. Reason: update |
Tags |
direct compute, dithering, error diffusion, madvr, ngu, nnedi3, quality, renderer, scaling, uhd upscaling, upsampling |
|
|