Pingus requires sdl12-compat to run - black screen on launch

Aperta Adatta ai principianti
#63,374 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
70/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
linux, shell

Direzione di ricerca

Inizia leggendo i file del pacchetto Pingus nella raccolta dei pacchetti di Void ed esamina lo script di avvio /usr/bin/pingus menzionato nel rapporto. Controlla come il pacchetto avvia pingus.bin e se dichiara la dipendenza sdl12-compat. Il lavoro è concluso quando Pingus si avvia con grafica e audio dopo l’installazione, usando il comando di rendering software indicato nel rapporto.

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

Descrizione

bug needs-testing
Is this a new report?

Yes

System Info

Void 6.18.59_1 x86_64 GenuineIntel notuptodate rrrrrmmF

Package(s) Affected

pingus-0.7.6_14

Does a report exist for this bug with the project's home (upstream) and/or another distro?

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1038535

Expected behaviour

The package should install and run Pingus the game, but it plays the sound without showing the game graphics.

Actual behaviour

Void packages Pingus 0.7.6, and that version is built on the old SDL 1.2, not SDL2 that Void ships now. When launched, Pingus attempts to run with SDL2 so the screen is black but sound plays. So it needs the sdl12-compat package installed.

To run the game currently after installing, the command that would run the same on all monitors would be:

SDL_RENDER_DRIVER=software /usr/bin/pingus.bin --datadir /usr/share/pingus --fullscreen

so that should be placed in the shell script /usr/bin/pingus

I'll try to issue a PR if I can figure it out.

Steps to reproduce
  1. Install, then Launch Pingus
  2. Screen is black (but sound plays)
Lingua principale
Shell
Stelle
3.5k
Fork
2.8k
Merge medio
1g 19h
PR unite (30g)
318

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 void-linux/void-packages

Tutte le issue di void-linux/void-packages

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.