[BUG] RomM image doesn't seem to work

未關閉
#13 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
42/100
Issue 類型
缺陷
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
docker, nginx
領域
devops, networking

研究方向

Start with the svc-broker startup path and the webstation_broker.app entry shown in the container logs, then compare the published broker and Selkies endpoints with RomM's streaming.containers host and subfolder configuration. Verify that the broker starts on the expected container network and that RomM can reach it through the configured ports and secret. Done means the RomM UI no longer reports a broker connection failure and the requested game launches in Webstation.

由索引模型根據 Issue 內容生成。

描述

Is there an existing issue for this?
  • I have searched the existing issues
Current Behavior

I tried the standard webstation image and it opened directly to the desktop when browsing to it however when I try the RomM image it only opens to the Nginx greeter page and RomM says it couldn't connect to the broker when I try to start a game.

Expected Behavior

I thought it would open to the desktop like the main image and RomM would see it as it is supposed to.

Steps To Reproduce
  1. Setup RomM normally
  2. Setup the RomM variant of the Webstation container
  3. Update the RomM config with the streaming server info
  4. Attempt to stream a game from RomM using the Webstation container
  5. Result should be that the game doesn't start and reports in UI that the broker couldn't be connected to
Environment
- OS: TrueNAS 25.10.7
- How docker service was installed: Included with TrueNAS
CPU architecture

x86-64

Docker creation
  romm-webstation:
    image: lscr.io/linuxserver/webstation:romm
    platform: linux/amd64
    container_name: romm-webstation
    environment:
      - PUID=568
      - PGID=568
      - TZ=America/Chicago
      - SUBFOLDER=/streaming/
      - BROKER_SECRET=${STREAMING_BROKER_SECRET}
    devices:
      - /dev/dri:/dev/dri
    volumes:
      - /mnt/pools/configs/romm/webstation:/config
      - /mnt/pools/server/media/games:/romm/library:ro
    ports:
      - 3000:3000
      - 3001:3001
    shm_size: "1gb"
    restart: unless-stopped
    networks:
      - default
      - external_access
RomM Config
streaming:
    enabled: true
    containers:
        - protocol: webstation
          host: https://192.168.1.137:3001
          subfolder: /streaming/
          label: Webstation
          broker_secret: redacted
          platforms:
              # snes: retroarch # just the emulator name...
              gba: retroarch:gpsp # ...or with a RetroArch core...
              # ps2: # ...or a block overriding container keys
              #   emulator: pcsx2
              #   memory_card_sync: true
Container logs
[migrations] started
[migrations] no migrations found
───────────────────────────────────────
      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝
   Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID:    568
User GID:    568
───────────────────────────────────────
[ls.io-init] Generating labwc rc.xml from template
[ls.io-init] Disabling auto-maximization
[ls.io-init] Generated SELKIES_MASTER_TOKEN for this boot
**** creating video group videoqfmd with id 107 ****
**** adding /dev/dri/renderD128 to video group videoqfmd with id 107 ****
**** adding /dev/dri/card0 to video group video with id 44 ****
[custom-init] No custom files found, skipping...
[svc-broker] waiting for selkies control plane at http://127.0.0.1:8082/streaming/stream
[svc-de] Wayland mode: Waiting for socket at /config/.XDG/wayland-1...
[ls.io-init] done.
19
20
[vaapi] /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
[pixelflux] Render node 0 encodes H264 on vaapi.
[pixelflux] Thread priority -15 refused and rtkit does not grant it; capture threads run at normal priority.
[Wayland] Renderer: GL on /dev/dri/renderD128.
[Wayland] View 1 created over output 0: 1024x768 @ (0, 0).
[Wayland] Socket listening on: "wayland-1"
INFO:server:Wayland compositor socket: wayland-1
INFO:main:Selkies 2.2.1 starting: websockets transport, Wayland capture, encoder h264enc at 8-240 fps, sized by the client, audio on, gamepads on, access token.
INFO:server:Starting service: websockets
INFO:gamepad:4 virtual gamepads ready ('Microsoft X-Box 360 pad', sockets under /config/.XDG); kernel uinput off.
INFO:input:Wayland clipboard: native compositor callback active (no polling).
INFO:input:Apps panel enabled: selkies-proot can run here.
INFO:input:Apps installed in this session: none
[svc-de] /config/.XDG/wayland-1 found launching de
INFO:server:Selkies server running on http://[::1]:8082, http://127.0.0.1:8082
INFO:printing:Print queue Selkies listening on /config/.XDG/selkies-cups/cups.sock, spooling to /config/.local/state/selkies/print, on A4 paper
[svc-broker] selkies control plane is up
INFO:input:Wayland app compositor 'wayland-0' (auto-detected); routing input + clipboard there, capture stays on 'wayland-1'.
INFO:input:Wayland clipboard: app-compositor data-control watch active (no forks).
09:07:38 [broker] INFO webstation_broker.app: serving the frontend from /usr/share/webstation-broker/www
09:07:38 [broker] INFO uvicorn.error: Started server process [381]
09:07:38 [broker] INFO uvicorn.error: Waiting for application startup.
09:07:38 [broker] INFO uvicorn.error: Application startup complete.
09:07:38 [broker] INFO uvicorn.error: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
主要語言
Dockerfile
星號
20
分支
5
平均合併
8 小時 16 分鐘
30 天內合併 PR
1

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

linuxserver/docker-webstation 的其他 Issue

查看 linuxserver/docker-webstation 的全部 Issue

相似的 Issue

更多 DevOps Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。