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 10th November 2011, 22:23   #10801  |  Link
mr.duck
quack quack
 
Join Date: Apr 2009
Posts: 259
Quote:
Originally Posted by madshi View Post
That's really bad. madVR's DXVA2 calls are now pretty much identical to EVR's. Well, I guess I'll have to install win7 x64 and the latest ATI driver and then hope to be able to reproduce the problem on my own PC.
I tried a different video decoder and got a slightly different result. Using a cyberlink decoder, each frame step was unique as opposed to each frame being doubled with LAV Video. But the picture quality isn't any better (in terms of getting 50 FPS) until I switch back to EVR.

Hope that helps.
__________________
Media Player Classic Home Cinema Icon Library: NORMAL VERSION / GLOWING VERSION
mr.duck is offline   Reply With Quote
Old 10th November 2011, 22:32   #10802  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by cremor View Post
But I still don't get how the decoder queue can affect anything on the GPU. Isn't this all on CPU and system RAM (with LAV software decoding)?
I don't understand it, either. Maybe the decoder has upped his thread priority, so that the render thread doesn't get enough juice? But still, if the queue is full, the decoder sleeps. And the decoder queue is pretty much always full in your logs, regardless of whether it's 8 or 12 frames big. So I've really no clue.

JFMI, which decoder are you using? Can you try different ones?

Quote:
Originally Posted by mr.duck View Post
I tried a different video decoder and got a slightly different result. Using a cyberlink decoder, each frame step was unique as opposed to each frame being doubled with LAV Video. But the picture quality isn't any better (in terms of getting 50 FPS) until I switch back to EVR.
Can you see the difference in screenshots, when using the Cyberlink decoder? What happens if you use the internal madVR decoder as a test?
madshi is offline   Reply With Quote
Old 10th November 2011, 22:59   #10803  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
Quote:
Originally Posted by madshi View Post
Yes, that's quite possible. Though, the 4770 should be pretty powerful. I'm surprised it has problems with deinterlacing when using madVR. You're sure you've disabled anti-aliasing, anisotropic filtering etc? Does your GPU run near 100% GPU usage?
its all reset to defaults, so 'use application settings' is ticked. I remember you said to leave all those settings at its default status (apart from edge enhancement and DNR, I disabled those). 'use automatic deinterlacing' is still active though, but thats also the default value.

when playing normal progressive videos, my GPU load usually seems to be around 35-50% according to the catalyst activity clock. can only test windowed mode with it though.
__________________
Laptop Lenovo Legion 5 17IMH05: i5-10300H, 16 GB Ram, NVIDIA GTX 1650 Ti (+ Intel UHD 630), Windows 10 x64, madVR (x64), MPC-HC (x64), LAV Filter (x64), XySubfilter (x64) (K-lite codec pack)
Thunderbolt8 is offline   Reply With Quote
Old 10th November 2011, 23:02   #10804  |  Link
mr.duck
quack quack
 
Join Date: Apr 2009
Posts: 259
Quote:
Originally Posted by madshi View Post
Can you see the difference in screenshots, when using the Cyberlink decoder? What happens if you use the internal madVR decoder as a test?
I can see a difference. http://imgur.com/a/1W9r4


Using internal intel decoder I had to manually enable deinterlacing and then it seems give the same result as LAV Video decoder. Every 2 frames are the same.
__________________
Media Player Classic Home Cinema Icon Library: NORMAL VERSION / GLOWING VERSION
mr.duck is offline   Reply With Quote
Old 11th November 2011, 00:04   #10805  |  Link
pankov
Registered User
 
Join Date: Mar 2002
Location: Sofia, Bulgaria
Posts: 661
Quote:
Originally Posted by madshi View Post
P.S: Can you please double check whether you get the same results with this test build?

http://madshi.net/mrduck.rar

I don't expect any changes, but who knows. The ATI smoothness fixes might also help NVidia GPU Load. I kinda doubt it, though.
You are correct - there are no changes and I too don't think it's worth using CUDA just to get a percent or so improvement.

I guess we'll have to give this round (GPU load) to EVR but it looses in so many others things that it's not even in the same league.



