1 2 [3] 4 >>> MLD-5.x / Systems / Raspberry PI / [MLD-5.5 testing] RPI4 softhddevice-drm HEVC hardware accelerated video decoding
 

Offline NoTape

  • Adv. Member
  • ***
  • Posts: 112
    • View Profile
Hi Zusammen,

das hier
Code: [Select]
em28xx 1-1.4:1.0: writing to i2c device at 0xc8 failed (error=-5)sieht doch nach einem Problem mit dem Treiber für den DVB-T Stick aus.

Gruß,
  Roland

Hallo Roland,

diesen Beitrag habe ich übersehen!
Die Fehlermeldung gibt es aber jetzt nicht mehr - war wohl ein einmaliges Ereignis.
Aktuell sieht es so aus:
Code: [Select]
MLD /root# dmesg | grep em28xx
[   20.099567] em28xx 1-1.4:1.0: New device HCW dualHD @ 480 Mbps (2040:0265, interface 0, class 0)
[   20.099608] em28xx 1-1.4:1.0: DVB interface 0 found: isoc
[   20.171424] em28xx 1-1.4:1.0: chip ID is em28174
[   21.478520] em28xx 1-1.4:1.0: EEPROM ID = 26 00 01 00, EEPROM hash = 0x2ce3cac8
[   21.478562] em28xx 1-1.4:1.0: EEPROM info:
[   21.478589] em28xx 1-1.4:1.0: microcode start address = 0x0004, boot configuration = 0x01
[   21.485440] em28xx 1-1.4:1.0: AC97 audio (5 sample rates)
[   21.485461] em28xx 1-1.4:1.0: 500mA max power
[   21.485479] em28xx 1-1.4:1.0: Table at offset 0x27, strings=0x0e6a, 0x1888, 0x087e
[   21.551224] em28xx 1-1.4:1.0: Identified as Hauppauge WinTV-dualHD DVB (card=99)
[   21.556566] em28xx 1-1.4:1.0: dvb set to isoc mode.
[   21.621372] em28xx 1-1.4:1.0: chip ID is em28174
[   22.928178] em28xx 1-1.4:1.0: EEPROM ID = 26 00 01 00, EEPROM hash = 0x2ce3cac8
[   22.928209] em28xx 1-1.4:1.0: EEPROM info:
[   22.928227] em28xx 1-1.4:1.0: microcode start address = 0x0004, boot configuration = 0x01
[   22.935022] em28xx 1-1.4:1.0: AC97 audio (5 sample rates)
[   22.935042] em28xx 1-1.4:1.0: 500mA max power
[   22.935060] em28xx 1-1.4:1.0: Table at offset 0x27, strings=0x0e6a, 0x1888, 0x087e
[   23.001215] em28xx 1-1.4:1.0: Identified as Hauppauge WinTV-dualHD DVB (card=99)
[   23.006874] em28xx 1-1.4:1.0: dvb ts2 set to isoc mode.
[   23.207689] usbcore: registered new interface driver em28xx
[   23.239508] em28xx 1-1.4:1.0: Binding DVB extension
[   23.284814] em28xx 1-1.4:1.0: DVB: registering adapter 0 frontend 0 (Silicon Labs Si2168)...
[   23.297651] em28xx 1-1.4:1.0: DVB extension successfully initialized
[   23.297680] em28xx 1-1.4:1.0: Binding DVB extension
[   23.313619] em28xx 1-1.4:1.0: DVB: registering adapter 1 frontend 0 (Silicon Labs Si2168)...
[   23.320889] em28xx 1-1.4:1.0: DVB extension successfully initialized
[   23.320917] em28xx: Registered (Em28xx dvb Extension) extension

Beste Grüße,
NoTape
VDR1: MLD-5.4 testing DVB-C  * ASRock FM2A88X-ITX+ * Dual Core AMD A4-6300 * GeForce GT 520 * Hauppauge WinTV-dualHD
VDR2: MLD-5.5 testing DVB-T2 * ASUS M5A78L * AMD FX-4300 * MSI GT1030 Silent * SDC Megtron 240x128 * Hauppauge WinTV-dualHD

Offline NoTape

  • Adv. Member
  • ***
  • Posts: 112
    • View Profile
Hi NoTape,

