[BUG] Webtop 2.2.1: no video on Intel Alder Lake-N i915 — BindBufferEGLError(EGLImageCreationFailed) with Wayland + VAAPI zero-copy
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 15/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- docker, linux
调研方向
The failure is in the Selkies zero-copy Wayland capture path, not in this packaging repo: start by reading how the arch-kde image pins Selkies 2.2.1 and where SELKIES_USE_CPU switches the encoder to x264 readback, then reproduce the logs with --device /dev/dri. Compare the VAAPI/EGLImage creation call against the working software path and check whether the dma-buf modifier from i915 is being imported correctly. Done looks like frames arriving with zero-copy enabled on Alder Lake-N, or a documented fallback; the real patch likely belongs upstream in the selkies project.
由索引模型根据 Issue 内容生成。
描述
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
After upgrading to the current arch-kde image (Selkies 2.2.1), the web desktop
loads but streams no video. Server-side capture starts, then fails continuously
with Failed to bind buffer: BindBufferEGLError(EGLImageCreationFailed).
Browser shows a black desktop; audio works.
Expected Behavior
Zero-copy VAAPI capture should deliver frames on this iGPU.
Steps To Reproduce
- Run
lscr.io/linuxserver/webtop:arch-kdewith--device /dev/driand
--shm-size=1gb(Unraid dockerman template, no privileged mode). - Open the web UI and start the video stream.
- Check
docker logs webtop.
Environment
- Image: lscr.io/linuxserver/webtop:arch-kde, build 2025-07-12-ls271
(built 2026-11-18), label LSIO_FIRST_PARTY=true
- Selkies 2.2.1, Mesa 26.3.1-2, libva 2.24.1, iHD driver 26.3.5
- Host: Unraid, kernel 6.18.33-Unraid
- GPU: Intel Alder Lake-N UHD Graphics (00:02.0), kernel driver i915,
/dev/dri/card0 + /dev/dri/renderD128 passed through
- Permissions OK ("permissions for /dev/dri/... are good");
`vainfo` reports H.264 encode entry points.
CPU architecture
x86-64
Docker creation
### Workaround found
Setting `SELKIES_USE_CPU=true` forces x264 with readback capture:
INFO:display:Display 'primary' encodes H.264 in software (x264).
[Wayland] Readback capture: ... (software encoding selected).
[Wayland] Encoder: software H264 (x264) 4:2:0 8-bit, 3 threads.
With this flag there are zero EGL errors and the desktop streams correctly,
while the desktop itself still renders via GL on /dev/dri/renderD128.
### Notes
Full container logs and the exact Unraid container template can be provided
on request. Suspect a regression in the Selkies 2.2.1 zero-copy EGL/VAAPI path
with Mesa 26.3 / i915.
Container logs
[pixelflux] Render node 0 encodes H264, VP9, H265 on vaapi.
[Wayland] Renderer: GL on /dev/dri/renderD128.
[Wayland] Encoder: VAAPI H264 4:2:0 8-bit on nv12 surfaces (render node 0, i915 driver).
[Wayland] Zero-copy capture: output 1 1920x944 rendered on /dev/dri/renderD128, encoded in place on VAAPI.
Failed to bind buffer: BindBufferEGLError(EGLImageCreationFailed) <- ~2100 times
WARNING:ws:Capture for 'primary' (h264) has delivered no frame in 5 s
- 主要语言
- Shell
- 星标
- 4.5k
- 派生
- 387
- 平均合并
- 21 小时 52 分钟
- 30 天内合并 PR
- 1
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
linuxserver/docker-webtop 的其他 Issue
-
难度 3/5 半天 新手友好度 45/100
linuxserver/docker-webtop#452 · 3 条评论 ·
-
latest WILL BE REPLACED, PLEASE TRANSITION TO alpine-xfce TAG!可能已有人在做 @thelamer 于 11 天前认领。 未关闭work-in-progress
linuxserver/docker-webtop#450 · 已指派 1 人 ·
-
enhancement
难度 4/5 3-5 天 新手友好度 45/100
linuxserver/docker-webtop#449 · 2 条评论 ·
-
enhancement
难度 4/5 3-5 天 新手友好度 30/100
linuxserver/docker-webtop#448 · 3 条评论 ·
查看 linuxserver/docker-webtop 的全部 Issue
相似的 Issue
-
[BUG] SMTP listener now binds to EMAIL_PORT instead of 2525 since the gunicorn switch 5.0.3-ls373未关闭
难度 2/5 1-3 小时 新手友好度 72/100
linuxserver/docker-healthchecks#137 · 1 条评论 ·
-
documentation
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
good first issue type/ci
难度 2/5 1-3 小时 新手友好度 81/100
c-w-z/commit-decision-record#20 ·
维护者通常 1 天内回复
-
bug compatibility
难度 2/5 1-3 小时 新手友好度 62/100
omacom/omarchy#20525 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 70/100
ChurchCRM/docs.churchcrm.io#284 ·
维护者通常 1 天内回复