Jellyfin Forum
Transcoding - 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: Transcoding (/t-transcoding--9094)

Pages: 1 2 3


Transcoding - DenaliX - 2024-11-18

Hello,

I have recently bought a Beelink S12 with a N100 chip and I can't get transcoding to work.  I am running Jellyfin in a Docker with docker compose and portainer.  I have transcoding set to Intel QuickSync and everything checked except VP8 & AV1.

FFmpeg logs:
ffmpeg version 6.0.1-Jellyfin Copyright © 2000-2023 the FFmpeg developers
  built with gcc 13 (Ubuntu 13.2.0-23ubuntu4)
  configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libxml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      58.  2.100 / 58.  2.100
  libavcodec    60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter    9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample  4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
[AVHWDeviceContext @ 0x609b4b9fee80] No VA display found for any default device.
Device creation failed: -22.
Failed to set value 'vaapi=va:,kernel_driver=i915,driver=iHD' for option 'init_hw_device': Invalid argument
Error parsing global options: Invalid argument

The contents of the /dev/dri folder (In Portainer Console) are...
card0
renderD128

When I run   /usr/lib/jellyfin-ffmpeg/vainfo --display drm --device /dev/dri/renderD128   (Portainer Console) I get...
Trying display: drm
Failed to open the given device!

My Docker Compose file is:
services:
  jellyfin:
    image: linuxserver/jellyfin:latest
    container_name: jellyfin
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
      - JELLYFIN_PublishedServerUrl=192.168.xxx.xxx
    volumes:
      - /home/xxxxx/containers/jellyfinConfused-faceconfig
      - /mnt/Confused-facedata
    devices:
      - /dev/dri/renderD128Confused-facedev/dri/renderD128
      - /dev/dri/card0Confused-facedev/dri/card0
    ports:
      - 8096:8096
    restart: unless-stopped

Can anyone help?   Thanks!!!


RE: Transcoding - TheDreadPirate - 2024-11-18

You did not include the "group_add" parameter in your docker compose.

https://jellyfin.org/docs/general/administration/hardware-acceleration/intel/#official-docker


RE: Transcoding - DenaliX - 2024-11-18

So I ran...        getent group render | cut -d: -f3

And added the group to the docker compose...  

services:
  jellyfin:
    image: linuxserver/jellyfin:latest
    container_name: jellyfin
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
      - JELLYFIN_PublishedServerUrl=192.168.xxx.xxx
    group_add:
      - "104"
    volumes:
      - /home/xxx/containers/jellyfinConfused-faceconfig
      - /mnt/Confused-facedata
    devices:
      - /dev/dri/renderD128Confused-facedev/dri/renderD128
      - /dev/dri/card0Confused-facedev/dri/card0
    ports:
      - 8096:8096
    restart: unless-stopped


Still doesn't recognize the device.  Did I do it wrong?


RE: Transcoding - TheDreadPirate - 2024-11-18

What OS is the host running?


RE: Transcoding - DenaliX - 2024-11-18

Debian 11


RE: Transcoding - TheDreadPirate - 2024-11-18

If you are using the standard kernel, 5.10, that kernel does not support the N100. You must upgrade to either a backported kernel newer than 5.17 or upgrade to Debian 12.


RE: Transcoding - DenaliX - 2024-11-18

Sorry, keyed that in wrong.  It is Debian 12...


RE: Transcoding - TheDreadPirate - 2024-11-18

Which kernel are you using?

Code:
uname -a



RE: Transcoding - DenaliX - 2024-11-18

Linux vm3 6.8.12-4-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-4 (2024-11-06T15:04Z) x86_64 GNU/Linux


RE: Transcoding - TheDreadPirate - 2024-11-18

Is this a Proxmox LXC?