Code: [Select]
AlsaPlayer: ring buffer emptyAre you using satip server?
...
Even HD channels doesn't work?
...
It works for me after the steps i mentioned.

Best Regards.

Hallo gr4vity,

ich benutze keinen SatIP-Server sondern einen DVB-T2-Stick (Hauppauge) am Pi4.
In die Logdatei wird laufend folgender Eintrag geschrieben, wohl jedes mal wenn das Fernsehbild kurz schwarz wird,
bevor es dann wieder mit Standbildern weiter geht:
Code: [Select]
/var/log/vdr
AlsaPlayer: ring buffer empty
AlsaPlayer: ring buffer empty
AlsaPlayer: ring buffer empty
...

Die frei empfangbaren Sender sind alle "HD" 1920x1080p - leider mit dem beschrieben Fehler.
Der Stick funktioniert an meinem VDR2 (siehe Signatur) einwandfrei.

Beste Grüße,
NoTape
VDR1: MLD-5.4 testing DVB-C  * ASRock FM2A88X-ITX+ * Dual Core AMD A4-6300 * GeForce GT 520 * Hauppauge WinTV-dualHD
VDR2: MLD-5.5 testing DVB-T2 * ASUS M5A78L * AMD FX-4300 * MSI GT1030 Silent * SDC Megtron 240x128 * Hauppauge WinTV-dualHD

Offline NoTape

  • Adv. Member
  • ***
  • Posts: 112
    • View Profile
Hi NoTape,

könntest du in der config.txt mal ein
dtoverlay=rpivid-v4l2
zusäztlich eintragen eintragen

Gruß,
  Roland

Hallo Roland,

dieser Eintrag ist bereits seit der Erstinstallation der MLD vorhanden.

Hier die aktuell verwendete /boot/config.txt
Code: [Select]
MLD /root# more /boot/config.txt
hdmi_mode=31
hdmi_group=1
sdtv_mode=2
sdtv_aspect=3
disable_splash=1
kernel=kernel
initramfs initrd
cmdline=cmdline
max_usb_current=1
dtparam=i2c=on,i2s=on,spi=on
gpu_mem=320
hdmi_driver=2
hdmi_force_edid_audio=1
disable_overscan=1
disable_fw_kms_setup=1
#
dtparam=audio=on
#
#Add VC4 Modul and V3D Frontend only for RPI4
#dtoverlay=vc4-fkms-v3d-pi4,cma-384
dtoverlay=vc4-fkms-v3d,cma-384
dtoverlay=rpivid-v4l2
dtoverlay=gpio-ir,gpio_pin=23
dtoverlay=i2c-rtc-gpio,ds3231,i2c_gpio_sda=17,i2c_gpio_scl=27,wakeup-source
hdmi_ignore_cec_init=1
hdmi_force_hotplug=1

Beste Grüße,
NoTape
VDR1: MLD-5.4 testing DVB-C  * ASRock FM2A88X-ITX+ * Dual Core AMD A4-6300 * GeForce GT 520 * Hauppauge WinTV-dualHD
VDR2: MLD-5.5 testing DVB-T2 * ASUS M5A78L * AMD FX-4300 * MSI GT1030 Silent * SDC Megtron 240x128 * Hauppauge WinTV-dualHD

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile

Da hänge ich mich doch gleich mal dran.  ;D

Der Empfang von DVB-T2 (HEVC) ist zurzeit nicht möglich.
Das Fernsehbild läuft in einer Endlosschleife mit ein/zwei Sekunden in Zeitlupe und dann wird es schwarz.

Ich würde mich sehr freuen, wenn ihr das fehlende Modul zur Verfügung stellen würdet.

Vielen Dank im Voraus.

Beste Grüße,
NoTape

Hi NoTape,

What about the above reply, there is no improvement after installing rpivid-hevc driver?
Are you using original Rpi4 power adapter?
I dunno if the TV stick consumes a lot of power or not,
Did you mean it works perfectly on your PC?

Best Regards.


Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
softhddevice-drm new commit.

Code: [Select]
more debug information if alsa setup fails

Offline NoTape

  • Adv. Member
  • ***
  • Posts: 112
    • View Profile
Hi NoTape,

What about the above reply, there is no improvement after installing rpivid-hevc driver?
Are you using original Rpi4 power adapter?
I dunno if the TV stick consumes a lot of power or not,
Did you mean it works perfectly on your PC?