Thunderbolt8,
you can use GPU-Z to monitor/record your GPU load even in exclusive mode by enabling and looking at the history graphs.
__________________
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 11th November 2011, 00:50   #10806  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
Quote:
Originally Posted by pankov View Post
Thunderbolt8,
you can use GPU-Z to monitor/record your GPU load even in exclusive mode by enabling and looking at the history graphs.
thanks. did some testing with it:

1080p AVC 30-35mbit: ~35-40 % GPU load
1080i 29.97fps AVC 16,7 mbit: without deinterlacing: 30-46%
1080i 29.97fps AVC 16,7 mbit: with deinterlacing: 45-73%

1080i VC-1, without deinterlacing: for a few seconds 25, 38, 42% load, after that load = 0 (????)
1080i VC-1, with deinterlacing: 0 % load all the time (????)

only time of those 5 times, the video played absolutely smoothly was when I played the 16,7mbit 1080i AVC video with deinterlacing deactivated. even in case of the 1080p video, in between smooth playback often stopped for 2 seconds before it went back to smooth again.

so I guess the conclusion is my CPU is too slow? -.-
I can definately get all normal progressive AVC stuff to play smoothly if needed. but no chance in case of VC-1 up from a certain point, because multithreading is not supported.
__________________
Laptop Lenovo Legion 5 17IMH05: i5-10300H, 16 GB Ram, NVIDIA GTX 1650 Ti (+ Intel UHD 630), Windows 10 x64, madVR (x64), MPC-HC (x64), LAV Filter (x64), XySubfilter (x64) (K-lite codec pack)
Thunderbolt8 is offline   Reply With Quote
Old 11th November 2011, 02:29   #10807  |  Link
StrifeLeonhart
Registered User
 
Join Date: Apr 2011
Posts: 8
Quote:
Originally Posted by madshi View Post


What does "don't seem to pause" mean exactly? Do they continue to play, line after line?
No, the subtitleline at that moment on that frame just disapears with the mouse click but that doesnt happen when i press the spacebar to pause.
StrifeLeonhart is offline   Reply With Quote
Old 11th November 2011, 03:17   #10808  |  Link
nx6
Playing with MKV files...
 
nx6's Avatar
 
Join Date: Feb 2007
Posts: 278
Quote:
Originally Posted by madshi View Post
So why does it occur only on your PC, but not on anyone else's? I've added extra code to madVR to block the "Pause" OSD message. However, you seem to be using a translated version of MPC-HC. Your MPC-HC shows "Pausa" instead of "Pause". And madVR doesn't block "Pausa". You can fix the problem by translating just the "Pausa" text back to "Pause". I'm not sure where and how to do translations, though. The next madVR build will also block "Pausa". I'm aware that this all isn't really a good solution, but that's all I can do right now.
Couldn't he just turn off the OSD in MPC's Preferences so it wouldn't display the Pause message?
__________________
Intel Core i7 920, 6 GB RAM | GeForce GTX670 | Win8.1 | LAV 0.64 / MadVR 0.87.10 | Zoom Player v10 / MPC-HC 1.7.8
nx6 is offline   Reply With Quote
Old 11th November 2011, 07:14   #10809  |  Link
psymed
Registered User
 
Join Date: Nov 2010
Posts: 16
Is there a way to turn off the "Exclusive/Windowed" message at the top left whenever control+shift is used? ( shows up for a few seconds )
psymed is offline   Reply With Quote
Old 11th November 2011, 07:38   #10810  |  Link
cremor
Registered User
 
Join Date: Jun 2011
Posts: 81
Quote:
Originally Posted by madshi View Post
I don't understand it, either. Maybe the decoder has upped his thread priority, so that the render thread doesn't get enough juice? But still, if the queue is full, the decoder sleeps. And the decoder queue is pretty much always full in your logs, regardless of whether it's 8 or 12 frames big. So I've really no clue.
Shouldn't a Core i7 be powerful enough?
CPU load is at 40-50% during playback of the problematic files. Is there a way to find out how many threads are currently active in the MPC-HC process?

