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

未关闭
#461 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
docker, linux, ubuntu
领域
devops

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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
主要语言
Dockerfile
星标
1.4k
派生
226
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

linuxserver/docker-plex 的其他 Issue

查看 linuxserver/docker-plex 的全部 Issue

相似的 Issue

更多 DevOps Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。