displayX11 requires Xephyr on X11 but nested display fails with MIT-SHM errors (black screen)

Aperta
#89 0 commenti 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
52/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go, linux
Ambito
backend, desktop

Direzione di ricerca

Start at the code that handles the displayX11 and socketX11 overrides and sets up X11 access for cpak run; the issue does not name a file or test. Reproduce with Xephyr using the supplied mpv command, then trace the MIT-SHM errors and the missing /tmp/.X11-unix mount. Done when video renders in the nested display without those errors.

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

Descrizione

Summary

On a bare X11 session (Ratpoison, DISPLAY=:0.0, no Wayland), enabling displayX11 for a native package requires Xephyr. Even with Xephyr installed the nested display produces MIT-SHM errors and a black screen.

Environment
  • Host: Fedora bootc, Ratpoison (X11), ALSA (no Pulse/PipeWire socket)
  • cpak: 2.14.18
  • Package: github.com/containerpak/mpv
  • Xephyr: xorg-x11-server-Xephyr 21.1.25
Steps
  1. Install package and set override:
    • socketX11 / displayX11: true
    • deviceAlsa: true
    • filesystem: home/.config/mpv + home/Videos
  2. Install Xephyr
  3. Run:
    cpak run github.com/containerpak/mpv -- /usr/bin/mpv --vo=x11
Result
  • Audio works (ALSA)
  • Window opens via Xephyr
  • Video output fails:
[vo/x11/x11] X11 error: BadAccess
[vo/x11/x11] X11 error: BadShmSeg
[vo/x11] can't keep up! Waiting for XShm completion events...
  • Black screen. --vo=gpu and --vo=xv also fail to produce an image.
  • Direct X11 socket is never mounted (/tmp/.X11-unix does not exist inside the container).
Lingua principale
Go
Stelle
218
Fork
5
Merge medio
45m
PR unite (30g)
5

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 Containerpak/cpak

Tutte le issue di Containerpak/cpak

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.