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
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 22nd February 2017, 23:05   #21561  |  Link
Liandri
Registered User
 
Join Date: Aug 2012
Posts: 15
Thank you, both worked. (I feel stupid, again)

As for editing mkv, thanks but it's not a very good idea for me since the files need to be seeded.
Liandri is offline   Reply With Quote
Old 22nd February 2017, 23:58   #21562  |  Link
Damien147
Registered User
 
Join Date: Mar 2011
Posts: 380
Hello!

DXVA2(copy-back) slowdown/''skips'' with HEVC.Other non HEVC sources play smoothly.
DXVA(native) plays smoothly too HEVC with EVR.
Any solutions for DXVA2(copy-back)?

lav 0.69
GPU:RX 470(amd) with latest drivers.

Last edited by Damien147; 23rd February 2017 at 00:37.
Damien147 is offline   Reply With Quote
Old 23rd February 2017, 07:30   #21563  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
Copy-Back has historically not been that great on AMD, so either it works or it doesn't, can't really change anything either way.
Especially when handling 4K 10-bit content you need a lot of memory bandwidth just to download and upload the image again, which AMD cards don't seem to like doing very much.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 23rd February 2017 at 07:32.
nevcairiel is offline   Reply With Quote
Old 23rd February 2017, 08:35   #21564  |  Link
nussman
Registered User
 
Join Date: Nov 2010
Posts: 238
Did you see my report? https://forum.doom9.org/showthread.p...95#post1798395
I am not sure what is going on, but HEVC 4K 10bit works fine with madVR for me (AMD RX460 4GB) if I disable P010 and P016 output in LAV.
CPU load decreases from over 70% to ~35% without P0 output.

Last edited by nussman; 23rd February 2017 at 08:38.
nussman is offline   Reply With Quote
Old 23rd February 2017, 09:02   #21565  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
All that would do is lower the memory bandwidth requirement on uploading the images back to the GPU, which I suppose can already help. LAV performance is not really different between NV12 or P010 output, both are similar in efficiency. If anything P010 should be slightly more efficient since its the native GPU format and doesn't require dithering. But its double in size so maybe that balances out.

Make sure LAV is using direct mode (ie. decoder is "dxva2cb direct"), but if its using P010 or NV12 output there rarely is a reason why it wouldn't use direct mode.
Of course it goes without saying to avoid any software post-processing filter like ffdshow or others, as those will eat your performance on 10-bit content.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 23rd February 2017 at 09:14.
nevcairiel is offline   Reply With Quote
Old 23rd February 2017, 09:26   #21566  |  Link
nussman
Registered User
 
Join Date: Nov 2010
Posts: 238
"DXVA2cb direct" is used.
Double in size ... mhm sounds like a problem with the memory bandwith? I will check this.

With EVR / EVR Custom LAV outputs P010 or NV12 @default for HEVC 10bit content?
nussman is offline   Reply With Quote
Old 23rd February 2017, 09:32   #21567  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
EVR doesn't accept P010, so it would use NV12 then.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 23rd February 2017, 10:56   #21568  |  Link
Damien147
Registered User
 
Join Date: Mar 2011
Posts: 380
Quote:
Originally Posted by nevcairiel View Post
Copy-Back has historically not been that great on AMD, so either it works or it doesn't, can't really change anything either way.
Especially when handling 4K 10-bit content you need a lot of memory bandwidth just to download and upload the image again, which AMD cards don't seem to like doing very much.
The thing is that another user with same GPU(RX470) reported that DXVA2(copyback) works for him with 10bit HEVC.I tried Display Driver Uninstaller for that reason but no luck,same result.With Madvr it's worst than EVR but the problem stays.So to conclude there's nothing you can do?


