awawa-dev / HyperHDR

Highly optimized open source ambient lighting implementation based on modern digital video and audio stream analysis for Windows, macOS and Linux (x86 and Raspberry Pi / ARM).
http://www.hyperhdr.eu/
MIT License
1.12k stars 117 forks source link

HyperHDR not working with HDMI-HDMI cable #136

Closed jxrgemartinez closed 3 years ago

jxrgemartinez commented 3 years ago

Hi, sorry I deleted the template for bugs. I am using HyperHDR on its version 17.0.0 on a Raspberry Pi 4. The problem comes when I try tu plug it with an HDMI to HDMI cable, the leds start to flash in white and then hyperhdr starts on the rainbow effect (the monitor shows the image fine, it's just that the leds don't work. If I change the HDMI cable to a HDMI to usb-c cable the leds work fine. What could be happening? I tried with three different HDMI-HDMI cables

Logs:

2021-10-27T11:06:34.869Z [MAIN] Database path: '/root/.hyperhdr/db/hyperhdr.db', readonlyMode = disabled 2021-10-27T11:06:34.869Z [MAIN] Starting HyperHdr - 17.0.0.0, (HEAD detached at dec81c0) (Awawa-2a2ed8d/dec81c0-1631541363), built: Sep 15 2021:17:02:39 2021-10-27T11:06:34.869Z [MAIN] Set user data path to '/root/.hyperhdr' 2021-10-27T11:06:34.911Z [DB] Database opened: /root/.hyperhdr/db/hyperhdr.db 2021-10-27T11:06:35.089Z [SETTINGSMGR] Settings database initialized 2021-10-27T11:06:35.090Z [HYPERHDR] Sound device is disabled 2021-10-27T11:06:35.177Z [V4L2:AUTO] Cropping image: width=0 height=0; crop: left=0 right=0 top=0 bottom=0 2021-10-27T11:06:35.178Z [V4L2:AUTO] Found capture device: /dev/video14 2021-10-27T11:06:35.179Z [V4L2:AUTO] Found capture device: /dev/video15 2021-10-27T11:06:35.411Z [V4L2:AUTO] Found capture device: /dev/video0 2021-10-27T11:06:35.412Z [V4L2:AUTO] (V4L2Grabber.cpp:375) Device has 'brightness' control => min: -128, max: 127, default: -11 2021-10-27T11:06:35.413Z [V4L2:AUTO] (V4L2Grabber.cpp:381) Device has 'contrast' control => min: 0, max: 255, default: 148 2021-10-27T11:06:35.414Z [V4L2:AUTO] (V4L2Grabber.cpp:387) Device has 'saturation' control => min: 0, max: 255, default: 180 2021-10-27T11:06:35.415Z [V4L2:AUTO] (V4L2Grabber.cpp:393) Device has 'hue' control => min: -128, max: 127, default: 0 2021-10-27T11:06:35.416Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1920 x 1080 @ 60 fps mjpeg 2021-10-27T11:06:35.416Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1920 x 1080 @ 30 fps mjpeg 2021-10-27T11:06:35.417Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1920 x 1080 @ 25 fps mjpeg 2021-10-27T11:06:35.417Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1920 x 1080 @ 20 fps mjpeg 2021-10-27T11:06:35.417Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1920 x 1080 @ 10 fps mjpeg 2021-10-27T11:06:35.418Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1600 x 1200 @ 60 fps mjpeg 2021-10-27T11:06:35.418Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1600 x 1200 @ 30 fps mjpeg 2021-10-27T11:06:35.418Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1600 x 1200 @ 25 fps mjpeg 2021-10-27T11:06:35.419Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1600 x 1200 @ 20 fps mjpeg 2021-10-27T11:06:35.419Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1600 x 1200 @ 10 fps mjpeg 2021-10-27T11:06:35.420Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1360 x 768 @ 60 fps mjpeg 2021-10-27T11:06:35.420Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1360 x 768 @ 30 fps mjpeg 2021-10-27T11:06:35.420Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1360 x 768 @ 25 fps mjpeg 2021-10-27T11:06:35.421Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1360 x 768 @ 20 fps mjpeg 2021-10-27T11:06:35.421Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1360 x 768 @ 10 fps mjpeg 2021-10-27T11:06:35.421Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1280 x 1024 @ 60 fps mjpeg 2021-10-27T11:06:35.422Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1280 x 1024 @ 30 fps mjpeg 2021-10-27T11:06:35.422Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1280 x 1024 @ 25 fps mjpeg 2021-10-27T11:06:35.423Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1280 x 1024 @ 20 fps mjpeg 2021-10-27T11:06:35.423Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1280 x 1024 @ 10 fps mjpeg 2021-10-27T11:06:35.423Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1280 x 960 @ 60 fps mjpeg 2021-10-27T11:06:35.424Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1280 x 960 @ 30 fps mjpeg 2021-10-27T11:06:35.424Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1280 x 960 @ 25 fps mjpeg 2021-10-27T11:06:35.424Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1280 x 960 @ 20 fps mjpeg 2021-10-27T11:06:35.425Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1280 x 960 @ 10 fps mjpeg 2021-10-27T11:06:35.425Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1280 x 720 @ 60 fps mjpeg 2021-10-27T11:06:35.425Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1280 x 720 @ 50 fps mjpeg 2021-10-27T11:06:35.426Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1280 x 720 @ 30 fps mjpeg 2021-10-27T11:06:35.426Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1280 x 720 @ 20 fps mjpeg 2021-10-27T11:06:35.426Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1280 x 720 @ 10 fps mjpeg 2021-10-27T11:06:35.427Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1024 x 768 @ 60 fps mjpeg 2021-10-27T11:06:35.427Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1024 x 768 @ 50 fps mjpeg 2021-10-27T11:06:35.428Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1024 x 768 @ 30 fps mjpeg 2021-10-27T11:06:35.428Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1024 x 768 @ 20 fps mjpeg 2021-10-27T11:06:35.428Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1024 x 768 @ 10 fps mjpeg 2021-10-27T11:06:35.429Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 800 x 600 @ 60 fps mjpeg 2021-10-27T11:06:35.429Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 800 x 600 @ 50 fps mjpeg 2021-10-27T11:06:35.429Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 800 x 600 @ 30 fps mjpeg 2021-10-27T11:06:35.430Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 800 x 600 @ 20 fps mjpeg 2021-10-27T11:06:35.430Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 800 x 600 @ 10 fps mjpeg 2021-10-27T11:06:35.430Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 720 x 576 @ 60 fps mjpeg 2021-10-27T11:06:35.431Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 720 x 576 @ 50 fps mjpeg 2021-10-27T11:06:35.431Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 720 x 576 @ 30 fps mjpeg 2021-10-27T11:06:35.432Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 720 x 576 @ 20 fps mjpeg 2021-10-27T11:06:35.432Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 720 x 576 @ 10 fps mjpeg 2021-10-27T11:06:35.432Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 720 x 480 @ 60 fps mjpeg 2021-10-27T11:06:35.433Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 720 x 480 @ 50 fps mjpeg 2021-10-27T11:06:35.433Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 720 x 480 @ 30 fps mjpeg 2021-10-27T11:06:35.434Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 720 x 480 @ 20 fps mjpeg 2021-10-27T11:06:35.434Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 720 x 480 @ 10 fps mjpeg 2021-10-27T11:06:35.434Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 640 x 480 @ 60 fps mjpeg 2021-10-27T11:06:35.435Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 640 x 480 @ 50 fps mjpeg 2021-10-27T11:06:35.435Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 640 x 480 @ 30 fps mjpeg 2021-10-27T11:06:35.435Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 640 x 480 @ 20 fps mjpeg 2021-10-27T11:06:35.436Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 640 x 480 @ 10 fps mjpeg 2021-10-27T11:06:35.436Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1920 x 1080 @ 5 fps yuyv 2021-10-27T11:06:35.436Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1600 x 1200 @ 5 fps yuyv 2021-10-27T11:06:35.437Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1360 x 768 @ 8 fps yuyv 2021-10-27T11:06:35.437Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1280 x 1024 @ 8 fps yuyv 2021-10-27T11:06:35.437Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1280 x 960 @ 8 fps yuyv 2021-10-27T11:06:35.437Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1280 x 720 @ 10 fps yuyv 2021-10-27T11:06:35.437Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 1024 x 768 @ 10 fps yuyv 2021-10-27T11:06:35.437Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 800 x 600 @ 20 fps yuyv 2021-10-27T11:06:35.437Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 800 x 600 @ 10 fps yuyv 2021-10-27T11:06:35.437Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 800 x 600 @ 5 fps yuyv 2021-10-27T11:06:35.437Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 720 x 576 @ 25 fps yuyv 2021-10-27T11:06:35.437Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 720 x 576 @ 20 fps yuyv 2021-10-27T11:06:35.437Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 720 x 576 @ 10 fps yuyv 2021-10-27T11:06:35.437Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 720 x 576 @ 5 fps yuyv 2021-10-27T11:06:35.437Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 720 x 480 @ 30 fps yuyv 2021-10-27T11:06:35.438Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 720 x 480 @ 20 fps yuyv 2021-10-27T11:06:35.438Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 720 x 480 @ 10 fps yuyv 2021-10-27T11:06:35.438Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 720 x 480 @ 5 fps yuyv 2021-10-27T11:06:35.438Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 640 x 480 @ 30 fps yuyv 2021-10-27T11:06:35.438Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 640 x 480 @ 20 fps yuyv 2021-10-27T11:06:35.438Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 640 x 480 @ 10 fps yuyv 2021-10-27T11:06:35.438Z [V4L2:AUTO] USB Video: USB Video (video0) [/dev/video0] 640 x 480 @ 5 fps yuyv 2021-10-27T11:06:35.438Z [V4L2:AUTO] Restarting video grabber is now blocked due to reloading of the configuration 2021-10-27T11:06:35.438Z [V4L2:AUTO] Cropping image: width=0 height=0; crop: left=0 right=0 top=0 bottom=0 2021-10-27T11:06:35.438Z [V4L2:auto] (GrabberWrapper.cpp:42) CEC keycode. Start: 0, stop: 0 2021-10-27T11:06:35.439Z [V4L2:AUTO] (Grabber.cpp:202) setBrightnessContrastSaturationHue nothing changed 2021-10-27T11:06:35.439Z [V4L2:AUTO] (V4L2Grabber.cpp:98) setHdrToneMappingMode to: Disabled 2021-10-27T11:06:35.439Z [V4L2:AUTO] (Grabber.cpp:140) setFpsSoftwareDecimation to: 1 2021-10-27T11:06:35.439Z [SIGNAL_OLD] (DetectionManual.cpp:85) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000 2021-10-27T11:06:35.439Z [SIGNAL_OLD] (DetectionManual.cpp:75) Signal threshold set to: {0, 0, 0} and frames: 50 2021-10-27T11:06:35.439Z [SIGNAL_AUTO] (DetectionAutomatic.cpp:368) Automatic signal detection -> errorTolerance: 9, modelTolerance: 90, sleepTime: 1000, wakeTime: 0 2021-10-27T11:06:35.439Z [V4L2:AUTO] (Grabber.cpp:307) setDeviceVideoStandard preparing to restart video grabber. Old: '' new: 'auto' 2021-10-27T11:06:35.439Z [V4L2:AUTO] Delayed restart of the grabber due to change of selected device 2021-10-27T11:06:35.439Z [V4L2:AUTO] (Grabber.cpp:158) Force encoding to: NO_CHANGE (old: NO_CHANGE) 2021-10-27T11:06:35.439Z [V4L2:AUTO] setQFrameDecimation is now: disabled 2021-10-27T11:06:35.445Z [X11_SYSTEM:AUTO] Cropping image: width=0 height=0; crop: left=0 right=0 top=0 bottom=0 2021-10-27T11:06:35.478Z [X11_SYSTEM:AUTO] Loaded X11 proxy library for screen capturing 2021-10-27T11:06:35.487Z [X11_SYSTEM:AUTO] Restarting video grabber is now blocked due to reloading of the configuration 2021-10-27T11:06:35.487Z [X11_SYSTEM:AUTO] (Grabber.cpp:117) Set new width: 512, height: 512 for capture 2021-10-27T11:06:35.487Z [X11_SYSTEM:AUTO] (Grabber.cpp:262) setWidthHeight preparing to restarting video grabber 0 2021-10-27T11:06:35.487Z [X11_SYSTEM:AUTO] Delayed restart of the grabber due to change of the capturing resolution 2021-10-27T11:06:35.487Z [X11_SYSTEM:AUTO] Delayed restart of the grabber due to change of the framerate 2021-10-27T11:06:35.487Z [SIGNAL_OLD] (DetectionManual.cpp:85) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000 2021-10-27T11:06:35.488Z [SIGNAL_OLD] (DetectionManual.cpp:75) Signal threshold set to: {12, 12, 12} and frames: 200 2021-10-27T11:06:35.488Z [X11_SYSTEM:AUTO] (Grabber.cpp:307) setDeviceVideoStandard preparing to restart video grabber. Old: '' new: 'auto' 2021-10-27T11:06:35.488Z [X11_SYSTEM:AUTO] Delayed restart of the grabber due to change of selected device 2021-10-27T11:06:35.551Z [SETTINGSMGR] Settings database initialized 2021-10-27T11:06:35.553Z [BLACKBORDER] Set mode to: default 2021-10-27T11:06:35.553Z [COMPONENTREG0] Blackborder detector: enabled 2021-10-27T11:06:35.553Z [IMAGETOLED0] (ImageProcessor.cpp:153) set user led mapping to advanced 2021-10-27T11:06:35.553Z [IMAGETOLED0] (ImageProcessor.cpp:136) setSparseProcessing to 0 2021-10-27T11:06:35.554Z [RGB_TRANSFORM0] RGB transform classic_config: 1, saturationGain: 1.000000, luminanceGain: 1.000000, backlightThreshold: 1 2021-10-27T11:06:35.555Z [RGB_TRANSFORM0] setBacklightThreshold: 1 2021-10-27T11:06:35.555Z [ADJUST_RED0] Set correction to 255 2021-10-27T11:06:35.555Z [ADJUST_BLUE0] Set correction to 255 2021-10-27T11:06:35.555Z [ADJUST_GREEN0] Set correction to 255 2021-10-27T11:06:35.597Z [JSONSERVER] (JsonServer.cpp:28) Created instance 2021-10-27T11:06:35.612Z [JSONSERVER] Started on port 19444 2021-10-27T11:06:35.557Z [DB] Database opened: /root/.hyperhdr/db/hyperhdr.db 2021-10-27T11:06:35.592Z [LEDDEVICE] Start LedDevice 'ws281x'. 2021-10-27T11:06:35.592Z [COMPONENTREG0] Smoothing: enabled 2021-10-27T11:06:35.592Z [SMOOTHING0] Creating config (0) => type: Alternative, dirMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 0, antiFlickStep: 2, antiFlickTime: 0 2021-10-27T11:06:35.592Z [SMOOTHING0] Clearing queued colors 2021-10-27T11:06:35.592Z [SMOOTHING0] Selecting config (0) => type: Alternative, dirMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 0, antiFlickStep: 2, antiFlickTime: 0 2021-10-27T11:06:35.593Z [SMOOTHING0] Selecting config (0) => type: Alternative, dirMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 0, antiFlickStep: 2, antiFlickTime: 0 2021-10-27T11:06:35.592Z [LEDDEVICE] (LedDevice.cpp:149) deviceConfig: [{"colorOrder":"grb","currentLedCount":121,"dma":5,"gpio":18,"hardwareLedCount":120,"invert":false,"latchTime":0,"leds":120,"pwmchannel":0,"rewriteTime":1000,"rgbw":false,"type":"ws281x","whiteAlgorithm":"subtract_minimum"}] 2021-10-27T11:06:35.594Z [LEDDEVICE] (LedDevice.cpp:408) LatchTime updated to 0ms 2021-10-27T11:06:35.594Z [LEDDEVICE] (LedDevice.cpp:429) Refresh interval = 1000ms 2021-10-27T11:06:35.594Z [LEDDEVICE] (LedDevice.cpp:435) RewriteTime updated to 1000ms 2021-10-27T11:06:35.594Z [LEDDEVICE] (LedDeviceWS281x.cpp:59) ws281x strip type : 1050624 2021-10-27T11:06:35.597Z [FLATBUFCONN] Connecting to HyperHDR: 127.0.0.1:19401 2021-10-27T11:06:35.617Z [MUXER0] Register new input 'System/VIDEOGRABBER' with priority 240 as inactive 2021-10-27T11:06:35.618Z [COMPONENTREG0] Video capture device: enabled 2021-10-27T11:06:35.625Z [V4L2:AUTO] Multithreading for V4L2 is enabled. Available thread's count 4 2021-10-27T11:06:35.625Z [V4L2:AUTO] Found capture device: /dev/video14 2021-10-27T11:06:35.626Z [V4L2:AUTO] Found capture device: /dev/video15 2021-10-27T11:06:35.626Z [V4L2:AUTO] Found capture device: /dev/video0 2021-10-27T11:06:35.627Z [V4L2:AUTO] (V4L2Grabber.cpp:375) Device has 'brightness' control => min: -128, max: 127, default: -11 2021-10-27T11:06:35.627Z [V4L2:AUTO] (V4L2Grabber.cpp:381) Device has 'contrast' control => min: 0, max: 255, default: 148 2021-10-27T11:06:35.627Z [V4L2:AUTO] (V4L2Grabber.cpp:387) Device has 'saturation' control => min: 0, max: 255, default: 180 2021-10-27T11:06:35.627Z [V4L2:AUTO] (V4L2Grabber.cpp:393) Device has 'hue' control => min: -128, max: 127, default: 0 2021-10-27T11:06:35.628Z [V4L2:AUTO] (V4L2Grabber.cpp:165) Forcing auto discovery device 2021-10-27T11:06:35.628Z [V4L2:AUTO] (V4L2Grabber.cpp:171) Auto discovery set to USB Video: USB Video (video0) 2021-10-27T11:06:35.628Z [V4L2:AUTO] (V4L2Grabber.cpp:185) Searching for USB Video: USB Video (video0) 0 x 0 @ 0 fps, input: -1 (NO_CHANGE) 2021-10-27T11:06:35.628Z [V4L2:AUTO] Forcing best guess 2021-10-27T11:06:35.628Z [V4L2:AUTO] 2021-10-27T11:06:35.628Z [V4L2:AUTO] Starting V4L2 grabber. Selected: USB Video: USB Video (video0) [/dev/video0] 640 x 480 @ 10 fps yuyv 2021-10-27T11:06:35.628Z [V4L2:AUTO] 2021-10-27T11:06:35.628Z [V4L2:AUTO] (V4L2Grabber.cpp:780) Hardware cropping is not supported: ignoring 2021-10-27T11:06:35.629Z [V4L2:AUTO] Set device input to: Camera 1 2021-10-27T11:06:35.630Z [V4L2:AUTO] Set resolution to: 640 x 480 2021-10-27T11:06:35.631Z [V4L2:AUTO] Set framerate to 10 FPS 2021-10-27T11:06:35.631Z [V4L2:AUTO] Brightness set to: -11 (default) 2021-10-27T11:06:35.631Z [V4L2:AUTO] Contrast set to: 148 (default) 2021-10-27T11:06:35.632Z [V4L2:AUTO] Saturation set to: 180 (default) 2021-10-27T11:06:35.632Z [V4L2:AUTO] Hue set to: 0 (default) 2021-10-27T11:06:35.632Z [V4L2:AUTO] (V4L2Grabber.cpp:78) LUT folder location: '/usr/share/hyperhdr/lut' 2021-10-27T11:06:35.632Z [V4L2:AUTO] LUT file is not found here: /root/.hyperhdr/lut_lin_tables.3d 2021-10-27T11:06:35.637Z [V4L2:AUTO] (Grabber.cpp:385) LUT file found: /usr/share/hyperhdr/lut/lut_lin_tables.3d 2021-10-27T11:06:35.637Z [V4L2:AUTO] (Grabber.cpp:400) Index 2 for YUV 2021-10-27T11:06:37.023Z [V4L2:AUTO] Found and loaded LUT: '/usr/share/hyperhdr/lut/lut_lin_tables.3d' 2021-10-27T11:06:37.023Z [V4L2:AUTO] Video pixel format is set to: YUYV 2021-10-27T11:06:37.034Z [V4L2:AUTO] Started 2021-10-27T11:06:35.620Z [BOBLIGHT] Instance created 2021-10-27T11:06:37.034Z [HYPERMANAGER] HyperHDR instance 'First LED instance' has been started 2021-10-27T11:06:37.034Z [DAEMON] Unload CEC 2021-10-27T11:06:35.621Z [COMPONENTREG0] LED device: enabled 2021-10-27T11:06:35.622Z [EFFECTENGINE0] Run effect "Rainbow swirl" on channel 0 2021-10-27T11:06:35.622Z [FLATBUFSERVER] Started on port 19400 2021-10-27T11:06:35.624Z [PROTOSERVER] Started on port 19445 2021-10-27T11:06:35.625Z [WEBSERVER] Initialize Webserver 2021-10-27T11:06:35.624Z [WEBSERVER] Initialize Webserver 2021-10-27T11:06:35.807Z [EFFECTENGINE0] (EffectEngine.cpp:152) Start the effect: name [Rainbow swirl], smoothCfg [32] 2021-10-27T11:06:35.807Z [MUXER0] Register new input 'System/EFFECT' with priority 0 as inactive 2021-10-27T11:06:35.808Z [HYPERHDR] Initial foreground effect 'Rainbow swirl' started 2021-10-27T11:06:35.808Z [SMOOTHING0] Using alternative smoothing input (0) 2021-10-27T11:06:35.808Z [SMOOTHING0] Enabling timer. Now timer is active: 1, remaining time to run: 20 2021-10-27T11:06:35.829Z [SMOOTHING0] Using alternative smoothing procedure (0) 2021-10-27T11:06:35.862Z [MUXER0] Set visible priority to 0 2021-10-27T11:06:35.862Z [SMOOTHING0] Clearing queued colors 2021-10-27T11:06:35.862Z [SMOOTHING0] Selecting config (32) => type: Linear, dirMode: false, pause: false, settlingTime: 200ms, interval: 40ms (25Hz), antiFlickTres: 0, antiFlickStep: 0, antiFlickTime: 0 2021-10-27T11:06:35.862Z [SMOOTHING0] Using linear smoothing input (32) 2021-10-27T11:06:35.863Z [SMOOTHING0] Enabling timer. Now timer is active: 1, remaining time to run: 40 2021-10-27T11:06:35.863Z [HYPERHDR0] New priority[0], previous [255] 2021-10-27T11:06:35.863Z [HYPERHDR0] New source available -> switch LED-Device on 2021-10-27T11:06:35.864Z [IMAGETOLED0] (ImageProcessor.cpp:180) set hard led mapping to multicolor_mean 2021-10-27T11:06:35.903Z [SMOOTHING0] Using linear smoothing procedure (32) 2021-10-27T11:06:35.906Z [EFFECT0(Rainbo...)] Begin playing the effect with priority: 0 2021-10-27T11:06:35.926Z [MUXER0] Priority 0 is now active 2021-10-27T11:06:35.927Z [IMAGETOLED0] Total index number is: 1000. Sparse processing: disabled, image size: 80 x 45, area number: 121 2021-10-27T11:06:36.173Z [WEBSERVER] Apply Webserver settings 2021-10-27T11:06:36.173Z [WEBSERVER] Apply Webserver settings 2021-10-27T11:06:36.173Z [WEBSERVER] Set document root to: :/webconfig 2021-10-27T11:06:36.173Z [WEBSERVER] Set document root to: :/webconfig 2021-10-27T11:06:36.174Z [WEBSERVER] Started on port 8090 name 'HyperHDR Webserver' 2021-10-27T11:06:36.352Z [WEBSERVER] Setup SSL certificate 2021-10-27T11:06:36.353Z [WEBSERVER] Setup private SSL key 2021-10-27T11:06:36.353Z [WEBSERVER] Started on port 8092 name 'HyperHDR Webserver' 2021-10-27T11:06:37.239Z [V4L2:AUTO] (V4L2Grabber.cpp:1111) Worker's thread count = 4 2021-10-27T11:06:37.243Z [MUXER0] Priority 240 is now active 2021-10-27T11:06:38.944Z [EFFECT0(Rainbo...)] The effect quits with priority: 0 2021-10-27T11:06:38.944Z [MUXER0] Removed source priority 0 2021-10-27T11:06:38.944Z [MUXER0] Set visible priority to 240 2021-10-27T11:06:38.947Z [IMAGETOLED0] Total index number is: 79360. Sparse processing: disabled, image size: 640 x 480, area number: 121 2021-10-27T11:06:38.948Z [SMOOTHING0] Clearing queued colors 2021-10-27T11:06:38.948Z [SMOOTHING0] Selecting config (0) => type: Alternative, dirMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 0, antiFlickStep: 2, antiFlickTime: 0 2021-10-27T11:06:38.948Z [SMOOTHING0] Using alternative smoothing input (0) 2021-10-27T11:06:38.948Z [SMOOTHING0] Enabling timer. Now timer is active: 1, remaining time to run: 20 2021-10-27T11:06:38.949Z [HYPERHDR0] New priority[240], previous [0] 2021-10-27T11:06:38.949Z [IMAGETOLED0] (ImageProcessor.cpp:180) set hard led mapping to multicolor_mean 2021-10-27T11:06:38.951Z [IMAGETOLED0] Total index number is: 79360. Sparse processing: disabled, image size: 640 x 480, area number: 121 2021-10-27T11:06:38.951Z [EFFECTENGINE0] Effect 'Rainbow swirl' has finished. 2021-10-27T11:06:38.951Z [EFFECT0(Rainbo...)] Deleting effect named: 'Rainbow swirl' 2021-10-27T11:06:38.969Z [SMOOTHING0] Using alternative smoothing procedure (0) 2021-10-27T11:06:41.974Z [WEBSOCKET] (WebSocketClient.cpp:30) New connection from ::ffff:192.168.0.230 2021-10-27T11:06:41.975Z [WEBSOCKET] (JsonAPI.cpp:89) Client '::ffff:192.168.0.230' switch to HyperHDR instance 0 2021-10-27T11:06:42.462Z [DB] Database opened: /root/.hyperhdr/db/hyperhdr.db 2021-10-27T11:06:42.717Z [WEBSOCKET] (JsonAPI.cpp:1300) log streaming activated for client ::ffff:192.168.0.230 2021-10-27T11:06:57.345Z [SMOOTHING0] Emergency timer restart. Now timer is active: 1, remaining time to run: 20 2021-10-27T11:06:57.446Z [IMAGETOLED0] Total index number is: 79360. Sparse processing: disabled, image size: 640 x 480, area number: 121 2021-10-27T11:07:35.723Z [V4L2:AUTO] Video FPS: 7.53, av. delay: 5ms, good: 452, bad: 0 (60.10,15) 2021-10-27T11:08:35.804Z [V4L2:AUTO] Video FPS: 10.02, av. delay: 6ms, good: 601, bad: 0 (60.08,15) 2021-10-27T11:09:35.889Z [V4L2:AUTO] Video FPS: 10.02, av. delay: 6ms, good: 601, bad: 0 (60.09,15) 2021-10-27T11:10:35.977Z [V4L2:AUTO] Video FPS: 10.02, av. delay: 6ms, good: 601, bad: 0 (60.09,15)

awawa-dev commented 3 years ago

Logs are fine, I move it to the discussion and then we continue. You meant it happens when you connect Rpi using HDMI cable to the monitor (or the grabber?) even on the 'rainbow effect'? Did you try to unplug the USB grabber at all and check if that happens anyway (on the rainbow effect)? Do you have a common ground between Rpi and LED strip power supply (or they are share one)?