[BUG] RomM image doesn't seem to work

Aperta
#13 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
42/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
docker, nginx
Ambito
devops, networking

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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)
Lingua principale
Dockerfile
Stelle
20
Fork
5
Merge medio
8h 16m
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di linuxserver/docker-webstation

Tutte le issue di linuxserver/docker-webstation

Issue simili

Altre issue su DevOps

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.