Quote:
Originally Posted by nussman View Post
Did you see my report? https://forum.doom9.org/showthread.p...95#post1798395
I am not sure what is going on, but HEVC 4K 10bit works fine with madVR for me (AMD RX460 4GB) if I disable P010 and P016 output in LAV.
CPU load decreases from over 70% to ~35% without P0 output.
I tried what you said about disabling P010,P016 but result stays the same.The point is to make DXVA2(copyback) play smoothly without these workarounds.RX470 4GB here and I can't get smooth 10bit HEVC playback.EVR with DXVA2(native) gives smooth 10bit HEVC playback.
Damien147 is offline   Reply With Quote
Old 23rd February 2017, 10:58   #21569  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
Quote:
Originally Posted by Damien147 View Post
The thing is that another user with same GPU(RX470) reported that DXVA2(copyback) works for him with 10bit HEVC.I tried Display Driver Uninstaller for that reason but no luck,same result.With Madvr it's worst than EVR but the problem stays.So to conclude there's nothing you can do?
If it works for some users but not for you, then its most likely something in your system, so there is even less we can do.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 23rd February 2017, 11:15   #21570  |  Link
Damien147
Registered User
 
Join Date: Mar 2011
Posts: 380
Yes,it points my system if that happens but I don't know what else to do beyond Display Driver Uninstaller.Maybe format(<---boring procedure)
Thank you very much for answering.Have a nice day.
Damien147 is offline   Reply With Quote
Old 23rd February 2017, 11:43   #21571  |  Link
nussman
Registered User
 
Join Date: Nov 2010
Posts: 238
Quote:
Originally Posted by Damien147 View Post
The point is to make DXVA2(copyback) play smoothly without these workarounds.
The point is to understand what happens here and help the developers to fix it in right place.
nussman is offline   Reply With Quote
Old 23rd February 2017, 12:31   #21572  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
Quote:
Originally Posted by Damien147 View Post
Hello!

DXVA2(copy-back) slowdown/''skips'' with HEVC.Other non HEVC sources play smoothly.
DXVA(native) plays smoothly too HEVC with EVR.
Any solutions for DXVA2(copy-back)?

lav 0.69
GPU:RX 470(amd) with latest drivers.
Just tried various 10 bit 4K HEVC sources with MPC-HC using LAV 0.69 and EVR-CP and had no problem with my RX 470 in DXVA Copy-back (Direct) mode.

The performance looks like the same of DXVA native, but of course I can see spikes of 100% GPU utilization and full clock speed for core/ memory (1300MHz/ 2000MHz)
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 23rd February 2017, 14:20   #21573  |  Link
nussman
Registered User
 
Join Date: Nov 2010
Posts: 238
Did you try madVR with P010 output?
nussman is offline   Reply With Quote
Old 23rd February 2017, 14:33   #21574  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,788
Quote:
Originally Posted by nevcairiel View Post
EVR doesn't accept P010, so it would use NV12 then.
On Win10 - EVR/EVR Custom accept P010. Checked on Nvidia 960/AMD RX460.
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /Patriot 32Gb@3200 /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215
Aleksoid1978 is online now   Reply With Quote
Old 23rd February 2017, 15:38   #21575  |  Link
Damien147
Registered User
 
Join Date: Mar 2011
Posts: 380
Quote:
Originally Posted by nussman View Post
The point is to understand what happens here and help the developers to fix it in right place.

We are saying the same thing.

Quote:
Originally Posted by NikosD View Post
Just tried various 10 bit 4K HEVC sources with MPC-HC using LAV 0.69 and EVR-CP and had no problem with my RX 470 in DXVA Copy-back (Direct) mode.

The performance looks like the same of DXVA native, but of course I can see spikes of 100% GPU utilization and full clock speed for core/ memory (1300MHz/ 2000MHz)
Oh boy...another one with RX470 and smooth playback with 10 bit 4K HEVC and dxva2(copy-back).
Can you tell which driver version you are using?I'm gonna try that.I am with 17.2.1 WHQL that came out yesterday and I can't get smooth playback with 10 bit 4K HEVC and dxva2(copy-back).Picture slows down,framerate drops.

p.s. Γεια σου Ελλαδάρα!!

Last edited by Damien147; 23rd February 2017 at 15:49.
Damien147 is offline   Reply With Quote
Old 23rd February 2017, 15:59   #21576  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
17.2.1 beta, I think there are no differences with WHQL.

I don't think that really matters but my RX 470 as I've already posted has 2000MHz GDDR5 memory and 1300MHz GPU clock.

Win 10 x64 of course.

Try to use the clean install of AMD drivers which uninstalls previous drivers and not DDU.

But it seems as an issue of your system.

