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. |
7th October 2014, 22:55 | #81 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
|
I've seen that before, some HW decoders crash when they are lacking a reference frame (or too many reference frames), not really easy to do something about that, though.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
8th October 2014, 07:40 | #82 | Link | |
Registered User
Join Date: Mar 2008
Posts: 448
|
Quote:
Sigh......and here I am hoping for Intel HD4000 HEVC support so that I can use lavfilter Quicksync in future for the acceleration. Nev, do you have plan to enable HEVC DXVA with Quicksync in future? |
|
8th October 2014, 14:35 | #83 | Link | ||
Registered User
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
|
Quote:
I'm not sure if they finally did it, because I switched to Core i7, but last time I checked it out they hadn't done it. Judging from the results of HD 4600 inside a Core i7, maybe HEVC DXVA is not a good idea to be enabled in such low performance GPUs. The same reason goes for HD2500 too. HD4000 could be better, but only up to 720p and a few easy 1080p clips. Quote:
You should ask him if he wants to add QS support of HEVC hybrid decoder, but I think he has already said no. He will do it when pure HW solution will be available - more than a year from now.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1) HEVC decoding benchmarks H.264 DXVA Benchmarks for all |
||
10th October 2014, 20:32 | #85 | Link |
Registered User
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
|
I don't think this is right.
Even with Pentium G3420, I never had any problem with 4K H.264 and EVR-CP, with an exception of 4K120fps which need plain EVR. ALL the other 4K clips have zero stuttering. If you have a 4K H.264 clip which stutters with EVR-CP, please share it.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1) HEVC decoding benchmarks H.264 DXVA Benchmarks for all |
13th October 2014, 00:15 | #87 | Link |
Registered User
Join Date: Mar 2005
Posts: 30
|
I have a GTX970 so here are the results of the hybrid decoder with LAV filters 0.63.0 x64.
I used DXVA processing with 1280x720 like the first post, results were a little better with DXVA benchmark. Beauty GTX970 : sometimes 46/59/65, sometimes 55/80/86 (CPU usage 9-10%) with higher GPU clock Beauty i7 3930K : 86/104/109 (CPU usage 56%) Fitness GTX970 : 67/79/106 (CPU usage 13%) Fitness i7 3930K : 103/150/158 (CPU usage 76%) Ducks GTX970 : 106/158/182 (CPU usage 11%) Ducks i7 3930K : 147/167/175 (CPU usage 88%) So the hybrid decoder doesn't seem to be very fast, but it allows to reduce CPU usage. DXVA checker doesn't show the GPU usage, but on Beauty sample GPU-Z shows 60-80% usage with GPU@800Mhz Mem@405Mhz when it decodes at 59fps. I don't know why the clocks are low, perhaps it's optimized for playback, or there is a bottleneck somewhere. Last edited by hwti; 13th October 2014 at 02:04. |
13th October 2014, 05:03 | #88 | Link | |
Registered User
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
|
Quote:
Of course Nvidia driver looks like it's not optimised for HEVC decoding and it's not stable yet (that's why the clocks go up and down) But your CPU results are extraordinary. Which is your CPU clock ? Update: After doing some tests with CPU x64 HEVC decoder and DXVA decoding (Null renderer) the performance gap is huge between DXVA Processing (EVR renderer) and DXVA decoding using iGPU (HD 4600) Beauty: LAV x64 0.63 (DXVA processing) 53/65/68 LAV x64 0.63 (DXVA decoding) 80/93/96 But using a fast GPU like Nvidia 770 or 970 the performance gap between Null renderer and EVR renderer would be a lot smaller. So, your results are not extraordinary using DXVA processing and Nvidia 970 (they would be if you were using internal iGPU)
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1) HEVC decoding benchmarks H.264 DXVA Benchmarks for all Last edited by NikosD; 13th October 2014 at 11:14. |
|
13th October 2014, 13:38 | #90 | Link |
Registered User
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
|
Because EVR/ EVR-CP renderers are a lot heavier than Null when using slow GPUs, even in relatively low resolutions like 1280 X 720, which is not low for iGPUs.
I've been writing about this issue of CPU decoders and the degradation of performance due to slow GPUs using even low complexity renderers like EVR/EVR CP the last two years, at least. GPU is important even in CPU decoding, when you want to display the decoded images.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1) HEVC decoding benchmarks H.264 DXVA Benchmarks for all |
13th October 2014, 14:01 | #91 | Link | |
Registered User
Join Date: Oct 2012
Posts: 7,923
|
Quote:
even my hd4000 doesn't have problems with madVR and a 60 fps progressive source when setup right. |
|
13th October 2014, 15:17 | #92 | Link |
Registered User
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
|
That's one of the first things I always disable.
Post processing filters of the driver. In order to check what we are talking about, you have to benchmark the same video file using "DXVA decoding" and "DXVA processing" options of DXVA checker with your HD 4000. One issue e.g is scaling, which has a large performance cost for low GPUs. Using a real renderer even if you disable everything from post processing filtering of the driver's control panel, you can never avoid the performance penalty of scaling a 4K clip to 1280x720p.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1) HEVC decoding benchmarks H.264 DXVA Benchmarks for all Last edited by NikosD; 13th October 2014 at 15:27. |
13th October 2014, 15:35 | #94 | Link |
Registered User
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
|
Because that's what we are talking about.
The performance impact of using real world renderer vs null renderer. You can only play clips that you can actually play, but which is your limit ? How could you know where is the upper limit of your system ? If your system can play a clip using DXVA processing with 100fps and using DXVA decoding with 150fps when the real time frame rate of the clip is 24fps, then of course you will not have a real world decoding problem. But if the clip is 60fps and you can decode it with null renderer (DXVA decoding) in 75fps but with EVR (DXVA processing) in 50fps, then it's more than obvious you will have a problem playing back in real time that 60fps clip using EVR or a more complicated renderer. For me the main question about this issue is what exactly slows down a low GPU using EVR instead of Null renderer, but doesn't affect so much a high performance GPU which has same results using either null or EVR renderer. One example I thought of performance penalty is scaling.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1) HEVC decoding benchmarks H.264 DXVA Benchmarks for all Last edited by NikosD; 13th October 2014 at 15:46. |
13th October 2014, 20:53 | #95 | Link | |
Registered User
Join Date: Mar 2005
Posts: 30
|
Quote:
With other samples, the CPU usage is lower so the clocks change a lot. The 3 samples don't use an high bitrate, for example the 4K demo on Hotbird is 3840x2160 50fps 30Mbps. It's 10 bit, so the hybrid decoder doesn't work. LAV x64 is now very fast on it, but the gap with LAV x32 is huge : - It plays fine with MPC-HC x64 (50% CPU) - stuttering with MPC-HC x32 or DVBViewer with LAV x32 (100% CPU) DXVAChecker seems to have a few problems with it : - DXVA processing shows 0 fps - DXVA decoding doesn't show the video, but averages at 85fps for the difficult parts (at least on my 3 minute capture, perhaps there are slower parts during the whole loop) |
|
13th October 2014, 20:57 | #96 | Link | |
Registered User
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
|
Quote:
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1) HEVC decoding benchmarks H.264 DXVA Benchmarks for all |
|
14th October 2014, 00:48 | #97 | Link |
Registered User
Join Date: Mar 2005
Posts: 30
|
Here is a short (25s) sample
http://jheberg.net/captcha/hotbird-4k-demo/ |
14th October 2014, 09:46 | #98 | Link | |||
Registered User
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
|
Quote:
Quote:
Quote:
Excellent sample. @hwti Because it's a 10bit clip you have to disable from LAV properties the 10bit output format "P010" because Nvidia driver has problems with 10bit clips. After that, everything works fine with DXVA Checker in both modes "DXVA Decoding" and "DXVA Processing" @huhn Look at the results to see what exactly I was saying about Null/ EVR/ EVR-CP renderers. With signature system and LAV x64 0.63 using CPU (SW decoding) and threads = 16 Benchmarks: LAV x64 CPU DXVA Decoding (Null) 47/62/66 CPU Usage 98% LAV x64 CPU DXVA Processing (EVR) 33/49/52 CPU Usage 95% The best CPU usage I've seen during SW video decoding. Playback: In realworld playback using MPC-HC x64 v1.7.7 and EVR-CP the clip has a jitter of ~9-10ms and it can't go more than 44fps-45fps and a few dropped frames. Using EVR, the jitter=0ms and video decoding is at 50fps - realtime decoding.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1) HEVC decoding benchmarks H.264 DXVA Benchmarks for all |
|||
14th October 2014, 10:05 | #100 | Link |
Registered User
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
|
When I put the issue of EVR/ EVR-CP renderer being heavier than Null renderer with low GPUs, I put it in general and not HEVC specifically.
Now, about HEVC specifically I have to say that all those samples from ASTRA and HOTBIRD are real world samples of Satellite broadcast video. What is more real file than that ?
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1) HEVC decoding benchmarks H.264 DXVA Benchmarks for all |
Thread Tools | Search this Thread |
Display Modes | |
|
|