Best Regards.

Hallo gr4vity,

es gibt keine Verbesserung nach der Installation von "rpivid-hevc", das habe ich doch schon geschrieben - siehe meinen Beitrag unter:
https://www.minidvblinux.de/forum/index.php/topic,10272.msg82302.html#msg82302

LibreELEC funktioniert einwandfrei, also gibt es auch keine Probleme mit dem orignalen Pi4-Netzteil oder dem DVB-T2-Stick.

Ich werde jetzt geduldig warten, bis sich das Entwicklerteam mit Neuigkeiten zu dem Problem meldet.
DVB-T2-Empfang auf dem Pi4 wäre schon eine feine Sache.  :)

Beste Grüße,
NoTape
VDR1: MLD-5.4 testing DVB-C  * ASRock FM2A88X-ITX+ * Dual Core AMD A4-6300 * GeForce GT 520 * Hauppauge WinTV-dualHD
VDR2: MLD-5.5 testing DVB-T2 * ASUS M5A78L * AMD FX-4300 * MSI GT1030 Silent * SDC Megtron 240x128 * Hauppauge WinTV-dualHD

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
Hi NoTape,

Yes, you're right ... i read that reply.
https://www.minidvblinux.de/forum/index.php/topic,10272.msg82302.html#msg82302
But it was before you enable fkms right?  :)

After that you said the picture is bad.

With LibreELEC you are using Kodi.
If you installed Kodi on MLD it will work fine too  ;)
But unfortunately it's currently not possible coz Kodi doesn't start due to some errors.

I have Kodi installed on Bullseye and it works fine.



Best Regards.
« Last Edit: April 25, 2022, 17:19:52 by gr4vity »

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
Hi,

I have installed VDR 2.6 but i can't find softhddrm plugin,
Code: [Select]
MLD> apt search vdr-plugin-softhddrm
Sorting... Done
Full Text Search... Done
What should i do?  :)
Revert to older snapshot or wait till softhddrm become available?

Best Regards.

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile

LibreELEC funktioniert einwandfrei, also gibt es auch keine Probleme mit dem orignalen Pi4-Netzteil oder dem DVB-T2-Stick.
Beste Grüße,
NoTape

Hi NoTape,

Could you share LibreELEC config.txt file?
I want to know whether fkms is enabled and if there are other contents that are not included in MLD config.txt file.

Best Regards.

Offline rfehr

  • MLD-Developer
  • Expert Member
  • ******
  • Posts: 1462
    • View Profile

LibreELEC funktioniert einwandfrei, also gibt es auch keine Probleme mit dem orignalen Pi4-Netzteil oder dem DVB-T2-Stick.

NoTape

hast du denn mit LibreELEC TV empfang mit dem DVB-T2 Stick?
1x OctopusNet 4x DVB-C
1x Zotac ITX-A Atom 330
1x RPI2 als Client
1x BananaPi
1x Wetekplay
1x MCC 100
2x RPI3
2x RPi4
1x https://www.zotac.com/at/product/mini_pcs/pi335

Offline NoTape

  • Adv. Member
  • ***
  • Posts: 112
    • View Profile
Hi NoTape,

Could you share LibreELEC config.txt file?
I want to know whether fkms is enabled and if there are other contents that are not included in MLD config.txt file.

Best Regards.

Hallo gr4vity,

hier die beiden Config-Dateien:
Code: [Select]
LibreELEC:/ # more /usr/share/bootloader/config.txt
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
################################################################################
# Bootloader configuration
# config.txt version v1 (do not remove or change this line!)
################################################################################
# For more options and information see
# http://rpf.io/configtxt
################################################################################

# Default GPU memory split, 76MB are needed for H264 decoder
gpu_mem=76

# Don't send initial active source message.
# Avoids bringing CEC (enabled TV) out of standby and channel switch when
# rebooting.
hdmi_ignore_cec_init=1

################################################################################
# Include distribution specific config file if it exists.
################################################################################
[all]
include distroconfig.txt

# uncomment to enable infrared remote recevier connected to GPIO 18
#dtoverlay=gpio-ir,gpio_pin=18

++++++++++++++++++++++++++++++++++++++++++++++++++
LibreELEC:/ # more /usr/share/bootloader/distroconfig.txt
++++++++++++++++++++++++++++++++++++++++++++++++++
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)

