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 January 2014, 20:51   #21481  |  Link
Stereodude
Registered User
 
Join Date: Dec 2002
Location: Region 0
Posts: 1,436
Quote:
Originally Posted by madshi View Post
What does the HQV Benchmark DVD have to do with anything? People put way too much stock into those test results. It contains just a bunch of test scenes. Real world material is often more difficult than those test scenes. Furthermore most of those test scenes are for video content. Only 2 of all those tests are targetted at film content.

NVidia does not have deinterlacing and IVTC "nailed" at all. It works reasonably well, but there's room for improvement. Of course the biggest problem is the lack of decimation, but we can't fault NVidia for that, it's a limitation of the DXVA deinterlacing API. But there are other problems, as well, e.g. reliable detection of PAL film vs video. Which btw the HQV Benchmark doesn't really stress test at all.
He said it didn't work and suggested they were using a Bob. I was simply pointing to some objective 3rd party measurements / test to show that it does work (in at least those test cases). That seemed better than saying, "It seems to work pretty well for me."

Where I live I'm pretty much never going to encounter PAL film content. It's either going to be film with a telecine to make it i60 which needs an IVTC, or true interlaced video content. IMHO, what would be nice would be user side options allowing some of the cadence patterns to be blocked in the IVTC routine, and some way to configure madVR so that it will attempt an IVTC and if the IVTC fails it will pass the footage to the video card driver for "video" deinterlacing. Currently it seems I have to disable automatic source type detection and force film for the IVTC routines in madVR to work, and if I play back true interlaced video content it's not going to be properly handled until I enable automatic source type detection again.
Stereodude is offline   Reply With Quote
Old 19th January 2014, 21:07   #21482  |  Link
flashmozzg
Registered User
 
Join Date: May 2013
Posts: 77
Quote:
Originally Posted by madshi View Post
D3D11 does not support Vista and XP, both of which madVR still supports. Also DXVA is usually still based on D3D9 (although win7 now also supports hardware accelerated decoding with D3D11, I think).
It supports Vista (or in other words Vista supports it). Only xp is left out. But xp will soon become not supported even by microsoft.

Last edited by flashmozzg; 19th January 2014 at 22:25.
flashmozzg is offline   Reply With Quote
Old 19th January 2014, 22:27   #21483  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by Stereodude View Post
IMHO, what would be nice would be user side options allowing some of the cadence patterns to be blocked in the IVTC routine, and some way to configure madVR so that it will attempt an IVTC and if the IVTC fails it will pass the footage to the video card driver for "video" deinterlacing. Currently it seems I have to disable automatic source type detection and force film for the IVTC routines in madVR to work, and if I play back true interlaced video content it's not going to be properly handled until I enable automatic source type detection again.
The current madVR deinterlacing solution is just a first step. More steps to come at some point in the future. But probably not soon.

Quote:
Originally Posted by flashmozzg View Post
It supports Vista. Only xp is left out.
You're right. It's the 3D features of D3D11.1 which are not supported on Vista.
madshi is offline   Reply With Quote
Old 19th January 2014, 22:28   #21484  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
Quote:
Originally Posted by madshi View Post
You're right. It's the 3D features of D3D11.1 which are not supported on Vista.
Those are not even in 7, aren't they?
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 19th January 2014, 22:34   #21485  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Oh yes, I think you're right! Seems my mind is playing tricks on me today. Need some sleep...
madshi is offline   Reply With Quote
Old 19th January 2014, 22:36   #21486  |  Link
DragonQ
Registered User
 
Join Date: Mar 2007
Posts: 934
Quote:
Originally Posted by nevcairiel View Post
Those are not even in 7, aren't they?
.....
Quote:
Originally Posted by Wikipedia
The Platform Update for Windows 7 includes a limited set of features from Direct3D 11.1, though components that depend on WDDM 1.2 - such as feature level 11_1 and its related APIs, or quad buffering for stereoscopic rendering - are not present.
__________________
TV Setup: LG OLED55B7V; Onkyo TX-NR515; ODroid N2+; CoreElec 9.2.7
DragonQ is offline   Reply With Quote
Old 20th January 2014, 01:06   #21487  |  Link
turbojet
Registered User
 
Join Date: May 2008
Posts: 1,840
The 2:2, 3:2 file is indeed soft telecine, 96.55% film according to dgindex.

