Wie sieht dein cross-file aus und findet es meson auch?
Was sagt "/usr/bin/aarch64-linux-gnu-pkg-config wayland-scanner --print-variables"?
Wie sieht dein cross-file aus und findet es meson auch?
Was sagt "/usr/bin/aarch64-linux-gnu-pkg-config wayland-scanner --print-variables"?
Beim crossfile hab ich die Vorlage von Dir genommen. Das geb ich meson als option --cross-file mit
Vorausgesetzt, der Pfad bei "--cross-file cross" stimmt, kannst du dem ganzen mal PKG_CONFIG_PATH=/usr/lib/aarch64-linux-gnu/pkgconfig vorausstellen.
Und
"/usr/bin/aarch64-linux-gnu-pkg-config --variable pc_path pkg-config" und
"pkg-config --variable pc_path pkg-config" würde mich noch interessieren.
/usr/local/lib/x86_64-linux-gnu/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig
/usr/local/lib/x86_64-linux-gnu/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig
Wenn ich PKG_CONFIG_PATH=/usr/lib/aarch64-linux-gnu/pkgconfig in der Konsole eingebe und dann sudo meson --cross-file cross mesa/ -Dvulkan-drivers=[] -Ddri-drivers=[] -Dgallium-drivers=panfrost,kmsroeingebe,
passiert das gleiche. cross liegt im Verzeichnis vor dem Verzeichnis mesa also in dem Verzeichnis in dem der Befehl ausgefühtr wird.
Du müsstest "PKG_CONFIG_PATH=/usr/lib/aarch64-linux-gnu/pkgconfig sudo meson --cross-file cross mesa/ -Dvulkan-drivers=[] -Ddri-drivers=[] -Dgallium-drivers=panfrost,kmsro
oder
" sudo PKG_CONFIG_PATH=/usr/lib/aarch64-linux-gnu/pkgconfig meson --cross-file cross mesa/ -Dvulkan-drivers=[] -Ddri-drivers=[] -Dgallium-drivers=panfrost,kmsro" machen, keine 2 getrennten Befehle.
Ansonsten weiß ich auf die Schnelle auch grad nicht weiter. pkgconfig hat mich schon so manchmal in die Verzweiflung getrieben.
Du könntest auch libwayland-dev ohne arm64 installieren, dann müsste es zumindest weitergehen, löst aber den Fehler nicht.
Die Alternative wäre, mesa erstmal auf dem H6 selbst zu bauen, dauert halt einfach länger. Aber so langsam wird der H6 schon nicht sein...
funzt alles nicht Ich werde jetzt mal noch ein bischen suchen sonst wird auf dem H6 gebaut.
seltsam ist, /usr/bin/aarch64-linux-gnu-pkg-config --list-all |grep wayland gibt folgendes aus
wayland-server Wayland Server - Server side implementation of the Wayland protocol
wayland-egl wayland-egl - Frontend wayland-egl library
wayland-scanner Wayland Scanner - Wayland scanner
wayland-client Wayland Client - Wayland client side library
wayland-cursor Wayland Cursor - Wayland cursor helper library
ich hab jetzt mal die libs parallel installiert, dann ist meson durchgelaufen und ninja auch. ninja hat mir jetzt alles ins host system installiert... das war ja nicht gerade Sinn der Sache. Wie bekomm ich das in ein Verzeichnis um es auf den pine zu kopieren.
Bisheriges Ergebnis (siehe syslog.txt)... ich werde das ganze mal noch auf dem Pine kompilieren. Hat irgendwie alles gesponnen
Das musste ich noch nachinstallieren:
libwayland-server0
libwayland-client0
libxcb-dri3-0
libxcb-present0
libxcb-sync1
libxshmfence1
Was spuckt Log bzw. stderr aus, wenn du GL_DEBUG, DRM_DEBUG aktivierst?
Beim Raspberry 4 bin ich komplett überfragt. Welche Treiber nutzt der für GLES?
GLES: keine Ahnung, sorry.
Hier ist der DEBUG output mit GL_DEBUG und DRM_DEBUG:
GetPropertyValue: Unable to find value for property 'zpos'.
FindDevice: Plane id 47 crtc_id 0 possible_crtcs 1 possible CRTC 53 type primary plane
FindDevice: PixelFormats
GetPropertyValue: Unable to find value for property 'zpos'.
FindDevice: Plane id 54 crtc_id 0 possible_crtcs 2 possible CRTC 60 type primary plane
FindDevice: PixelFormats
GetPropertyValue: Unable to find value for property 'zpos'.
FindDevice: Plane id 61 crtc_id 0 possible_crtcs 4 possible CRTC 67 type primary plane
FindDevice: PixelFormats
GetPropertyValue: Unable to find value for property 'zpos'.
FindDevice: Plane id 68 crtc_id 74 possible_crtcs 8 possible CRTC 74 type primary plane
FindDevice: PixelFormats XR24 AR24
OSD on PRIMARY zpos 0 (=render->zpos_primary)
AB24 XB24 RG16 BG16 AR15 XR15 RG24 BG24 YU16 YV16 YU12 YV12 NV12 NV21 NV16 NV61 P030
GetPropertyValue: Unable to find value for property 'zpos'.
FindDevice: Plane id 75 crtc_id 0 possible_crtcs 16 possible CRTC 81 type primary plane
FindDevice: PixelFormats
GetPropertyValue: Unable to find value for property 'zpos'.
FindDevice: Plane id 82 crtc_id 0 possible_crtcs 32 possible CRTC 88 type primary plane
FindDevice: PixelFormats
GetPropertyValue: Unable to find value for property 'zpos'.
FindDevice: Plane id 89 crtc_id 0 possible_crtcs 63 possible CRTC 53 type overlay plane
FindDevice: PixelFormats XR24 AR24 AB24 XB24 RG16 BG16 AR15 XR15 RG24 BG24 YU16 YV16 YU12 YV12 NV12 NV21 NV16 NV61 P030
GetPropertyValue: Unable to find value for property 'zpos'.
FindDevice: Plane id 95 crtc_id 0 possible_crtcs 63 possible CRTC 53 type overlay plane
FindDevice: PixelFormats XR24 AR24 AB24 XB24 RG16 BG16 AR15 XR15 RG24 BG24 YU16 YV16 YU12 YV12 NV12 NV21 NV16 NV61 P030
GetPropertyValue: Unable to find value for property 'zpos'.
FindDevice: Plane id 101 crtc_id 0 possible_crtcs 63 possible CRTC 53 type overlay plane
FindDevice: PixelFormats XR24 AR24 AB24 XB24 RG16 BG16 AR15 XR15 RG24 BG24 YU16 YV16 YU12 YV12 NV12 NV21 NV16 NV61 P030
GetPropertyValue: Unable to find value for property 'zpos'.
FindDevice: Plane id 107 crtc_id 0 possible_crtcs 63 possible CRTC 53 type overlay plane
FindDevice: PixelFormats XR24 AR24 AB24 XB24 RG16 BG16 AR15 XR15 RG24 BG24 YU16 YV16 YU12 YV12 NV12 NV21 NV16 NV61 P030
GetPropertyValue: Unable to find value for property 'zpos'.
FindDevice: Plane id 113 crtc_id 0 possible_crtcs 63 possible CRTC 53 type overlay plane
FindDevice: PixelFormats XR24 AR24 AB24 XB24 RG16 BG16 AR15 XR15 RG24 BG24 YU16 YV16 YU12 YV12 NV12 NV21 NV16 NV61 P030
GetPropertyValue: Unable to find value for property 'zpos'.
FindDevice: Plane id 119 crtc_id 0 possible_crtcs 63 possible CRTC 53 type overlay plane
FindDevice: PixelFormats XR24 AR24 AB24 XB24 RG16 BG16 AR15 XR15 RG24 BG24 YU16 YV16 YU12 YV12 NV12 NV21 NV16 NV61 P030
GetPropertyValue: Unable to find value for property 'zpos'.
FindDevice: Plane id 125 crtc_id 0 possible_crtcs 63 possible CRTC 53 type overlay plane
FindDevice: PixelFormats XR24 AR24 AB24 XB24 RG16 BG16 AR15 XR15 RG24 BG24 YU16 YV16 YU12 YV12 NV12 NV21 NV16 NV61 P030
GetPropertyValue: Unable to find value for property 'zpos'.
FindDevice: Plane id 131 crtc_id 0 possible_crtcs 63 possible CRTC 53 type overlay plane
FindDevice: PixelFormats XR24 AR24 AB24 XB24 RG16 BG16 AR15 XR15 RG24 BG24 YU16 YV16 YU12 YV12 NV12 NV21 NV16 NV61 P030
GetPropertyValue: Unable to find value for property 'zpos'.
FindDevice: Plane id 137 crtc_id 0 possible_crtcs 63 possible CRTC 53 type overlay plane
FindDevice: PixelFormats XR24 AR24 AB24 XB24 RG16 BG16 AR15 XR15 RG24 BG24 YU16 YV16 YU12 YV12 NV12 NV21 NV16 NV61 P030
GetPropertyValue: Unable to find value for property 'zpos'.
FindDevice: Plane id 143 crtc_id 0 possible_crtcs 63 possible CRTC 53 type overlay plane
FindDevice: PixelFormats XR24 AR24 AB24 XB24 RG16 BG16 AR15 XR15 RG24 BG24 YU16 YV16 YU12 YV12 NV12 NV21 NV16 NV61 P030
GetPropertyValue: Unable to find value for property 'zpos'.
FindDevice: Plane id 149 crtc_id 0 possible_crtcs 63 possible CRTC 53 type overlay plane
FindDevice: PixelFormats XR24 AR24 AB24 XB24 RG16 BG16 AR15 XR15 RG24 BG24 YU16 YV16 YU12 YV12 NV12 NV21 NV16 NV61 P030
GetPropertyValue: Unable to find value for property 'zpos'.
FindDevice: Plane id 155 crtc_id 0 possible_crtcs 63 possible CRTC 53 type overlay plane
FindDevice: PixelFormats XR24 AR24 AB24 XB24 RG16 BG16 AR15 XR15 RG24 BG24 YU16 YV16 YU12 YV12 NV12 NV21 NV16 NV61 P030
GetPropertyValue: Unable to find value for property 'zpos'.
FindDevice: Plane id 161 crtc_id 0 possible_crtcs 63 possible CRTC 53 type overlay plane
FindDevice: PixelFormats XR24 AR24 AB24 XB24 RG16 BG16 AR15 XR15 RG24 BG24 YU16 YV16 YU12 YV12 NV12 NV21 NV16 NV61 P030
GetPropertyValue: Unable to find value for property 'zpos'.
FindDevice: Plane id 167 crtc_id 0 possible_crtcs 63 possible CRTC 53 type overlay plane
FindDevice: PixelFormats XR24 AR24 AB24 XB24 RG16 BG16 AR15 XR15 RG24 BG24 YU16 YV16 YU12 YV12 NV12 NV21 NV16 NV61 P030
GetPropertyValue: Unable to find value for property 'zpos'.
FindDevice: Plane id 173 crtc_id 0 possible_crtcs 63 possible CRTC 53 type overlay plane
FindDevice: PixelFormats XR24 AR24 AB24 XB24 RG16 BG16 AR15 XR15 RG24 BG24 YU16 YV16 YU12 YV12 NV12 NV21 NV16 NV61 P030
GetPropertyValue: Unable to find value for property 'zpos'.
FindDevice: Plane id 179 crtc_id 0 possible_crtcs 63 possible CRTC 53 type overlay plane
FindDevice: PixelFormats XR24 AR24 AB24 XB24 RG16 BG16 AR15 XR15 RG24 BG24 YU16 YV16 YU12 YV12 NV12 NV21 NV16 NV61 P030
GetPropertyValue: Unable to find value for property 'zpos'.
FindDevice: Plane id 185 crtc_id 0 possible_crtcs 1 possible CRTC 53 type cursor plane
FindDevice: PixelFormats
GetPropertyValue: Unable to find value for property 'zpos'.
FindDevice: Plane id 191 crtc_id 0 possible_crtcs 2 possible CRTC 60 type cursor plane
FindDevice: PixelFormats
GetPropertyValue: Unable to find value for property 'zpos'.
FindDevice: Plane id 197 crtc_id 0 possible_crtcs 4 possible CRTC 67 type cursor plane
FindDevice: PixelFormats
GetPropertyValue: Unable to find value for property 'zpos'.
FindDevice: Plane id 203 crtc_id 0 possible_crtcs 8 possible CRTC 74 type cursor plane
FindDevice: PixelFormats XR24 AR24 AB24 XB24 RG16 BG16 AR15 XR15 RG24 BG24 YU16 YV16 YU12 YV12 NV12 NV21 NV16 NV61 P030
GetPropertyValue: Unable to find value for property 'zpos'.
FindDevice: Plane id 209 crtc_id 0 possible_crtcs 16 possible CRTC 81 type cursor plane
FindDevice: PixelFormats
GetPropertyValue: Unable to find value for property 'zpos'.
FindDevice: Plane id 215 crtc_id 0 possible_crtcs 32 possible CRTC 88 type cursor plane
FindDevice: PixelFormats
no matching gbm config found
Alles anzeigen
Syslog?
libwayland-client0
libxcb-dri3-0
libxcb-present0
Warum linked Ihr nach Wayland, DRI3 und X? Das wird nicht gebraucht! Ein Test mit kmscube würde ich machen um zu sehen ob GL läuft.
eb 07 19:16:00 rasp4 vdr[1266]: [1266] VDR version 2.4.6 started
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] codeset is 'UTF-8' - known
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] found 28 locales in /home/sg75/softhddrm_test_20201221/vdr-2.4.6/locale
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] no locale for language code 'alb,sqi'
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] no locale for language code 'bos'
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] no locale for language code 'bul'
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] no locale for language code 'chi,zho'
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] no locale for language code 'eus,baq'
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] no locale for language code 'iri,gle'
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] no locale for language code 'jpn'
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] no locale for language code 'lav'
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] no locale for language code 'ltz'
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] no locale for language code 'mlt'
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] no locale for language code 'por'
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] no locale for language code 'smi'
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] loading plugin: /home/sg75/softhddrm_test_20201221/vdr-2.4.6/PLUGINS/lib/libvdr-softhddevice-drm.so.2.4.6
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] loading plugin: /home/sg75/softhddrm_test_20201221/vdr-2.4.6/PLUGINS/lib/libvdr-streamdev-client.so.2.4.6
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] loading plugin: /home/sg75/softhddrm_test_20201221/vdr-2.4.6/PLUGINS/lib/libvdr-remote.so.2.4.6
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] loading /video/setup.conf
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] ERROR: unknown config parameter: softhddevice-drm.SWDeinterlacer = 1
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] loading /video/sources.conf
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] loading /video/diseqc.conf
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] loading /video/scr.conf
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] loading /video/channels.conf
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] loading /video/timers.conf
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] loading /video/svdrphosts.conf
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] loading /video/remote.conf
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] loading /video/keymacros.conf
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] loading /video/camresponses.conf
Feb 07 19:16:00 rasp4 vdr[1266]: [1267] video directory scanner thread started (pid=1266, tid=1267, prio=low)
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] registered source parameters for 'A - ATSC'
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] registered source parameters for 'C - DVB-C'
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] registered source parameters for 'S - DVB-S'
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] registered source parameters for 'T - DVB-T'
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] no DVB device found
Feb 07 19:16:00 rasp4 vdr[1266]: [1268] epg data reader thread started (pid=1266, tid=1268, prio=high)
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] initializing plugin: softhddevice-drm (0.0.1rc1-GITf3489f0): A software and GPU emulated HD device
Feb 07 19:16:00 rasp4 vdr[1266]: [1268] reading EPG data from /video/epg.data
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] new device number 1 (card index 1)
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] initializing plugin: streamdev-client (0.6.1-git): VTP Streaming Client
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] new device number 2 (card index 2)
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] cTimeMs: using monotonic clock (resolution is 1 ns)
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] streamdev-client: got device number 2
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] initializing plugin: remote (0.7.0): Remote control
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] setting primary device to 1
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] [softhddev]MakePrimaryDevice: 1
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] [softhddev]stopping openGL worker thread
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] [softhddev]openGL worker thread stopped
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] [softhddev]SetVideoFormat: 0
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] [softhddev]SetVideoDisplayFormat: 1
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] [softhddev]GetSpuDecoder:
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] [softhddev]SetVolumeDevice: 255
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] assuming manual start of VDR
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] setting current skin to "classic"
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] loading /video/themes/classic-default.theme
Feb 07 19:16:00 rasp4 vdr[1266]: [1266] starting plugin: softhddevice-drm
Feb 07 19:16:00 rasp4 vdr[1266]: audio/alsa: using device 'default'
Feb 07 19:16:00 rasp4 vdr[1266]: [1269] device 2 section handler thread started (pid=1266, tid=1269, prio=low)
Feb 07 19:16:00 rasp4 vdr[1266]: audio/alsa: supports pause: yes
Feb 07 19:16:00 rasp4 vdr[1266]: AudioInit: No HwChannelMaps found!
Feb 07 19:16:00 rasp4 vdr[1266]: FindDevice: DRM have 2 connectors, 6 crtcs, 3 encoders
Feb 07 19:16:00 rasp4 vdr[1266]: FindDevice: Found Monitor Mode 1920x1080@50
Feb 07 19:16:00 rasp4 vdr[1266]: [1268] epg data reader thread ended (pid=1266, tid=1268)
Feb 07 19:16:01 rasp4 systemd[1]: Created slice system-systemd\x2dcoredump.slice.
Feb 07 19:16:01 rasp4 systemd[1]: Started Process Core Dump (PID 1273/UID 0).
Feb 07 19:17:24 rasp4 systemd-coredump[1274]: [🡕] Process 1266 (vdr) of user 1001 dumped core.
Stack trace of thread 1266:
#0 0x00000000b6a0caa0 raise (libc.so.6 + 0x31aa0)
Feb 07 19:17:27 rasp4 systemd[1]: systemd-coredump@0-1273-0.service: Succeeded.
Alles anzeigen
Ein Test mit kmscube würde ich machen um zu sehen ob GL läuft.
Warum linked Ihr nach Wayland, DRI3 und X? Das wird nicht gebraucht! Ein Test mit kmscube würde ich machen um zu sehen ob GL läuft.
Das sind halt die libs die der VDR von mir wollte bevor er überhaupt mit rells softhddevice-drm startete. Vielleicht hab ich was beim kompilieren verkehrt gemacht...
Vielleicht hab ich was beim kompilieren verkehrt gemacht...
Welche Konfiguration von Mesa hast Du benutzt? Die steht hier auch noch nicht endgültig aber den ganzen Kram hab ich rausgeschmiessen. kmscube geht erst mal.
Kann man da was konfigurieren? Soweit bin ich in die Materie noch nicht vorgedrungen.
Ich werd morgen Abend evtl. mal die Sache auf dem Pine vorbereiten, wenn Du mir mit einer Konfiguration weiterhelfen kannst wäre ich wieder einen Schritt weiter
Viele Grüße
Mmh! Es dauert ca. eine halbe Minute bis auf dem OSD was angezeigt wird. Das OSD wird dann nicht mehr geschlossen. Im Log steht aber:
VideoOsdClear(GL): eglSwapBuffers eglDisplay 0xaaab0b0110e0 eglSurface 0xaaab0b02bf30 (1920 x 1080, 7680)
Da ist noch einiges zu tun.
Kann man da was konfigurieren?
Ja, aktuell nutze ich:
-Dplatforms= -Dglvnd=false -Dllvm=disabled -Dlmsensors=disabled -Dlibunwind=disabled -Dgallium-nine=false -Dgallium-va=disabled -Dgallium-vdpau=disabled -Dgallium-xa=disabled -Dgallium-xvmc=disabled -Dgallium-opencl=disabled -Dbuild-tests=false -Dglx=disabled -Dshared-glapi=enabled -Ddri3=disabled -Degl=enabled -Dgbm=enabled -Dgles1=disabled -Dgles2=enabled -Dselinux=false -Dzstd=disabled -Dvalgrind=false -Ddri-drivers= -Dgallium-drivers=kmsro,lima -Dvulkan-drivers= -Dvulkan-device-select-layer=false -Dvulkan-overlay-layer=false
ich habe mir mal Gedanken gemacht wie das integrierbar ist. Momentan bevorzuge ich video_drm in video und drm auf zu spalten. Was denkst Du?
Kann ich den H6 als getestet und funktionsfähig eintragen?
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!