Works for me, too!
THX @Inj
Works for me, too!
THX @Inj
Thanks jojo61 and @Inj for looking into this
A software fallback would be great, but I cannot test atm, because I have no rotor on my dish for feed hunting.
I guess on Astra 19.2° there are no 422 feeds for testing ...
Would be greatly appreciated from my side, if 4:2:2 would be supported
Here is an old (from 2016) 422 sample, I found on my hard drive:
Ja, echt schade, dass nur diskutiert wurde.
Ich würde es sofort nutzen, obwohl ich *nur* drei der vier von fnu aufgezählten Empfangswege habe
Frage an alle, nutzt GL eigentlich schon jemand ?
Hallo rell, vielen Dank für Deine Arbeit am OpenGl-OSD!
Die Kombination aus Arm-Kistchen plus hardbeschleunigtes OSD hat sooo viel Potential.
Lohnt es sich, bei deinem aktuellen Entwicklungsstand nochmal auf RaspBerry Pi 4 zu testen?
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
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
Rückmeldungen aller Art sind erwünscht.
Hallo Andreas,
auf meinem Raspberry PI 4 läuft das OpenGL OSD noch nicht, mit no matching gbm config foundals Fehlermeldung.
(gdb) run -user=vdr -P'softhddevice-drm' -Pstreamdev-client -P'remote -i /dev/input/by-path/platform-ir-receiver@12-event'
Starting program: /home/sg75/softhddrm_test_20201221/vdr-2.4.6/vdr -user=vdr -P'softhddevice-drm' -Pstreamdev-client -P'remote -i /dev/input/by-path/platform-ir-receiver@12-event'
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0xb3ebd3d0 (LWP 515)]
[New Thread 0xb34ff3d0 (LWP 516)]
[New Thread 0xb2aff3d0 (LWP 517)]
[Thread 0xb34ff3d0 (LWP 516) exited]
[New Thread 0xb34ff3d0 (LWP 518)]
[New Thread 0x9d8ff3d0 (LWP 538)]
[New Thread 0x90eff3d0 (LWP 539)]
no matching gbm config found
Thread 1 "vdr" received signal SIGABRT, Aborted.
0xb6aa8aa0 in raise () from /usr/lib/libc.so.6
(gdb) bt
#0 0xb6aa8aa0 in raise () from /usr/lib/libc.so.6
#1 0xb6a91d7c in abort () from /usr/lib/libc.so.6
#2 0xb6150c38 in get_config () at video_drm.c:373
#3 0xb6152870 in FindDevice (render=0x7bb1b0) at video_drm.c:585
#4 VideoInit (render=0x7bb1b0) at video_drm.c:1990
#5 0xb614eb2c in Start () at softhddev.c:1738
#6 0xb61461e4 in cPluginSoftHdDevice::Start (this=<optimized out>) at softhddevice-drm.cpp:1246
#7 0x004fa5e4 in cPluginManager::StartPlugins (this=this@entry=0xbefff928) at plugin.c:388
#8 0x00470680 in main (argc=<optimized out>, argv=<optimized out>) at vdr.c:876
(gdb)
Alles anzeigen
Wow, vielen Dank rell
Ich bin echt gespannt, hardware-beschleunigtes OSD auf den Arm-Kistchen wäre echt der Burner!
Ich hatte auch mit Crashes bei h264 zu kämpfen und habe es dann mit den GFX memory settings in config.txt in den Griff bekommen (4GB Raspberry PI 4).
Die Stellschrauben sind gpu_men und dtoverlay=cma-xyz.
Soweit ich mich erinnern, mussten beide Werte zueinander passen.
gpu_men darf nicht zu hoch sein, sonst klappt das Booten nicht mehr.
[sg75@rasp4 ~]$ cat /boot/config.txt
# See /boot/overlays/README for all available options
initramfs initramfs-linux.img followkernel
dtoverlay=gpio-ir,gpio_pin=18,gpio_pull=up,rc-map-name=nec
gpu_mem=320
#dtoverlay=vc4-fkms-v3d
dtoverlay=vc4-kms-v3d-pi4,cma-512
dtoverlay=rpivid-v4l2
disable_overscan=1
disable_fw_kms_setup=1
hdmi_pixel_encoding=2
max_framebuffers=2
#dtparam=audio=on
Alles anzeigen
Ich benutze einen hand-kompilierten Kernel nach diesem Rezept:
# download, configure, build and install kernel
git clone https://github.com/raspberrypi/linux --branch rpi-5.10.y --single-branch
cd linux
export KERNEL=kernel7l
make bcm2711_defconfig
make -j4 zImage modules dtbs
sudo make modules_install
sudo cp arch/arm/boot/dts/*.dtb /boot/
sudo cp arch/arm/boot/dts/overlays/*.dtb* /boot/overlays/
sudo cp arch/arm/boot/dts/overlays/README /boot/overlays/
sudo cp arch/arm/boot/zImage /boot/$KERNEL.img
# resolve merge conflicts after git pull with
git reset --hard origin/rpi-5.10.y
# build initramfs bases on a custom preset
sudo cp /etc/mkinitcpio.d/linux-raspberrypi4.preset /etc/mkinitcpio.d/custom.preset
# change variable ALL_kver to your kernel version
# get kernel version e.g. with ls -l /lib/modules
cat /etc/mkinitcpio.d/custom.preset | grep ALL_kver
sudo mkinitcpio -p custom
# /boot/config.txt
```
Alles anzeigen
nafets227 nutzt Du für ffmpeg einen cross compiler?
Da wäre ich interessiert dran, weil das auf der Raspberry selbst doch recht lange dauert.
Bei mir funktioniert es jetzt wieder nachdem ich diese Änderungen wieder zurückgeschraubt habe.
Ich habs jetzt mit dieser /boot/config.txtam Laufen.
Meine unfundierte Meinung ist, dass die Speicheraufteilung (gpm_mem und cma-xxx) wichtig ist.
Aber Achtung: Wenn gpu_mem ist groß ist, bootet der Raspberry nicht mehr.
# See /boot/overlays/README for all available options
initramfs initramfs-linux.img followkernel
dtoverlay=gpio-ir,gpio_pin=18,gpio_pull=up,rc-map-name=nec
gpu_mem=320
dtoverlay=vc4-kms-v3d-pi4,cma-512
dtoverlay=rpivid-v4l2
disable_overscan=1
disable_fw_kms_setup=1
hdmi_pixel_encoding=2
max_framebuffers=2
#dtparam=audio=on
#dtoverlay=vc4-fkms-v3d
Alles anzeigen
Firmware auf aktuellem Stand?
Yup, ich habe gerade auf den aktuellen git-stand aktualisiert (geht in Arch mit: pikaur -S rpi-eeprom-git). Problem bleibt.
HEVC klappt super, mpeg2 mit Deinterlacer auch
Vielen Dank zillerbaer, das ist echt ein Meilenstein!!
h264 funktioniert ca. 10 Sekunden, dann kommt leider reproduzierbar folgende Fehler. Danach hilft nur ein Reboot.
Tipps?
Jan 02 09:55:26 rasp4 vdr[11281]: [11281] switching to channel 91 S19.2E-1-1011-11110 (ZDF HD)
Jan 02 09:55:26 rasp4 kernel: rpivid feb10000.codec: rpivid_h265_stop
Jan 02 09:55:26 rasp4 vdr[11281]: [11281] [softhddev]SetPlayMode: 0
Jan 02 09:55:26 rasp4 vdr[11281]: [11281] [softhddev]SetVideoDisplayFormat: 1
Jan 02 09:55:26 rasp4 vdr[11281]: [11281] [softhddev]GetSpuDecoder:
Jan 02 09:55:26 rasp4 vdr[11281]: [11314] cStreamDevice::GetTSPacket: GetChecked: NOTHING (0)
Jan 02 09:55:26 rasp4 vdr[11281]: [11316] device 2 TS buffer thread ended (pid=11281, tid=11316)
Jan 02 09:55:26 rasp4 vdr[11281]: [11314] buffer stats: 202852 (9%) used
Jan 02 09:55:26 rasp4 vdr[11281]: [11314] device 2 receiver thread ended (pid=11281, tid=11314)
Jan 02 09:55:26 rasp4 vdr[11281]: [11342] device 2 receiver thread started (pid=11281, tid=11342, prio=high)
Jan 02 09:55:26 rasp4 vdr[11281]: [11343] device 2 TS buffer thread started (pid=11281, tid=11343, prio=high)
Jan 02 09:55:26 rasp4 vdr[11281]: [11281] [softhddev]SetPlayMode: 1
Jan 02 09:55:33 rasp4 vdr[11281]: [11282] video directory scanner thread ended (pid=11281, tid=11282)
Jan 02 09:55:43 rasp4 kernel: ------------[ cut here ]------------
Jan 02 09:55:43 rasp4 kernel: WARNING: CPU: 2 PID: 10681 at drivers/firmware/raspberrypi.c:64 rpi_firmware_transaction+0xf8/0x134
Jan 02 09:55:43 rasp4 kernel: Firmware transaction timeout
Jan 02 09:55:43 rasp4 kernel: Modules linked in: rpcsec_gss_krb5 ir_nec_decoder brcmfmac brcmutil sha256_generic raspberrypi_hwmon cfg80211 rfkill i2c_brcmstb bcm2835_v4l2(C) bcm2835_isp(C) bcm2835_codec(C) bcm2835_mmal_vchiq(C) videobuf2_vmalloc vc_sm_cma(C) vc4 rpivid_hevc(C) cec v4l2_mem2mem videobuf2_dma_contig videobuf2_memops drm_kms_helper videobuf2_v4l2 videobuf2_common snd_soc_core v3d videodev gpu_sched snd_compress snd_pcm_dmaengine syscopyarea mc sysfillrect sysimgblt fb_sys_fops gpio_ir_recv uio_pdrv_genirq uio sch_fq_codel snd_bcm2835(C) snd_pcm snd_timer snd drm fuse drm_panel_orientation_quirks backlight ip_tables x_tables ipv6
Jan 02 09:55:43 rasp4 kernel: CPU: 2 PID: 10681 Comm: kworker/2:2 Tainted: G C 5.10.4-v7l+ #1
Jan 02 09:55:43 rasp4 kernel: Hardware name: BCM2711
Jan 02 09:55:43 rasp4 kernel: Workqueue: events get_values_poll [raspberrypi_hwmon]
Jan 02 09:55:43 rasp4 kernel: Backtrace:
Jan 02 09:55:43 rasp4 kernel: [<c0b8ac9c>] (dump_backtrace) from [<c0b8b010>] (show_stack+0x20/0x24)
Jan 02 09:55:43 rasp4 kernel: r7:ffffffff r6:00000000 r5:600f0013 r4:c12e69fc
Jan 02 09:55:43 rasp4 kernel: [<c0b8aff0>] (show_stack) from [<c0b8f760>] (dump_stack+0xc4/0xf0)
Jan 02 09:55:43 rasp4 kernel: [<c0b8f69c>] (dump_stack) from [<c022112c>] (__warn+0xfc/0x158)
Jan 02 09:55:43 rasp4 kernel: r9:c43e4b40 r8:00000009 r7:00000040 r6:00000009 r5:c09c2a88 r4:c0e9713c
Jan 02 09:55:43 rasp4 kernel: [<c0221030>] (__warn) from [<c0b8b848>] (warn_slowpath_fmt+0xa8/0xe4)
Jan 02 09:55:43 rasp4 kernel: r7:c09c2a88 r6:00000040 r5:c0e9713c r4:c0e9715c
Jan 02 09:55:43 rasp4 kernel: [<c0b8b7a4>] (warn_slowpath_fmt) from [<c09c2a88>] (rpi_firmware_transaction+0xf8/0x134)
Jan 02 09:55:43 rasp4 kernel: r8:c1a96f40 r7:d680501c r6:00000000 r5:ffffff92 r4:c1a96f40
Jan 02 09:55:43 rasp4 kernel: [<c09c2990>] (rpi_firmware_transaction) from [<c09c2b84>] (rpi_firmware_property_list+0xc0/0x180)
Jan 02 09:55:43 rasp4 kernel: r6:00001000 r5:00000010 r4:d6805000
Jan 02 09:55:43 rasp4 kernel: [<c09c2ac4>] (rpi_firmware_property_list) from [<c09c2cb4>] (rpi_firmware_property+0x70/0x118)
Jan 02 09:55:43 rasp4 kernel: r10:c43e4b4c r9:00030046 r8:c1a96f40 r7:c54ebee0 r6:00000004 r5:00000010
Jan 02 09:55:43 rasp4 kernel: r4:c43e4b40
Jan 02 09:55:43 rasp4 kernel: [<c09c2c44>] (rpi_firmware_property) from [<bf23d1c8>] (get_values_poll+0x50/0x158 [raspberrypi_hwmon])
Jan 02 09:55:43 rasp4 kernel: r10:00000080 r9:efefd905 r8:00000000 r7:efefd900 r6:efefa680 r5:c487b900
Jan 02 09:55:43 rasp4 kernel: r4:c3bfb2cc r3:00000004
Jan 02 09:55:43 rasp4 kernel: [<bf23d178>] (get_values_poll [raspberrypi_hwmon]) from [<c023ef8c>] (process_one_work+0x224/0x564)
Jan 02 09:55:43 rasp4 kernel: r4:c3bfb2cc
Jan 02 09:55:43 rasp4 kernel: [<c023ed68>] (process_one_work) from [<c023f338>] (worker_thread+0x6c/0x5d0)
Jan 02 09:55:43 rasp4 kernel: r10:efefa680 r9:00000008 r8:c1203d00 r7:efefa698 r6:c487b914 r5:efefa680
Jan 02 09:55:43 rasp4 kernel: r4:c487b900
Jan 02 09:55:43 rasp4 kernel: [<c023f2cc>] (worker_thread) from [<c02463ac>] (kthread+0x168/0x16c)
Jan 02 09:55:43 rasp4 kernel: r10:c235be84 r9:c487b900 r8:c023f2cc r7:c54ea000 r6:00000000 r5:c3d2b640
Jan 02 09:55:43 rasp4 kernel: r4:c53f5bc0
Jan 02 09:55:43 rasp4 kernel: [<c0246244>] (kthread) from [<c02000ec>] (ret_from_fork+0x14/0x28)
Jan 02 09:55:43 rasp4 kernel: Exception stack(0xc54ebfb0 to 0xc54ebff8)
Jan 02 09:55:43 rasp4 kernel: bfa0: 00000000 00000000 00000000 00000000
Jan 02 09:55:43 rasp4 kernel: bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Jan 02 09:55:43 rasp4 kernel: bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
Jan 02 09:55:43 rasp4 kernel: r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0246244
Jan 02 09:55:43 rasp4 kernel: r4:c3d2b640
Jan 02 09:55:43 rasp4 kernel: ---[ end trace 67cdec5b836aa9b2 ]---
Alles anzeigen
Ich habe mal eine Anleitung gemacht, wie man alles hand-kompiliert unter ArchLinux|ARM zum Laufen bringt.
Vielleicht hilft es ja, mehr Tester zu gewinnen!
## Instructions to make vdr-plugin-softhddevice-drm by Zillebaer work on a Raspberry PI 4 with archlinux|arm
### Kernel
#### Build custom Linux kernel 5.10.y
Sources:
- [Archlinux|ARM Raspberry PI 4](https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-4)
- [Raspberry Foundation - Kernel building](https://www.raspberrypi.org/documentation/linux/kernel/building.md)
- [Zillebaer: vdr-plugin-softhddevice-drm](https://github.com/zillevdr/vdr-plugin-softhddevice-drm)
- [Zillebaer: repositories for kernel and ffmpeg](https://www.vdr-portal.de/forum/index.php?thread/132858-raspberry-pi-4b-unterst%C3%BCtzung/&postID=1332025#post1332025)
- [Dr. Seltsam: hdmi_pixel_encoding=2](https://www.vdr-portal.de/forum/index.php?thread/132858-raspberry-pi-4b-unterst%C3%BCtzung/&postID=1331559#post1331559)
- [CvH: /boot/config.txt](https://www.vdr-portal.de/forum/index.php?thread/132858-raspberry-pi-4b-unterst%C3%BCtzung/&postID=1331387#post1331387)
- [jsffm: reduced ffmpeg configuration]()
```
# download, configure, build and install kernel
git clone https://github.com/raspberrypi/linux --branch rpi-5.10.y --single-branch
cd linux
export KERNEL=kernel7l
make bcm2711_defconfig
make -j4 zImage modules dtbs
sudo make modules_install
sudo cp arch/arm/boot/dts/*.dtb /boot/
sudo cp arch/arm/boot/dts/overlays/*.dtb* /boot/overlays/
sudo cp arch/arm/boot/dts/overlays/README /boot/overlays/
sudo cp arch/arm/boot/zImage /boot/$KERNEL.img
# build initramfs bases on a custom preset
sudo cp /etc/mkinitcpio.d/linux-raspberrypi4.preset /etc/mkinitcpio.d/custom.preset
# change variable ALL_kver to your kernel version
# get kernel version e.g. with ls -l /lib/modules
cat /etc/mkinitcpio.d/custom.preset | grep ALL_kver
sudo mkinitcpio -p custom
# /boot/config.txt
```
# See /boot/overlays/README for all available options
initramfs initramfs-linux.img followkernel
#dtoverlay=lirc-rpi,gpio_in_pin=18
#dtoverlay=gpio-ir,gpio_pin=18,gpio_pull=up,rc-map-name=nec
gpu_mem=320
dtoverlay=vc4-kms-v3d-pi4,cma-384
dtoverlay=rpivid-v4l2
disable_overscan=1
disable_fw_kms_setup=1
dtparam=audio=on
```
# reboot
sudo reboot
```
#### ffmpeg
Sources:
- [jsffm's configure switches](https://www.vdr-portal.de/forum/index.php?thread/132858-raspberry-pi-4b-unterst%C3%BCtzung/&postID=1331851#post1331851)
-
### Install required packages (exemplarirly for my Archlinux|ARM distribution
`sudo pacman -S libfdk-aac kvazaar`
### Get correct branch from git
`git clone https://github.com/jc-kynesim/rpi-ffmpeg --branch dev/4.3.1/drm_prime_1 --single-branch`
Archlinux|ARM has too old libdrm header files, so the following patch (to ffmpeg) is need to make some defines available.
```
cat << 'EOF' >> four.cc
--- libavcodec/v4l2_request.c~ 2020-12-27 08:01:13.000000000 +0000
+++ libavcodec/v4l2_request.c 2020-12-27 08:44:07.830178117 +0000
@@ -53,6 +53,15 @@
#define DRM_FORMAT_NV20 fourcc_code('N', 'V', '2', '0')
#endif
+#ifndef V4L2_PIX_FMT_NV12_10_COL128
+#define V4L2_PIX_FMT_NV12_10_COL128 v4l2_fourcc('N', 'C', '3', '0')
+#endif
+
+#ifndef V4L2_PIX_FMT_NV12_COL128
+#define V4L2_PIX_FMT_NV12_COL128 v4l2_fourcc('N', 'C', '1', '2')
+#endif
+
+
uint64_t ff_v4l2_request_get_capture_timestamp(AVFrame *frame)
{
V4L2RequestDescriptor *req = (V4L2RequestDescriptor*)frame->data[0];
EOF
cat four.cc | patch -p0
```
Configure and install a minimal ffmpeg
```
cd rpi-ffmpeg
./configure --enable-sand --enable-v4l2_m2m --enable-v4l2-request --enable-libudev --enable-libdrm --enable-libx265 --disable-rpi --enable-gpl --enable-libx264 --enable-pic --enable-shared --enable-vout-drm --enable-avfilter --enable-nonfree --enable-gpl --enable-iconv --enable-network --enable-pthreads --enable-mmal --disable-vdpau --disable-vaapi --enable-libfdk-aac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libkvazaar
sudo make install
cd ..
```
### Download VDR and plugins
```
wget ftp://ftp.tvdr.de/vdr/vdr-2.4.6.tar.bz2
tar xvf vdr-2.4.6.tar.bz2
git clone https://github.com/zillevdr/vdr-plugin-softhddevice-drm.git
rm -rf vdr-2.4.6/PLUGINS/src/*
ln -rs vdr-plugin-softhddevice-drm vdr-2.4.6/PLUGINS/src/softhddevice
cd vdr-2.4.6
cp Make.config.template Make.config
make -j4 LCLBLD=1 ONEDIR=1 PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
# configure your /video directory and additional plugins and start vdr
LD_LIBRARY_PATH=/usr/local/lib ./vdr -Psofthddevice-drm
```
Alles anzeigen
jsffm: Gute Idee, das Thema auszugraben! Ich habe auch immer noch Interesse
Very good, Martin! Thanks for debugging!
Ciao, machs gut!
Danke für t2scan! Ich nutze es regelmäßig im Urlaub, um die Umgebung abzuscannen