Quote:
Originally Posted by Stereodude View Post
Where I live I'm pretty much never going to encounter PAL film content. It's either going to be film with a telecine to make it i60 which needs an IVTC, or true interlaced video content. IMHO, what would be nice would be user side options allowing some of the cadence patterns to be blocked in the IVTC routine, and some way to configure madVR so that it will attempt an IVTC and if the IVTC fails it will pass the footage to the video card driver for "video" deinterlacing. Currently it seems I have to disable automatic source type detection and force film for the IVTC routines in madVR to work, and if I play back true interlaced video content it's not going to be properly handled until I enable automatic source type detection again.
If madvr looked for a 3:2 pattern and if not found switched to deinterlacing it would work for almost everything out there. While I haven't done much watching with the 'fixed lav video' setup, doing this would solve almost all the problems I currently have. It keeps trying to find a cadence and can't. cadence.mpg is fixed with lav video. cadence_extreme.mpg and combing.mpg should be fixed if searching only for 3:2 or deinterlace. The interlaced overlay 'bottom_combing.mpg' and motion_bottom.mpg problems would still exist but maybe something can be found in IT.dll source (which handles both great).

EDIT: Would the repeat_first_flag or something else have an effect on hard telecined material? Switching to it reduce cadence breaks from about 1 per minute on average to 1 every 2.5-3 minutes.
__________________
PC: FX-8320 GTS250 HTPC: G1610 GTX650
PotPlayer/MPC-BE LAVFilters MadVR-Bicubic75AR/Lanczos4AR/Lanczos4AR LumaSharpen -Strength0.9-Pattern3-Clamp0.1-OffsetBias2.0

Last edited by turbojet; 20th January 2014 at 08:21.
turbojet is offline   Reply With Quote
Old 20th January 2014, 05:43   #21488  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,923
Quote:
Do you know a freeware game with which is able to run in fullscreen exclusive mode on a secondary display? That would be good for testing. In any case, please feel free to report this problem to the madVR bug tracker. I don't know when I'll find the time to look into this problem, though.
starcraft 2 is free to play (at least a part of it) and it has an option to set the default monitor, perfect for this test. but it's big...

https://us.battle.net/account/sc2/starter-edition/
huhn is offline   Reply With Quote
Old 20th January 2014, 06:56   #21489  |  Link
6233638
Registered User
 
Join Date: Apr 2009
Posts: 1,019
Quote:
Originally Posted by madshi View Post
D3D11 does not support Vista and XP, both of which madVR still supports. Also DXVA is usually still based on D3D9 (although win7 now also supports hardware accelerated decoding with D3D11, I think).
I know that you want to support as many operating systems as possible, but Vista does have support for D3D11, and even Microsoft is dropping support for XP in April.

I'm not saying that you should rip out the existing D3D9 functionality, but if supporting D3D11 would improve madVR in a meaningful way (e.g. 10-bit output) it's something to consider.
6233638 is offline   Reply With Quote
Old 20th January 2014, 17:53   #21490  |  Link
Ver Greeneyes
Registered User
 
Join Date: May 2012
Posts: 447
Quote:
Originally Posted by 6233638 View Post
I know that you want to support as many operating systems as possible, but Vista does have support for D3D11, and even Microsoft is dropping support for XP in April.
I'd say a bigger problem with Direct3D 11 is graphics card support - for instance, only the GeForce GT 430 and up support D3D11. The first GeForce 4xx cards became available in April 2010 (whereas Vista dates back to January 30, 2007). Mind you that's mostly a reason to not rip out Direct3D 9 support.
Ver Greeneyes is offline   Reply With Quote
Old 20th January 2014, 22:39   #21491  |  Link
flashmozzg
Registered User
 
Join Date: May 2013
Posts: 77
Quote:
Originally Posted by Ver Greeneyes View Post
I'd say a bigger problem with Direct3D 11 is graphics card support - for instance, only the GeForce GT 430 and up support D3D11. The first GeForce 4xx cards became available in April 2010 (whereas Vista dates back to January 30, 2007). Mind you that's mostly a reason to not rip out Direct3D 9 support.
Dx11 is backwards compatible with Dx10, though some dx11-specific features are not supported on Dx10 cards (like HW tessellation)
flashmozzg is offline   Reply With Quote
Old 21st January 2014, 02:04   #21492  |  Link
Stereodude
Registered User
 
Join Date: Dec 2002
Location: Region 0
Posts: 1,436
Should FSE have higher rendering time than Windowed mode? I just got a Radeon HD7790 using the 13.12 drivers under Windows 7 (32-bit) with MPC-HC 1.71 that's what I'm seeing. In FSE I can barely keep the rendering time under 1/60th of a second if I crank up the madVR settings with all the driver video "enhancements" disabled. In Windowed mode I can use the max madVR settings and enable all of the video enhancements (except edge-enhancement) and still have a few ms of rendering time to spare.

Last edited by Stereodude; 21st January 2014 at 02:09. Reason: clarify
Stereodude is offline   Reply With Quote
Old 21st January 2014, 03:13   #21493  |  Link
cyberbeing
Broadband Junkie
 
Join Date: Oct 2005
Posts: 1,859
@Stereodude

If you've set the number of video frames presented in advance too high, maybe. AMD cards behave better with low values like 6 to avoid DPC latency issues.

If you are using a refresh rate higher than your video, FSE is slightly more intensive since it presents a frame every vsync interval, while Windowed mode only presents a single time for each video frame.

If you've set Flush or Flush & Wait for any of the render steps, that will also increase render times and/or tendency for dropped frames quite a bit under heavy GPU load.

Otherwise, ensure you are not forcing Anti-Aliasing, Anisotropic Filtering, VSync, etc globally under your GPU's 3D settings. Any globally forced settings will be detrimental to madVR performance under FSE. GPU video "enhancement" settings should also be left disabled if you are using madVR.

Last edited by cyberbeing; 21st January 2014 at 03:19.
cyberbeing is offline   Reply With Quote
Old 21st January 2014, 04:02   #21494  |  Link
Stereodude
Registered User
 
Join Date: Dec 2002
Location: Region 0
Posts: 1,436
Quote:
Originally Posted by cyberbeing View Post
If you've set the number of video frames presented in advance too high, maybe. AMD cards behave better with low values like 6 to avoid DPC latency issues.

If you are using a refresh rate higher than your video, FSE is slightly more intensive since it presents a frame every vsync interval, while Windowed mode only presents a single time for each video frame.

If you've set Flush or Flush & Wait for any of the render steps, that will also increase render times and/or tendency for dropped frames quite a bit under heavy GPU load.

Otherwise, ensure you are not forcing Anti-Aliasing, Anisotropic Filtering, VSync, etc globally under your GPU's 3D settings. Any globally forced settings will be detrimental to madVR performance under FSE.
I pretty much haven't changed any of the default settings in madVR. I will take a look at some of your suggestions later. I did find that disabling Aero in full screen exclusive mode dropped the FSE rendering time several ms.

Quote:
GPU video "enhancement" settings should also be left disabled if you are using madVR.
Aren't these "enhancements" done ahead of the madVR render? If so, some of these features and madVR aren't mutually exclusive. Sure some of the features should be avoided like the plague like edge-enhancement and dynamic contrast, but the noise reduction features when used in moderation can be beneficial.
Stereodude is offline   Reply With Quote
Old 21st January 2014, 10:26   #21495  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by turbojet View Post
Would the repeat_first_flag or something else have an effect on hard telecined material? Switching to it reduce cadence breaks from about 1 per minute on average to 1 every 2.5-3 minutes.
The repeat_first_flag field only has an affect on soft-telecined content. If you see reduced cadence breaks with LAV decoder compared to the other decoders than that probably means that the content you're testing with is not purely hardware-telecined, but that it is probably a mixture of soft- and hard-telecine. Which is the case for many broadcasts and DVDs...

Quote:
Originally Posted by huhn View Post
starcraft 2 is free to play (at least a part of it) and it has an option to set the default monitor, perfect for this test. but it's big...

https://us.battle.net/account/sc2/starter-edition/
Hmmmm... Does it actually switch the default monitor in the Windows settings? Meaning: Does the taskbar switch over to the other monitor while playing? Or does it only play the game on the other monitor while leaving the start menu on the original monitor?

Quote:
Originally Posted by Stereodude View Post
Should FSE have higher rendering time than Windowed mode? I just got a Radeon HD7790 using the 13.12 drivers under Windows 7 (32-bit) with MPC-HC 1.71 that's what I'm seeing. In FSE I can barely keep the rendering time under 1/60th of a second if I crank up the madVR settings with all the driver video "enhancements" disabled. In Windowed mode I can use the max madVR settings and enable all of the video enhancements (except edge-enhancement) and still have a few ms of rendering time to spare.
FWIW, you shouldn't put too much weight into the rendering times. They might be accurate, or they might not. E.g. they're not accurate if you don't have a "flush & wait" of some kind set for the last rendering step. It's more important to check for dropped frames. In my experience windows mode drops frames earlier than FSE mode, if rendering times get near to the "max". That applies especially to "smooth motion FRC". With e.g. 24fps @60Hz playback with smooth motion FRC enabled, I've found that the rendering times in windowed mode must be smaller than 1/60s, while in exclusive mode they only need to be smaller than 1/24s, to achieve smooth playback. Anyway, as long as no frames are dropped with any specific settings, you're fine.

