Jump to content

No AV1 Decode for HWA Nvidia+Docker?


Go to solution Solved by softworkz,

Recommended Posts

isamudaison
Posted

I have an Nvidia A2000 12GB card (rtx 30 generation) which (according to Nvidia) supports AV1 *decode*. All other formats decode/encode as they should and they all show up in the Emby interface just fine (this is with the official Emby docker image). I don't see the AV1 codec as an option for decode, though (and can confirm it doesn't show up as an option in the hardware detect log). My question is this: Is this a limitation of the Docker Image, or the host driver version (I'm running 515 still as opposed to 525)?

Happy2Play
Posted

Don't believe it has been added yet but devs will have to confirm.

 

  • Like 1
isamudaison
Posted

Ok, I just wanted to make sure I didn't have something setup incorrectly. Thanks.

  • Solution
Posted

AV1 HW decoding is planned but not implemented yet. It's simply because at this time, just a very small percentage of Emby users would benefit from it, and when we would implement it in beta, there wouldn't be many who could test it and provide feedback. Then in turn, we would have something that is not sufficiently tested and decide what to do with it.

But this will change within the next year as more and more devices with that capability will be sold (both Nvidia and Intel), so it's not that far away I think.

  • Like 2
  • Thanks 1
  • 2 months later...
Ewillian9
Posted

Hi, got uhd 770 here, HW AV1 decoding capable. seeing this in beta would be cool but i can wait. I have around 10% of my content in AV1

Posted

UPDATE

The latest betas (since 4.8.0.29) support AV1 decoding 

  • With QuickSync (Windows + Linux)
  • With DX11VA (Windows)

AV1 decoding for Nvidia and VAAPI is planned to be added soon.

  • 2 weeks later...
Posted

UPDATE 2

Beta 4.8.0.34 includes support for AV1 hw decoding with VAAPI and Nvidia. 

Please try this out!

Thanks

Ewillian9
Posted

I saw it in my beta server, many thanks

Posted

Let us know how you get on. Thanks.

Ewillian9
Posted (edited)

Well, i was about to test it but my emby premiere (lifetime) key doesn't work on the beta 4.8.0.34. It is working on 4.7.11.0.

It just say "Emby Premiere key is missing or invalid."

I triple checked, I just crtl+c/ctrl+v from stable server to beta server but on the beta it's not working. So cant access HW decode.

On 4.7.11.0 server it say normal things "You have a Lifetime Emby Premiere plan and your device usage is well within your limit."

Edited by Ewillian9
Ewillian9
Posted

Okay i just retried and my key worked on beta. I'll test av1.

  • Thanks 1
Ewillian9
Posted (edited)

Hi, I report after a week. It work on uhd 770. In my other server (uhd630) it detect the iGPU as an av1 decoder in the settings page but in the log (when paying av1 stuff) says that uhd 630 is not capable which is normal. Maybe hiding hardware (in the settings page) that cant decode av1 could avoid confusion with multiple gpu configuration. Here an image of what shouldn't be here.

image.png.86b05472105858b95e3d0bbfe5668311.png

Edited by Ewillian9
Posted
5 hours ago, Ewillian9 said:

Hi, I report after a week. It work on uhd 770. In my other server (uhd630) it detect the iGPU as an av1 decoder in the settings page but in the log (when paying av1 stuff) says that uhd 630 is not capable which is normal. Maybe hiding hardware (in the settings page) that cant decode av1 could avoid confusion with multiple gpu configuration. Here an image of what shouldn't be here.

image.png.86b05472105858b95e3d0bbfe5668311.png

HI, most likely it is capable, but not for the specific file that you played. Can you please show an example?

Thanks.

 

Posted

@Ewillian9 - Please also include the hardware detection log.

Thanks

Ewillian9
Posted (edited)
1 hour ago, Luke said:

HI, most likely it is capable, but not for the specific file that you played. Can you please show an example?

Thanks.

 

I did some testing to be sure, all tests I set quality to 420 kbps to be sure no direct play from client.
Looking at the logs I was thinking uhd 630 is not supporting av1 10 bits decode because it said :

>>>>>>  FindVideoDecoder - MediaType: av1, UseHardwareCodecs: True, HWA-Mode: Advanced
Info    Checking: 'QuickSync Intel HD Graphics 630 - AV1'
NoMatch The color format (yuv420p10, p010) is not supported)
Info    Decoder does not match
Info    Checking: 'Automatic software decoder'
Info    Check successful - selecting 'Automatic software decoder'


Then I tried av1 8 bits and it selected the uhd 630 :

>>>>>>  FindVideoDecoder - MediaType: av1, UseHardwareCodecs: True, HWA-Mode: Advanced
Info    Checking: 'QuickSync Intel HD Graphics 630 - AV1'
Info    Check successful - selecting 'QuickSync Intel HD Graphics 630 - AV1'


But then it just loaded for maybe 20s and throw this error

image.png.f73d06c54a5593d35eafd595eb3328a8.png

To be sure it was not a random bug I unselected udh 630 from av1 decoder :
image.png.f584a60a60ee201e9f1ad5b2292fb4ee.png

The media in av1 8 bits plays without error and decode through software of course.

Looking at this DOC from intel, UHD 630 7/8/9 gen are not able to decode any av1.

ffmpeg-transcode-decode-av1-10bits.txt ffmpeg-transcode-decode-av1-8bits.txt

Edited by Ewillian9
Posted

Very happy to see AV1 hardware decode capabilities hitting Emby :) I don't have AV1 media right now and I would have been happier with AV1 hardware encode capabilities to switch from h264 to AV1. But like you said, too few people have the capable hardware so, we'll see in the future when it's added.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...