AV1 Failing to decode with Hardware Transcoding

Server Version#: 1.40.4.8598
Player Version#: 4.132.2
image

I’m using an Nvidia A2000 on Ubuntu Server 22.04.4 LTS. all packages and drivers are up to date, using driver 550.90.07 for the Nvidia card. transcoding other file types work just fine, this only happens for AV1. Please let me know what other details may be helpful.

What can I do to fix this? I think I’ve tried everything short of a different OS. Maybe I just need to get off LTS and on to a newer Ubuntu version?

how exactly is it failing?

Stay on 22.04 LTS. Plex is still working out issues with 24.04 and the 6.8 kernel.

Which kernel are you currently running (uname -r)?

Also, please attach a set of server logs that captures the problem.

  1. Ensure Plex is configured for debug, not verbose, logging.
    Settings → Server_Name → General + Show Advanced.

  2. Stop Plex Media Server, wait one minute.

  3. Start Plex Media Server, wait three minutes for Plex to fully start and log the startup sequence.

  4. Re-create the problem. Play the video for 20 - 30 seconds, then stop playback.

  5. Pull server logs. Settings → Troubleshooting.

  6. Upload entire ZIP file to the thread.

Besides how it’s failing exactly and logs, please include what you expect to happen. Thanks!

image
it is failing the decoding of the AV1 portion of transcoding via hardware acceleration, forcing it to use the CPU for this, but the encoding to H264 is using the hardware acceleration just fine. Here is a picture of how it would expect to be in Tautulli (AN EXAMPLE, YES I KNOW ITS H264 and not AV1, ITS JUST AN EXAMPLE) , see the “(HW)” on both the encoding and decoding for the video transcoding section, but it missing from that side on the previous photo. This is also obviously noticeably with CPU utilization, as I am unfortunately stuck using CPUs that cannot handle AV1 transcoding at this time. The CPU utilization will max out, and the video will lag if I try and let it play.

Kernel is 5.15.0-113-generic

I’ll have more time to run a full log here later soon… but I did hop in and look at it real quick and find this pretty quick…

Jul 01, 2024 02:44:04.715 [139903298947896] ERROR - [Req#b55a0/Transcode] [FFMPEG] - Your platform doesn’t suppport hardware accelerated AV1 decoding.

Turn off subtitles.

That’s H.264 video, not AV1.

  1. Ubuntu 22.04 LTS is just fine
  2. 550 drivers – are not proven to me. A lot of us are using the Ubuntu-vetted 535 drivers (as installed via apt) instead of the generic 550 drivers (the .run file) from Nvidia. ( .run files are dangerous anyway )
  3. Server DEBUG logs ZIP file which capture the start of the AV1 playback attempt are needed to diagose further.
2 Likes

I agree with that. I have Driver Version 535.183.01 with Cuda 12.2 and my GPU is the RTX 4000 ADA Lovelace. It is crazy to have such a new GPU that supports AV1 decoding and Encoding and Plex will not let me Decode with it.

That is reference, an example, for how it should be when it is working to decode and encode with hardware acceleration normally. I can’t get it to work with it on AV1, that’s the problem.

Is there a way to get a debug log thats not so personal? I feel a lack of privacy with providing it. After looking through it and seeing it includes logs from all time since I’ve had the server.

I will open a DM for logs if so desired which are private (not viewable by the forum)

Chuck will help you by PM, but your question in general is important.

To get very sparse logging of an issue, this is what I do:
  1. Reboot the server and note the time of day.
  2. Start PMS.
  3. Wait about 3min for all startup process to complete and for PMS to reach an idle state. This helps us to read the boot procedure in the logs a LOT.
  4. Demonstrate the problem with 30sec of playback then stop and exit back to menus.
  5. Download logs
  6. Examine what you just downloaded. The only logs useful are the ones that changed after the reboot. Those logs will show nothing but the one video you played. I’d say that 95% of the time, you will only need to provide Plex Media Server.log
  7. Search those logs and obfuscate any private data.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.