Quote:
Originally Posted by madshi View Post
JFMI, which decoder are you using? Can you try different ones?
I'm using LAV splitter/audio/video 0.39. But since the one VC-1 sample which uses the Microsoft splitter/decoder shows the same problem I don't think the decoder is the problem.
But I'll also try the MPC-HC internal ones when I get home.

Last edited by cremor; 11th November 2011 at 07:44.
cremor is offline   Reply With Quote
Old 11th November 2011, 07:49   #10811  |  Link
cyberbeing
Broadband Junkie
 
Join Date: Oct 2005
Posts: 1,859
Quote:
Originally Posted by cremor View Post
Is there a way to find out how many threads are currently active in the MPC-HC process?
Process Explorer -> Double Click on MPC-HC -> Threads Tab

From there you can see CPU use on a per thread basis, what's running under each thread, and thread priorities.
cyberbeing is offline   Reply With Quote
Old 11th November 2011, 08:00   #10812  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
Quote:
Originally Posted by madshi View Post
I don't understand it, either. Maybe the decoder has upped his thread priority, so that the render thread doesn't get enough juice? But still, if the queue is full, the decoder sleeps. And the decoder queue is pretty much always full in your logs, regardless of whether it's 8 or 12 frames big. So I've really no clue.
FWIW, LAV does not increase thread prioritys. If anything, it even reduces the priority of the audio thread so that video is ensured to have faster queue fills.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 11th November 2011, 08:46   #10813  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by Thunderbolt8 View Post
when playing normal progressive videos, my GPU load usually seems to be around 35-50% according to the catalyst activity clock. can only test windowed mode with it though.
Quote:
Originally Posted by Thunderbolt8 View Post
thanks. did some testing with it:

1080p AVC 30-35mbit: ~35-40 % GPU load
1080i 29.97fps AVC 16,7 mbit: without deinterlacing: 30-46%
1080i 29.97fps AVC 16,7 mbit: with deinterlacing: 45-73%

1080i VC-1, without deinterlacing: for a few seconds 25, 38, 42% load, after that load = 0 (????)
1080i VC-1, with deinterlacing: 0 % load all the time (????)

only time of those 5 times, the video played absolutely smoothly was when I played the 16,7mbit 1080i AVC video with deinterlacing deactivated. even in case of the 1080p video, in between smooth playback often stopped for 2 seconds before it went back to smooth again.

so I guess the conclusion is my CPU is too slow? -.-
I can definately get all normal progressive AVC stuff to play smoothly if needed. but no chance in case of VC-1 up from a certain point, because multithreading is not supported.
Well, does the decoder queue get empty (or near empty) when you get stuttering/frame drops? If so, the CPU is probably the problem.

Quote:
Originally Posted by mr.duck View Post
I can see a difference. http://imgur.com/a/1W9r4

Using internal intel decoder I had to manually enable deinterlacing and then it seems give the same result as LAV Video decoder. Every 2 frames are the same.
Hmmmm... Can you please test with the Cheese Slices you can get here:

http://www.avsforum.com/avs-vb/showthread.php?t=1157287

Do you see the same problems with that? If not, can you please upload a sample of your MPEG2 50i sample you've been testing with? Thx.

Quote:
Originally Posted by StrifeLeonhart View Post
No, the subtitleline at that moment on that frame just disapears with the mouse click but that doesnt happen when i press the spacebar to pause.
That doesn't happen here. Does MPC-HC show a little "Pause" OSD at the top of the screen, when you pause playback?

Quote:
Originally Posted by nx6 View Post
Couldn't he just turn off the OSD in MPC's Preferences so it wouldn't display the Pause message?
Probably, but that would also disable other messages which are useful (e.g. when changing audio delay).

Quote:
Originally Posted by psymed View Post
Is there a way to turn off the "Exclusive/Windowed" message at the top left whenever control+shift is used? ( shows up for a few seconds )
Not at the moment. Planned for a future version.

Quote:
Originally Posted by cremor View Post
Is there a way to find out how many threads are currently active in the MPC-HC process?
Yes, but this information won't help in any way.