Most of the video driver "enhancement" algorithms only affect the image (and the rendering times) if you use either DXVA deinterlacing or DXVA scaling. Otherwise they should have no effect.
madshi is offline   Reply With Quote
Old 21st January 2014, 11:28   #21496  |  Link
Vyral
Registered User
 
Vyral's Avatar
 
Join Date: Oct 2012
Posts: 70
@Stereodude
I've got a AMD HD 6800 series (13.9 drivers). The following settings works perfectly on madVR (less than 10 delayed frames on 2 hours video and no dropped frames) :
Render queue (CPU & GPU) : 12
Number of video frames presented in advance : 6
I disabled all "enhancements" together with IVTC processing in CCC and set the output to RGB 4:4:4 full range.
Moreover, HW acceleration increase the redering time, see if it's enabled in MPC-HC > LAV video settings
__________________
iiyama prolite xb2483hsu 1080p60 Gamma=2.25 - Intel Core i3-2100 3.10GHz - AMD Radeon HD 6850, RGB 4:4:4 Full range - MPC-HC + XYSubFilter + madVR
Vyral is offline   Reply With Quote
Old 21st January 2014, 13:24   #21497  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,923
Quote:
Originally Posted by madshi View Post
Hmmmm... Does it actually switch the default monitor in the Windows settings? Meaning: Does the taskbar switch over to the other monitor while playing? Or does it only play the game on the other monitor while leaving the start menu on the original monitor?
i was trying to find this out and realize it is not possible i mixed the game up or something else i'm sorry. i'm still confused about this...
huhn is offline   Reply With Quote
Old 21st January 2014, 13:49   #21498  |  Link
Stereodude
Registered User
 
Join Date: Dec 2002
Location: Region 0
Posts: 1,436
Quote:
Originally Posted by madshi View Post
FWIW, you shouldn't put too much weight into the rendering times. They might be accurate, or they might not. E.g. they're not accurate if you don't have a "flush & wait" of some kind set for the last rendering step. It's more important to check for dropped frames. In my experience windows mode drops frames earlier than FSE mode, if rendering times get near to the "max". That applies especially to "smooth motion FRC". With e.g. 24fps @60Hz playback with smooth motion FRC enabled, I've found that the rendering times in windowed mode must be smaller than 1/60s, while in exclusive mode they only need to be smaller than 1/24s, to achieve smooth playback. Anyway, as long as no frames are dropped with any specific settings, you're fine.
Well, it was also dropping frames in FSE, but wasn't in Windowed. However, I was using DXVA native in LAV which end up reporting the clips as 59.94fps instead of 29.97 for 1080i60 files. Using DXVA copy back or software decoding the clip frame rate was reported as 29.97 and the dropped frames stopped. While still using DXVA native mode I was also able to reduce the reported rendering time and eliminate the dropped frames in FSE by disable desktop composition in full screen mode.

Quote:
Most of the video driver "enhancement" algorithms only affect the image (and the rendering times) if you use either DXVA deinterlacing or DXVA scaling. Otherwise they should have no effect.
That's good information to have. I don't mind using some of the noise reduction features with light settings. However, I didn't realize they weren't active if madVR was doing IVTC and the sophisticated scaling algorithms. Frankly, I'd rather have smooth motion than some light noise reduction.

Quote:
Originally Posted by Vyral View Post
@Stereodude
I've got a AMD HD 6800 series (13.9 drivers). The following settings works perfectly on madVR (less than 10 delayed frames on 2 hours video and no dropped frames) :
Render queue (CPU & GPU) : 12
Number of video frames presented in advance : 6
I disabled all "enhancements" together with IVTC processing in CCC and set the output to RGB 4:4:4 full range.
Moreover, HW acceleration increase the rendering time, see if it's enabled in MPC-HC > LAV video settings
I've been testing with the defaults of 16 & 8 respective for the queues. Frames in advance for FSE is 4 (default). I didn't notice HW acceleration in LAV increasing the rendering time / dropped frame count (aside from the DXVA native vs. DXVA copy back thing already mentioned), but I will do more testing today. I have been able to find settings that give me no dropped frames with all the features I wanted enabled and that was the important thing.
Stereodude is offline   Reply With Quote
Old 21st January 2014, 13:55   #21499  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
FWIW, the next madVR version will have a default number of pre-presented frames of 8 (instead of the current default value of 4).
madshi is offline   Reply With Quote
Old 21st January 2014, 14:54   #21500  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,923
found the real game with that option. it's world of tanks. it doesn't change the taskbar it's free to play and if i get it right it's direct x 9.
huhn 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 19:41.


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