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. |
14th April 2011, 00:00 | #6821 | Link | |
Registered User
Join Date: Jan 2010
Posts: 28
|
Quote:
When I start playing 1080p content , frames drop like crazy , all buffer numbers are very low , 0 1 or 2 . I have to pause a few seconds and a few times to make it play smoothly , after that not a single drop/delay frame in hours . Decoder : Potplayer DXVA / Cyberlink HAM ( it's a bit better with HAM ). HD 4670 512MB . |
|
14th April 2011, 00:02 | #6822 | Link |
MPC-HC Developer
Join Date: May 2010
Location: Poland
Posts: 586
|
@ajp_anton
Good script, but why did you change filenames... I made few changes, that is better and works Code:
@echo off if exist "madVR.ax" ( if exist "madVR [Normal].ax" (goto on) else ( if exist "madVR [Debug].ax" (goto off))) echo Can't find your madVR files. pause exit :on cls echo ##################################### echo # Debug mode is currently ENABLED # echo ##################################### echo. set /P ans=Do you want to disable debug mode (Y/N)? if /i %ans%==n (exit) if /i not %ans%==y (goto on) ren "madVR.ax" "madVR [Debug].ax" ren "madVR [Normal].ax" "madVR.ax" if exist "madVR [Debug].ax" if exist "madVR.ax" (echo Debug was successfully disabled) else (echo Something went wrong...) pause exit :off cls echo ###################################### echo # Debug mode is currently DISABLED # echo ###################################### echo. set /P ans=Do you want to enable debug mode (Y/N)? if /i %ans%==n (exit) if /i not %ans%==y (goto off) ren "madVR.ax" "madVR [Normal].ax" ren "madVR [Debug].ax" "madVR.ax" if exist "madVR [Normal].ax" if exist "madVR.ax" (echo Debug was successfully enabled) else (echo Something went wrong...) pause exit Code:
@echo off if exist "madVR.ax" ( if exist "madVR [Normal].ax" (goto on) else ( if exist "madVR [Debug].ax" (goto off))) echo Can't find your madVR files. pause exit :on cls ren "madVR.ax" "madVR [Debug].ax" ren "madVR [Normal].ax" "madVR.ax" exit :off ren "madVR.ax" "madVR [Normal].ax" ren "madVR [Debug].ax" "madVR.ax" exit Last edited by kasper93; 14th April 2011 at 00:16. |
14th April 2011, 00:12 | #6823 | Link | |
Registered User
Join Date: May 2004
Posts: 5,351
|
Quote:
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED |
|
14th April 2011, 00:36 | #6824 | Link | |
Registered User
Join Date: Aug 2006
Location: Stockholm/Helsinki
Posts: 805
|
Quote:
Your filenames instead tell you which one is which, and only if you know what's going on. If one sees "madVR [Normal].ax", one may think "everything is normal" instead of "the normal one doesn't have the correct filename, therefore the debug build is active". |
|
14th April 2011, 00:43 | #6825 | Link |
Registered User
Join Date: Mar 2002
Location: Sofia, Bulgaria
Posts: 661
|
madshi,
as you've requested I've tried playing 23.976 file at 23.976Hz (23.97419 to be precise - I can't get any closer at the moment) and it doesn't differ from the CPU usage at 50.00003Hz. I've done some testing with v0.51 and a little bit more with v0.52 and there is no difference in the CPU usage between the two. Here are some screenshots from v0.51 (it's the same with v0.52 but I didn't have the time/will to make new ones) (from left to right) 1. v0.51 playback at 50.00003Hz display (LCD - primary) using new rendering path 2. v0.51 playback at 50.00003Hz display (Projector - secondary) using new rendering path 3. v0.51 playback at 23.97419Hz display (Projector - secondary) using new rendering path 4. v0.51 playback at 23.97419Hz display (Projector - secondary) using old rendering path and finally the threads CPU usage of v0.52 And here is a log from v0.52 in case you've added some logging that is different from v0.51 http://www.mediafire.com/?6na1zoo6jfldgov |
14th April 2011, 01:12 | #6826 | Link | |
Registered User
Join Date: Mar 2011
Posts: 7
|
Quote:
I have however isolated the issue. The display on the Envy 17 is capable of 60,96,and 120 hz. I normally run on 120 hz with the ATI GPU. Madvr works fine in 60 but is broken with 96 and 120. I've attached a log from my 120hz failure. |
|
14th April 2011, 03:58 | #6827 | Link | ||
Broadband Junkie
Join Date: Oct 2005
Posts: 1,859
|
Quote:
Is setting the Present Queue to 1 even possible with the swap logic used in the new render path? If not, there may be something else to try. As I mentioned in the past, I usually got frame drops/delays whenever the Render Queue dropped below 7/8, the more the Render Queue emptied, the faster drops happened. I'd be interested to see if reducing the Render Queue allowed me to have a higher Present Queue with the new path. If we're insanely lucky, lowering the Render Queue may also act as a workaround for my 3DLUT problem. Bug(?): CTRL+J Refresh Rate calculation stops working when entering the new Fullscreen Exclusive mode (madVR 0.50-0.52). This also causes the 'dropped/repeated frame every' calculation to break, since the calculated refresh rate isn't correct. Quote:
Yes, it still succeeded. Removing the error message seems to have no ill effects 0.51. Last edited by cyberbeing; 14th April 2011 at 14:11. Reason: typo |
||
14th April 2011, 04:29 | #6828 | Link |
Registered User
Join Date: Nov 2008
Posts: 36
|
Hi,
First, wow 0.52 already ...& thanks madshi / Following up my previous test (for 0.49 & 0.50), here's my result for 0.52 * Dropped frames: 2 3 3 4 3 * GPU & CPU: Notes: * Bottom 3 graphs for CPU, top 2 graphs for GPU * Load measured on Core 0, Usage on overall CPU, * Decoder: ffmpeg-mt * madVR settings: 4 frames pre-rendered (default) The result looks like CPU consumption does improve compare to 0.50 I have another question, does the "maximum pre-rendered frames" in nVidia's control panel relates to madVR similar setting ? If so, should I change it to match with madVR's setting ? Thank you /
__________________
» Core i7 920 OC @ 4Ghz, 1.28v | Asus P6T | 6GB DDR3 @ 1531Mhz, 7-7-7-24-1T | GTX260 | HP LP2475w 24" & X-Rite OPTIX-XR » Win7 Ultimate SP1 x64 | MPC-HC latest | LAV filters latest | madVR latest |
14th April 2011, 04:51 | #6829 | Link |
Registered User
Join Date: Mar 2011
Posts: 60
|
Well, i doubt you read my original post where i said it was ok, but anyhow, it's not... (after observing a little more videos...) The que set to 16 as compare to 2 made it look like the video was playing back at half the frame rate (or something like that, it's hard to describe), it wasn't really stuttery (most of the time, after playing a video with a right to left pan, i could see it though on 16, 2 was perfectly smooth, that was when the deviation/frame repeat was high/small. Sometimes when i tried to compare it was ok on 16... I suspect for some reason it's a video driver issue, and nothing with madvr at all), just hardly smooth at all. 24/30hz resolutions don't drop frames anymore though. But, there's presentation glitches which act the same.
So basicaly, this version didn't seem to fix any of my problems ;(. I can live with this for now though, as not every video has the massive frame repeat problem (as the osd shows it anyways), which is incorrectable it seems unless switching to a lower que number. EDIT: Ok, so i solved my problem. B4 i had reclock have the audio be output purely, without any resampling for maximum quality. But, if i allowed it to resample it (to sync with the refresh rate and wahtnot), i get PERFECT playback reguardless of what the que is set to or what video i play... I guess i might have to compromise ever so slightly for the audio quality for now, or mess around to see if i can get something else to fix it without resampling etc. Last edited by Hprd; 14th April 2011 at 07:21. |
14th April 2011, 05:09 | #6831 | Link |
Registered User
Join Date: Dec 2007
Posts: 652
|
Just got to the HTPC to test V0.52 which I use Relcock to change the Refresh Rate to match the media fps:
- V0.52 using New Path = Screen goes black when the refresh rate changes but Audio plays on just fine. If I then drop back to Windowed Mode, eg Pause you see a frame, if you play from then you get suttery video playback then back to a black screen when it goes into Exlcusive Mode (you don't even see the mad's OSD). - V0.52 using Old Path = Fine. Both Old and New Path are fine if the refresh rate does not change. Using an ATI 5670 1080/24/50/60hz over HDMI Last edited by jmone; 14th April 2011 at 05:11. Reason: More Info |
14th April 2011, 08:00 | #6832 | Link |
Registered User
Join Date: Mar 2009
Posts: 3,650
|
Using the new path and enabling the ffdshow framerate doubler I'm getting dropped frames, I'm only noticing it on H264 content. It's worse in fullscreen mode on higher reference frame and resolution stuff (16/720). The old path is dropping no frames with it enabled, when not using the doubler the new path appears to be working well in 0.52
|
14th April 2011, 09:39 | #6833 | Link | |
Broadband Junkie
Join Date: Oct 2005
Posts: 1,859
|
Quote:
http://www.mediafire.com/?2j29rqi5v62bsg9 The main difference I see is "Upload UploadThread() -> +;" being called after "Queue_Final();" in the logs where a hang happens. Last edited by cyberbeing; 14th April 2011 at 09:43. |
|
14th April 2011, 10:22 | #6834 | Link | ||
Registered User
Join Date: Apr 2008
Posts: 546
|
Quote:
Quote:
Last question: There are some parameters in rendering options and I don't know how configure them. If anybody could explain the aim of each option, thanks a lot. |
||
14th April 2011, 13:22 | #6835 | Link | |
Registered User
Join Date: Jun 2007
Posts: 68
|
Quote:
Now neither MPC-HC changer or Reclock script changing works Other than that 51/52 work beautifully. Madshi are you considering adding the ability into the renderer itself? Or can something be changed so that madVR "adjusts" itself to the external change of display refresh rate? |
|
14th April 2011, 13:31 | #6836 | Link |
3 eyed CRT supporter
Join Date: Jan 2008
Location: Or-strayl-ya
Posts: 563
|
madshi
With the new exclusive rendering path, fullscreen exclusive works on my interlaced VGA display at 96hz (it didn't before). But the playback is jerky and the presentation glitches continually climb - in batches of ~40 every 1/4 second. The render and backbuffer queues are near empty. However this gives me hope that it may one day work for me. Would a log help? I do realise I'm the only one here with a system like this, so if you don't want to expend effort, that's cool (I'm gunna get a new projector running 24p one day). |
14th April 2011, 14:09 | #6837 | Link |
Registered User
Join Date: Mar 2009
Posts: 962
|
0.53 still has visibly higher CPU usage with the new path than with the older one. Just FYI, I don't mind if it's necessary for the new path to be better, though my CPU is powerful enough. This is about 4 minutes' worth of 1080p/23.976 video for each (old first, then new), same as the last ones only a bit longer, no scaling.
Individual cores graph. - Last edited by Andy o; 14th April 2011 at 14:13. |
14th April 2011, 14:17 | #6838 | Link | ||||||||||||||||||||||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Done. Quote:
Quote:
Quote:
Can you please retest with v0.53? If it's still not fixed, what would help me would be the following, but you probably can give me this only if you have a dual monitor setup: (1) A madVR log of the high CPU consumption. (2) The ProcessExplorer should show which thread is consuming the most CPU in the media player process. This thread is probably named "madVR.ax + xxxx". Please tell me the "TID" number of this thread. You'll find it in the properties of the media player process in the "threads" tab. But as I said, with a single monitor setup getting information (2) will probably be impossible because you can't see the ProcessExplorer while madVR is in exclusive mode. Thanks, guys. I've not yet looked into the batch files, but will do so for the next build (v0.54). Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Thanks! I don't want you to get idle, though. So in a minute there'll be 0.53... Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
|
||||||||||||||||||||||
14th April 2011, 14:19 | #6839 | Link |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
madVR v0.53 released
http://madshi.net/madVR.zip Code:
* moving madVR to another monitor during playback is now properly handled * a couple more tweaks to the new exclusive mode rendering path * vsync handling now uses its own Direct3D device instance * improved handling of rendering failures * OSD: rendering/presentation stats are now only shown when they're meaningful * OSD: queue and dropped frames information is now directly next to each other |
14th April 2011, 14:23 | #6840 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
Tags |
direct compute, dithering, error diffusion, madvr, ngu, nnedi3, quality, renderer, scaling, uhd upscaling, upsampling |
|
|