Jump to content


Photo

10-bit H.265 HEVC Hardware Acceleration is Broken on 4.3.0.30

HEVC 10bit H.265

Best Answer seanbuff , 06 January 2020 - 01:10 AM

Just thought I'd report that I have done some testing on the latest Windows build (4.4.0.5) and this appears to be working correctly now on HEVC content, especially 10-bit.

 

All transcoding is being performed by the GPU as expected.

 

Thanks @softworkz

Go to the full post


  • Please log in to reply
44 replies to this topic

#1 Brudertac OFFLINE  

Brudertac

    Advanced Member

  • Members
  • 77 posts
  • Local time: 06:24 PM

Posted 16 December 2019 - 03:00 PM

Hey there,

 

looks like Hardware Acceleration for HEVC is broken in latest Release.

Emby switch to Software Transcode, but for this my Synology DS918+ is too slow.

 

From reports in this Forum it looks like only 10bit Files are affected.

 

On older Versions this was working fine.

 

Is that a known Problem?

 

Thanks

Brudertac

Attached Files


Edited by Brudertac, 16 December 2019 - 03:09 PM.


#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156879 posts
  • Local time: 12:24 PM

Posted 16 December 2019 - 03:03 PM

Hi there, let's look at an example. Please attach the information requested in how to report a problem. Thanks.



#3 Brudertac OFFLINE  

Brudertac

    Advanced Member

  • Members
  • 77 posts
  • Local time: 06:24 PM

Posted 16 December 2019 - 03:09 PM

Logs added to first Post.

@softworkz


Edited by Luke, 16 December 2019 - 03:10 PM.


#4 rouq OFFLINE  

rouq

    Advanced Member

  • Members
  • 127 posts
  • Local time: 12:24 PM

Posted 16 December 2019 - 03:17 PM

Hi

 

Check out this thread:

https://emby.media/c...-10bit-profile/

 

There is a temporary work around.  You need to disable the hardware decoding for HEVC.  The decoding will be done in software, but at least the encoding will be done in hardware.  It should give some slack to the DS918+ processor.



#5 Brudertac OFFLINE  

Brudertac

    Advanced Member

  • Members
  • 77 posts
  • Local time: 06:24 PM

Posted 16 December 2019 - 03:19 PM

Hi

 

Check out this thread:

https://emby.media/c...-10bit-profile/

 

There is a temporary work around.  You need to disable the hardware decoding for HEVC.  The decoding will be done in software, but at least the encoding will be done in hardware.  It should give some slack to the DS918+ processor.

 

Already seen this and tested it too. 

It do not work. If i setup the settings like described the Movie wont play. 



#6 processcreative OFFLINE  

processcreative

    Member

  • Members
  • 25 posts
  • Local time: 05:24 PM

Posted 17 December 2019 - 06:26 AM

Already seen this and tested it too. 

It do not work. If i setup the settings like described the Movie wont play. 

 

Same for me. HW acceleration will not work whatsoever with 10bit x265 files, no matter my settings. Makes Emby unusable remotely as 90% of my files are 10bit x265. Getting really frustrated with this as it's been 'broken' for ages and no real fix as yet.



#7 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156879 posts
  • Local time: 12:24 PM

Posted 17 December 2019 - 01:58 PM

@softworkz is working on this. Thanks.
  • Brudertac likes this

#8 softworkz OFFLINE  

softworkz

    Advanced Member

  • Developers
  • 2711 posts
  • Local time: 06:24 PM

Posted 17 December 2019 - 06:12 PM

@Brudertac @processcreative - Could you please post an ffmpeg log with the HEVC hw decoder disabled as suggested?



#9 stephenk OFFLINE  

stephenk

    Newbie

  • Members
  • 2 posts
  • Local time: 06:24 AM

Posted 17 December 2019 - 06:42 PM

I just came across this thread. Is this the correct log attached?

Attached Files



#10 softworkz OFFLINE  

softworkz

    Advanced Member

  • Developers
  • 2711 posts
  • Local time: 06:24 PM

Posted 17 December 2019 - 07:40 PM

@stephenk - Thanks for the log.

 

The setup is correct and it appears to be working - just too slow. It's an UHD video with double frame-rate (60 fps) and a total bitrate of 28 Mbps. That's just a bit too much for the device to handle.

 

Could you please try one thing:

 

During playback, click on the gear icon and and 'Quality'. There, choose '480p - 1 Mbps'. 

 

It would be great if you could post a log from this test. I'm just curious to see how that compares.



