Kodi Community Forum

Full Version: Add a DXVA decode path for HEVC (H.265) content where supported.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello guys,

Recent driver updates for Intel HD Graphics (confirmed with Haswell so far) offer HEVC accelerated decoding via DXVA, as exposed via DXVAChecker.
A majority of XBMC users on HPTCs use some sort of Intel HD Integrated Graphics (IvyBridge, Haswell, notably the NUCs), and enabling DXVA Hardware accelerated decode of HEVC will likely lower power consumption and average system loads on such devices / platforms.

I'm also aware that NVIDIA Maxwell (Both GM100x & GM200x series) offer partial and full HEVC DXVA offload respectively, and for users with these GPUs, significant gains in decode performance, lower average system utilization, and lesser heat output can be realized. NVIDIA Maxwell GPUs have a low power profile dedicated to video decode (GC5 state) and thus, power efficiency over the provided software decode path (via ffmpeg) is likely to be substantial across the board.

See the Google+ post URL with the attached screenshots from DXVAChecker for more information (See the HEVC_VLD_Main entry for both GPUs).

Link to post

(Viewable to public)


I'm sure its' possible to add a DXVA decode path for HEVC content in XBMC. And that would be a great win for the HTPC users out there with capable hardware.

Regards,

Brainiarc7.

Oh, and a dxdiag:

http://pastebin.com/hWpamGSE
Not possible at the moment as it's not supported yet in ffmpeg which we use in our internal playback engines, as soon as ffmpeg supports DXVA hardware acceleration for HEVC then we can look at adding it.
(2015-01-19, 14:30)jjd-uk Wrote: [ -> ]Not possible at the moment as it's not supported yet in ffmpeg which we use in our internal playback engines, as soon as ffmpeg supports DXVA hardware acceleration for HEVC then we can look at adding it.

Alright, noted. Thanks.
It IS however, great to see HW decode support coming so fast. With Intel's new driver update, hopefully thats enough for ffmpeg to start implementing the code they need to get support working.
coming soon. ffmpeg 2.6 with DXVA support for hevc was merged. our changes are almost completed too.
(2015-03-08, 21:22)FernetMenta Wrote: [ -> ]coming soon. ffmpeg 2.6 with DXVA support for hevc was merged. our changes are almost completed too.
Big Grin Thank you Big Grin Awaiting for this news since 2014.
(2015-03-08, 21:22)FernetMenta Wrote: [ -> ]coming soon. ffmpeg 2.6 with DXVA support for hevc was merged. our changes are almost completed too.

Happy dance time! Rofl
Awesome, can't wait.
(2015-03-08, 21:22)FernetMenta Wrote: [ -> ]coming soon. ffmpeg 2.6 with DXVA support for hevc was merged. our changes are almost completed too.

Big Grin
merged. should be in the nightlies tomorrow.
So for Nvidia 900 Series users are we just missing Driver support now (Or is it already present)
(2015-03-14, 13:32)FernetMenta Wrote: [ -> ]merged. should be in the nightlies tomorrow.
Fantastic! used a maximum of 50% of i5 (gtx 970). Making my first donation today
Update to libvdpau 1.0 and using the latest 346.37 driver but still no H265 support:

http://paste.ubuntu.com/10612274/
And with vdpauinfo v1.0: http://paste.ubuntu.com/10612346/

Any ideas what might be wrong?
This news suggest it should work:
http://www.phoronix.com/scan.php?page=ne...0-Released
The Phoronix link is misleading, there is no driver support from Nvidia yet; just waiting for the last piece of the puzzle. Congrats to the Kodi team on adding their piece so quickly.
So far, this seems to be working on Windows only.

VDPAU on Linux is unsupported for me too, on a system with NVIDIA Optimus (bumblebee).
And VAAPI isn't doing any H.265 decoding yet.
I got support with VDPAU in Linux but apparently Kodi support is not yet there:
http://paste.ubuntu.com/10681244/
Pages: 1 2