Jump to content

Docker GPU Transcoding Support - Intel Arc A380 on TrueNAS


Recommended Posts

Posted

# Intel Arc A380 Hardware Transcoding - TrueNAS Scale Docker

## Problem
Intel Arc A380 GPU detected but hardware transcoding not working in Docker containers.

## Current Setup
**Hardware**: Intel Arc A380 GPU  
**OS**: TrueNAS Scale  
**Stack**: Docker Compose (Plex, Jellyfin, Emby)  

## GPU Status
✅ GPU detected: `lspci | grep -i vga`  
✅ Devices available: `/dev/dri/card0`, `/dev/dri/renderD128`  
✅ Docker passthrough working  
❌ Hardware transcoding fails - software fallback only  

## Current Emby Config
```yaml
emby:
  image: lscr.io/linuxserver/emby:latest
  devices:
    - /dev/dri:/dev/dri
  group_add:
    - "44"    # video groep
    - "107"   # render groep
  environment:
    - LIBVA_DRIVER_NAME=iHD
    - VAAPI_DEVICE=/dev/dri/renderD128
    - NEOReadDebugKeys=1

# Intel Arc A380 Hardware Transcoding - TrueNAS Scale Docker

## Problem
Intel Arc A380 GPU detected but hardware transcoding not working in Docker containers.

## Current Setup
**Hardware**: Intel Arc A380 GPU  
**OS**: TrueNAS Scale  
**Stack**: Docker Compose (Plex, Jellyfin, Emby)  

## GPU Status
✅ GPU detected: `lspci | grep -i vga`  
✅ Devices available: `/dev/dri/card0`, `/dev/dri/renderD128`  
✅ Docker passthrough working  
✅ **Plex hardware transcoding works perfectly**  
❌ Hardware transcoding fails in Emby - software fallback only  

## Working Plex Config
```yaml
plex-server:
  container_name: plex-server
  image: 'plexinc/pms-docker:latest'
  restart: unless-stopped
  environment:
    - 'PUID=${PUID}'
    - 'PGID=${PGID}'
    - 'TZ=${TZ}'
    - 'PLEX_UID=${PUID}'
    - 'PLEX_GID=${PGID}'
    - 'ALLOWED_NETWORKS=192.168.0.0/16,172.16.0.0/12,10.0.0.0/8'
    - 'NEOReadDebugKeys=1'
    - 'OverrideGpuAddressSpace=48'
  ports:
    - '32400:32400/tcp'
    - '3005:3005/tcp'
    - '8324:8324/tcp'
    - '32469:32469/tcp'
    - '1900:1900/udp'
    - '32410:32410/udp'
    - '32412:32412/udp'
    - '32413:32413/udp'
    - '32414:32414/udp'
  volumes:
    - '${ROOT}/MediaCenter/config/plex/db:/config'
    - '${ROOT}/MediaCenter/config/plex/transcode:/transcode'
    - '${HDDSTORAGE}:/MediaCenterBox'
    - '/mnt/Main/Media:/media'
  devices:
    - '/dev/dri:/dev/dri'
```

## Failing Emby Config
```yaml
emby:
  container_name: emby
  image: lscr.io/linuxserver/emby:latest
  restart: unless-stopped
  environment:
    - PUID=${PUID}
    - PGID=${PGID}
    - TZ=${TZ}
    - LIBVA_DRIVER_NAME=iHD
    - VAAPI_DEVICE=/dev/dri/renderD128
    - NEOReadDebugKeys=1
    - OverrideGpuAddressSpace=48
    - DOCKER_MODS=linuxserver/mods:emby-intel-gpu|linuxserver/mods:universal-package-install
    - INSTALL_PACKAGES=intel-media-va-driver|i965-va-driver|vainfo|intel-gpu-tools
  devices:
    - /dev/dri:/dev/dri
  group_add:
    - "44"    # video groep
    - "107"   # render groep
  ports:
    - '8096:8096'   # HTTP
    - '8920:8920'   # HTTPS
  volumes:
    - '${ROOT}/MediaCenter/config/emby:/config'
    - '${HDDSTORAGE}:/MediaCenterBox'
    - '/mnt/Main/Media:/media'
```

## Error Failed to initialise VAAPI connection: -1 (unknown libva error)
No VA display found for device /dev/dri/renderD128


## Key Differences
- **Plex**: Uses official `plexinc/pms-docker` image → Hardware transcoding works
- **Emby**: Uses `lscr.io/linuxserver/emby` image → Hardware transcoding fails
- **Plex**: Minimal environment variables, no VAAPI-specific settings
- **Emby**: Extensive VAAPI configuration with Intel drivers

## Question
Has anyone got Intel Arc A380 hardware transcoding working on TrueNAS Scale with Docker? 

**Note: Plex hardware transcoding works fine with same GPU setup, so hardware is confirmed working.**

Software transcoding works perfectly but GPU would reduce power consumption significantly.

**System works 100% except Emby GPU transcoding - any suggestions?**

    - OverrideGpuAddressSpace=48
    - DOCKER_MODS=linuxserver/mods:emby-intel-gpu
    - INSTALL_PACKAGES=intel-media-va-driver|vainfo
```

## Error Failed to initialise VAAPI connection: -1 (unknown libva error)
No VA display found for device /dev/dri/renderD128

 


## Question
Has anyone got Intel Arc A380 hardware transcoding working on TrueNAS Scale with Docker? 

Software transcoding works perfectly but GPU would reduce power consumption significantly.

**System works 100% except GPU transcoding - any suggestions?**

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...