# WARNING: DO NOT EDIT THIS FILE - IT WILL BE OVERWRITTEN WHEN UPGRADING!
arm_64bit=1
kernel=kernel.img
dtoverlay=vc4-kms-v3d,cma-512
dtoverlay=rpivid-v4l2
dtoverlay=
disable_overscan=1
disable_fw_kms_setup=1

Beste Grüße,
NoTape
VDR1: MLD-5.4 testing DVB-C  * ASRock FM2A88X-ITX+ * Dual Core AMD A4-6300 * GeForce GT 520 * Hauppauge WinTV-dualHD
VDR2: MLD-5.5 testing DVB-T2 * ASUS M5A78L * AMD FX-4300 * MSI GT1030 Silent * SDC Megtron 240x128 * Hauppauge WinTV-dualHD

Offline NoTape

  • Adv. Member
  • ***
  • Posts: 112
    • View Profile
hast du denn mit LibreELEC TV empfang mit dem DVB-T2 Stick?

Hallo Roland,

ja alles funktioniert einwandfrei - das schließt natürlich auch den TV-Empfang ein.

Installiert habe ich LibreELEC 10.0.2 (beinhaltet KODI 19.4 MATRIX)
Im KODI-GUI noch folgende Addons installieren:
* das Addon "Tvheadend Server 4.2"
* das Addon "Tvheadend HTSP Client"

Der Tvheadend Server ist für den Fernsehempfang zuständig.
Die Konfiguration erfolgt über http://deine.RPI4.IP.Adresse:9981

Beste Grüße,
NoTape
VDR1: MLD-5.4 testing DVB-C  * ASRock FM2A88X-ITX+ * Dual Core AMD A4-6300 * GeForce GT 520 * Hauppauge WinTV-dualHD
VDR2: MLD-5.5 testing DVB-T2 * ASUS M5A78L * AMD FX-4300 * MSI GT1030 Silent * SDC Megtron 240x128 * Hauppauge WinTV-dualHD

Offline rfehr

  • MLD-Developer
  • Expert Member
  • ******
  • Posts: 1462
    • View Profile
Hi NoTape,

ein großer Unterschied ist ja das bei LibreELEC ein 64bit Kernel für den RPI4 genommen wird.

Gruß,
  Roland
1x OctopusNet 4x DVB-C
1x Zotac ITX-A Atom 330
1x RPI2 als Client
1x BananaPi
1x Wetekplay
1x MCC 100
2x RPI3
2x RPi4
1x https://www.zotac.com/at/product/mini_pcs/pi335

Offline NoTape

  • Adv. Member
  • ***
  • Posts: 112
    • View Profile
Hallo Roland,

der config-Parameter "arm_64bit=1" ist mir auch aufgefallen - MLD läuft also unter 32 bit.

Mir ging es auch nicht um einen unmittelbaren Vergleich.
Ich wollte einfach nur sicherstellen das Netzteil und DVB-T2-Stick grundsätzlich am PI4 funktionieren - das ist der Fall.

LibreELEC habe ich auch nur benutzt, weil sich KODI unter MLD [MLD-5.5 unstable, RPI4] nicht starten lässt.
@gr4vity hat das wohl auch schon für [MLD-5.5 testing] RPI4 gemeldet...

Beste Grüße,
NoTape
VDR1: MLD-5.4 testing DVB-C  * ASRock FM2A88X-ITX+ * Dual Core AMD A4-6300 * GeForce GT 520 * Hauppauge WinTV-dualHD
VDR2: MLD-5.5 testing DVB-T2 * ASUS M5A78L * AMD FX-4300 * MSI GT1030 Silent * SDC Megtron 240x128 * Hauppauge WinTV-dualHD

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
Hi NoTape,

Thanks for the config files.
I don't want to ask you to try the following line in MLD config.txt and see if it works coz you'll be disappointed if it didn't work  :)

Code: [Select]
dtoverlay=vc4-kms-v3d,cma-512
Perhaps someone else is reading this thread could try it though.

Best Regards.

1 2 [3] 4 >>> MLD-5.x / Systems / Raspberry PI / [MLD-5.5 testing] RPI4 softhddevice-drm HEVC hardware accelerated video decoding
 



Users Online Users Online

0 Members and 1 Guest are viewing this topic.