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 23rd August 2011, 03:07   #1  |  Link
QBhd
QB the Slayer
 
QBhd's Avatar
 
Join Date: Feb 2011
Location: Toronto
Posts: 706
madVR - 60fps Playback issues

So for the longest time I have not been able to play 60fps mkv's. And there have been a few posts in the madVR thread by others that seem to have similar problems. I have worked for months to get this working and I am happy to report that I have finally found the issue, and wanted to start this thread to inform others of a potential solution.

The problems I have had are massive dropped frames, whether in Exclusive or Windowed mode. No matter what settings I used there would be massive dropped frames (although Exclusive did help, it was still un-watchable). My setup is this:

I had basically given up trying to get this to work, but the other day I decided to go back though the imouto settings, updating all the filters and updating ALL my Catalyst drivers (I had been using 11.6... SB, RAID, OCL and AVIVO). I also reset my AMD VISION Engine Control Center to factory defaults and and re-applied my hardware specific settings.

Well low and behold my un-watchable 720p60 file is now playing perfect in exclusive mode (still massive dropped frames in Windowed mode). That was yesterday, today I spent the day going back through ALL the changes I made (testing in between each change) and found that the culprit was the Catalyst OCL video drivers. Once I updated those to 11.8 all was good! And I think (not 100% sure) the 11.8 AVIVO drivers also helped.

So for anyone else having this issue with an AMD graphics setup like mine, I highly suggest you get the latest Catalyst suite (11.8) and AVIVO.

@madshi:

Your work is awesome, and I do apologize for not completely answering your questions in the past, but I really wanted to narrow down things for you and make things a little easier. I still have one odd thing that you may be interested in. It is illustrated in this screen shot, which I have highlighted:



As you can see it is a 59.940fps clip and I am wondering why the Present Queue is only going as high as 7 (very rarely going to 8) when it is set to 16. ALL other movies, files and clips I have go to 16, but this 60fps content only goes to 7. This was one of the main reasons why the bad drivers were dropping massive amounts of frames, the queue is very small and any delay/glitch quickly empties it.

Do you have any thoughts?

Here is the sample I had posted in the main thread if you need it again:

720p60 Sample MKV

I hope this helps others, I did not want this lost in the main trhead.

QB
__________________
QBhd is offline   Reply With Quote
Old 23rd August 2011, 05:55   #2  |  Link
nand chan
( ≖‿≖)
 
Join Date: Jul 2011
Location: BW, Germany
Posts: 380
Your problem is DXVA renderless. When I use that, I get horrible, horrible frame drops as well.

I'm not sure what the cause is - might be incorrect GPU clocks but then madVR should slow down as well.
__________________
Forget about my old .3dlut stuff, just use mpv if you want accurate color management
nand chan is offline   Reply With Quote
Old 23rd August 2011, 06:50   #3  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,368
ATI/AMD is known to be really slow with GPU->CPU memory copy. Its certainly possible that 60fps is just beyond what it can do smoothly. Use a software codec, and the problem should go away.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 23rd August 2011, 06:50   #4  |  Link
QBhd
QB the Slayer
 
QBhd's Avatar
 
Join Date: Feb 2011
Location: Toronto
Posts: 706
As I said... it was a problem and I had scrapped the idea entirely until I got the Catalyst 11.8 drivers and decided to give it another go... and she was running smooth.

As for SW playback, you are correct. It goes away. But that is not what I want/need. I do a lot of x264 encoding while I watch videos, and CPU cycles are at a premium under those circumstances.

QB
__________________

Last edited by QBhd; 23rd August 2011 at 06:53.
QBhd is offline   Reply With Quote
Old 23rd August 2011, 07:33   #5  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Quote:
Originally Posted by QBhd View Post
Your work is awesome, and I do apologize for not completely answering your questions in the past, but I really wanted to narrow down things for you and make things a little easier. I still have one odd thing that you may be interested in. It is illustrated in this screen shot, which I have highlighted:

[picture]

As you can see it is a 59.940fps clip and I am wondering why the Present Queue is only going as high as 7 (very rarely going to 8) when it is set to 16. ALL other movies, files and clips I have go to 16, but this 60fps content only goes to 7. This was one of the main reasons why the bad drivers were dropping massive amounts of frames, the queue is very small and any delay/glitch quickly empties it.
That is normal. The present queue is limited by the render queue in some way. It can only go higher if your display refresh rate is higher than the movie fps. In your test you were watching a 60 fps movie on a 60 Hz display, so it could never exceed 8 frames (=the maximum of the render queue). Your other movies are probably 24 fps < 60 Hz.
sneaker_ger is offline   Reply With Quote
Old 23rd August 2011, 07:39   #6  |  Link
nand chan
( ≖‿≖)
 