#11 stephenk OFFLINE  

stephenk

    Newbie

  • Members
  • 2 posts
  • Local time: 06:24 AM

Posted 17 December 2019 - 07:53 PM

@softworkz Sure, here you go. I'm doing this remotely at present. I can add some logs from local playback when home from work if needed.

 

 

 

Attached Files



#12 softworkz OFFLINE  

softworkz

    Advanced Member

  • Developers
  • 2711 posts
  • Local time: 06:24 PM

Posted 17 December 2019 - 08:38 PM

Thanks. It's only slightly faster. We have reduced the encoding work but added hardware scaling (which is done in hardware, though).

 

But in this case, I think the cpu processing is the bottleneck. It's not only decoding but also color conversion that has to be done by the cpu.

 

We are currently working on doing all of this with hw acceleration, but it will take a few weeks until we'll be able to put this in beta.


Edited by softworkz, 17 December 2019 - 08:39 PM.


#13 Brudertac OFFLINE  

Brudertac

    Advanced Member

  • Members
  • 77 posts
  • Local time: 06:24 PM

Posted 18 December 2019 - 03:09 AM

@softworkz

 

Sorry, read to late... Do you need the Logs anymore from my Sys?

Is there a way to roll back Emby to the last Version?

There it was working fine and when you need some Weeks to fix the complete Process it would be nice to have a Working Server in the meantime.

 

Thanks!



#14 softworkz OFFLINE  

softworkz

    Advanced Member

  • Developers
  • 2711 posts
  • Local time: 06:24 PM

Posted 21 December 2019 - 10:18 PM

@Brudertac - Thanks for getting back. So far I haven't seen a confirmed case demonstrating that it has worked before, so if you would be able to help us with that, it would be great.

 

For this, I would need to have logs from the current version and the previous version showing the exact same playback situation (same file, same client, same settings, etc.)

 

 

With regards to rolling back: It works in many cases when the versions are not too far off, but sometimes it causes problems and you'll need to re-create the library database.

Best is to do a backup of all data folders before downgrading. 

 

And of course: First, create the logs with the current version before downgrading.



#15 Brudertac OFFLINE  

Brudertac

    Advanced Member

  • Members
  • 77 posts
  • Local time: 06:24 PM

Posted 27 December 2019 - 03:55 PM

@softworkz,

 

1. where can i find Info how to Downgrade an Emby Setup on Synology? (No Docker Setup)

2. Are the Logs in the first Post enough for Troubleshooting or do you need more or other Logfiles? (Those are from the not working Version)

 

 

Thanks and best regards

Brudertac



#16 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156879 posts
  • Local time: 12:24 PM

Posted 27 December 2019 - 04:18 PM

They're enough right now. @softworkz is looking into this. Thanks.

#17 Brudertac OFFLINE  

Brudertac

    Advanced Member

  • Members
  • 77 posts
  • Local time: 06:24 PM

Posted 30 December 2019 - 01:24 PM

Hi @softworkz,

 

i have setup an Testserver via Docker with Emby Server 4.2.1.0 and there Transcoding is working fine.

I have used the same Movie i used in first Post with Emby 4.3.0.

 

Log attached to this Post.

 

best regards

Brudertac

Attached Files



#18 softworkz OFFLINE  

softworkz

    Advanced Member

  • Developers
  • 2711 posts
  • Local time: 06:24 PM

Posted 30 December 2019 - 03:07 PM

@Brudertac - Thanks, this log is very helpful for comparison.

 

In case of the failing log (from 4.3.0.30), the client-requested bitrate (6616000) is just a quarter of the value that we can see in the log from the older 4.2.1.0 version.

 

It would be great if we could rule that out as a possible cause (either increase in 4.3 or reduce in 4.2)



#19 Brudertac OFFLINE  

Brudertac

    Advanced Member

  • Members
  • 77 posts
  • Local time: 06:24 PM

Posted 30 December 2019 - 03:47 PM

@softworkz,

 

Okay, i hope i understand you correct.

 

Have startet Streaming on both Versions with "Auto - 1080p 6mbit" Setting.

Logs attached.

 

 

 

Attached Files



#20 Brudertac OFFLINE  

Brudertac

    Advanced Member

  • Members
  • 77 posts
  • Local time: 06:24 PM

Posted 03 January 2020 - 03:21 PM

@softworkz,

 

any News on this? Do you need more Logs?

 

Greetings







Also tagged with one or more of these keywords: HEVC, 10bit, H.265

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users