Cannot get Intel QuickSync and 10bit to work together

View previous topic View next topic Go down

Cannot get Intel QuickSync and 10bit to work together

Post by ProTofik on Thu Apr 02, 2015 4:05 am

Hello.
I am having trouble to offload 10bit playback onto my Intel HD4600 iGPU. I am using LAV Video Decoder included in K-Lite 11.0.6 and the latest Intel drivers.
When I try to play any HEVC 2160p60 10bit, 2160p50 10bit, 1080p25 10bit, or any 10bit H264 I am getting this:
http://imgur.com/26NkCs9
http://imgur.com/oJJxp31

And this is how it looks like when I try to play H264 2160p60 8bit, 2160p30 8bit, or any 1080p 8bit:
http://imgur.com/qPM4bqb
http://imgur.com/ZiyVim5

Intel claims that its latest drivers support HEVC and 10bit decoding, so I don't get why it doesn't want to work for me.
Any ideas?

ProTofik

Posts : 12
Join date : 2015-01-29

View user profile

Back to top Go down

Re: Cannot get Intel QuickSync and 10bit to work together

Post by Admin on Fri Apr 03, 2015 12:48 am

QuickSync does not support HEVC yet. You should use DXVA2 copy-back instead. DXVA2 is the recommended hardware decoder for all GPU brands right now.

Intel only offers partial acceleration of HEVC. It's performance isn't great and I don't know if 10-bit is working properly. I personally would recommend just using software decoding.

The only GPU on the market right now that provides full acceleration for HEVC is the NVIDIA 960 GTX.

Admin
Admin

Posts : 2987
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: Cannot get Intel QuickSync and 10bit to work together

Post by ProTofik on Fri Apr 03, 2015 3:00 am

Well, Intel claimed recently a full support with their new drivers released in January.
Anyway, DXVA2 doesn't support HEVC 60fps 10bit for me. My main GPU is Radeon R7 260x.
Software decoding works fine on my Core i7 4770, I just don't really enjoy an 80% CPU usage when playing a film.

By the way, what is the difference between DXVA2 native and copy-back?

ProTofik

Posts : 12
Join date : 2015-01-29

View user profile

Back to top Go down

Re: Cannot get Intel QuickSync and 10bit to work together

Post by Admin on Fri Apr 03, 2015 11:26 pm

With full support they don't mean full acceleration. It doesn't use a so-called "fixed fuction" decoder (a dedicated piece of decoding circuitry on the chip) like for other formats, but it uses generic parts of the GPU to perform the decoding. This is much less efficient in terms of speed and power usage.

The difference between native and copy-back is that with the latter one the video is copied from GPU memory back to CPU memory. This allows to do extra processing on the video and it is also compatible with all video renderers. With native, the video stays in GPU memory and the video renderer must be compatible with DXVA. The copy operation of copy-back uses a bit of extra CPU.

When using MPC-HC you can use native, because it has a video renderer (and a subtitle renderer) that are compatible with DXVA. When using WMP, you need to use copy-back to be able to have subtitles.

In case of 10-bit it is needed to use copy-back due to some techical reasons.

Admin
Admin

Posts : 2987
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: Cannot get Intel QuickSync and 10bit to work together

Post by ProTofik on Thu Jun 04, 2015 5:08 am

Gonna bump this thread up as I have few more questions. I believe I already have a pretty good knowledge of how the acceleration works. Just wanted to fill in few gaps in my knowledge.
In case of 10-bit it is needed to use copy-back due to some techical reasons.
But as far as I know, no gpu supports 10bit H264 acceleration. I tried it on Intel HD4400, HD4600, and Radeon R7 260x and it always fell back into software decoding.

Also, 3 more questions:
1. You said that DXVA2 Native is faster than QuickSync. I tested it and it's true. What about if you have an Nvidia card? Is DXVA2 also faster in that case, or should NVIDIA CUVID be used?
2. In my PC, I have R7 260x and intel iGPU HD4600. When setting hardware acceleration to DXVA2 native, it uses my R7 260x. Is there anyway to force it to use my iGPU instead?
3. So GTX960 is the only card with fixed function hi10p HEVC decoder. Is k-lite able to use it for hevc playback already?

I believe it's all for now.

ProTofik

Posts : 12
Join date : 2015-01-29

View user profile

Back to top Go down

Re: Cannot get Intel QuickSync and 10bit to work together

Post by Admin on Thu Jun 04, 2015 10:06 am

Correct, there is no acceleration for 10bit H.264. I was talking purely about HEVC.

1. Same for NVIDIA. DXVA Native is always faster because the copy-back step is skipped.
2. Catalyst Control Center > Power > Switchable Graphics. There you can define for specific programs which GPU should be used. High performance = AMD, battery saving = Intel.
3. Yes, if you select DXVA2 Copy-Back.

Admin
Admin

Posts : 2987
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: Cannot get Intel QuickSync and 10bit to work together

Post by ProTofik on Thu Jun 04, 2015 10:14 am

Thank you for the perfect answer(s).
Just one more thing that bothers me. What exactly is the 'technical reason' for which 10bit hevc decoding has to be set to copy-back mode?

Edit: I tried looking for power option in CCC settings on my desktop computer but there is no power option there at all. I have latest both AMD and Intel drivers.


Last edited by ProTofik on Fri Jun 05, 2015 12:43 am; edited 1 time in total

ProTofik

Posts : 12
Join date : 2015-01-29

View user profile

Back to top Go down

Re: Cannot get Intel QuickSync and 10bit to work together

Post by Admin on Fri Jun 05, 2015 12:40 am

I don't have an AMD card. Found those settings with a Google search. It may only apply to laptops with switchable graphics.

It may depend on which connection you use for your monitor. If you the connectors on the motherboard, then it might use the Intel GPU.

Admin
Admin

Posts : 2987
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: Cannot get Intel QuickSync and 10bit to work together

Post by Admin on Fri Jun 05, 2015 12:44 am

And native 10bit does not work because it uses a different format for its surfaces and that isn't supported by most video renderers, which would result in crashes and other problems.

Admin
Admin

Posts : 2987
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: Cannot get Intel QuickSync and 10bit to work together

Post by ProTofik on Fri Jun 05, 2015 1:52 am

and that isn't supported by most video renderers
So there is a change that one day it will?

ProTofik

Posts : 12
Join date : 2015-01-29

View user profile

Back to top Go down

Re: Cannot get Intel QuickSync and 10bit to work together

Post by Admin on Fri Jun 05, 2015 9:56 am

Maybe in Windows 10 once it goes final.

But the overhead of copy-back is small on modern hardware, so there is little reason for using DXVA2 native.

Admin
Admin

Posts : 2987
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: Cannot get Intel QuickSync and 10bit to work together

Post by Sponsored content Today at 9:16 am


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum