Jump to content


Photo

Emby Server RX580 H.265 Decoding

rx580 hevc decoding

  • Please log in to reply
11 replies to this topic

#1 zyfinity OFFLINE  

zyfinity

    Advanced Member

  • Members
  • 134 posts
  • Local time: 10:40 PM

Posted 14 September 2019 - 03:26 AM

Hi, i have my RX 580 enabled for hardware decoding through DX11VA for H.265 but it still seems to transcode through software for the decoding although encoding to H.264 works fine with the RX 580, may i please know how to fix this, as far as i know none of my h.265 content is HDR so i would really like H.265 decoding to work to offload as much as possible to the GPU.

Have attatched screen shots and both emby server / ffmpeg logs.

Attached Files



#2 zyfinity OFFLINE  

zyfinity

    Advanced Member

  • Members
  • 134 posts
  • Local time: 10:40 PM

Posted 14 September 2019 - 03:54 AM

Ok just tried with another file and it seemed to work, so the problem seems the HEVC Main 10 (10bit) won't transcode, is there a way to get it to transcode 10 bit and if so what are the consequences ? since alot of the shows i have are hevc main 10 but only have 8bit colours so colour wouldnt be an issue there?

 

EDIT: This post here also shows that 10bit decoding is possible, https://www.reddit.c...470_can_decode/


Edited by zyfinity, 14 September 2019 - 03:57 AM.


#3 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 138124 posts
  • Local time: 04:40 AM

Posted 14 September 2019 - 12:29 PM

Hi there, did you follow our hardware acceleration setup guide?



#4 zyfinity OFFLINE  

zyfinity

    Advanced Member

  • Members
  • 134 posts
  • Local time: 10:40 PM

Posted 14 September 2019 - 02:43 PM

Yes

#5 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 138124 posts
  • Local time: 04:40 AM

Posted 15 September 2019 - 01:57 AM

Have you made sure your gpu is capable of decoding the media that you're trying to play?



#6 zyfinity OFFLINE  

zyfinity

    Advanced Member

  • Members
  • 134 posts
  • Local time: 10:40 PM

Posted 15 September 2019 - 01:59 AM

Yes after some research it seems it should be able to decode 10bit and i think an emby dev mentioned this on another post.



#7 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 138124 posts
  • Local time: 04:40 AM

Posted 15 September 2019 - 10:34 PM

Dxva hardware decoding does not support 10-bit:

Info    FindVideoDecoder - Checking: 'DX11VA Radeon RX 580 Series - H.265 (HEVC)' (Priority: 100)
NoMatch Codec does not support profile 'Main 10 Profile'


#8 zyfinity OFFLINE  

zyfinity

    Advanced Member

  • Members
  • 134 posts
  • Local time: 10:40 PM

Posted 16 September 2019 - 12:01 AM

Yea i was wondering if emby could add support for this as the actual graphic card supports 10 bit decoding?



#9 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 138124 posts
  • Local time: 04:40 AM

Posted 16 September 2019 - 12:15 PM

The dxva decoder will need to support it first.

#10 softworkz OFFLINE  

softworkz

    Advanced Member

  • Developers
  • 1789 posts
  • Local time: 10:40 AM

Posted 16 September 2019 - 10:10 PM

DXVA is a Windows specific layer for hardware acceleration. It requires the vendor to implement this in the graphic drivers that it is providing.

 

In many cases, you got a choice between the Windows-integrated default graphics drivers and the specific drivers offered by the hardware vendor.

 

So, that's the only thing you can try: Switch between MS Windows default drivers and the latest AMD drivers (whatever you have installed right now - try the other).



#11 zyfinity OFFLINE  

zyfinity

    Advanced Member

  • Members
  • 134 posts
  • Local time: 10:40 PM

Posted 16 September 2019 - 10:12 PM

So trying the default windows drivers will potentially make it decode h.265, also I have a bug where sometimes the FPS using and for encoding is really slow to start but at other times it runs fast at a good FPS.

#12 softworkz OFFLINE  

softworkz

    Advanced Member

  • Developers
  • 1789 posts
  • Local time: 10:40 AM

Posted 16 September 2019 - 10:21 PM

So trying the default windows drivers will potentially make it decode h.265, also I have a bug where sometimes the FPS using and for encoding is really slow to start but at other times it runs fast at a good FPS.

 

Focus on "potentially"... it's just something to try.

 

Unfortunately you won't be able to see the capability changes after switching the driver. I hope we will be able to show those details in the Emby Server UI, soon.

 

What you could do is posting hw detection logs - before and after the driver change.

 

 

PS: Please open a new conversation for that other issue.







Also tagged with one or more of these keywords: rx580, hevc, decoding

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users