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 19th December 2011, 05:07   #11541  |  Link
Mikey2
Registered User
 
Join Date: Nov 2010
Posts: 80
Quote:
Originally Posted by madshi View Post


Quote:
Originally Posted by Mikey2 View Post
I continually drop frames regardless of the queues in .79. There are so many permutations (each option increases the test case exponentially) that I have spent hours on this, but I have tried running in seperate threads, multiple flush options, different scaling algorithms, feeding different signals from different filters, etc...Since your post I focused on having 8 frames in advance (or backbuffers with that option disabled) and no matter what I try I simply drop frames on a second-by-second basis (where .78 allows me to run SoftCubic/4-Tap Spline in fullscreen exclusive without any frame-drop.)

Well, I asked you something very specific, I didn't ask you to test all permutations. Basically, restore your v0.78 options, then set both CPU and GPU queues to 8. Leave all other settings the same. If that doesn't help then I don't know what will. Most other people seem to have no slowdown with v0.79 compared to v0.78, so I don't really know why you do. It's very weird...

I apologize for the confusion on this - I started with your specific test-case without luck and decided to go further on my testing in hopes of helping you out.

Anyway, I have great news to report, .80 solves my problems! - I cannot thank you enough!!!

Even though I have general computer engineering experience, my knowledge on a programatic level of this is somewhat limited. That said, my theory is that the main difference between my system and many others is that I have a very high CPU-speed and decent graphics processing power since my NVidia cards are in SLI, thus allowing me to use my favorite resize algorithms (Chroma:Softcubic-100/Luma:Spline-4tap.) However, SLI does not solve the fact that my 8600GT cards still only have a pathetic 256MB of video-ram. By all rights I should not be able to do this with that little video-memory! I noticed that in .79 the video-ram was pegged in GPU-Z. However, in .80, it is only (heh ) showing 226MB of used video-ram. Perhaps the following fix had something to do with it?:

* fixed: calculation of consumed GPU RAM was wrong

Anyway, I know it sounds like I am gushing, but thank you so much for your time and your effort on this wonderful piece of software. As a software engineer myself I am especially impressed with your dedication to try to solve all of our problems, no matter how ignorant we may be on the problems at-hand.

So once again, I give you my most heartfelt Thank you!

MikeY

Last edited by Mikey2; 19th December 2011 at 05:18.
Mikey2 is offline   Reply With Quote
Old 19th December 2011, 05:14   #11542  |  Link
Mikey2
Registered User
 
Join Date: Nov 2010
Posts: 80
I have further good news with version .80!

In regards to my post on RGB32 being cut-off at the bottom... (Here is a link to my post so I don't mess-up the thread with more screenshots:

RGB screen clipping problem

)

...You responded:

Quote:
Originally Posted by madshi View Post

Please try again with the next build, hopefully fixed.
I just tested that scenario, and sure enough, it works now!

Once again, thank you so much!

MikeY
Mikey2 is offline   Reply With Quote
Old 19th December 2011, 07:52   #11543  |  Link
Andy o
Registered User
 
Join Date: Mar 2009
Posts: 962
Thanks madshi, did not expect this so soon!
__________________
MSI MAG X570 TOMAHAWK WIFI, Ryzen 5900x, RTX 3070, Win 10-64.
Pioneer VSX-LX503, LG OLED65C9
Andy o is offline   Reply With Quote
Old 19th December 2011, 07:59   #11544  |  Link
Tanis138
Registered User
 
Join Date: Nov 2011
Location: Belarus
Posts: 3
Thank you madshi!
madVR 0.80 + MPCHC (Russian) = subtitles don't disappear on Play/Pause.
Now I can fully enjoy movies w/subtitles. You are my hero!
Tanis138 is offline   Reply With Quote
Old 19th December 2011, 08:11   #11545  |  Link
azaze1
Registered User
 
Join Date: Oct 2010
Posts: 34
Quote:
Originally Posted by gav1577 View Post
Nice V-nice indeed
+1 indeed

My wish list is getting sparse for the HTPC. MadVR in XBMC with HD audio is pretty much it. No more compromises to deal with after that's all working.
azaze1 is offline   Reply With Quote
Old 19th December 2011, 08:16   #11546  |  Link
Andy o
Registered User
 
Join Date: Mar 2009
Posts: 962
Quote:
Originally Posted by madshi View Post
madVR v0.80 released
(6) Refresh rate switching does not currently take the decimation ability of the IVTC algorithm into account, so it won't switch to 24Hz mode automatically. Sorry about that. You can work around it by tagging your files with "24p" or "23p". The refresh rate changer will be improved in a future version to take IVTC into account.
One thing about this, madshi. When adding "23p" or "24p" to the file name, deinterlacing gets turned off (it says "override"), so IVTC doesn't work.
__________________
MSI MAG X570 TOMAHAWK WIFI, Ryzen 5900x, RTX 3070, Win 10-64.
Pioneer VSX-LX503, LG OLED65C9
Andy o is offline   Reply With Quote
Old 19th December 2011, 09:18   #11547  |  Link
dansrfe
Registered User
 
Join Date: Jan 2009
Posts: 1,210
My upload and render queues randomly decide to go down 2-4 frames each and then back up resulting in dropped frames sometimes. I have no idea what is causing this.
dansrfe is offline   Reply With Quote
Old 19th December 2011, 10:48   #11548  |  Link
BeNooL
Registered User
 
BeNooL's Avatar
 
Join Date: Feb 2003
Posts: 78
Quote:
Originally Posted by BeNooL View Post
That could very well be it.
In the display manager 2nd display is at the right of primary so yes, tray area is quite close the FSE area.

I'll try what was suggested by noee and report back.
Moving taskbar to the left, I can properly see madVR's popup menu when clicking on its trayicon.

Strangely when moving taskbar back, popup menu can still be displayed. Then after a short time, we're back to previous behavior.
BeNooL is offline   Reply With Quote
Old 19th December 2011, 11:03   #11549  |  Link
pankov
Registered User
 
