[BUG] Intel Arc A380 VAAPI transcoding fails on ls329, works on ls328

Aperta
#461 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
docker, linux, ubuntu
Ambito
devops

Direzione di ricerca

Compare the ls329 and ls328 Plex images and inspect the container configuration around VAAPI and /dev/dri. Start by reproducing the supplied smoke test on both tags and checking their VAAPI and driver dependencies. The issue is resolved when the test succeeds on ls329 with the Intel Arc A380; the payload does not identify a source file or test suite.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Is there an existing issue for this?
  • I have searched the existing issues
Current Behavior
Environment
  • Unraid: 7.4.0-rc.1
  • GPU: Intel Arc A380
  • Container: lscr.io/linuxserver/plex
  • Plex Pass: active
  • GPU passed through via /dev/dri
  • Plex hardware device: 0000:23:00.0
Problem

With Plex image 1.43.5.11029-6bf8af3f0-ls329, VAAPI initialization fails:

Failed to initialise VAAPI connection: -1 (unknown libva error)
Device creation failed: -5
Failed to set value '/dev/dri/renderD128' for option 'vaapi_device': I/O error

### Expected Behavior

_No response_

### Steps To Reproduce

### Steps to reproduce

1. Run `lscr.io/linuxserver/plex:1.43.5.11029-6bf8af3f0-ls329` on Unraid 7.4.0-rc.1.
2. Pass the GPU device to the container:

   ```text
   /dev/dri:/dev/dri
3. Select the Intel Arc A380 as the Plex hardware transcoding device.
4. Verify that the Arc render node is available:
   ls -l /dev/dri/by-path/
   The Arc A380 maps to /dev/dri/renderD128.
5. Run this VAAPI smoke test inside the container:
   docker exec plex \
     "/usr/lib/plexmediaserver/Plex Transcoder" \
     -hide_banner -loglevel error \
     -vaapi_device /dev/dri/renderD128 \
     -f lavfi -i "testsrc2=size=128x128:rate=1" \
     -vf "format=nv12,hwupload" \
     -c:v h264_vaapi \
     -frames:v 1 \
     -f null -
6. The test fails with:
   Failed to initialise VAAPI connection: -1 (unknown libva error)
   Device creation failed: -5
   Failed to set value '/dev/dri/renderD128' for option 'vaapi_device': I/O error
7. Roll back the container image to:
   1.43.4.10903-e5521bd8c-ls328

### Environment

```markdown
- OS: Unraid
- How docker service was installed:
Community App
CPU architecture

x86-64

Docker creation
docker create \
  --name plex \
  --network host \
  --restart=no \
  --env PUID=99 \
  --env PGID=100 \
  --env TZ=Europe/Berlin \
  --env VERSION=docker \
  --env UMASK=022 \
  --env PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6 \
  --device /dev/dri:/dev/dri:rwm \
Container logs
Failed to initialise VAAPI connection: -1 (unknown libva error)
Device creation failed: -5
Failed to set value '/dev/dri/renderD128' for option 'vaapi_device': I/O error
Lingua principale
Dockerfile
Stelle
1.4k
Fork
226
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di linuxserver/docker-plex

Tutte le issue di linuxserver/docker-plex

Issue simili

Altre issue su DevOps

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.