Jellyfin Forum
Hardware acceleration issues: TrueNAS, Dockge - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Hardware acceleration issues: TrueNAS, Dockge (/t-hardware-acceleration-issues-truenas-dockge)



Hardware acceleration issues: TrueNAS, Dockge - OutbakJak - 2025-04-04

Hello all,

I've done a lot of research and have been unable to find a solution to this. I'm having issues (the common: "Player error encountered. Will re-try...") after enabling hardware acceleration. I am certain that the decoding and encoding options are supported by my CPU/iGPU. The weirdest thing is that I'm only trying to play files that I'm certain my Android TV box can play, no problem (in the case of the logs I'll provide, an H264/AAC video) so no transcoding should be occurring or necessary, right? Here are the specs:

Intel i5 12600k
ASRock H670 ITX-AX mobo
TrueNAS Scale
Jellyfin (and an entire {apps we don't talk about - TDP} stack) installed via Dockge aka Docker Compose. Can provide the .yml file if needed.

I will attach the logs and my Transcoding settings below. Again, I've confirmed that my iGPU supports my encode/decode settings.. but it shouldn't be attempting to transcode this video if I understand how it works correctly? Anyway, here:

FFMpeg Log
Jellyfin Log

The Jellyfin log is full length but idk which part is important to share, sorry Smiling-face

And here are my settings:
https://drive.google.com/file/d/1KYD6beSTrkptFiLT_5uvyBHelmwXng3j/view?usp=sharing
https://drive.google.com/file/d/1WGuDsfeDtnaRLm1E2OL3o79XVypcE9NA/view?usp=sharing
https://drive.google.com/file/d/1K_jXoAc_8NmYNsXYDoQz-NlNMrPdFRCX/view?usp=sharing
https://drive.google.com/file/d/1G2JrdVH_2YCLLA8FGvcnOi6KGa4XjDBC/view?usp=sharing
https://drive.google.com/file/d/1wDONL9aHY1Yf5hHZOXUsO8YHQOd-m92r/view?usp=sharing
https://drive.google.com/file/d/1x6UrS_PJxwjbTQoqPaLQeci6Hw-UeD0S/view?usp=sharing
https://drive.google.com/file/d/1j2BzRAGQh-do6ZpUekqyVKoweGgojeYA/view?usp=sharing

Any help with this would be greatly appreciated! I should also add that I did go through and deselect each encoding/decoding option (codecs) and hit save, then test several video files, and had no luck unless I completely turned off the hardware acceleration. I ALSO ran intel_gpu_top and ls whatever (sorry, I'm no good with linux, can't remember the command xD) to see that I do have my GPU showing as seen by the system, but I'm happy to show the output again if needed. Thanks again for any assistance in advance <3


RE: Hardware acceleration issues: TrueNAS, Dockge - TheDreadPirate - 2025-04-04

Can you share your docker compose?


RE: Hardware acceleration issues: TrueNAS, Dockge - OutbakJak - 2025-04-05

(2025-04-04, 02:10 PM)TheDreadPirate Wrote: Can you share your docker compose?

Sure thing! Thank you so much for looking it over. I just tested on my laptop and everything plays fine with transcoding enabled, same settings I showed. There is no transcoding occurring as per intel_gpu_top but that's to be expected, I guess, since my laptop can play these files just fine. 

I also meant to add that the client tested on is an Onn Android TV 4K, using the Jellyfin app.. so perhaps it is the device that is the problem? Here is my compose file:

_________________________________________________________________________

Code:
services:
  jellyfin:
    image: lscr.io/linuxserver/jellyfin:latest
    container_name: jellyfin
    environment:
      - PUID=568
      - PGID=568
      - TZ=America/New_York
    volumes:
      - ./configs/jellyfin:/config
      - ${MEDIA_PATH}:/media # Use the MEDIA_PATH variable
      - DOCKER_MODS=linuxserver/mods:jellyfin-opencl-intel
    ports:
      - 8096:8096
    restart: unless-stopped



RE: Hardware acceleration issues: TrueNAS, Dockge - TheDreadPirate - 2025-04-06

You didn't pass in the GPU. Add this to the Jellyfin portion of your docker compose.

Code:
devices:
      - /dev/dri:/dev/dri



RE: Hardware acceleration issues: TrueNAS, Dockge - OutbakJak - 2025-04-06

Ok, thank you so much! I added this line, it took me a minute to realize I had to add the "devices:" part!

jellyfin:
image: lscr.io/linuxserver/jellyfin:latest
container_name: jellyfin
environment:
- PUID=568
- PGID=568
- TZ=America/New_York
- DOCKER_MODS=linuxserver/mods:jellyfin-opencl-intel
devices:
- /dev/driConfused-facedev/dri
volumes:
- ./configs/jellyfinConfused-faceconfig
- ${MEDIA_PATH}Confused-facemedia
ports:
- 8096:8096
restart: unless-stopped

And after forcing a transcode on my laptop browser (Brave) player by lowering quality, it is working! Intel_gpu_top shows the following:

https://drive.google.com/file/d/1u9FTn1ts_hSJSWW0-v5_XdxsUwY91JQb/view?usp=sharing

Thank you SO much for your help, you are a legend. Hopefully this helps someone in the future. Have a great day Smiling-face