Join Date: Mar 2002
Location: Sofia, Bulgaria
Posts: 661
BeNooL,
what do you mean by "moving taskbar to the left/right"?
Isn't your taskbar at the bottom of the primary display?
Can you provide a screenshot (using Print Screen) of your desktop with madVR's popup menu visible in the configuration that's giving you trouble. (please, don't post the full resolution pic here but a thumbnail or simply resize it something sane)
You may have to configure madVR to not use Exclusive mode, but still have it fullscreen windowed mode.
__________________
Z370M Pro4 | i3-8100 | 16GB RAM | 256GB SSD + 40TB NAS
NVIDIA GTX 1060 6GB (385.28) | LG OLED65B7V
Win 10 64bit 1803 + Zoom Player v14
pankov is offline   Reply With Quote
Old 19th December 2011, 11:07   #11550  |  Link
G_M_C
Registered User
 
Join Date: Feb 2006
Posts: 1,076
Thx for the improvements and additions !

@ IVTC: I was under the impression that my AMD card does IVTC through DXVA when you switch 'pulldowndetection' on ? Then is does recognize 3:2 etc. and video runs smooth. Or is this something completely different ?

@I gather auto reso-switching works as intended now ?
PS on this: I use my secondary output for viewing movies. It does 23/24/50/60p. My primary PC monitor only does 60Hz. When i open a 23p movie file in MPC-HT, it starts on my primary. When i switch to full screen on my secondary, does the resoswitching work there ?

----------------------

@ kasper93
I see your decoder doesn't output NV12, a conversion from H.264 4:2:0 -> NV12 4:2:0 takes place. You can maybe try to set your decoder to output NV12 directly, so no conversion is needed anymore?

Last edited by G_M_C; 19th December 2011 at 11:11.
G_M_C is offline   Reply With Quote
Old 19th December 2011, 12:57   #11551  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by kasper93 View Post
Grab top border of the MPC-HC window and slide down, it should crash. http://dl.dropbox.com/u/16282309/MPC-HC/crash.png
Oh! That's too easy...

Quote:
Originally Posted by gav1577 View Post
Nice V-nice indeed
Well, don't get your hopes up too high and too fast. We'll have to see how it plays out. It depends mostly on tiben20 and his willingness to work on this with me. I've done my part (though there still may bugs in it), now it's tiben20's turn to try to make this work in XBMC. He's got a weird crash in madVR and didn't reply to me since then. So I don't know if this will work out or not.

Quote:
Originally Posted by TheShadowRunner View Post
I experience some weirdness with the "adjust queue sizes to GPU RAM size" setting.
With the SAME file (a 1080p mov trailer), I experience the following behavior:
If "adjust queue sizes to GPU RAM size" is enabled (automatic), then madVR uses 20/12/12/3. In this case rendering is reported as 20ms and I get crazy presentation glitches.
If "adjust queue sizes to GPU RAM size" is disabled and I set both CPU queue size/GPU queue size to 8 (8/8/8/3) (=madVR 0.77 defaults), then rendering is reported as 12ms and I get 0 presentation glitches.
In other words, the automatic setting/higher queue sizes have a detrimental effect on performance. Is this normal/expected?
No, it's not. Which GPU RAM size does madVR detect (see Ctrl+J)? Can you please try 20/8/8/3 and 12/12/12/3 to find out whether the CPU or GPU queue size is the problem?

Quote:
Originally Posted by YouArePro View Post
Yes my 13" inch 2010 model macbook pro's gpu is integrated into the cpu with shared memory. However, it used to work fine with windows XP professional 32 bit on my bootcamp before changing to windows 7 ultimate 32bit now.
Well, probably the GPU drivers behave different in win7, or maybe the OS itself. As I said, I will try to get a hold of my sister's laptop, but I can't promise anything.

Quote:
Originally Posted by kasper93 View Post
Now it is even worse. Consumption of GPU RAM reported in madVR is too low. I don't have any problem related with it, but if someone have low mem GPU than I believe madVR will set too high queue size and it will glitch.
madVR only lists the memory it uses itself. Is it possible that some other application or the OS itself is consuming all the memory on your OS? What happens if you close the media player? How much RAM usage do you get reported then? Also please double check with GPU-Z or another tool, just to make sure that the process explorer got things right. Thx.

FWIW, madVR now doesn't look at how many RAM it consumes, anymore, in order to decide on the queue sizes. It only look at the detected RAM size and has fixed queue sizes for specific RAM sizes. So the information about how much RAM madVR uses has only informational character right now.

Quote:
Originally Posted by cyberbeing View Post
It now seems to correctly show GPU RAM usage of madVR only, while ignoring global GPU RAM usage. Not a major problem as long as users are aware that madVR may run out of memory when the OSD shows GPU RAM at ~90-95% (or less if other programs using GPU RAM are open) usage rather than 100%. Either way, I'd rather have it like this, compared to the previous behavior which was wildly inaccurate.
Well, of course I could just make the OSD clearer and indicate that it only shows the RAM madVR itself uses, and not the global RAM consumption. But since it's only an information in the debug OSD and nothing more, I don't consider it a big problem at the moment.

Quote:
Originally Posted by robpdotcom View Post
I think you get 720p60, or something between that and 720p48. If I set the monitor to 50Hz, I get dropped frames (visible, and through the OSD) - at 59Hz, it looked fine and reported no dropped frames.
Yeah, makes sense. I'll probably add extra support for 60p content sooner or later, so that 60p can be properly decimated to 24p, but it won't come too soon.

Quote:
Originally Posted by ryrynz View Post
Madshi, can you tell me please, what are the determining factors in keeping the present queue full?
It always drops right down after the initial queue up and it never recovers, dropping down to 0-2 or so.
I went through all the options in previous versions, 0.80 hasn't changed anything in this area for me, thanks.
Are all other queues always full? You're talking about fullscreen exclusive mode, I guess? Which GPU? Which OS? Have you changed the flush settings?

Quote:
Originally Posted by andybkma View Post
Window 7 SP1, Zoom Player 8 Max, mVR .80

New problem with Zoom Player 8 and mVR .80 : Coming out of Fullscreen Exclusive Mode into windowed mode causes Zoom Player to act very funny. It freezes, then stutters, the borders of ZP change shape oddly, then finally plays normally again. This is a new problem I have only seen with mVR .80 and only exists with Exclusive Fullscreen mode on. No problems like this with earlier versions of mVR. Going into Exclusive Fullscreen Mode is ok, it's just coming out of it. Thanks
I can reproduce at least some of this, will have a look at that.

Quote:
Originally Posted by Mikey2 View Post
Anyway, I have great news to report, .80 solves my problems!
Good to hear!

Quote:
Originally Posted by Andy o View Post
Thanks madshi, did not expect this so soon!
Soon? I've been working on this for 3-4 weeks. Implementing IVTC was more difficult than I had expected...

Quote:
Originally Posted by Andy o View Post
One thing about this, madshi. When adding "23p" or "24p" to the file name, deinterlacing gets turned off (it says "override"), so IVTC doesn't work.
Oooops. I think can use "47i" or "48i" instead. But then you have to disable the madVR option to not deinterlace 48i content. Argh, I think I need to rethink the logic a bit.

Quote:
Originally Posted by dansrfe View Post
My upload and render queues randomly decide to go down 2-4 frames each and then back up resulting in dropped frames sometimes. I have no idea what is causing this.
Maybe some software/service that is installed on your PC and is burning CPU power sometimes?

Quote:
Originally Posted by G_M_C View Post
@ IVTC: I was under the impression that my AMD card does IVTC through DXVA when you switch 'pulldowndetection' on ? Then is does recognize 3:2 etc. and video runs smooth. Or is this something completely different ?
DXVA1/2 does not support decimating. So although both ATI and NVidia (probably also Intel) do proper IVTC, they do that without decimating, so you end up with 60p or 30p, but not with 24p. In other words: When using DXVA2 deinterlacing, you can't get rid of the 3:2 judder. madVR's IVTC algorithm properly decimates, so you get true 24p output. Besides, I think there's a good chance that madVR's IVTC algorithm is superior to those used by ATI/NVidia/Intel, but I'll have to double check that before really claiming it.

Quote:
Originally Posted by G_M_C View Post
@I gather auto reso-switching works as intended now ?
It should have for a while already.

Quote:
Originally Posted by G_M_C View Post
When i open a 23p movie file in MPC-HT, it starts on my primary. When i switch to full screen on my secondary, does the resoswitching work there ?
Yes.
madshi is offline   Reply With Quote
Old 19th December 2011, 16:04   #11552  |  Link
shimaflarex
Registered User
 
Join Date: Oct 2011
Posts: 41
MPC-HC opened, without playing anything(Aero disabled):
GPU-Z reports 41MB of used GPU memory.
ProcessExplorer reports 26.9MB(dedicated memory) and 26.3MB(system memory)

Playing a 1080p video using madVR:
madVR reports usage of 115MB.
GPU-Z reports usage of 413MB.
Process Explorer reports usage of 400MB(dedicated memory) and 153MB(system memory).

Something does seems odd...
Nvidia Geforce 8500GT, if that matters.

Edit: Not using any hardware decoding.

Last edited by shimaflarex; 19th December 2011 at 16:11.
shimaflarex is offline   Reply With Quote
Old 19th December 2011, 16:55   #11553  |  Link
fairchild
Registered User
 
Join Date: Sep 2010
Posts: 321
Madshi, new version is working A-OK aside from one minor difference which I tweaked. Basically I was also noticing frame drops and low queues with the auto settings which are determined by my GPU's ram total. I have re-attained smooth playback by setting the queues to CPU:12, GPU:8 and disabling use a separate thread for presentation to stop MPC-HC from hanging when skipping through files. Everything else is at defaults for me aside from also disabling decoding and changing scaling to: softcubic 70 - chroma, bicubic 75 luma up/down
__________________
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
fairchild is offline   Reply With Quote
Old 19th December 2011, 17:08   #11554  |  Link
Andy o
Registered User
 
Join Date: Mar 2009
Posts: 962
Quote:
Originally Posted by madshi View Post
Soon? I've been working on this for 3-4 weeks. Implementing IVTC was more difficult than I had expected...
Somehow I had in mind that IVTC was one of those "foreseeable future" options without very high priority

Quote:
Oooops. I think can use "47i" or "48i" instead. But then you have to disable the madVR option to not deinterlace 48i content. Argh, I think I need to rethink the logic a bit.
This enables deinterlacing, but switches to 59p though. BTW, the option to not deinterlace 48i content seems to be "overridden" by the 47/48i tag in the file name, so it always deinterlaces.
__________________
MSI MAG X570 TOMAHAWK WIFI, Ryzen 5900x, RTX 3070, Win 10-64.
Pioneer VSX-LX503, LG OLED65C9

Last edited by Andy o; 19th December 2011 at 21:09.
Andy o is offline   Reply With Quote
Old 19th December 2011, 18:04   #11555  |  Link
dansrfe
Registered User
 
Join Date: Jan 2009
Posts: 1,210
Auto queues set:
Decoder: 19-20/20
Upload: 11-12/12
Render: 11-12/12
Present: 10-12/12

The upload and render queues go to 9-12/12 every 5 seconds on two completely different machines with two completely different gpus. This is definitely not related to my GPU or CPU. Also note that I'm using different resizing algorithms on both machines.
dansrfe is offline   Reply With Quote
Old 19th December 2011, 18:18   #11556  |  Link
kasper93
MPC-HC Developer
 
Join Date: May 2010
Location: Poland
Posts: 586
Quote:
Originally Posted by madshi View Post
Is it possible that some other application or the OS itself is consuming all the memory on your OS?.
I was talking hypothetically, actual only thing that is wrong is that ram counter, but as you say it is not important…

Quote:
Originally Posted by madshi View Post
madVR only lists the memory it uses itself. Is it possible that some other application or the OS itself is consuming all the memory on your OS? What happens if you close the media player? How much RAM usage do you get reported then? Also please double check with GPU-Z or another tool, just to make sure that the process explorer got things right. Thx.
GPU-Z, MSI Afterburner and process explorer reports same amount of used memory.
Could you look at this screenshots:
idle, without playback
1080p, deinterlacing off, bluray
1080p, deinterlacing on, bluray
480p, big buck bunny
If a picture says more than 1000 words, you should understand what the problem is But if that counter is only informative and didn't affect any madVR function than it is not so important to fix

EDIT: Of course 1080i ;p

Quote:
Originally Posted by madshi View Post
It only look at the detected RAM size and has fixed queue sizes for specific RAM sizes.
What if someone have other application that consumes GPU RAM heavily? I think queue sizes should be set dynamically depending on global free GPU RAM. For example when we run few instance of mpc-hc we can reach ram limit, I think madVR should lower queue to prevent such thing. But you are developer and you know what is best for madVR

Last edited by kasper93; 20th December 2011 at 00:50.
kasper93 is offline   Reply With Quote
Old 19th December 2011, 18:24   #11557  |  Link
TheShadowRunner
Registered User
 
TheShadowRunner's Avatar
 
Join Date: Feb 2004
Posts: 399
Quote:
Originally Posted by madshi View Post
No, it's not. Which GPU RAM size does madVR detect (see Ctrl+J)? Can you please try 20/8/8/3 and 12/12/12/3 to find out whether the CPU or GPU queue size is the problem?
madVR reports 512MB for my card, which is correct.

With "adjust queue sizes to GPU RAM size" enabled (auto):
20/12/12/3, ram: 182/512, rendering: 21ms

With "adjust queue sizes to GPU RAM size" disabled:
- 8/8/8/3, ram: 134/512, rendering: 12.80ms
- 20/8/8/3, ram: 134/512, rendering 12.90ms
- 12/12/12/3, ram: 182/512, rendering: 21ms

Looks like GPU queue size is the problem..
__________________
XP SP3 / Geforce 8500 / Zoom Player

Last edited by TheShadowRunner; 19th December 2011 at 19:35.
TheShadowRunner is offline   Reply With Quote
Old 19th December 2011, 19:23   #11558  |  Link
Weirdo
Registered User
 
Join Date: Aug 2005
Posts: 231
Thanks a lot for the updates! Recommended update method? Unregister old files -possibly deleting them- then register new ones, or just copy/replace?
Weirdo is offline   Reply With Quote
Old 19th December 2011, 19:34   #11559  |  Link
Razoola
Registered User
 
Join Date: May 2007
Posts: 454
I'm getting alot of dropped frames with 080 compared to 079 with no settings changed. It seems with 080 getting batches of 5 presentation glitches every 15 to 20 seconds that cause the stutters on my 2nd gpu.

Confirmed its not happening with 079 (presentation glitches do not increment at all) on the same gpu.

I also noticed that with 080 an aero message shows in the stats (2nd line) that is not there in 079 when using identical settings. Is that normal?

[update]

Just to add manually setting the queues like fairchild suggests does not fix the stutters for me.

Last edited by Razoola; 19th December 2011 at 20:40. Reason: update
Razoola is offline   Reply With Quote
Old 19th December 2011, 20:02   #11560  |  Link
kirakami
Registered User
 
Join Date: Aug 2011
Posts: 84
Quote:
Originally Posted by kirakami View Post
tried madVR 0.79
i get this error when i use madVR on Ge-Force 4 MX440
& MPC-HC crashes only audio plays
MPC-HC- > Playback > Output > madVR
@madshi: why does madVR always crashes for me
kirakami 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 16:37.


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