[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 摘要。