Hallo! Ich habe das info-beamer Paket 1.0.1 (buster) auf einem frischen Pi4 mit neustem Raspbian installiert. Ich nutze den Raspberry 7" touchscreen.
Beim Ausführen des info-beamers (./info-beamer samples/hello) erhalte ich folgenden Output:
[main.c] root node is hello
[surface.c] It looks like you are running … bla bla X
CRITICAL ERROR: Cannot setup DRM device(s)
Was kann ich da machen?
Gruß
Matthias
Bin nicht sicher, ob es schon Erfahrung mit der Kombination Pi4 + 7" Display gibt. Was wahrscheinlich hilft, rauszubekommen, was klemmt ist erhöhen des Loglevels. Die Ausgabe davon sollte dann weiterhelfen:
export INFOBEAMER_LOG_LEVEL=3
./info-beamer samples/hello
Entweder hier pasten (Eingeschlossen in ```
für bessere Formatierung), oder per Mail an hello@info-beamer.com.
[main.c] environ: INFOBEAMER_LOG_LEVEL=3
[main.c] memory: arm=832M gpu=192M
[main.c] file descriptor limit: 1024
[surface.c] It looks like you are running info-beamer in X. Notice that running
[surface.c] an X Server is not required to run info-beamer pi and it could make
[surface.c] things run slower: See https://info-beamer.com/lnk/blank
[surface.c] DRM device /dev/dri/card1
[surface.c] connectors: 1
[surface.c] encoders: 1
[surface.c] crtcs: 1
[surface.c] found 1 attached devices
[surface.c] Connector 0:
[surface.c] detected Main LCD display 0 device Ras LCD Panel
[surface.c] 800x480@60.000 Invalid 0
[surface.c] skipping -> only display 1 active. This is 0
[surface.c] No usable display found!
CRITICAL ERROR: Cannot setup DRM device(s)
Aha. Das hier:
[surface.c] skipping → only display 1 active. This is 0
ist das Problem. info-beamer versucht den HDMI Ausgang zu aktivieren. Das sollte sich mittels zusätzlichem Environment Wert wie folgt beheben lassen:
export INFOBEAMER_TARGET_D=aux
Dann kommt: Invalid display, use 4-6 or lcd/tv/other
Nehme ich “lcd” oder eines der anderen kommt:
No usable display found!
Cannot setup DRM device(s)
Stimmt. Ich sehe gerade dass das noch nicht in 1.0.1 drin ist: Sollte aber mit 1.0.3 von https://info-beamer.com/download/player#prerelease funktionieren. Ein offizielles Release davon sollte bald folgen.
Seltsam, da kommt jetzt:
[main.c] environ: INFOBEAMER_TARGET_D=aux INFOBEAMER_LOG_LEVEL=3
[main.c] memory: arm=832M gpu=192M
[main.c] file descriptor limit: 1024
[surface.c] It looks like you are running info-beamer in X. Notice that running
[surface.c] an X Server is not required to run info-beamer pi and it could make
[surface.c] things run slower: See https://info-beamer.com/lnk/blank
[surface.c] DRM device /dev/dri/card1
[surface.c] connectors: 1
[surface.c] encoders: 1
[surface.c] crtcs: 1
[surface.c] found 1 attached devices
[surface.c] Connector 0:
[surface.c] detected Main LCD display 0 device Ras LCD Panel
[surface.c] 800x480@60.000 Invalid 0
[surface.c] skipping -> only display 1 active. This is 0
[surface.c] No usable display found!
CRITICAL ERROR: Cannot setup DRM device(s)
export INFOBEAMER_TAGET_D= aux ist gesetzt.
Jetzt aber: aux
war inkorrekt. Stattdessen müsste es folgendes sein:
export INFOBEAMER_TARGET_D=main_lcd
Wir sind einen Schritt weiter, aber…
[main.c] root node is shader
[surface.c] It looks like you are running info-beamer in X. Notice that running
[surface.c] an X Server is not required to run info-beamer pi and it could make
[surface.c] things run slower: See https://info-beamer.com/lnk/blank
failed to export dumb buffer: Permission denied
Failed to create scanout resource
failed to export dumb buffer: Permission denied
Failed to create scanout resource
[mmalvideo.c] Your FFMPEG library does not support RPI HEVC decoding. HEVC disabled.
[mmalvideo.c] Try running ‘info-beamer -install-hevc’ to install the required files.
CRITICAL ERROR: cannot set priority
CRITICAL ERROR: cannot set priority
malloc(): unsorted double linked list corruptedSpeicherzugriffsfehler
Hab HEVC nach installiert und nun kommt:
[main.c] root node is shader
[surface.c] It looks like you are running info-beamer in X. Notice that running
[surface.c] an X Server is not required to run info-beamer pi and it could make
[surface.c] things run slower: See https://info-beamer.com/lnk/blank
failed to export dumb buffer: Permission denied
Failed to create scanout resource
failed to export dumb buffer: Permission denied
Failed to create scanout resource
[mmalvideo.c] RPI HEVC decoding enabled
CRITICAL ERROR: cannot set priority
CRITICAL ERROR: cannot set priority
[main.c] loading nodes
Speicherzugriffsfehler
Hm. Kann sein, dass info-beamer auf dem Pi4 nicht mehr läuft, wenn gleichzeitig ein X Server aktiv ist. Die passende Warnung wird ja schon angezeigt. Bitte einmal direkt von der Konsole aus probieren. Zudem muss info-beamer also root ausgeführt werden, falls das nicht der Fall ist. Das ist aus den Logs ist nicht ersichtlich.