1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

RPi + Other Software Hyperion & Hypercon chrashes while taking screenshots

Discussion in 'Software Support' started by N-I-K-E-Lx64, 2 November 2018.

  1. N-I-K-E-Lx64

    N-I-K-E-Lx64 New Member

    Messages:
    1
    Hardware:
    RPi2
    Hi,

    I think I have a big issue with Hyperion. I am using a Raspberry Pi 2 with Raspbian. The Problem is, that every time I want to use Hyperion it doesn't work:
    If I want to take a screenshot with Hyperion, the hole Programm crashes. When I check the active processes there are two processes which are related to the screenshot process:
    Code:
    bash -c sudo systemctl stop hyperion.service 2>/dev/null; sudo /etc/init.d/hyperion stop 2>/d
    hyperion-v4l2 --device /dev/video0 --video-standard PAL --input 0 --width -1 --height -1 --cr 1236 pts/0
    First, I thought it was a USB-grabber issue, but when I test the grabber on the same pi with programmes like camorama or streamer it works fine.
    Also when i check the status of the hyperiond-process the result is also negative:
    Code:
    Hyperion Ambilight Deamon (1244)
            Version   : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
            Build Time: Apr  5 2018 01:57:25
    ERROR: No valid config found
    Also, the logs look very normal:

    Code:
    ssh in:     Nov 02 14:10:42 raspberrypi systemd[1]: Starting Hyperion Systemd service...
    ssh in:     Nov 02 14:10:42 raspberrypi systemd[1]: Started Hyperion Systemd service.
    ssh in:     Nov 02 14:10:43 raspberrypi hyperiond[394]: Hyperion Ambilight Deamon (394)
    ssh in:     Nov 02 14:10:43 raspberrypi hyperiond[394]: Version   : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
    ssh in:     Nov 02 14:10:43 raspberrypi hyperiond[394]: Build Time: Apr  5 2018 01:57:25
    ssh in:     Nov 02 14:10:43 raspberrypi hyperiond[394]: INFO: Selected configuration file: /etc/hyperion/hyperion.config.json
    ssh in:     Nov 02 14:10:43 raspberrypi hyperiond[394]: HYPERION INFO: ColorTransform 'default' => [0; 95]
    ssh in:     Nov 02 14:10:43 raspberrypi hyperiond[394]: HYPERION INFO: ColorCorrection 'default' => [0; 95]
    ssh in:     Nov 02 14:10:43 raspberrypi hyperiond[394]: HYPERION INFO: ColorAdjustment 'default' => [0; 95]
    ssh in:     Nov 02 14:10:43 raspberrypi hyperiond[394]: LEDDEVICE INFO: configuration:
    ssh in:     Nov 02 14:10:43 raspberrypi hyperiond[394]: {
    ssh in:     Nov 02 14:10:43 raspberrypi hyperiond[394]: "colorOrder" : "rgb",
    ssh in:     Nov 02 14:10:43 raspberrypi hyperiond[394]: "name" : "NiklasHyperionConfig",
    ssh in:     Nov 02 14:10:43 raspberrypi hyperiond[394]: "output" : "/dev/spidev0.0",
    ssh in:     Nov 02 14:10:43 raspberrypi hyperiond[394]: "rate" : 1000000,
    ssh in:     Nov 02 14:10:43 raspberrypi hyperiond[394]: "type" : "ws2801"
    ssh in:     Nov 02 14:10:43 raspberrypi hyperiond[394]: }
    ssh in:     Nov 02 14:10:43 raspberrypi hyperiond[394]: INFO: Creating linear smoothing
    ssh in:     Nov 02 14:10:43 raspberrypi hyperiond[394]: HYPERION (CS) INFO: Created linear-smoothing(interval_ms=50;settlingTime_ms=200;updateDelay=0
    ssh in:     Nov 02 14:10:43 raspberrypi hyperiond[394]: EFFECTENGINE INFO: 27 effects loaded from directory /usr/share/hyperion/effects
    ssh in:     Nov 02 14:10:43 raspberrypi hyperiond[394]: EFFECTENGINE INFO: Initializing Python interpreter
    ssh in:     Nov 02 14:10:44 raspberrypi hyperiond[394]: INFO: Hyperion started and initialised
    ssh in:     Nov 02 14:10:44 raspberrypi hyperiond[394]: INFO: Boot sequence 'Rainbow swirl fast' EFFECTENGINE INFO: run effect Rainbow swirl fast on channel 0
    ssh in:     Nov 02 14:10:44 raspberrypi hyperiond[394]: BLACKBORDER INFO: threshold set to 0.14 (36)
    ssh in:     Nov 02 14:10:44 raspberrypi hyperiond[394]: BLACKBORDER INFO: mode:default
    ssh in:     Nov 02 14:10:44 raspberrypi hyperiond[394]: started
    ssh in:     Nov 02 14:10:44 raspberrypi hyperiond[394]: INFO: Json server created and started on port 19444
    ssh in:     Nov 02 14:10:44 raspberrypi hyperiond[394]: INFO: Proto server created and started on port 19445
    ssh in:     Nov 02 14:10:44 raspberrypi hyperiond[394]: V4L2GRABBER INFO: width=720 height=576
    ssh in:     Nov 02 14:10:44 raspberrypi hyperiond[394]: V4L2GRABBER INFO: pixel format=YUYV
    ssh in:     Nov 02 14:10:44 raspberrypi hyperiond[394]: BLACKBORDER INFO: threshold set to 0.14 (36)
    ssh in:     Nov 02 14:10:44 raspberrypi hyperiond[394]: BLACKBORDER INFO: mode:default
    ssh in:     Nov 02 14:10:44 raspberrypi hyperiond[394]: V4L2GRABBER INFO: signal threshold set to: {0,0,0}
    ssh in:     Nov 02 14:10:44 raspberrypi hyperiond[394]: V4L2GRABBER INFO: started
    ssh in:     Nov 02 14:10:44 raspberrypi hyperiond[394]: INFO: V4L2 grabber created and started
    ssh in:     Nov 02 14:10:45 raspberrypi hyperiond[394]: V4L2GRABBER INFO: stopped
    ssh in:     Nov 02 14:10:54 raspberrypi hyperiond[394]: EFFECTENGINE INFO: effect finished
    ssh in:     Nov 02 14:10:55 raspberrypi hyperiond[394]: V4L2GRABBER INFO: started
    ssh out:     sudo systemctl stop hyperion.service 2>/dev/null; sudo /etc/init.d/hyperion stop
    

    I really don't know where is the problem I test also a fresh Version of Raspbian, a different pi, different grabbers and the issue continues. The setup itself is working because it plays the boot-effect, i can manually set colors etc. But when it comes to the main functionality it isn't working.
     

    Attached Files: