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 > Capturing and Editing Video > New and alternative a/v containers

Reply
 
Thread Tools Search this Thread Display Modes
Old 16th August 2017, 22:04   #22061  |  Link
el Filou
Registered User
 
el Filou's Avatar
 
Join Date: Oct 2016
Posts: 896
@DragonQ personally, I'd put the i3 in the HTPC. If the only thing your server is doing is serving files, then a faster CPU won't change much as it's pretty much only the storage subsystem and RAM that matters.

Quote:
Originally Posted by ryrynz View Post
Grab the nightly and test.
Minimum frame rate is better, but still no luck overall:
0.70.2: 36-41 fps
0.70.2-35: 39-41 fps

I think my chipset/RAM is really too slow.

(FYI, 0.70.2-35 DX11: 32-33 fps)
__________________
HTPC: Windows 10 22H2, MediaPortal 1, LAV Filters/ReClock/madVR. DVB-C TV, Panasonic GT60, Denon 2310, Core 2 Duo E7400 oc'd, GeForce 1050 Ti 536.40
el Filou is offline   Reply With Quote
Old 17th August 2017, 01:33   #22062  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,342
For the real gain you'll need to wait for an updated madVR - which is scheduled for sometime this week. Note that you won't really be able to benchmark that mode, since only madVR will be able to understand it (for now), but you can of course do real-world tests to see if it works smoothly.
Performance wise I would expect it to be similar to DXVA2 native, without the quality drawbacks.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 17th August 2017 at 09:31.
nevcairiel is online now   Reply With Quote
Old 17th August 2017, 10:04   #22063  |  Link
DragonQ
Registered User
 
Join Date: Mar 2007
Posts: 934
Quote:
Originally Posted by el Filou View Post
@DragonQ personally, I'd put the i3 in the HTPC. If the only thing your server is doing is serving files, then a faster CPU won't change much as it's pretty much only the storage subsystem and RAM that matters.
I think you're right that most of the stuff it does is I/O or bandwidth limited rather than CPU limited:
  • Serving files
  • Serving Windows Updates
  • Calculating FlexRAID parity nightly*
  • Backup files nightly
  • Running background downloads
  • Hosting a VPN
  • Hosting a web server (file sharing, SubSonic, WebMediaPortal, etc.)
The starred item would probably benefit from greater CPU power but it's rare that it has to do a long recalculation anyway. Whenever my girlfriend upgrades her gaming PC I'll be able to nab her Core i5-2500K too but that could be years away. I could even retire my X5650 system but that'd be a terrible server since it uses so much power!
__________________
TV Setup: LG OLED55B7V; Onkyo TX-NR515; ODroid N2+; CoreElec 9.2.7

Last edited by DragonQ; 17th August 2017 at 10:30.
DragonQ is offline   Reply With Quote
Old 17th August 2017, 21:04   #22064  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,903
is d3d11 headless mode also planned for the next release?
huhn is offline   Reply With Quote
Old 18th August 2017, 17:31   #22065  |  Link
DragonQ
Registered User
 
Join Date: Mar 2007
Posts: 934
Using my AMD RX 480, when I attempt to play this sample file (2160p60, HEVC, 10b, 25 Mb/s) at 1440p using DXVA2 copy-back I get 100% GPU usage and it's nowhere near playable. Same for CPU decoding, even with 12 virtual cores. However, when I play it using DXVA2 native, I just get a black screen. The GPU is doing something since usage is around 50% and MadVR says frames are taking ~10 ms to render, but I can't see anything. Should I be able to play this file using DXVA2 native using this GPU?

