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

Open
#461 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
docker, linux, ubuntu
Domain
devops

Research direction

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.

Written by the indexing model from the issue text.

Description

no-issue-activity
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
Dominant language
Dockerfile
Stars
1.4k
Forks
225
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from linuxserver/docker-plex

All issues in linuxserver/docker-plex

Similar issues

More DevOps issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.