P.S
Δεν νομίζω να καταλαβαίνει κανένας τι γράφουμε στα Ελληνικά και υπάρχει κανόνας να γράφουμε Αγγλικά εδώ, αλλά δεν άντεξα την πρόκληση
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 23rd February 2017, 16:01   #21577  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,926
Quote:
Originally Posted by Aleksoid1978 View Post
On Win10 - EVR/EVR Custom accept P010. Checked on Nvidia 960/AMD RX460.
It would be rather bad if it wouldn't so DXVA also should work with P010 already

Though definitely some of those things that will only work with Windows 10 EVR Render Backend and you need other ways (APIs) todo it pre Windows 10 with acceleration though of course you never gonna get it to work under DWM windowed so in a browser and HTML5 you gonna fail completely with 10 Bit support under Pre Windows 10 when using the Native Microsoft APIs.

Quote:
don't think that really matters but my RX 470 as I've already posted has 2000MHz GDDR5 memory and 1300MHz GPU clock.
Nvidia allways had the better DCE and aside that PCIE-Compression only VEGA is about maybe to change that finally the advances in Polaris where not enough

Also because the overhead of AMDs Driver is overall higher it can make a difference which advanced CPU you have and which instructions AMD makes use of

We should see further improvements overall here due to the tuning for Zen which is partly also gonna effect the Intel overall Performance due to the similiar nature of both compared to the old Athlons and Bulldozer
__________________
all my compares are riddles so please try to decipher them yourselves :)

It is about Time

Join the Revolution NOW before it is to Late !

http://forum.doom9.org/showthread.php?t=168004

Last edited by CruNcher; 23rd February 2017 at 16:30.
CruNcher is offline   Reply With Quote
Old 23rd February 2017, 16:26   #21578  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,647
Perhaps it is a DPC latency issue?
http://www.resplendence.com/latencymon
clsid is offline   Reply With Quote
Old 23rd February 2017, 16:30   #21579  |  Link
Damien147
Registered User
 
Join Date: Mar 2011
Posts: 380
Quote:
Originally Posted by NikosD View Post
17.2.1 beta, I think there are no differences with WHQL.

I don't think that really matters but my RX 470 as I've already posted has 2000MHz GDDR5 memory and 1300MHz GPU clock.

Win 10 x64 of course.

Try to use the clean install of AMD drivers which uninstalls previous drivers and not DDU.

But it seems as an issue of your system.

P.S
Δεν νομίζω να καταλαβαίνει κανένας τι γράφουμε στα Ελληνικά και υπάρχει κανόνας να γράφουμε Αγγλικά εδώ, αλλά δεν άντεξα την πρόκληση

Was with 17.2.1 beta too and the problem was there.Don't update to WHQL if you want,it's the same thing. About clean install I've tried that and THEN I tried DDU to see if there is a problem.Nothing changes.I have lower clocks but yes you are right.It seems that it is my system and not in general.





P.S.
Σιγά,ένα γειά ανταλλάξαμε.Καλή συνέχεια.



Quote:
Originally Posted by clsid View Post
Perhaps it is a DPC latency issue?
http://www.resplendence.com/latencymon
Gonna have to learn to use that I guess.

Last edited by Damien147; 23rd February 2017 at 16:33.
Damien147 is offline   Reply With Quote
Old 23rd February 2017, 16:35   #21580  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,926
Quote:
Originally Posted by clsid View Post
Perhaps it is a DPC latency issue?
http://www.resplendence.com/latencymon
I bet its a inefficiency of overall CPU optimization albeit the CPU he uses and Chipset is pre Sandy Bridge era that wont cut it anymore especially copy back with AMDs Driver overhead and not so optimized DCE.

But yeah if you think about a SOC at 7W is completely destroying it overall but only with Zero Copy with Copy Back most Socs would die also for 4K Hevc.
__________________
all my compares are riddles so please try to decipher them yourselves :)

It is about Time

Join the Revolution NOW before it is to Late !

http://forum.doom9.org/showthread.php?t=168004

Last edited by CruNcher; 23rd February 2017 at 16:41.
CruNcher is offline   Reply With Quote
Reply

Tags
decoders, directshow, filters, splitter


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 04:32.


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