I even tried turning everything in MadVR down to nearest neighbour but it made no difference to either the GPU usage or black screen.
__________________
TV Setup: LG OLED55B7V; Onkyo TX-NR515; ODroid N2+; CoreElec 9.2.7
DragonQ is offline   Reply With Quote
Old 18th August 2017, 18:19   #22066  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,342
Quote:
Originally Posted by DragonQ View Post
Should I be able to play this file using DXVA2 native using this GPU?
10-bit DXVA2-Native is rather broken on AMD in conjunction with madVR (driver bugs, i'm told).

You can try a nightly LAV and the latest madVR, and test D3D11 mode - assuming you are on Windows 8 or newer.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is online now   Reply With Quote
Old 18th August 2017, 19:38   #22067  |  Link
aufkrawall
Registered User
 
Join Date: Dec 2011
Posts: 1,812
Thx a lot for D3D11VA support, nev.
I did some tests and here are my conclusions vs. DXVA2 (copyback) regarding quality on a GTX 1070 with driver 385.28 on Windows 10 Creators Update 1 + madVR (deband off, dithered 8 bit output):
  • DXVA2 native doesn't show banding anymore (?) with HEVC 10 bit Rec.709 content
  • DXVA2 native shows most excessive banding with HEVC 10 bit Rec.2020 HDR content
  • It still shows nasty chroma blur with H.264 8 bit
  • I don't have a proper sample to test chroma blur with 10 bit content, so can't say if it would also show chroma blur with DXVA2 native (I personally would expect the worst)
  • It seems DXVA2 native doesn't increase banding anymore (?) of 8 bit H.264 sources
  • D3D11VA doesn't seem to show any banding at all with any of the mentioned content
  • D3D11VA also doesn't show any chroma blur
  • Both points also apply to DXVA2 copyback (of course we already knew that)

And now, a interesting point which has often been excluded: performance.

I assumed my graphics card's power consumption by multiplying the average percentage value of the reported power target with the card's measured 100% power target, which is ~180W for this MSI 1070 Gaming X. Nvidia Inspector and hwinfo64 can read out values in Watts, but they don't seem to be realistic for some reasons (way too high).
I again tested with a HEVC 10 bit Rec.2020 HDR 4k 60fps video, downscaled to 1440p with reasonable quality settings.

d3d11va: ~32% Power -> ~58W ~55% GPU usage @ 1.45GHz @ 2.3GB VRAM
dxva2-copyback: ~54% Power -> ~97W ~68% GPU usage @ 2GHz 2.5GB VRAM

So, copyback mode can have a huge impact on power consumption and performance, and even may prevent you from using better madVR quality settings.

-> D3D11VA seems to be golden.
aufkrawall is offline   Reply With Quote
Old 18th August 2017, 21:38   #22068  |  Link
BetA13
cosmic entity
 
BetA13's Avatar
 
Join Date: May 2011
Location: outside the Box
Posts: 258
hmmm, just a quick question.
The DXVA11 mode doesnt work for win 7, does it?
cause it doesnt work for me, it uses CPU instead..i mean the GPU isnt listed and not used when using DXVA11..

sorry if this has allready been answered but i didnt find it..

greetz
BetA13 is offline   Reply With Quote
Old 18th August 2017, 22:33   #22069  |  Link
Zetti
Registered User
 
Join Date: Dec 2015
Posts: 305
Quote:
Originally Posted by BetA13 View Post
hmmm, just a quick question.
The DXVA11 mode doesnt work for win 7, does it?
cause it doesnt work for me, it uses CPU instead..i mean the GPU isnt listed and not used when using DXVA11..

sorry if this has allready been answered but i didnt find it..

greetz
Read nevcairiel's last post in post #22109
Zetti is offline   Reply With Quote
Old 18th August 2017, 23:27   #22070  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,342
D3D11 decoding is not supported on Windows 7, and after some testing it also seems like that won't change. The NV12 texture format is not available on 7, which makes the entire process impossible.
One could perhaps do a low-quality thing that outputs RGB directly, but we already have DXVA2-Native which operates on a similar concept.

I'll probably add a note about that in the LAV config. I thought about just hiding the option entirely, but perhaps its good to show people what they are missing (also, they might come here asking where it is since they heard about it)
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 18th August 2017 at 23:58.
nevcairiel is online now   Reply With Quote
Old 19th August 2017, 01:20   #22071  |  Link
mitchmalibu
Registered User
 
Join Date: Mar 2009
Posts: 37
Just wanted to say, really great stuff on the DXVA11 mode: it handles my hdr 60fps demo clips perfectly, which I wasn't able to do previously. Between you and madshi, the htpc world really made huge steps forward in a matter of months.
__________________
OS: Win10 1703
GPU: GTX 1070 (latest stable drivers)
Monitor: LG OLED55B6V TV / Yamaha RX-A860 AVR
Media setup: MPC-BE x64, madvr, lav filters (nightly)
mitchmalibu is offline   Reply With Quote
Old 19th August 2017, 01:49   #22072  |  Link
DragonQ
Registered User
 
Join Date: Mar 2007
Posts: 934
Quote:
Originally Posted by nevcairiel View Post
10-bit DXVA2-Native is rather broken on AMD in conjunction with madVR (driver bugs, i'm told).

You can try a nightly LAV and the latest madVR, and test D3D11 mode - assuming you are on Windows 8 or newer.
I'm running the latest MadVR and latest LAV Filters nightly but still get a black screen in DXVA2 native. I'm currently on the previous WHQL driver (17.4.4) due to severe game performance issues with the latest one (17.7.2), I wonder if that driver solves this problem?

However, D3D11 mode seems to work. I can play the sample clip in fullscreen with ~50% GPU usage using "ReconSoft" chroma and "Catmull-Rom AR" luma.
__________________
TV Setup: LG OLED55B7V; Onkyo TX-NR515; ODroid N2+; CoreElec 9.2.7
DragonQ is offline   Reply With Quote
Old 19th August 2017, 05:33   #22073  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,646
Why wonder? Take you a few minutes to know for certain.
ryrynz is offline   Reply With Quote
Old 19th August 2017, 07:51   #22074  |  Link
mogli
Registered User
 
Join Date: May 2015
Posts: 106
I saw the video decoder showing D3D11 cb direct mode instead of native. How and why is that activated?
mogli is offline   Reply With Quote
Old 19th August 2017, 08:07   #22075  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
LAV auto switches to D3D11 copyback ("D3D11 cb") if the video renderer doesn't support the required communication interface for native D3D11 DXVA. So e.g. if you activate D3D11 decoding for EVR, or for an old (anything older than 0.92.0) madVR version, you'll get D3D11 copyback.
madshi is offline   Reply With Quote
Old 19th August 2017, 08:27   #22076  |  Link
mogli
Registered User
 
Join Date: May 2015
Posts: 106
OK, but renderer was madVR 0.92.1 which generally uses D3D11 native. Maybe just a hickup.
mogli is offline   Reply With Quote
Old 19th August 2017, 08:48   #22077  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
If you can find a way to reproduce it somehow, please let us know how!
madshi is offline   Reply With Quote
Old 19th August 2017, 09:04   #22078  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,342
Of course there also cannot be anything between LAV Video and madVR, ie. no ffdshow video processing or anyhting of that sort. native requires a clean direct connection.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is online now   Reply With Quote
Old 19th August 2017, 09:19   #22079  |  Link
strumf666
Registered User
 
Join Date: Jan 2012
Posts: 106
That includes ffdshow raw which is needed for SVP? And SVP?

Last edited by strumf666; 19th August 2017 at 09:21.
strumf666 is offline   Reply With Quote
Old 19th August 2017, 09:25   #22080  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,646
Yes, as Nev said, nothing between LAV and madVR.
ryrynz is offline   Reply With Quote
Reply

Tags
decoders, directshow, filters, splitter

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


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