Hyperbian - SK6812 leuchtet nicht

  • Hallo zusammen,

    ich habe meine Konfiguration umgestellt und nutze jetzt einen Pi 3b statt Hyperion direkt auf dem PC laufen zu lassen. Allerdings funktioniert das noch nicht so wirklich, denn die LED bleiben dunkel.

    Ich habe auch schon Konfigurationen angepasst wie hier im Forum gefunden.

    Erst hatte ich den LED-Streifen am GPIO 18 angeschlossen und versucht über Pi PWM ws281x die Verbindung herzustellen (war laut Anleitung aus einem Video).

    Jetzt nutze ich GPIO 19 wie hier im Forum gelesen und habe

    dtoverlay=spi1-3cs

    dtparam?spi=on

    in der config.txt eingetragen.

    Die Konfiguration an sich sieht wie folgt aus:

    GPU an CaptureCard

    CaptureCard an Monitor

    CaptureCard über USB an Raspberry Pi

    LED-Streifen über GPIO 19 an Raspberry Pi

    Ich habe die Stromversorgung vom Pi über ein gekapptes Micro-USB Kabel an den LED-Streifen und dann zum Netzteil realisiert.

    Im Anhang habe ich nochmal eine grafische Übersicht hinterlegt.

    Über einen ESP32 (WLED) habe ich die Funktionalität von den LED getestet und da funktionieren sie, daher bin ich grad etwas ratlos.

  • Schau mal hier

    pclin
    November 28, 2023 at 10:43 AM

    Ein Hyperion Protokoll > Protokollstufe > Debug wäre auch sinnvoll, am besten als .txt Datei anhängen.

    gruß pclin

    Dreambox ONE / TWO

    dreamOS OE2.6

    Amlogic S922X - 53.000 DMIPS - 2 GB RAM - 16 GB Flash - Twin-DVB-S2X Tuner - HDR10 - HLG
    -
    AudioDSP: miniDSP 2x4HD - Amp: Pentagon - Lautsprecher ELAC / ARENDAL
    LG OLED65BX9LB (PicCap, hyperion.NG webOS)

    FireTV 4K max

    -
    hyperion (classic) & Plugin HyperionControl | hyperion-ng 2.0.16-beta.1 (dreamOS)
    Hyperion-ng (Debian bullseye)
    -
    6 x ESP32/Wemos D1 mini - WLED - SK6812 RGBW-NW 60 LEDs/m
    FeinTech VSP01201 - Grabber Macrosilicon

    LG TV Hyperion webOS & PicCap

    Ambilight for ever

  • Ah, ja sorry die Einstellungen hätte ich mit posten sollen.

    LED-Hardware

    Steuerung sk6812spi

    SPI Pfad 0.0

    Baudrate 590000

    Quote

    Hardware LED count: (LED number)

    RGB byte order: GRB

    sind gesetzt

    Aufnahmehardware

    USB Aufnahme

    Gefundenes Gerät USB 30.0 Video: USB 3.0 Video

    Eingang Camera 1

    dtparam=spi=on ist eingetragen

    dtparam=audio=off ist eingetragen

  • width: 2560, height: 1440 ist ein Problem!

    Setze die kleinste Auflösung z.B. 640 x 480, kein YUYV sonder MJPEG, FPS 30 Hz, Bildverkleinerung Faktor 6 bis 8.

    Die Auflösung muss nur ≥ der LEDanzahl sein, alles andere Überlastet das System.

    Funktionieren Farben oder Effekte?

    Wie sieht das Live Video aus?

    Quote from Aus dem Log

    (INFO) Switching device sk6812spi ON

    (INFO) Device sk6812spi is ON

    im Log sieht man aber auch das sogar die eingestellten 10 FPS nicht funktionieren.

    gruß pclin

    ps.

    Welche CaptureCard ist das genau?

    Wäre dankbar wenn du die Ausgaben von

    usb-devices

    v4l2-ctl --all

    v4l2-ctl --list-formats-ext

    Jeweils im Spoiler posten würdest.

    Dreambox ONE / TWO

    dreamOS OE2.6

    Amlogic S922X - 53.000 DMIPS - 2 GB RAM - 16 GB Flash - Twin-DVB-S2X Tuner - HDR10 - HLG
    -
    AudioDSP: miniDSP 2x4HD - Amp: Pentagon - Lautsprecher ELAC / ARENDAL
    LG OLED65BX9LB (PicCap, hyperion.NG webOS)

    FireTV 4K max

    -
    hyperion (classic) & Plugin HyperionControl | hyperion-ng 2.0.16-beta.1 (dreamOS)
    Hyperion-ng (Debian bullseye)
    -
    6 x ESP32/Wemos D1 mini - WLED - SK6812 RGBW-NW 60 LEDs/m
    FeinTech VSP01201 - Grabber Macrosilicon

    LG TV Hyperion webOS & PicCap

    Ambilight for ever

    Edited 2 times, last by pclin (January 25, 2024 at 7:49 PM).

  • Die LED reagieren leider auf gar nichts, sprich auch die Effekte funktionieren nicht.

    Das Live Video ist unscharf, aber wird angezeigt (Bild habe ich angehängt), da werden auch die Effekte dargestellt.

    Strom sollte ausreichend vorhanden sein. Ist ein 5V 8A Netzteil.

    Die Karte ist was https://www.amazon.de/dp/B08JHPH869?tag=hyperioforum-21&psc=1&ref=ppx_yo2ov_dt_b_product_details Ich hatte sie in einem Video gesehen und dachte das sollte dann funktionieren. Habe aber auch kein Problem mir was anderes zuzulegen. Das Ganze ist ein Pilotprojekt und soll am Ende auch am Fernseher umgesetzt werden, wenn der mal gegen einen Non-Ambilight ausgetauscht wird. Daher bin ich froh, wenn es dann irgendwann im kleinen Format am Monitor funktioniert.

    usb-devices (ich habe die leeren Einträge weg gelassen)

    Display Spoiler

    T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1

    D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1

    P: Vendor=1d6b ProdID=0002 Rev=05.15

    S: Manufacturer=Linux 5.15.84-v7+ dwc_otg_hcd

    S: Product=DWC OTG Controller

    S: SerialNumber=3f980000.usb

    C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA

    I: If#=0x0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub

    T: Bus=01 Lev=02 Prnt=02 Port=03 Cnt=02 Dev#= 4 Spd=480 MxCh= 0

    D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1

    P: Vendor=345f ProdID=2131 Rev=21.00

    S: Manufacturer=MACROSILICON

    S: Product=USB3.0 Video

    S: SerialNumber=36925683

    C: #Ifs= 5 Cfg#= 1 Atr=80 MxPwr=500mA

    I: If#=0x0 Alt= 0 #EPs= 0 Cls=0e(video) Sub=01 Prot=00 Driver=uvcvideo

    I: If#=0x1 Alt= 0 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo

    I: If#=0x2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=snd-usb-audio

    I: If#=0x3 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio

    I: If#=0x4 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid

    v4l2-ctl --all

    Display Spoiler

    Driver Info:

    Driver name : uvcvideo

    Card type : USB3.0 Video: USB3.0 Video

    Bus info : usb-3f980000.usb-1.4

    Driver version : 5.15.84

    Capabilities : 0x84a00001

    Video Capture

    Metadata Capture

    Streaming

    Extended Pix Format

    Device Capabilities

    Device Caps : 0x04200001

    Video Capture

    Streaming

    Extended Pix Format

    Media Driver Info:

    Driver name : uvcvideo

    Model : USB3.0 Video: USB3.0 Video

    Serial : 36925683

    Bus info : usb-3f980000.usb-1.4

    Media version : 5.15.84

    Hardware revision: 0x00002100 (8448)

    Driver version : 5.15.84

    Interface Info:

    ID : 0x03000002

    Type : V4L Video

    Entity Info:

    ID : 0x00000001 (1)

    Name : USB3.0 Video: USB3.0 Video

    Function : V4L2 I/O

    Flags : default

    Pad 0x01000007 : 0: Sink

    Link 0x0200000d: from remote pad 0x100000a of entity 'Processing 2': Data, Enabled, Immutable

    Priority: 2

    Video input : 0 (Camera 1: ok)

    Format Video Capture:

    Width/Height : 640/480

    Pixel Format : 'MJPG' (Motion-JPEG)

    Field : None

    Bytes per Line : 0

    Size Image : 614400

    Colorspace : sRGB

    Transfer Function : Rec. 709

    YCbCr/HSV Encoding: ITU-R 601

    Quantization : Default (maps to Full Range)

    Flags :

    Crop Capability Video Capture:

    Bounds : Left 0, Top 0, Width 640, Height 480

    Default : Left 0, Top 0, Width 640, Height 480

    Pixel Aspect: 1/1

    Selection Video Capture: crop_default, Left 0, Top 0, Width 640, Height 480, Flags:

    Selection Video Capture: crop_bounds, Left 0, Top 0, Width 640, Height 480, Flags:

    Streaming Parameters Video Capture:

    Capabilities : timeperframe

    Frames per second: 30.000 (30/1)

    Read buffers : 0

    brightness 0x00980900 (int) : min=0 max=100 step=1 default=50 value=50

    contrast 0x00980901 (int) : min=0 max=100 step=1 default=50 value=50

    saturation 0x00980902 (int) : min=0 max=100 step=1 default=50 value=50

    hue 0x00980903 (int) : min=0 max=100 step=1 default=50 value=50

    v4l2-ctl --list-formats-ext

    Display Spoiler

    ioctl: VIDIOC_ENUM_FMT

    Type: Video Capture

    [0]: 'MJPG' (Motion-JPEG, compressed)

    Size: Discrete 2560x1600

    Interval: Discrete 0.033s (30.000 fps)

    Interval: Discrete 0.040s (25.000 fps)

    Interval: Discrete 0.050s (20.000 fps)

    Interval: Discrete 0.100s (10.000 fps)

    Size: Discrete 2560x1440

    Interval: Discrete 0.033s (30.000 fps)

    Interval: Discrete 0.040s (25.000 fps)

    Interval: Discrete 0.050s (20.000 fps)

    Interval: Discrete 0.100s (10.000 fps)

    Size: Discrete 2048x1152

    Interval: Discrete 0.020s (50.000 fps)

    Interval: Discrete 0.033s (30.000 fps)

    Interval: Discrete 0.040s (25.000 fps)

    Interval: Discrete 0.050s (20.000 fps)

    Interval: Discrete 0.100s (10.000 fps)

    Size: Discrete 2048x1080

    Interval: Discrete 0.020s (50.000 fps)

    Interval: Discrete 0.033s (30.000 fps)

    Interval: Discrete 0.050s (20.000 fps)

    Interval: Discrete 0.100s (10.000 fps)

    Size: Discrete 1920x2160

    Interval: Discrete 0.033s (30.000 fps)

    Interval: Discrete 0.040s (25.000 fps)

    Interval: Discrete 0.050s (20.000 fps)

    Interval: Discrete 0.100s (10.000 fps)

    Size: Discrete 1920x1200

    Interval: Discrete 0.020s (50.000 fps)

    Interval: Discrete 0.033s (30.000 fps)

    Interval: Discrete 0.040s (25.000 fps)

    Interval: Discrete 0.050s (20.000 fps)

    Interval: Discrete 0.100s (10.000 fps)

    Size: Discrete 1920x1080

    Interval: Discrete 0.020s (50.000 fps)

    Interval: Discrete 0.033s (30.000 fps)

    Interval: Discrete 0.040s (25.000 fps)

    Interval: Discrete 0.050s (20.000 fps)

    Interval: Discrete 0.100s (10.000 fps)

    Size: Discrete 1600x1200

    Interval: Discrete 0.020s (50.000 fps)

    Interval: Discrete 0.033s (30.000 fps)

    Interval: Discrete 0.040s (25.000 fps)

    Interval: Discrete 0.050s (20.000 fps)

    Interval: Discrete 0.100s (10.000 fps)

    Size: Discrete 1360x768

    Interval: Discrete 0.017s (60.000 fps)

    Interval: Discrete 0.020s (50.000 fps)

    Interval: Discrete 0.033s (30.000 fps)

    Interval: Discrete 0.050s (20.000 fps)

    Interval: Discrete 0.100s (10.000 fps)

    Size: Discrete 1280x1024

    Interval: Discrete 0.017s (60.000 fps)

    Interval: Discrete 0.020s (50.000 fps)

    Interval: Discrete 0.033s (30.000 fps)

    Interval: Discrete 0.050s (20.000 fps)

    Interval: Discrete 0.100s (10.000 fps)

    Size: Discrete 1280x960

    Interval: Discrete 0.017s (60.000 fps)

    Interval: Discrete 0.020s (50.000 fps)

    Interval: Discrete 0.033s (30.000 fps)

    Interval: Discrete 0.050s (20.000 fps)

    Interval: Discrete 0.100s (10.000 fps)

    Size: Discrete 1280x720

    Interval: Discrete 0.017s (60.000 fps)

    Interval: Discrete 0.020s (50.000 fps)

    Interval: Discrete 0.033s (30.000 fps)

    Interval: Discrete 0.050s (20.000 fps)

    Interval: Discrete 0.100s (10.000 fps)

    Size: Discrete 1024x768

    Interval: Discrete 0.017s (60.000 fps)

    Interval: Discrete 0.020s (50.000 fps)

    Interval: Discrete 0.033s (30.000 fps)

    Interval: Discrete 0.050s (20.000 fps)

    Interval: Discrete 0.100s (10.000 fps)

    Size: Discrete 720x480

    Interval: Discrete 0.017s (60.000 fps)

    Interval: Discrete 0.020s (50.000 fps)

    Interval: Discrete 0.033s (30.000 fps)

    Interval: Discrete 0.050s (20.000 fps)

    Interval: Discrete 0.100s (10.000 fps)

    Size: Discrete 640x480

    Interval: Discrete 0.017s (60.000 fps)

    Interval: Discrete 0.020s (50.000 fps)

    Interval: Discrete 0.033s (30.000 fps)

    Interval: Discrete 0.050s (20.000 fps)

    Interval: Discrete 0.100s (10.000 fps)

    [1]: 'YUYV' (YUYV 4:2:2)

    Size: Discrete 2560x1600

    Interval: Discrete 0.200s (5.000 fps)

    Size: Discrete 2560x1440

    Interval: Discrete 0.200s (5.000 fps)

    Size: Discrete 2048x1152

    Interval: Discrete 0.200s (5.000 fps)

    Size: Discrete 2048x1080

    Interval: Discrete 0.100s (10.000 fps)

    Interval: Discrete 0.200s (5.000 fps)

    Size: Discrete 1920x2160

    Interval: Discrete 0.200s (5.000 fps)

    Size: Discrete 1920x1200

    Interval: Discrete 0.100s (10.000 fps)

    Interval: Discrete 0.200s (5.000 fps)

    Size: Discrete 1920x1080

    Interval: Discrete 0.100s (10.000 fps)

    Interval: Discrete 0.200s (5.000 fps)

    Size: Discrete 1600x1200

    Interval: Discrete 0.100s (10.000 fps)

    Interval: Discrete 0.200s (5.000 fps)

    Size: Discrete 1360x768

    Interval: Discrete 0.067s (15.000 fps)

    Interval: Discrete 0.125s (8.000 fps)

    Size: Discrete 1280x1024

    Interval: Discrete 0.067s (15.000 fps)

    Interval: Discrete 0.125s (8.000 fps)

    Size: Discrete 1280x960

    Interval: Discrete 0.050s (20.000 fps)

    Interval: Discrete 0.100s (10.000 fps)

    Size: Discrete 1280x720

    Interval: Discrete 0.067s (15.000 fps)

    Interval: Discrete 0.125s (8.000 fps)

    Size: Discrete 1024x768

    Interval: Discrete 0.050s (20.000 fps)

    Interval: Discrete 0.100s (10.000 fps)

    Size: Discrete 720x480

    Interval: Discrete 0.017s (60.000 fps)

    Interval: Discrete 0.033s (30.000 fps)

    Interval: Discrete 0.050s (20.000 fps)

    Interval: Discrete 0.100s (10.000 fps)

    Size: Discrete 640x480

    Interval: Discrete 0.017s (60.000 fps)

    Interval: Discrete 0.033s (30.000 fps)

    Interval: Discrete 0.050s (20.000 fps)

    Interval: Discrete 0.100s (10.000 fps)

    Vielen Dank für deine Unterstützung.

    PS.: ich habe gestern nochmal meinen esp32 an die LED geklemmt. Damit funktionieren sie.

    PPS.: die Verbindung LED zu Pi muss da Ground noch mit verbunden sein? Hätte das mit Pin 39 auch getestet.

  • Überprüfe mal die gesetzte Baudrate

    Code
    2024-01-25T14:02:34.629Z [LEDDEVICE|Ambilight Monitor] (WARNING) SPI rate 590000 outside recommended range (2050000 -> 4000000)

    Hier in Forum findest Du sicherlich den richtigen Wert.

  • Hier im Forum wird viel geschrieben...

    Am besten hält man sich ans Datenblatt.

    Und es gibt im Hardware Support einen angepinnten Post .

    gruß pclin

    Dreambox ONE / TWO

    dreamOS OE2.6

    Amlogic S922X - 53.000 DMIPS - 2 GB RAM - 16 GB Flash - Twin-DVB-S2X Tuner - HDR10 - HLG
    -
    AudioDSP: miniDSP 2x4HD - Amp: Pentagon - Lautsprecher ELAC / ARENDAL
    LG OLED65BX9LB (PicCap, hyperion.NG webOS)

    FireTV 4K max

    -
    hyperion (classic) & Plugin HyperionControl | hyperion-ng 2.0.16-beta.1 (dreamOS)
    Hyperion-ng (Debian bullseye)
    -
    6 x ESP32/Wemos D1 mini - WLED - SK6812 RGBW-NW 60 LEDs/m
    FeinTech VSP01201 - Grabber Macrosilicon

    LG TV Hyperion webOS & PicCap

    Ambilight for ever

  • Es funktioniert. Und ich muss leider sagen: es war Fehler 40...

    Ich habe den falschen PIN benutzt ;(

    Statt PIN 19 habe ich GPIO 19 verwendet, weil ich mich wohl durch verschiedene gelesene Dinge habe verwirren lassen was die Bezeichnung angeht (und ja pclin ich weiß du hast extra MOSI mit dahinter geschrieben, das wurde einfach mal konsequent ignoriert :D)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!