Join Date: Jul 2011
Location: BW, Germany
Posts: 380
Quote:
Originally Posted by sneaker_ger View Post
That is normal. The present queue is limited by the render queue in some way. It can only go higher if your display refresh rate is higher than the movie fps. In your test you were watching a 60 fps movie on a 60 Hz display, so it could never exceed 8 frames (=the maximum of the render queue). Your other movies are probably 24 fps < 60 Hz.
Doesn't change the fact that he has 46 frame drops though.
__________________
Forget about my old .3dlut stuff, just use mpv if you want accurate color management
nand chan is offline   Reply With Quote
Old 23rd August 2011, 08:05   #7  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,368
I can easily pile up 46 drops if i switch between windowed and FSE a couple of times, yet during normal playback nothing is ever dropped.

Quote:
Originally Posted by QBhd View Post
As for SW playback, you are correct. It goes away. But that is not what I want/need. I do a lot of x264 encoding while I watch videos, and CPU cycles are at a premium under those circumstances.
If you desperately need hardware decoding with ATI/AMD, maybe you should switch to EVR. The DXVA renderless is slow, and its prone to performance issues, like you're seeing. The only chance you have is trying other drivers, and if you find one that works, never ever install a new one again. ATI/AMD likes breaking drivers over and over again. So if 11.8 works for you now, never touch it again.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 23rd August 2011 at 08:15.
nevcairiel is offline   Reply With Quote
Old 23rd August 2011, 08:45   #8  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by QBhd View Post
As you can see it is a 59.940fps clip and I am wondering why the Present Queue is only going as high as 7 (very rarely going to 8) when it is set to 16. ALL other movies, files and clips I have go to 16, but this 60fps content only goes to 7.
The present queue is limited by the size of the other queues. If movie frame rate and display refresh rate are identical, the present queue can't be higher than the other queues. So it can never go higher than 8. If the movie frame rate is *lower* than the refresh rate, things are different. E.g. with a 24fps movie on a 60Hz display, madVR presents every movie frame 2-3 times. So basically every frame in the render queue is presented multiple times. That's why in this specific situation the presentation queue can go up to 2.5 * render queue size.
madshi is offline   Reply With Quote
Old 23rd August 2011, 12:55   #9  |  Link
QBhd
QB the Slayer
 
QBhd's Avatar
 
Join Date: Feb 2011
Location: Toronto
Posts: 706
Quote:
Originally Posted by madshi View Post
The present queue is limited by the size of the other queues. If movie frame rate and display refresh rate are identical, the present queue can't be higher than the other queues. So it can never go higher than 8. If the movie frame rate is *lower* than the refresh rate, things are different. E.g. with a 24fps movie on a 60Hz display, madVR presents every movie frame 2-3 times. So basically every frame in the render queue is presented multiple times. That's why in this specific situation the presentation queue can go up to 2.5 * render queue size.
Wow... that makes so much sense and is so obvious. It never even crossed my mind! Thanks for clearing that up, it was a small curiousity that was still bothering me after getting the DXVA Renderless setup to finally work.

As for drivers... I know all too well how AMD can pooch a good setup with a simple "update". That is why I always have a system image to roll-back to if a driver all of a sudden goes bad.

"Vanilla" DXVA (EVR cp) does work flawlessly with a heavy CPU load such as x264 encoding. And if I must fall back to it I will, but madshi's work on madVR is truly awesome and videos have NEVER looked better. Once you have seen just how good videos can look, you never want to go back. Keep up the good work madshi and nevcairiel (LAV really rocks too!!)

QB
__________________
QBhd is offline   Reply With Quote
Old 26th August 2011, 14:29   #10  |  Link
petran79
Registered User
 
Join Date: Aug 2007
Posts: 89
in Potplayer what key do you press to see the dropped frames like in the picture? When I press TAB it shows just the file info.

I have also issues with dropped frames in 60fps video and I am using an Nvidia GTS video card

Other renderers play smooth.
petran79 is offline   Reply With Quote
Old 26th August 2011, 14:56   #11  |  Link
nand chan
( ≖‿≖)
 
Join Date: Jul 2011
Location: BW, Germany
Posts: 380
Quote:
Originally Posted by petran79 View Post
in Potplayer what key do you press to see the dropped frames like in the picture? When I press TAB it shows just the file info.

I have also issues with dropped frames in 60fps video and I am using an Nvidia GTS video card

Other renderers play smooth.
That's madVR's OSD (Ctrl+J) in the picture.
__________________
Forget about my old .3dlut stuff, just use mpv if you want accurate color management
nand chan is offline   Reply With Quote
Old 30th August 2011, 06:43   #12  |  Link
Malow
In bytes we trust
 
Malow's Avatar
 
Join Date: Oct 2002
Location: Torres Beach, Brazil
Posts: 279
i tested a while ago, 60fps would give me drops as well.

today, i downloaded this much newer version, compared to previous, and in full-screen exclusive mode, works perfectly. smooth as butter.

haali renderer still give a lot of drops.
Malow is offline   Reply With Quote
Reply

Tags
60fps, amd, dropped frames, madvr, potplayer

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 15:50.


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