[BUG] Webtop 2.2.1: no video on Intel Alder Lake-N i915 — BindBufferEGLError(EGLImageCreationFailed) with Wayland + VAAPI zero-copy

オープン
#453 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
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
  1. Run lscr.io/linuxserver/webtop:arch-kde with --device /dev/dri and
    --shm-size=1gb (Unraid dockerman template, no privileged mode).
  2. Open the web UI and start the video stream.
  3. 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分
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

linuxserver/docker-webtop のほかの issue

linuxserver/docker-webtop の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。