Quote:
Originally Posted by nevcairiel View Post
FWIW, LAV does not increase thread prioritys. If anything, it even reduces the priority of the audio thread so that video is ensured to have faster queue fills.
Good to know. I'm just wondering why in cremor's log the rendering seems to always take the back seat compared to other things, although I've already increased the render thread's priority. Weird, will have to look for locking problems.
madshi is offline   Reply With Quote
Old 11th November 2011, 09:07   #10814  |  Link
mr.duck
quack quack
 
Join Date: Apr 2009
Posts: 259
Quote:
Originally Posted by madshi View Post
Hmmmm... Can you please test with the Cheese Slices you can get here:

http://www.avsforum.com/avs-vb/showthread.php?t=1157287

Do you see the same problems with that? If not, can you please upload a sample of your MPEG2 50i sample you've been testing with? Thx.
Yeah it seems the same. Doubled frames in madVR compared to EVR. Plus with madVR + deinterlacing, it is seriously choppy. Looks like my graphics card is nowhere near powerful enough (Radeon 5750).

There is another good sample on that page at the bottom of post #1 that shows clearly the fluidity of 50 FPS in EVR compared to 25 FPS (or whatever is happening) in madVR. It's called "PAL: MPEG2 - 720x576 (4:3) - interlaced - 25.00fps - 8000Kbps".
__________________
Media Player Classic Home Cinema Icon Library: NORMAL VERSION / GLOWING VERSION
mr.duck is offline   Reply With Quote
Old 11th November 2011, 10:14   #10815  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
It should be powerful enough. One thing worth trying might be to downdate to 10.11 drivers. In the meanwhile I'll try to reproduce the problem somehow.

Edit: But maybe it makes sense to wait a bit before changing driver versions. I've still some ideas on what to try here.
madshi is offline   Reply With Quote
Old 11th November 2011, 13:22   #10816  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
@mr.duck and @pankov, can you please try this build?

http://madshi.net/mrduckPankov.rar
madshi is offline   Reply With Quote
Old 11th November 2011, 14:37   #10817  |  Link
TheShadowRunner
Registered User
 
TheShadowRunner's Avatar
 
Join Date: Feb 2004
Posts: 399
hi madshi, whatever you did in this mrduckPankov build corrected this bug:
Quote:
Quote:
Originally Posted by TheShadowRunner
Here is a debug log. I start playing a video, minimize the player for 15 seconds, then bring it back up.
When bringing it back up, I clearly see the video going uber fast to catch up with the audio.
Did you say that you were using ZoomPlayer? I don't remember that. I tried to reproduce with MPC-HC. Anyway, the problem occurs with ZoomPlayer, but not with MPC-HC. Don't know why, will investigate...
__________________
XP SP3 / Geforce 8500 / Zoom Player
TheShadowRunner is offline   Reply With Quote
Old 11th November 2011, 14:43   #10818  |  Link
Boltron
Registered User
 
Boltron's Avatar
 
Join Date: May 2011
Posts: 94
Madshi. I'd like to better understand how madVR makes use of video card memory. I have an 1GB ATI5670. Watching standard 24p movies I see the GPU memory utilization sit about ~65%. The other day I watched a 1080i rip from a Bluray (interlacing was enabled) and it showed usage of ~90%. Not that I think anything is wrong, I just want to understand how memory is used so I can make a more informed decision the next time I purchase a video card. My criteria so far has been to go with 1GB and faster DDR5 memory.
Boltron is offline   Reply With Quote
Old 11th November 2011, 14:43   #10819  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by TheShadowRunner View Post
hi madshi, whatever you did in this mrduckPankov build corrected this bug:
Really? That's good news, I haven't even tried to fix that bug yet!
madshi is offline   Reply With Quote
Old 11th November 2011, 14:45   #10820  |  Link
TheShadowRunner
Registered User
 
TheShadowRunner's Avatar
 
Join Date: Feb 2004
Posts: 399
Quote:
Originally Posted by madshi View Post
Really? That's good news, I haven't even tried to fix that bug yet!
Interesting haha, but yes it did fix it on my system for sure

ps: it didn't fix the slow-ZP-freeze-on-seek-after-madvr-frequency-switch one tho ^^;;
__________________
XP SP3 / Geforce 8500 / Zoom Player
TheShadowRunner 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 03:19.


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