[BUG] Intel Arc QSV broken again (qsv=qs@va → child device handle -17) on 12.1+ / 12.2 tags (worked on 12.0ubu2604-ls48)
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 48/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- docker, dockerfile, linux
- 领域
- devops
调研方向
Start by comparing the Jellyfin image and bundled FFmpeg changes between the reported working 12.0ubu2604-ls48 tag and the failing 12.1/12.2 tags. Reproduce the supplied ffmpeg device initialization command in the container with the Arc A310 passed through, then trace the QSV initialization failure; done means QSV device creation and hardware transcoding work on the affected tags.
由索引模型根据 Issue 内容生成。
描述
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
On linuxserver/jellyfin tags 12.1ubu2604-ls51 and 12.2ubu2604-ls5x (tested ls52, ls53, ls54), Intel Quick Sync fails to initialize on an Intel Arc A310.
VA-API opens successfully, but creating the QSV device from it fails:
[QSV @ ...] Error setting child device handle: -17
Device creation failed: -1313558101.
Failed to set value 'qsv=qs@va' for option 'init_hw_device': Unknown error occurred
Error parsing global options: Unknown error occurred
This happens at device init, before any frames are processed. Playback that requires QSV therefore fails immediately.
Workaround that works: Switch Hardware Acceleration to VAAPI. OpenCL tone mapping also initializes correctly.
Expected Behavior
-init_hw_device vaapi=va:... -init_hw_device qsv=qs@va should succeed and allow full QSV hardware transcoding (including HDR→SDR), as it did on 12.0ubu2604-ls48.
Steps To Reproduce
Run lscr.io/linuxserver/jellyfin:12.2ubu2604-ls54 (or 12.1ubu2604-ls51) with Arc A310 devices passed through.
Enable QSV in Jellyfin.
Attempt any hardware transcode, or run the minimal test inside the container:
/usr/lib/jellyfin-ffmpeg/ffmpeg -hide_banner \
-init_hw_device vaapi=va:,driver=iHD \
-init_hw_device qsv=qs@va \
-f lavfi -i nullsrc=s=640x360:d=1 -frames:v 1 -f null -
Environment
OS: TrueNAS Scale 25.10.x
GPU: Intel Arc A310 (Alchemist)
Image: lscr.io/linuxserver/jellyfin:12.2ubu2604-ls54 (also reproduces on 12.1ubu2604-ls51 and other 12.2 ls tags)
Last known good: lscr.io/linuxserver/jellyfin:12.0ubu2604-ls48 (verified working after #335)
Devices passed: Arc render node + card (not renderD128)
FFmpeg: 8.1.3-Jellyfin (bundled)
OpenCL: Works (Arc A310 detected, mapping functions present)
VAAPI: Works
CPU architecture
x86-64
Docker creation
services:
jellyfin:
container_name: jellyfin
image: lscr.io/linuxserver/jellyfin:${JELLYFIN_VERSION}
hostname: jellyfin
restart: unless-stopped
devices:
- ${ARC_CARD_2}
- ${ARC_RENDER_2}
environment:
- PUID=1000
- PGID=4000
- TZ=${TZ}
- DOCKER_MODS=linuxserver/mods:jellyfin-opencl-intel
volumes:
- ${JELLYFIN_CONFIG}:/config
- ${JELLYFIN_MEDIA}:/data/media:ro
- ${TESTMEDIALIB}:/data/testmedialib:ro
tmpfs:
- /tmptranscode:uid=1000,gid=4000,mode=1777,size=25g
networks:
proxy:
ipv4_address: 172.24.1.100
expose:
- 8096
labels:
- traefik.enable=true
- traefik.http.routers.jellyfin.entrypoints=websecure
- traefik.http.routers.jellyfin.rule=Host(`${JELLYFIN_DN}`)
- traefik.http.routers.jellyfin.tls=true
- traefik.http.services.jellyfin.loadbalancer.server.port=8096
security_opt:
- no-new-privileges:true
cpus: 8
mem_limit: 32g
jellyfin-jfa-go:
container_name: jellyfin-jfa-go
image: hrfee/jfa-go:${JFA_VERSION}
hostname: jellyfin-jfa-go
restart: unless-stopped
user: 568:568
environment:
- TZ=${TZ}
- JFA_SECRET=${JFA_SECRET}
- JFA_SERVER_NAME=jfa-go
volumes:
- ${JFA_CONFIG}:/data
- ${JELLYFIN_CONFIG}:/jf:ro
networks:
proxy: null
expose:
- 8056
depends_on:
- jellyfin
labels:
- traefik.enable=true
- traefik.http.routers.jfa-go.entrypoints=websecure
- traefik.http.routers.jfa-go.rule=Host(`${JFA_DN}`)
- traefik.http.routers.jfa-go.tls=true
- traefik.http.services.jfa-go.loadbalancer.server.port=8056
security_opt:
- no-new-privileges:true
cpus: 1
mem_limit: 2g
networks:
proxy:
name: proxy
external: true
x-dockge:
urls:
- https://hub.docker.com/r/linuxserver/jellyfin
- https://hub.docker.com/r/hrfee/jfa-go
Container logs
[QSV @ ...] Error setting child device handle: -17
Device creation failed: -1313558101.
Failed to set value 'qsv=qs@va' for option 'init_hw_device': Unknown error occurred
Error parsing global options: Unknown error occurred
- 主要语言
- Dockerfile
- 星标
- 909
- 派生
- 136
- 平均合并
- 4 小时 31 分钟
- 30 天内合并 PR
- 1
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
linuxserver/docker-jellyfin 的其他 Issue
-
no-issue-activity
难度 2/5 1-3 小时 新手友好度 76/100
linuxserver/docker-jellyfin#336 · 3 条评论 · 1 个 reaction ·
-
no-issue-activity
难度 4/5 3-5 天 新手友好度 25/100
linuxserver/docker-jellyfin#341 · 2 条评论 ·
-
Critical Bug: Core migration initiated on V12 but resulted in 0-byte database truncation on UGOS Pro未关闭no-issue-activity
难度 5/5 一周以上 新手友好度 30/100
linuxserver/docker-jellyfin#339 · 6 条评论 ·
查看 linuxserver/docker-jellyfin 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 86/100
-
难度 2/5 1-3 小时 新手友好度 74/100
melodic-software/claude-code-plugins#17374 · 2 条评论 ·
维护者通常 1 天内回复
-
area: doc-engine area: infrastructure bug community-request
难度 2/5 1-3 小时 新手友好度 75/100
snapotter-hq/SnapOtter#4834 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 73/100
soroswap/token-list#125 ·
维护者通常 1 天内回复