Git Product home page Git Product logo

awawa-dev / hyperhdr Goto Github PK

View Code? Open in Web Editor NEW
898.0 22.0 103.0 57.44 MB

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).

Home Page: http://www.hyperhdr.eu/

License: MIT License

CMake 5.45% Shell 0.87% C++ 67.08% C 4.88% CSS 0.83% HTML 6.17% JavaScript 12.99% Objective-C++ 1.68% AppleScript 0.05%
hdr rpi sound-visualizer music-visualizer ambilight raspberry-pi esp32 sk6812 ws2812 spi

hyperhdr's Introduction

About

Open source ambient lighting implementation for television and music sets based on the video and audio streams analysis. Focused on stability while ensuring performance and quality. Single and multi-threaded video processing optimization for Windows, macOS (x64/arm64: M1, M2) and Linux x64 & ARM (Raspberry Pi and others).

v20

Main features of HyperHDR

  • Really low CPU usage on SoCs like Raspberry Pi
  • Lightweight, we don't use bindings to heavy components like Python or Java
  • Low latency video processing as color source for LED strip and lamps
  • Support for multithreading that makes Raspberry Pi capable of processing HQ video stream
  • High portability on various ARM embedded platforms
  • Video post-processing filter to eliminate LED flickering
  • Modern interface using Bootstrap 5 and SVG icons
  • Provides vital informations about your OS condition: CPU & RAM usage, CPU temperature, undervoltage detection, internal components performance including USB grabber and LED devices
  • Support for USB grabbers under Linux, Windows 10, macOS
  • Pipewire/Portal hardware-accelerated screen capturer for Linux/Wayland
  • DirectX screen grabber with pixel and vertex shader processing acceleration for Windows 10/11
  • DirectX screen grabber supports native Windows HDR modes like DXGI_FORMAT_R16G16B16A16_FLOAT
  • Dynamic video cache buffers. Now Rpi can process even 1080p120 NV12 stream without any size decimation
  • Built-in audio visualization effects using spectrum analysis
  • MQTT support for IoT
  • Entertainment API v2: per-channel support for Philips Gradient Strip and others
  • Automatic LUT calibration detects grabber model specific properties for the best quality of HDR/SDR
  • Optimized multi-instances. You can use for example your TV LED strip and multiple WLED or Philips Hue light sources.
  • Built-in latency benchmark for USB grabbers
  • easy LED strip geometry editing process, automatic or manual with mouse and context menu per single LED
  • Automatic signal detection with smart learning capability for USB grabbers
  • SK6812 RGBW: advanced calibration of the white color channel for HyperSerialEsp8266, HyperSerialESP32, HyperSPI, HyperSerialPico
  • Tone mapping for external flatbuffers/protobuf sources
  • Built-in LUT table generator and LUT import tool
  • Support for 48bits HD108 LED strip
  • Support WS281x, APA102, HD107, SK9822 and SK6812 RGBW LED strips using the fastest possible cable solution for generic ESP8266/ESP32/rp2040 external LED drivers: HyperSPI. Alternatively, there is a simple solution using a high-speed connection via a standard USB serial port for ESP8266/ESP32/Pico with data integrity check and white channel calibration: HyperSerialEsp8266 and HyperSerialESP32 and for Raspberry Pi Pico HyperSerialPico. You can also use our WLED fork for ESP8266 and ESP32 using 2Mb baud speed (or higher): HyperSerialWLED

Our advanced video processing can improve the source for the LEDs, making the ambient lighting even more enjoyable and colorful.
You can use it for SDR video streams as well as for HDR and Dolby Vision (LLDV if your hardware supports it). Or instead of using a USB grabber, let your computer screen be the video source with software capture.

example

Download packages & sources

Official releases:
https://github.com/awawa-dev/HyperHDR/releases

Official Linux repo:
https://awawa-dev.github.io/

The latest installers for testing can usually be found as artifact archives in the Github Action tab (must be logged in):
https://github.com/awawa-dev/HyperHDR/actions

Manuals

Installation manual

Official Wiki

Example of how to build SK6812 RGBW based ambient lighting system - updated 2023

Forum

HyperHDR's support section

How to compile

Building HyperHDR from sources

Press mentions

Make: Magazine #84 (2023)
MagPi #117 (2022)
Comparison of several modern ambient lighting systems (2023)
The tutorial on raspberrypi.com
Building a 4K Capable HDMI TV Backlight (2021)




License

The source is released under MIT-License (see http://opensource.org/licenses/MIT)
GitHub license

hyperhdr's People

Contributors

astarom avatar awawa-dev avatar chbartsch avatar duese123 avatar fluchfux avatar gibahjoe avatar hsmalley avatar laurens94 avatar lougovsk avatar mic92 avatar nicolouis-be avatar nurikk avatar ratawhisk avatar thinner77 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hyperhdr's Issues

Smoothing is piling-up time lag between screen and LEDS

Bug report, debug log and your config file (FULL LOGS ARE MANDATORY)

https://pastebin.com/ny5c5VwW

Steps to reproduce

Activate HyperHDR without smoothing --> no time lag
Activate smoothing --> Time lag increases the longer HyperHDR is running

What is expected?

No major influnce of smoothing on time lag between screen and LEDs
No increase of time lag with run time of HyperHDR. It seems that HyperHDR is piling up the delay time.
What I addionally recoginzed: Even if I specify an update frequency of 20 in the web interface the log reports "interval: 40ms (25Hz)"

What is actually happening?

Time lag is constantly increasing with run-time of HyperHDR

System

Behaviour can be reproduced under Windows with DirectX grabber and RasberryPi 3b+ with external grabber. Logs have been created on windows system

HyperHDR Server:

  • Build: (HEAD detached at dec81c0) (Awawa-2a2ed8d/dec81c0-1631541363)
  • Build time: Sep 15 2021 15:59:04
  • Git Remote: https://github.com/awawa-dev/HyperHDR
  • Version: 17.0.0.0
  • UI Lang: en (BrowserLang: de)
  • UI Access: default
  • Avail Capt: Windows (Microsoft Media Foundation)
  • Database: read/write

HyperHDR Server OS:

  • Distribution: Windows 10 Version 2009
  • Architecture: x86_64
  • Kernel: winnt (10.0.19043 (WS: 64))
  • Qt Version: 5.15.2
  • Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36 Edg/95.0.1020.44

v17 stopped functioning after 2 weeks (no longer detects USB grabber)

Hi,

Apologies that this isn't this the correct format but I have nothing to show.
I was using HyperHDR v16 with SK6812 LEDs and a pi 3b fine with no issues. I updated to v17 and it worked perfectly for roughly 2 weeks or so. Now it has just stopped acknowledging my capture card exists. I have tried multiple USB capture cards/grabbers and have the same problem and I have also tested the capture cards on my PC and it works so I know its not the problem.

Is anyone else having this issue?

Blackbar detection requires higher threshold when HDR tonemapping is enabled

Bug report, debug log and your config file (FULL LOGS ARE MANDATORY)

Log - https://pastebin.com/aaifWJZd
Config - https://pastebin.com/tn4gM8Jp

Steps to reproduce

Enable blackbar detection and set a suitable threshold for SDR (or HDR grabbed as SDR) content.

For example, this image requires just 10% threshold to work, despite the poor contrast, and the bars being off-black (15,15,15).
shot180710

Enable HDR tonemapping. This is the same image after tonemapping has been turned on.
shot180717

What is expected?

Blackbars should continue to be detected at current threshold level.

What is actually happening?

Blackbars are no longer detected. Threshold has to be increased to 16% for them to be detected on the tonemapped image.

This is odd, as there is a greater contrast in the tonemapped image, and the blackbars are true black (0,0,0).

System

- Build:           (HEAD detached at 4e4031c) (Awawa-eba222b/4e4031c-1630846534)
- Build time:      Sep  5 2021 13:29:15
- Git Remote:      https://github.com/awawa-dev/HyperHDR
- Version:         17.0.0.0beta2
- UI Lang:         auto (BrowserLang: en-US)
- UI Access:       default
- Avail Capt:      Linux (V4L2)
- Database:        read/write

HyperHDR Server OS: 
- Distribution:   Raspbian GNU/Linux 10 (buster)
- Architecture:   arm
- CPU Model:      ARMv7 Processor rev 4 (v7l)
- CPU Type:       Raspberry Pi 3 Model B Rev 1.2
- CPU Revision:   a02082
- CPU Hardware:   BCM2835
- Kernel:         linux (5.10.17-v7+ (WS: 32))
- Qt Version:     5.11.3
- Browser:        Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36 ```

Whites on a RGBWW are showing red and flashing

I am running hyperHDR with rgbww leds. When I have a pure

20210725_201153_1.mp4

white background the LEDs flash and show red instead of a warm white (the ww).

Hardware
TCL 4K TV, wiistar HDMI to USB 3.0 Video Capture USB C Video Card with HDMI Loop Out and 4K HDMI Splitter 1x2 4K@60Hz 4:4:4 HDR D-o-l-b-y Vision D-o-l-b-y Atmos Compatible into a Yamaha AVR.
Rpi4 running hyperhdr.

Debian 10 Buster ARMV8 Support

Feature request

What problem does this feature solve?

I have a Raspberry Pi 4 running Debian 10 Buster I'd like to install HyperHDR on, but I'm having issues after compiling.

When trying to run Make, the process hangs and will eventually crash or I have to interrupt. I think my RPi4 doesn't have enough memory even after freeing up as much as possible. Is there any way to get this released for armV8?

What does the proposed API look like?

How should this be implemented in your opinion?

Are you willing to work on this yourself?

Lut file not loaded

(WARNING) setHdrToneMappingMode to: enable, but the LUT file is currently unloaded

I place the generated lut file in the .hyperion Config folder. I’m not sure if that’s the correct path. Any idea?

Virtual Audio Cable Output Reading Silent as Sound Capture Device

Bug report, debug log and your config file (FULL LOGS ARE MANDATORY)

Logs: https://pastebin.com/NcjtQ38G
Config: https://pastebin.com/XgVJieah

I am trying to use the https://vb-audio.com/Cable/ as a sound capture device for music visualization.

Steps to reproduce

  1. Direct Audio Source towards Virtual Audio Cable Input
  2. Select Virtual Cable Out as sound capture device for effects
  3. Choose any Music Visualization effect from the Remote Control

What is expected?

Audio data should be correctly captured and visualized from the Virtual Audio Cable Output.

What is actually happening?

Log Warning: "Sound stream: captured audio data but it's silence." I can see audio activity in the Windows sound control panel and other applications are able to correctly handle the virtual audio cable so I don't think its the virtual audio cable.

System

HyperHDR Server:

  • Build: (HEAD detached at 6e22b3f) (Awawa-6485055/6e22b3f-1621524301)
  • Build time: May 20 2021 16:04:07
  • Git Remote: https://github.com/awawa-dev/HyperHDR
  • Version: 16.0.0.1
  • UI Lang: en (BrowserLang: en-US)
  • UI Access: expert
  • Avail Capt: Windows (Microsoft Media Foundation)
  • Database: read/write

HyperHDR Server OS:

  • Distribution: Windows 10 Version 2009
  • Architecture: x86_64
  • Kernel: winnt (10.0.19043 (WS: 64))
  • Qt Version: 5.15.2
  • Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36

After Compiling cloning the latest git keep getting version 16.0.0.0

Bug report, debug log and your config file (FULL LOGS ARE MANDATORY)

HyperHDR Server:

  • Build: master (Awawa-db04b19/4e6999e-1621522708)
  • Build time: Jun 4 2021 01:03:17
  • Git Remote: https://github.com/awawa-dev/HyperHDR.git
  • Version: 16.0.0.0
  • UI Lang: auto (BrowserLang: en-us)
  • UI Access: default
  • Avail Capt: Linux (V4L2)
  • Database: read/write

Steps to reproduce

compiling following your step in a fresh system

What is expected?

version 16.0.0.1

What is actually happening?

System

Whites are orange

Bug report, debug log and your config file (optional but could be very helpful)

2020-12-22T04:54:45.691Z [hyperiond EFFECTFILES] (INFO) 39 effects loaded from directory :/effects/
2020-12-22T04:54:45.697Z [hyperiond EFFECTFILES] (INFO) 22 effect schemas loaded from directory :/effects/schema/
2020-12-22T04:54:45.699Z [hyperiond EFFECTFILES] (INFO) 0 effects loaded from directory /.hyperion/custom-effects
2020-12-22T04:54:48.264Z [hyperiond DAEMON] (INFO) No platform capture supported on this platform
2020-12-22T04:54:48.514Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Signal threshold set to: {12, 12, 12} and frames: 200
2020-12-22T04:54:48.515Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) CEC detection is now disabled
2020-12-22T04:54:48.516Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
2020-12-22T04:54:48.518Z [hyperiond JSONSERVER] (INFO) Started on port 19444
2020-12-22T04:54:46.991Z [hyperiond LEDDEVICE] (INFO) Start LedDevice 'ws281x'.
2020-12-22T04:54:47.012Z [hyperiond FLATBUFCONN] (INFO) Connecting to Hyperion: 127.0.0.1:19401
2020-12-22T04:54:48.355Z [hyperiond LEDDEVICE] (INFO) Start LedDevice 'philipshue'.
2020-12-22T04:54:48.357Z [hyperiond EFFECTENGINE] (INFO) Run effect "Rainbow swirl fast" on channel 0
2020-12-22T04:54:48.542Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Multithreading for V4L2 is enabled. Available thread's count 4
2020-12-22T04:54:48.545Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) configured v4l device: /dev/video15
2020-12-22T04:54:52.509Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Started
2020-12-22T04:54:52.510Z [hyperiond HYPERION] (INFO) Hyperion instance 'Wled Den instance' has been started
2020-12-22T04:54:48.473Z [hyperiond HYPERION] (INFO) Initial foreground effect 'Rainbow swirl fast' started
2020-12-22T04:54:52.510Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Multithreading for V4L2 is enabled. Available thread's count 4
2020-12-22T04:54:52.511Z [hyperiond HYPERION] (INFO) Hyperion instance 'Hue Den Instance' has been started
2020-12-22T04:54:48.509Z [hyperiond LEDDEVICE] (INFO) Light ID 16 ("Den - Hue Play Left", LED index "0") created
2020-12-22T04:54:48.510Z [hyperiond LEDDEVICE] (INFO) Light ID 17 ("Den - Hue Play Right", LED index "1") created
2020-12-22T04:54:48.533Z [hyperiond FLATBUFSERVER] (INFO) Started on port 19400
2020-12-22T04:54:48.539Z [hyperiond PROTOSERVER] (INFO) Started on port 19445
2020-12-22T04:54:48.641Z [hyperiond WEBSERVER] (INFO) Started on port 8090 name 'Hyperion Webserver'
2020-12-22T04:54:49.086Z [hyperiond LEDDEVICE] (ERROR) Device disabled, device 'philipshue' signals error: '(2) body contains invalid json, Resource:/lights/16/state'
2020-12-22T04:54:49.165Z [hyperiond LEDDEVICE] (ERROR) Device disabled, device 'philipshue' signals error: '(2) body contains invalid json, Resource:/lights/17/state'
2020-12-22T04:54:53.208Z [hyperiond WEBSERVER] (INFO) Started on port 8092 name 'Hyperion Webserver'
2020-12-22T04:56:53.594Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
2020-12-22T04:56:53.595Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Signal threshold set to: {12, 12, 12} and frames: 200
2020-12-22T04:56:53.598Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Stopped
2020-12-22T04:56:53.598Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Multithreading for V4L2 is enabled. Available thread's count 4
2020-12-22T04:56:53.854Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) configured v4l device: /dev/video0
2020-12-22T04:56:53.914Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Started
2020-12-22T04:56:53.924Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Stopped
2020-12-22T04:56:53.925Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Multithreading for V4L2 is enabled. Available thread's count 4
2020-12-22T04:56:53.927Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) configured v4l device: /dev/video0
2020-12-22T04:56:53.976Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Started
2020-12-22T04:56:54.315Z [hyperiond LEDDEVICE] (ERROR) Device disabled, device 'philipshue' signals error: '(2) body contains invalid json, Resource:/lights/16/state'
2020-12-22T04:56:54.352Z [hyperiond LEDDEVICE] (ERROR) Device disabled, device 'philipshue' signals error: '(201) parameter, xy, is not modifiable. Device is set to off., Resource:/lights/16/state/xy'
2020-12-22T04:56:54.385Z [hyperiond LEDDEVICE] (ERROR) Device disabled, device 'philipshue' signals error: '(2) body contains invalid json, Resource:/lights/17/state'
2020-12-22T13:19:14.649Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Multithreading for V4L2 is enabled. Available thread's count 4
2020-12-22T13:19:43.079Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Previous line repeats 1 times
2020-12-22T13:19:43.079Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Stopped
2020-12-22T13:19:43.079Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Multithreading for V4L2 is enabled. Available thread's count 4
2020-12-22T13:19:43.081Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) configured v4l device: /dev/video0
2020-12-22T13:19:43.117Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Started
2020-12-22T13:19:43.118Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Signal detection is now disabled
2020-12-22T13:19:43.118Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
2020-12-22T13:19:43.118Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Signal threshold set to: {12, 12, 12} and frames: 200
2020-12-22T13:19:43.122Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Stopped
2020-12-22T13:19:43.123Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Multithreading for V4L2 is enabled. Available thread's count 4
2020-12-22T13:19:43.124Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) configured v4l device: /dev/video0
2020-12-22T13:19:43.166Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Started
2020-12-22T13:19:43.171Z [hyperiond V4L2:/DEV/VIDEO15] (ERROR) Frame index = 901898, inactive or critical VIDIOC_QBUF error in v4l2 driver. Buf index = 1, worker = 0, is_active = 1.
2020-12-23T01:43:27.300Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Signal detection is now enabled
2020-12-23T01:43:27.302Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
2020-12-23T01:43:27.302Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Signal threshold set to: {12, 12, 12} and frames: 200
2020-12-23T01:43:27.310Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Stopped
2020-12-23T01:43:27.310Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Multithreading for V4L2 is enabled. Available thread's count 4
2020-12-23T01:43:27.313Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) configured v4l device: /dev/video0
2020-12-23T01:43:27.490Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Started
2020-12-23T01:43:47.897Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Signal detection is now disabled
2020-12-23T01:43:47.897Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
2020-12-23T01:43:47.897Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Signal threshold set to: {12, 12, 12} and frames: 200
2020-12-23T01:43:47.929Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Stopped
2020-12-23T01:43:47.930Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Multithreading for V4L2 is enabled. Available thread's count 4
2020-12-23T01:43:47.931Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) configured v4l device: /dev/video0
2020-12-23T01:43:48.069Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Started
2020-12-23T01:43:48.069Z [hyperiond V4L2:/DEV/VIDEO15] (ERROR) Frame index = 2241654, inactive or critical VIDIOC_QBUF error in v4l2 driver. Buf index = 1, worker = 1, is_active = 1.
2020-12-23T01:44:05.180Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Signal detection is now enabled
2020-12-23T01:44:05.181Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
2020-12-23T01:44:05.181Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Signal threshold set to: {12, 12, 12} and frames: 200
2020-12-23T01:44:05.187Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Stopped
2020-12-23T01:44:05.187Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Multithreading for V4L2 is enabled. Available thread's count 4
2020-12-23T01:44:05.189Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) configured v4l device: /dev/video0
2020-12-23T01:44:05.231Z [hyperiond V4L2:/DEV/VIDEO15] (INFO) Started
2020-12-23T01:44:05.255Z [hyperiond V4L2:/DEV/VIDEO15] (ERROR) Frame index = 2242164, inactive or critical VIDIOC_QBUF error in v4l2 driver. Buf index = 1, worker = 0, is_active = 1.
2020-12-23T22:56:37.828Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:204:sendClose()) send close: 1000
2020-12-23T22:56:38.459Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.1.33
2020-12-23T22:56:38.461Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:85:handleInstanceSwitch()) Client '::ffff:192.168.1.33' switch to Hyperion instance 0
2020-12-23T22:56:39.633Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:251:setInputImage()) Priority 230 is now inactive
2020-12-23T22:56:39.634Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 255
2020-12-23T22:56:40.265Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:251:setInputImage()) Priority 230 is now active
2020-12-23T22:56:40.265Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 230
2020-12-23T22:56:40.546Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1087:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.1.33

Steps to reproduce

Have a video with a white backgroud

What is expected?

Lights should be white

What is actually happening?

IMG_20201223_155253.jpg

System

Hyperion Server: - Build: (HEAD detached at 877073f) (GitHub-d058b91/877073f-1606860086) - Build time: Dec 1 2020 23:05:27 - Git Remote: https://github.com/awawa-dev/HyperHDR - Version: 12.1.0.0 - UI Lang: auto (BrowserLang: en-US) - UI Access: default - Avail Capt: v4l2 - Database: read/write Hyperion Server OS: - Distribution: HyperBian GNU/Linux 10 (buster) - Architecture: arm - CPU Model: ARMv7 Processor rev 3 (v7l) - CPU Type: Raspberry Pi 4 Model B Rev 1.2 - CPU Revision: c03112 - CPU Hardware: BCM2711 - Kernel: linux (5.4.72-v7l+ (WS: 32)) - Qt Version: 5.11.3 - Python Version: 3.7.3 - Browser: Mozilla/5.0 (

Smoother brighness steps at low intensity

Feature request

What problem does this feature solve?

With slow fades to and from black the brightness steps of the LEDs (SK6812RGBW in my case) are noticeable at low intensities. I suspect this is just the way it is with 8bits of available (linear?) precision.
As I have a decent density 60 LED/m strip would it be possible to "interpolate" brigthness at low intensity by coupling, say 2 or 3, neighboring LEDs together to further subdivide the brightness steps and smoothen the output?

What does the proposed API look like?

Unfortunately I don't consider myself knowledgeable enough to comment on that.

How should this be implemented in your opinion?

See above. Ideally I would hope for a section in the image processing configuration page, where I get to set the LED group size and/or desired number of additional available steps.

Are you willing to work on this yourself?

Willing? Absolutely. Unfortunately I have no experience in computer image processing and thus wouldn't even know where to start...

In any case, thanks for all the efforts! My sk6812rgbw ambilight turned out pretty sick!

HyperHDR crashes after setting up adalight as LED controller

Steps to reproduce

Flash HyperSerialEsp8266.ino.d1_mini_WS821x_FIRSTLED_DISABLED.bin to ESP8266 CH340G
Open HyperHDR webUI
Setup LED Hardware:

  • Controller Type: adalight
  • Output path: /dev/ttyUSB0
  • Baudrate: 2000000
  • High speed serial AWA protocol with data integrity check : true

Hit save settings

What is expected?

HyperHDR running

What is actually happening?

As soon as the settings is saved, HyperHDR crashes and restarts and crashes again, and this just goes on forever.

The following are the logs from hyperhdr -d

hyperhdr -d
GUI application
2021-10-10T22:09:28.049 MAIN                   : <INFO> Database path: '/home/pi/.hyperhdr/db/hyperhdr.db', readonlyMode = disabled
2021-10-10T22:09:28.049 MAIN                   : <INFO> Starting HyperHdr - 17.0.0.0, (HEAD detached at dec81c0) (Awawa-2a2ed8d/dec81c0-1631541363), built: Sep 15 2021:17:02:39
2021-10-10T22:09:28.049 MAIN                   : <DEBUG> main.cpp:360:main() | QtVersion [5.11.3]
2021-10-10T22:09:28.050 MAIN                   : <INFO> Set user data path to '/home/pi/.hyperhdr'
2021-10-10T22:09:28.055 DB                     : <INFO> Database opened: /home/pi/.hyperhdr/db/hyperhdr.db
2021-10-10T22:09:28.157 SETTINGSMGR            : <INFO> Settings database initialized
2021-10-10T22:09:28.157 HYPERHDR               : <INFO> Sound device is disabled
2021-10-10T22:09:28.198 V4L2:USB VIDEO: USB    : <INFO> Cropping image: width=0 height=0; crop: left=0 right=0 top=0 bottom=0
2021-10-10T22:09:28.199 V4L2:USB VIDEO: USB    : <INFO> Found capture device: /dev/video14
2021-10-10T22:09:28.200 V4L2:USB VIDEO: USB    : <INFO> Found capture device: /dev/video15
2021-10-10T22:09:28.201 V4L2:USB VIDEO: USB    : <INFO> Restarting video grabber is now blocked due to reloading of the configuration
2021-10-10T22:09:28.201 V4L2:USB Video: USB    : <DEBUG> GrabberWrapper.cpp:415:handleSettingsUpdate() | Auto resume is: enabled
2021-10-10T22:09:28.201 V4L2:USB VIDEO: USB    : <INFO> Cropping image: width=0 height=0; crop: left=0 right=0 top=0 bottom=0
2021-10-10T22:09:28.201 V4L2:USB Video: USB    : <DEBUG> GrabberWrapper.cpp:42:setCecStartStop() | CEC keycode. Start: 0, stop: 0
2021-10-10T22:09:28.201 V4L2:USB VIDEO: USB    : <DEBUG> Grabber.cpp:117:trySetWidthHeight() | Set new width: 640, height: 480 for capture
2021-10-10T22:09:28.201 V4L2:USB VIDEO: USB    : <DEBUG> Grabber.cpp:262:setWidthHeight() | setWidthHeight preparing to restarting video grabber 0
2021-10-10T22:09:28.201 V4L2:USB VIDEO: USB    : <INFO> Delayed restart of the grabber due to change of the capturing resolution
2021-10-10T22:09:28.202 V4L2:USB VIDEO: USB    : <INFO> Delayed restart of the grabber due to change of the framerate
2021-10-10T22:09:28.202 V4L2:USB VIDEO: USB    : <DEBUG> Grabber.cpp:186:setBrightnessContrastSaturationHue() | Set brightness to -11, contrast to 148, saturation to 180, hue to 0
2021-10-10T22:09:28.202 V4L2:USB VIDEO: USB    : <INFO> Delayed restart of the grabber due to change of the Brightness/Contrast/Saturation/Hue
2021-10-10T22:09:28.202 V4L2:USB VIDEO: USB    : <DEBUG> V4L2Grabber.cpp:98:setHdrToneMappingEnabled() | setHdrToneMappingMode to: Disabled
2021-10-10T22:09:28.202 V4L2:USB VIDEO: USB    : <DEBUG> Grabber.cpp:140:setFpsSoftwareDecimation() | setFpsSoftwareDecimation to: 1
2021-10-10T22:09:28.202 SIGNAL_OLD             : <DEBUG> DetectionManual.cpp:85:setSignalDetectionOffset() | Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
2021-10-10T22:09:28.202 SIGNAL_OLD             : <DEBUG> DetectionManual.cpp:75:setSignalThreshold() | Signal threshold set to: {12, 12, 12} and frames: 200
2021-10-10T22:09:28.202 V4L2:USB VIDEO: USB    : <INFO> Automatic signal detection is now enabled
2021-10-10T22:09:28.202 SIGNAL_AUTO            : <DEBUG> DetectionAutomatic.cpp:368:setAutoSignalParams() | Automatic signal detection -> errorTolerance: 9, modelTolerance: 90, sleepTime: 5000, wakeTime: 1000
2021-10-10T22:09:28.203 V4L2:USB VIDEO: USB    : <DEBUG> Grabber.cpp:307:setDeviceVideoStandard() | setDeviceVideoStandard preparing to restart video grabber. Old: '' new: 'USB Video: USB Video (video0)'
2021-10-10T22:09:28.203 V4L2:USB VIDEO: USB    : <INFO> Delayed restart of the grabber due to change of selected device
2021-10-10T22:09:28.203 V4L2:USB VIDEO: USB    : <DEBUG> Grabber.cpp:158:setEncoding() | Force encoding to: yuyv (old: NO_CHANGE)
2021-10-10T22:09:28.203 V4L2:USB VIDEO: USB    : <INFO> Delayed restart of the grabber due to change of the video encoding format
2021-10-10T22:09:28.203 V4L2:USB VIDEO: USB    : <INFO> setQFrameDecimation is now: enabled
2021-10-10T22:09:28.209 X11_SYSTEM:AUTO        : <INFO> Cropping image: width=0 height=0; crop: left=0 right=0 top=0 bottom=0
2021-10-10T22:09:28.209 X11_SYSTEM:AUTO        : <INFO> Loaded X11 proxy library for screen capturing
2021-10-10T22:09:28.210 X11_SYSTEM:AUTO        : <INFO> Restarting video grabber is now blocked due to reloading of the configuration
2021-10-10T22:09:28.210 X11_SYSTEM:AUTO        : <DEBUG> Grabber.cpp:117:trySetWidthHeight() | Set new width: 512, height: 512 for capture
2021-10-10T22:09:28.210 X11_SYSTEM:AUTO        : <DEBUG> Grabber.cpp:262:setWidthHeight() | setWidthHeight preparing to restarting video grabber 0
2021-10-10T22:09:28.210 X11_SYSTEM:AUTO        : <INFO> Delayed restart of the grabber due to change of the capturing resolution
2021-10-10T22:09:28.210 X11_SYSTEM:AUTO        : <INFO> Delayed restart of the grabber due to change of the framerate
2021-10-10T22:09:28.210 SIGNAL_OLD             : <DEBUG> DetectionManual.cpp:85:setSignalDetectionOffset() | Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
2021-10-10T22:09:28.210 SIGNAL_OLD             : <DEBUG> DetectionManual.cpp:75:setSignalThreshold() | Signal threshold set to: {12, 12, 12} and frames: 200
2021-10-10T22:09:28.210 X11_SYSTEM:AUTO        : <DEBUG> Grabber.cpp:307:setDeviceVideoStandard() | setDeviceVideoStandard preparing to restart video grabber. Old: '' new: 'auto'
2021-10-10T22:09:28.211 X11_SYSTEM:AUTO        : <INFO> Delayed restart of the grabber due to change of selected device
2021-10-10T22:09:28.281 SETTINGSMGR            : <INFO> Settings database initialized
2021-10-10T22:09:28.284 BLACKBORDER            : <INFO> Set mode to: default
2021-10-10T22:09:28.284 COMPONENTREG0          : <INFO> Blackborder detector: enabled
2021-10-10T22:09:28.284 IMAGETOLED0            : <DEBUG> ImageProcessor.cpp:136:setSparseProcessing() | setSparseProcessing to 0
2021-10-10T22:09:28.285 RGB_TRANSFORM0         : <INFO> RGB transform classic_config: 1, saturationGain: 1.000000, luminanceGain: 1.000000, backlightThreshold: 0
2021-10-10T22:09:28.286 ADJUST_RED0            : <INFO> Set correction to 255
2021-10-10T22:09:28.286 ADJUST_BLUE0           : <INFO> Set correction to 255
2021-10-10T22:09:28.286 ADJUST_GREEN0          : <INFO> Set correction to 255
2021-10-10T22:09:28.288 DB                     : <INFO> Database opened: /home/pi/.hyperhdr/db/hyperhdr.db
2021-10-10T22:09:28.300 JSONSERVER             : <DEBUG> JsonServer.cpp:28:JsonServer() | Created instance
2021-10-10T22:09:28.300 JSONSERVER             : <INFO> Started on port 19444
2021-10-10T22:09:28.307 FLATBUFSERVER          : <INFO> Started on port 19400
2021-10-10T22:09:28.310 COMPONENTREG0          : <INFO> Smoothing: enabled
2021-10-10T22:09:28.310 SMOOTHING0             : <INFO> Creating config (0) => type: Linear, dirMode: false, pause: false, settlingTime: 200ms, interval: 40ms (25Hz), antiFlickTres: 0, antiFlickStep: 0, antiFlickTime: 0
2021-10-10T22:09:28.310 SMOOTHING0             : <INFO> Selecting config (0) => type: Linear, dirMode: false, pause: false, settlingTime: 200ms, interval: 40ms (25Hz), antiFlickTres: 0, antiFlickStep: 0, antiFlickTime: 0
2021-10-10T22:09:28.310 SMOOTHING0             : <INFO> Selecting config (0) => type: Linear, dirMode: false, pause: false, settlingTime: 200ms, interval: 40ms (25Hz), antiFlickTres: 0, antiFlickStep: 0, antiFlickTime: 0
2021-10-10T22:09:28.311 FLATBUFCONN            : <INFO> Connecting to HyperHDR: 127.0.0.1:19401
2021-10-10T22:09:28.313 MUXER0                 : <INFO> Register new input 'System/COLOR' with priority 254 as inactive
2021-10-10T22:09:28.313 MUXER0                 : <DEBUG> PriorityMuxer.cpp:211:setInput() | Priority 254 is now active
2021-10-10T22:09:28.313 MUXER0                 : <INFO> Set visible priority to 254
2021-10-10T22:09:28.313 HYPERHDR0              : <INFO> New priority[254], previous [255]
2021-10-10T22:09:28.313 HYPERHDR0              : <INFO> New source available -> switch LED-Device on
2021-10-10T22:09:28.313 IMAGETOLED0            : <DEBUG> ImageProcessor.cpp:180:setHardLedMappingType() | set hard led mapping to multicolor_mean
2021-10-10T22:09:28.314 HYPERHDR               : <INFO> Initial background color set (136 4 41)
2021-10-10T22:09:28.314 MUXER0                 : <INFO> Register new input 'System/VIDEOGRABBER' with priority 240 as inactive
2021-10-10T22:09:28.314 COMPONENTREG0          : <INFO> Video capture device: enabled
2021-10-10T22:09:28.314 V4L2:USB VIDEO: USB    : <INFO> Multithreading for V4L2 is enabled. Available thread's count 4
2021-10-10T22:09:28.315 V4L2:USB VIDEO: USB    : <INFO> Found capture device: /dev/video14
2021-10-10T22:09:28.315 BOBLIGHT               : <INFO> Instance created
2021-10-10T22:09:28.316 V4L2:USB VIDEO: USB    : <INFO> Found capture device: /dev/video15
2021-10-10T22:09:28.316 PROTOSERVER            : <INFO> Started on port 19445
2021-10-10T22:09:28.316 WEBSERVER              : <INFO> Initialize Webserver
2021-10-10T22:09:28.316 V4L2:USB VIDEO: USB    : <DEBUG> V4L2Grabber.cpp:158:init() | Device USB Video: USB Video (video0) is not available. Changing to auto.
2021-10-10T22:09:28.317 V4L2:USB VIDEO: USB    : <DEBUG> V4L2Grabber.cpp:165:init() | Forcing auto discovery device
2021-10-10T22:09:28.317 V4L2:USB VIDEO: USB    : <ERROR> Could not find any capture device
2021-10-10T22:09:28.317 HYPERMANAGER           : <INFO> HyperHDR instance 'TV Ambient Light' has been started
2021-10-10T22:09:28.317 DAEMON                 : <INFO> Unload CEC
2021-10-10T22:09:28.318 WEBSERVER              : <INFO> Initialize Webserver
2021-10-10T22:09:28.318 LEDDEVICE              : <INFO> Start LedDevice 'ws281x'.
2021-10-10T22:09:28.319 LEDDEVICE              : <DEBUG> LedDevice.cpp:149:init() | deviceConfig: [{"colorOrder":"rgb","currentLedCount":166,"dma":5,"gpio":18,"hardwareLedCount":166,"invert":false,"latchTime":0,"leds":256,"pwmchannel":0,"rewriteTime":1000,"rgbw":false,"type":"ws281x","whiteAlgorithm":"subtract_minimum"}]
2021-10-10T22:09:28.319 LEDDEVICE              : <DEBUG> LedDevice.cpp:408:setLatchTime() | LatchTime updated to 0ms
2021-10-10T22:09:28.319 LEDDEVICE              : <DEBUG> LedDevice.cpp:429:setRewriteTime() | Refresh interval = 1000ms
2021-10-10T22:09:28.319 LEDDEVICE              : <DEBUG> LedDevice.cpp:435:setRewriteTime() | RewriteTime updated to 1000ms
2021-10-10T22:09:28.320 LEDDEVICE              : <DEBUG> LedDeviceWS281x.cpp:59:init() | ws281x strip type : 1050624
Can't open /dev/mem: Permission denied
2021-10-10T22:09:28.320 LEDDEVICE              : <ERROR> Device disabled, device 'ws281x' signals error: 'Failed to open. Error message: mmap() failed'
2021-10-10T22:09:28.333 WEBSERVER              : <INFO> Apply Webserver settings
2021-10-10T22:09:28.333 WEBSERVER              : <INFO> Apply Webserver settings
2021-10-10T22:09:28.334 WEBSERVER              : <INFO> Set document root to: :/webconfig
2021-10-10T22:09:28.334 WEBSERVER              : <INFO> Set document root to: :/webconfig
2021-10-10T22:09:28.334 WEBSERVER              : <INFO> Started on port 8090 name 'HyperHDR Webserver'
2021-10-10T22:09:28.337 WEBSERVER              : <INFO> Setup SSL certificate
2021-10-10T22:09:28.338 WEBSERVER              : <INFO> Setup private SSL key
2021-10-10T22:09:28.338 WEBSERVER              : <INFO> Started on port 8092 name 'HyperHDR Webserver'
2021-10-10T22:09:30.813 WEBSOCKET              : <DEBUG> WebSocketClient.cpp:30:WebSocketClient() | New connection from ::ffff:192.168.0.10
2021-10-10T22:09:30.814 WEBSOCKET              : <DEBUG> JsonAPI.cpp:89:handleInstanceSwitch() | Client '::ffff:192.168.0.10' switch to HyperHDR instance 0
2021-10-10T22:09:31.942 WEBSOCKET              : <DEBUG> WebSocketClient.cpp:30:WebSocketClient() | New connection from ::ffff:192.168.0.10
2021-10-10T22:09:31.942 WEBSOCKET              : <DEBUG> JsonAPI.cpp:89:handleInstanceSwitch() | Client '::ffff:192.168.0.10' switch to HyperHDR instance 0
2021-10-10T22:09:33.029 WEBSOCKET              : <DEBUG> WebSocketClient.cpp:30:WebSocketClient() | New connection from ::ffff:192.168.0.10
2021-10-10T22:09:33.030 WEBSOCKET              : <DEBUG> JsonAPI.cpp:89:handleInstanceSwitch() | Client '::ffff:192.168.0.10' switch to HyperHDR instance 0
2021-10-10T22:09:36.036 DB                     : <INFO> Database opened: /home/pi/.hyperhdr/db/hyperhdr.db
2021-10-10T22:09:54.139 LEDDEVICE              : <INFO>  Stopped LedDevice 'ws281x'
2021-10-10T22:09:54.140 LEDDEVICE              : <INFO> Start LedDevice 'adalight'.
2021-10-10T22:09:54.140 LEDDEVICE              : <DEBUG> LedDevice.cpp:149:init() | deviceConfig: [{"awa_mode":true,"colorOrder":"rgb","currentLedCount":166,"delayAfterConnect":0,"hardwareLedCount":166,"latchTime":15,"output":"ttyUSB0","rate":2000000,"rewriteTime":1000,"type":"adalight"}]
2021-10-10T22:09:54.140 LEDDEVICE              : <DEBUG> LedDevice.cpp:408:setLatchTime() | LatchTime updated to 15ms
2021-10-10T22:09:54.140 LEDDEVICE              : <DEBUG> LedDevice.cpp:429:setRewriteTime() | Refresh interval = 1000ms
2021-10-10T22:09:54.140 LEDDEVICE              : <DEBUG> LedDevice.cpp:435:setRewriteTime() | RewriteTime updated to 1000ms
2021-10-10T22:09:54.141 LEDDEVICE              : <DEBUG> ProviderRs232.cpp:36:init() | DeviceType   : adalight
2021-10-10T22:09:54.141 LEDDEVICE              : <DEBUG> ProviderRs232.cpp:37:init() | LedCount     : 166
2021-10-10T22:09:54.141 LEDDEVICE              : <DEBUG> ProviderRs232.cpp:38:init() | ColorOrder   : rgb
2021-10-10T22:09:54.141 LEDDEVICE              : <DEBUG> ProviderRs232.cpp:39:init() | RefreshTime  : 1000
2021-10-10T22:09:54.141 LEDDEVICE              : <DEBUG> ProviderRs232.cpp:40:init() | LatchTime    : 15
2021-10-10T22:09:54.141 LEDDEVICE              : <DEBUG> ProviderRs232.cpp:52:init() | deviceName   : ttyUSB0
2021-10-10T22:09:54.141 LEDDEVICE              : <DEBUG> ProviderRs232.cpp:53:init() | AutoDevice   : 0
2021-10-10T22:09:54.141 LEDDEVICE              : <DEBUG> ProviderRs232.cpp:54:init() | baudRate_Hz  : 2000000
2021-10-10T22:09:54.141 LEDDEVICE              : <DEBUG> ProviderRs232.cpp:55:init() | delayAfCon ms: 0
2021-10-10T22:09:54.141 LEDDEVICE              : <DEBUG> LedDeviceAdalight.cpp:64:CreateHeader() | Adalight driver with activated high speeed & data integration check AWA protocol
2021-10-10T22:09:54.142 LEDDEVICE              : <DEBUG> LedDeviceAdalight.cpp:74:CreateHeader() | Adalight header for 166 leds: Awa 0x00 0xa5 0xf0
2021-10-10T22:09:54.142 LEDDEVICE              : <INFO> Opening UART: ttyUSB0
2021-10-10T22:09:54.142 LEDDEVICE              : <DEBUG> ProviderRs232.cpp:141:tryOpen() | _rs232Port.open(QIODevice::ReadWrite): ttyUSB0, Baud rate [2000000]bps
2021-10-10T22:09:54.184 LEDDEVICE              : <DEBUG> ProviderRs232.cpp:146:tryOpen() | portName:          ttyUSB0
2021-10-10T22:09:54.184 LEDDEVICE              : <DEBUG> ProviderRs232.cpp:147:tryOpen() | systemLocation:    /dev/ttyUSB0
2021-10-10T22:09:54.184 LEDDEVICE              : <DEBUG> ProviderRs232.cpp:148:tryOpen() | description:       USB2.0-Ser
2021-10-10T22:09:54.184 LEDDEVICE              : <DEBUG> ProviderRs232.cpp:149:tryOpen() | manufacturer:      1a86
2021-10-10T22:09:54.184 LEDDEVICE              : <DEBUG> ProviderRs232.cpp:150:tryOpen() | productIdentifier: 0x7523
2021-10-10T22:09:54.185 LEDDEVICE              : <DEBUG> ProviderRs232.cpp:151:tryOpen() | vendorIdentifier:  0x1a86
2021-10-10T22:09:54.185 LEDDEVICE              : <DEBUG> ProviderRs232.cpp:152:tryOpen() | serialNumber:
2021-10-10T22:09:54.192 COMPONENTREG0          : <INFO> LED device: enabled
2021-10-10T22:09:54.192 SMOOTHING0             : <INFO> Using linear smoothing input (0)
2021-10-10T22:09:54.192 SMOOTHING0             : <INFO> Enabling timer. Now timer is active: 1, remaining time to run: 40
2021-10-10T22:09:54.232 SMOOTHING0             : <INFO> Using linear smoothing procedure (0)
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc

HyperHDR caught signal :SIGABRT
2021-10-10T22:09:59.494 CORE                   : <ERROR> 	/lib/arm-linux-gnueabihf/libc.so.6(__default_rt_sa_restorer+0) [0xb593c120]
Aborted

System

HyperHDR Server:

  • Build: (HEAD detached at dec81c0) (Awawa-2a2ed8d/dec81c0-1631541363)
  • Build time: Sep 15 2021 16:23:59
  • Git Remote: https://github.com/awawa-dev/HyperHDR
  • Version: 17.0.0.0
  • UI Lang: auto (BrowserLang: en-CA)
  • UI Access: expert
  • Avail Capt: Linux (V4L2)
  • Database: read/write

HyperHDR Server OS:

  • Distribution: Raspbian GNU/Linux 10 (buster)
  • Architecture: arm
  • CPU Model: ARMv7 Processor rev 3 (v7l)
  • CPU Type: Raspberry Pi 4 Model B Rev 1.4
  • CPU Revision: d03114
  • CPU Hardware: BCM2711
  • Kernel: linux (5.10.63-v7l+ (WS: 32))
  • Qt Version: 5.11.3
  • Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:93.0) Gecko/20100101 Firefox/93.0

Not working on RPI2 on latest Raspberry OS

Hi!

I did a fresh installation of Raspberry OS 32bit
and directly installed
HyperHDR-15.0.0.0-Linux-armv7l.deb

All went flawless, but it doest work.

`pi@raspberrypi:~ $ sudo apt install ./HyperHDR-15.0.0.0-Linux-armv7l.deb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'hyperhdr' instead of './HyperHDR-15.0.0.0-Linux-armv7l.deb'
The following NEW packages will be installed:
  hyperhdr
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/30.7 MB of archives.
After this operation, 143 MB of additional disk space will be used.
Get:1 /home/pi/HyperHDR-15.0.0.0-Linux-armv7l.deb hyperhdr armhf 15.0.0 [30.7 MB]
Selecting previously unselected package hyperhdr.
(Reading database ... 40365 files and directories currently installed.)
Preparing to unpack .../HyperHDR-15.0.0.0-Linux-armv7l.deb ...
---HyperHdr ambient light preinst ---
Unpacking hyperhdr (15.0.0) ...
Setting up hyperhdr (15.0.0) ...
---Hyperhdr ambient light postinstall ---
Extracting LUT table...
removed '/usr/share/hyperhdr/lut/lut_lin_tables.tar.xz'
---> init deamon: systemd (service is enabled by default)
Created symlink /etc/systemd/system/multi-user.target.wants/[email protected] → /etc/systemd/system/[email protected].
---> Install HyperHdr desktop icons
---> Raspberry Pi found, but SPI is not set, we write "dtparam=spi=on" to /boot/config.txt
--> systemctl start hyperhdr for user pi
-----------------------------------------------------------------------------
---> HyperHDR has been installed/updated!
---> Please check log above to verify if the service was automaticly enabled
---> HyperHdr has been installed as service, it will start on each system startup
---> For configuration, visit with your browser: 192.168.0.251:8090
---> or if already used by another service try: 192.168.0.251:8091
Please reboot your Raspberry Pi, we inserted dtparam=spi=on to /boot/config.txt
-----------------------------------------------------------------------------
Webpage: https://github.com/awawa-dev/HyperHDR
-----------------------------------------------------------------------------`

All I get is:

pi@raspberrypi:~ $ /usr/bin/hyperhdr -d
Illegal instruction
pi@raspberrypi:~ $

Nothing else

pi@raspberrypi:~ $ sudo systemctl status [email protected][email protected] - HyperHdr ambient light systemd service  for user pi
   Loaded: loaded (/etc/systemd/system/[email protected]; enabled; vendor preset: enabled)
   Active: activating (auto-restart) (Result: signal) since Sat 2021-03-13 13:18:39 GMT; 1s ago
  Process: 653 ExecStart=/usr/bin/hyperhdr (code=killed, signal=ILL)
 Main PID: 653 (code=killed, signal=ILL)
pi@raspberrypi:~ $ journalctl -u [email protected] -b
-- Logs begin at Sat 2021-03-13 13:13:25 GMT, end at Sat 2021-03-13 13:20:25 GMT. --
Mar 13 13:13:38 raspberrypi systemd[1]: Started HyperHdr ambient light systemd service  for user pi.
Mar 13 13:13:39 raspberrypi systemd[1]: [email protected]: Main process exited, code=killed, status=4/ILL
Mar 13 13:13:39 raspberrypi systemd[1]: [email protected]: Failed with result 'signal'.
Mar 13 13:13:41 raspberrypi systemd[1]: [email protected]: Service RestartSec=2s expired, scheduling restart.
Mar 13 13:13:41 raspberrypi systemd[1]: [email protected]: Scheduled restart job, restart counter is at 1.
Mar 13 13:13:41 raspberrypi systemd[1]: Stopped HyperHdr ambient light systemd service  for user pi.

What could it be???

Thanks

URBANsUNITED

Failed to update record: 'WHERE user=?'

Full LOG:
https://pastebin.com/LQVzhQun
Config JSON:
https://pastebin.com/CEvxHGrS

Bug report, debug log and your config file (FULL LOGS ARE MANDATORY)

i was trying to turn on "Automatic signal detection" and after that i only get Error Pop-ups when im saving any settings.
On the next day i was trying to update my WebUI password and now the log keeps saying 'auth' Error.

Steps to reproduce

  • Turn "Automatic signal detection" on
  • Click Save
  • next day: try to update default WebUI password

What is expected?

  • Saving settings
  • chaning password

What is actually happening?

Pop-up: "ERROR
Save settings failed"

System

HyperHDR Server:

  • Build: (HEAD detached at dec81c0) (Awawa-2a2ed8d/dec81c0-1631541363)
  • Build time: Sep 15 2021 16:23:59
  • Git Remote: https://github.com/awawa-dev/HyperHDR
  • Version: 17.0.0.0
  • UI Lang: en (BrowserLang: de-DE)
  • UI Access: expert
  • Avail Capt: Linux (V4L2)
  • Database: read/write

HyperHDR Server OS:

  • Distribution: Raspbian GNU/Linux 11 (bullseye)
  • Architecture: arm
  • CPU Model: ARMv7 Processor rev 4 (v7l)
  • CPU Type: Raspberry Pi 3 Model B Rev 1.2
  • CPU Revision: a02082
  • CPU Hardware: BCM2835
  • Kernel: linux (5.10.63-v7+ (WS: 32))
  • Qt Version: 5.11.3
  • Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.114 Safari/537.36

Error compile OS X

Bug report, debug log and your config file (optional but could be very helpful)

error:
'toIndex' is a private member of 'ImageData'
return _d_ptr->toIndex(x, y);

Steps to reproduce

Im using the same instructions to compile Hyperionng downloading all dependencies with brew.

What is expected?

If I compile hyperiong it works when I try to compile HyperionHDR failed

What is actually happening?

error:
'toIndex' is a private member of 'ImageData'
return _d_ptr->toIndex(x, y);

System

Crash - SIGABRT: malloc_consolidate(): invalid chunk size

Today my Ambilight didn't work for first time in weeks. Webinterface of HyperHDR was unreachable so couldn't get to any logs. This is all I could find:

[email protected] - Hyperion ambient light systemd service  for user pi
   Loaded: loaded (/etc/systemd/system/[email protected]; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2020-12-29 18:33:25 CET; 1 weeks 0 days ago
 Main PID: 13262 (hyperiond)
    Tasks: 16 (limit: 4915)
   CGroup: /system.slice/system-hyperiond.slice/[email protected]
           └─13262 /usr/bin/hyperiond

Jan 05 13:17:54 pi4 hyperiond[13262]: malloc_consolidate(): invalid chunk size
Jan 05 13:17:54 pi4 hyperiond[13262]: Hyperion caught signal :SIGABRT

It seems to work fine again after restart.

Hardware

Pi4 4Gb running latest Raspberry OS
HyperHDR v14.0.0.0
WLED Controller Type
USB HDMI Grabber

System

HyperHDR Server:

  • Build: (HEAD detached at d35314e) (GitHub-9795cc8/d35314e-1608750238)
  • Build time: Dec 23 2020 20:19:43
  • Git Remote: https://github.com/awawa-dev/HyperHDR
  • Version: 14.0.0.0
  • UI Lang: auto (BrowserLang: en-GB)
  • UI Access: expert
  • Avail Capt: v4l2
  • Database: read/write

HyperHDR Server OS:

  • Distribution: Raspbian GNU/Linux 10 (buster)
  • Architecture: arm
  • CPU Model: ARMv7 Processor rev 3 (v7l)
  • CPU Type: Raspberry Pi 4 Model B Rev 1.2
  • CPU Revision: c03112
  • CPU Hardware: BCM2711
  • Kernel: linux (5.4.79-v7l+ (WS: 32))
  • Qt Version: 5.11.3
  • Python Version: 3.7.3
  • Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.101 Safari/537.36

HyperHDR not working with HDMI-HDMI cable

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)

brightness does not control the light

Bug report, debug log and your config file (optional but could be very helpful)

Steps to reproduce

from the web configuration -> remote control -> color adjustment -> brightness

What is expected?

the brightness should change while changing this property

What is actually happening?

the numbers change, but nothing is happening with the leds (also tried sending from Home assistant that controls the brightness with this property)

System

HyperHDR Server:

  • Build: (HEAD detached at d35314e) (GitHub-9795cc8/d35314e-1608750238)
  • Build time: Dec 23 2020 20:19:43
  • Git Remote: https://github.com/awawa-dev/HyperHDR
  • Version: 14.0.0.0
  • UI Lang: auto (BrowserLang: en-US)
  • UI Access: expert
  • Avail Capt: v4l2
  • Database: read/write

HyperHDR Server OS:

  • Distribution: Raspbian GNU/Linux 10 (buster)
  • Architecture: arm
  • CPU Model: ARMv7 Processor rev 4 (v7l)
  • CPU Type: Raspberry Pi 3 Model B Rev 1.2
  • CPU Revision: a02082
  • CPU Hardware: BCM2835
  • Kernel: linux (5.4.79-v7+ (WS: 32))
  • Qt Version: 5.11.3
  • Python Version: 3.7.3
  • Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_1_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36

malloc() issue

Bug report, debug log and your config file (FULL LOGS ARE MANDATORY)

Steps to reproduce

Turn off the source and after a period of time HyperHDR crashes due to SIGABRT

What is expected?

No crashes or exceptions in HyperHDR

What is actually happening?

HyperHDR crashes and becomes unresponsive until the container is restarted

2021-11-03T12:31:13.744 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.01,15)
2021-11-03T12:32:13.749 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.01,15)
2021-11-03T12:33:13.753 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.00, av. delay: 3ms, good: 7140, bad: 0 (60.00,15)
2021-11-03T12:34:13.757 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.00, av. delay: 3ms, good: 7140, bad: 0 (60.01,15)
2021-11-03T12:35:13.764 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.01,15)
2021-11-03T12:36:13.769 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.01,15)
2021-11-03T12:37:13.775 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.03, av. delay: 3ms, good: 7142, bad: 0 (60.01,15)
2021-11-03T12:38:13.781 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.03, av. delay: 3ms, good: 7142, bad: 0 (60.01,15)
2021-11-03T12:39:13.783 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.05, av. delay: 3ms, good: 7143, bad: 0 (60.00,15)
2021-11-03T12:40:13.787 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.00,15)
2021-11-03T12:41:13.791 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.00, av. delay: 3ms, good: 7140, bad: 0 (60.00,15)
2021-11-03T12:42:13.795 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 118.98, av. delay: 3ms, good: 7139, bad: 0 (60.00,15)
2021-11-03T12:43:13.796 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.03, av. delay: 3ms, good: 7142, bad: 0 (60.00,15)
2021-11-03T12:44:13.798 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 118.98, av. delay: 3ms, good: 7139, bad: 0 (60.00,15)
2021-11-03T12:45:13.798 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.05, av. delay: 3ms, good: 7143, bad: 0 (60.00,15)
2021-11-03T12:46:13.801 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.00,15)
2021-11-03T12:47:13.801 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.00, av. delay: 3ms, good: 7140, bad: 0 (60.00,15)
2021-11-03T12:48:13.806 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 118.97, av. delay: 3ms, good: 7138, bad: 0 (60.01,15)
2021-11-03T12:49:13.811 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.01,15)
2021-11-03T12:50:13.811 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.00,15)
2021-11-03T12:51:13.812 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.00, av. delay: 3ms, good: 7140, bad: 0 (60.00,15)
2021-11-03T12:52:13.814 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.00,15)
2021-11-03T12:53:13.822 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.03, av. delay: 3ms, good: 7142, bad: 0 (60.01,15)
2021-11-03T12:54:13.828 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.03, av. delay: 3ms, good: 7142, bad: 0 (60.01,15)
2021-11-03T12:55:13.833 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.01,15)
2021-11-03T12:56:13.837 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.03, av. delay: 3ms, good: 7142, bad: 0 (60.00,15)
2021-11-03T12:57:13.843 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.01,15)
2021-11-03T12:58:13.845 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.00,15)
2021-11-03T12:59:13.852 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.01,15)
2021-11-03T13:00:13.854 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.00,15)
2021-11-03T13:01:13.855 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.00,15)
2021-11-03T13:02:13.859 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.03, av. delay: 3ms, good: 7142, bad: 0 (60.00,15)
2021-11-03T13:03:13.867 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.03, av. delay: 3ms, good: 7142, bad: 0 (60.01,15)
2021-11-03T13:04:13.875 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.00, av. delay: 3ms, good: 7140, bad: 0 (60.01,15)
2021-11-03T13:05:13.877 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.00,15)
2021-11-03T13:06:13.879 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.00, av. delay: 3ms, good: 7140, bad: 0 (60.00,15)
2021-11-03T13:07:13.882 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.03, av. delay: 3ms, good: 7142, bad: 0 (60.00,15)
2021-11-03T13:08:13.882 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.00, av. delay: 3ms, good: 7140, bad: 0 (60.00,15)
2021-11-03T13:09:13.887 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.01,15)
2021-11-03T13:10:13.889 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.00,15)
2021-11-03T13:11:13.896 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.00, av. delay: 3ms, good: 7140, bad: 0 (60.01,15)
2021-11-03T13:12:13.903 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.01,15)
2021-11-03T13:13:13.908 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.05, av. delay: 3ms, good: 7143, bad: 0 (60.01,15)
2021-11-03T13:14:13.915 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.00, av. delay: 3ms, good: 7140, bad: 0 (60.01,15)
2021-11-03T13:15:13.915 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.00, av. delay: 3ms, good: 7140, bad: 0 (60.00,15)
2021-11-03T13:16:13.916 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.00,15)
2021-11-03T13:17:13.917 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.00, av. delay: 3ms, good: 7140, bad: 0 (60.00,15)
2021-11-03T13:18:13.923 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.00, av. delay: 3ms, good: 7140, bad: 0 (60.01,15)
2021-11-03T13:19:13.928 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.03, av. delay: 3ms, good: 7142, bad: 0 (60.01,15)
2021-11-03T13:20:13.930 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.05, av. delay: 3ms, good: 7143, bad: 0 (60.00,15)
2021-11-03T13:21:13.936 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.05, av. delay: 3ms, good: 7143, bad: 0 (60.01,15)
2021-11-03T13:22:13.941 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.00,15)
2021-11-03T13:23:13.941 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.03, av. delay: 3ms, good: 7142, bad: 0 (60.00,15)
2021-11-03T13:24:13.941 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.00,15)
2021-11-03T13:25:13.949 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.05, av. delay: 3ms, good: 7143, bad: 0 (60.01,15)
2021-11-03T13:26:13.954 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.01,15)
2021-11-03T13:27:13.954 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.03, av. delay: 3ms, good: 7142, bad: 0 (60.00,15)
2021-11-03T13:28:13.962 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.01,15)
2021-11-03T13:29:13.966 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.05, av. delay: 3ms, good: 7143, bad: 0 (60.00,15)
2021-11-03T13:30:13.967 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.00, av. delay: 3ms, good: 7140, bad: 0 (60.00,15)
2021-11-03T13:31:13.975 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.01,15)
2021-11-03T13:32:13.976 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.00,15)
2021-11-03T13:33:13.976 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.00, av. delay: 3ms, good: 7140, bad: 0 (60.00,15)
2021-11-03T13:34:13.980 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.00,15)
2021-11-03T13:35:13.982 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.00,15)
2021-11-03T13:36:13.988 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.01,15)
2021-11-03T13:37:13.994 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 118.98, av. delay: 3ms, good: 7139, bad: 0 (60.01,15)
2021-11-03T13:38:14.000 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.00, av. delay: 3ms, good: 7140, bad: 0 (60.01,15)
2021-11-03T13:39:14.004 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.00, av. delay: 3ms, good: 7140, bad: 0 (60.00,15)
2021-11-03T13:40:14.009 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.01,15)
2021-11-03T13:41:14.015 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.03, av. delay: 3ms, good: 7142, bad: 0 (60.01,15)
2021-11-03T13:42:14.015 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.00,15)
2021-11-03T13:43:14.020 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.03, av. delay: 3ms, good: 7142, bad: 0 (60.01,15)
2021-11-03T13:44:14.025 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.05, av. delay: 3ms, good: 7143, bad: 0 (60.01,15)
2021-11-03T13:45:14.026 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 118.98, av. delay: 3ms, good: 7139, bad: 0 (60.00,15)
2021-11-03T13:46:14.026 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.00,15)
2021-11-03T13:47:14.028 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.00, av. delay: 3ms, good: 7140, bad: 0 (60.00,15)
2021-11-03T13:48:14.031 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.00,15)
2021-11-03T13:49:14.034 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.03, av. delay: 3ms, good: 7142, bad: 0 (60.00,15)
2021-11-03T13:50:14.036 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.00,15)
2021-11-03T13:51:14.041 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.01,15)
2021-11-03T13:52:14.046 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.00, av. delay: 3ms, good: 7140, bad: 0 (60.01,15)
2021-11-03T13:53:14.047 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.00, av. delay: 3ms, good: 7140, bad: 0 (60.00,15)
2021-11-03T13:54:14.052 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.01,15)
2021-11-03T13:55:14.052 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.00, av. delay: 3ms, good: 7140, bad: 0 (60.00,15)
2021-11-03T13:56:14.054 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.03, av. delay: 3ms, good: 7142, bad: 0 (60.00,15)
2021-11-03T13:57:14.060 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.01,15)
2021-11-03T13:58:14.063 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.00,15)
2021-11-03T13:59:14.069 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.00, av. delay: 3ms, good: 7140, bad: 0 (60.01,15)
2021-11-03T14:00:14.073 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.00, av. delay: 3ms, good: 7140, bad: 0 (60.00,15)
2021-11-03T14:01:14.076 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.03, av. delay: 3ms, good: 7142, bad: 0 (60.00,15)
2021-11-03T14:02:14.081 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.03, av. delay: 3ms, good: 7142, bad: 0 (60.01,15)
2021-11-03T14:03:14.084 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.00, av. delay: 3ms, good: 7140, bad: 0 (60.00,15)
2021-11-03T14:04:14.085 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.00, av. delay: 3ms, good: 7140, bad: 0 (60.00,15)
2021-11-03T14:05:14.093 V4L2:USB3.0 4K VIDE    : <INFO> Video FPS: 119.02, av. delay: 3ms, good: 7141, bad: 0 (60.01,15)
malloc(): unaligned fastbin chunk detected

HyperHDR caught signal :SIGABRT
2021-11-03T14:07:24.544 WEBSOCKET              : <DEBUG> WebSocketClient.cpp:30:WebSocketClient() | New connection from ::ffff:192.168.0.41
2021-11-03T14:07:24.545 WEBSOCKET              : <DEBUG> JsonAPI.cpp:89:handleInstanceSwitch() | Client '::ffff:192.168.0.41' switch to HyperHDR instance 0

System

HyperHDR Server: 
- Build:           (HEAD detached at dec81c0) (Awawa-2a2ed8d/dec81c0-1631541363)
- Build time:      Sep 15 2021 16:21:00
- Git Remote:      https://github.com/awawa-dev/HyperHDR
- Version:         17.0.0.0
- UI Lang:         auto (BrowserLang: en-US)
- UI Access:       default
- Avail Capt:      Linux (V4L2)
- Database:        read/write

HyperHDR Server OS: 
- Distribution:   Ubuntu 21.10
- Architecture:   arm64
- CPU Type:       Raspberry Pi 4 Model B Rev 1.1
- CPU Revision:   c03111
- CPU Hardware:   BCM2835
- Kernel:         linux (5.13.0-1009-raspi (WS: 64))
- Qt Version:     5.11.3
- Browser:        Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36

SDR colours incorrect with HDR mapping enabled

Feature request

I'm not sure if this is even possible or if it would even be a feature, perhaps I'm even doing something wrong (definitely a possibility!) but is there a way to detect HDR content playing and have the HDR to SDR tone mapping feature auto-toggle? Or if this isn't possible, would there be away to integrate this feature into the API so that it would be possible to toggle it with something like Home Assistant?

The problem I have is that HDR content looks nice using the LUT and having the HDR to SDR tone mapping feature enabled, but when playing SDR content (which often happens) then the colours are off. Is there a way around this that you can think of?

What problem does this feature solve?

SDR content would look normal when HDR to SDR tone mapping is enabled.

What does the proposed API look like?

How should this be implemented in your opinion?

Are you willing to work on this yourself?

Home assistant hyperion integration is broken

Hi, I can't add hyperhdr to home assistant using default integration.

Bug report, debug log and your config file (FULL LOGS ARE MANDATORY)

HyperHDR logs:

2021-09-09T15:28:24.830Z [JSONCLIENTCONNECTION] (JsonAPI.cpp:89) Client '::ffff:192.168.1.200' switch to HyperHDR instance 0
2021-09-09T15:28:24.835Z [JSONSERVER] (JsonServer.cpp:105) New connection from: ::ffff:192.168.1.130 
2021-09-09T15:28:24.837Z [JSONCLIENTCONNECTION] (JsonAPI.cpp:89) Client '::ffff:192.168.1.200' switch to HyperHDR instance 0
2021-09-09T15:28:24.970Z [JSONSERVER] (JsonServer.cpp:121) Connection closed
2021-09-09T15:28:24.976Z [JSONSERVER] (JsonServer.cpp:121) Connection closed

Home assistent logs are empty, ui shows me this message
Screenshot 2021-09-09 at 11 34 27 PM

Steps to reproduce

  1. Navigate to homeassistant -> Configuration -> Integrations -> Add integration
  2. Search hyperion
  3. Enter hyperion
  4. Select hyperion
  5. Enter ip addess
  6. Click ok

What is expected?

Add hyperhdr integration

What is actually happening?

Nothing, only error message

System

HyperHDR Server: 
- Build:           (HEAD detached at 4e4031c) (Awawa-eba222b/4e4031c-1630846534)
- Build time:      Sep  5 2021 13:29:15
- Git Remote:      https://github.com/awawa-dev/HyperHDR
- Version:         17.0.0.0beta2
- UI Lang:         auto (BrowserLang: en-GB)
- UI Access:       default
- Avail Capt:      Linux (V4L2)
- Database:        read/write

HyperHDR Server OS: 
- Distribution:   Raspbian GNU/Linux 10 (buster)
- Architecture:   arm
- CPU Model:      ARMv7 Processor rev 3 (v7l)
- CPU Type:       Raspberry Pi 4 Model B Rev 1.1
- CPU Revision:   c03111
- CPU Hardware:   BCM2711
- Kernel:         linux (5.10.17-v7l+ (WS: 32))
- Qt Version:     5.11.3
- Browser:        Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36

Home assistant

System Health

version core-2021.9.5
installation_type Home Assistant Supervised
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.9.6
os_name Linux
os_version 4.9.241-77
arch aarch64
timezone Asia/Singapore
Home Assistant Community Store
GitHub API ok
Github API Calls Remaining 4797
Installed Version 1.15.2
Stage running
Available Repositories 881
Installed Repositories 12
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Ubuntu 18.04.5 LTS
update_channel stable
supervisor_version supervisor-2021.09.0
docker_version 20.10.7
disk_total 29.1 GB
disk_used 8.7 GB
healthy true
supported failed to load: Unsupported
supervisor_api ok
version_api ok
installed_addons Duck DNS (1.12.4), ESPHome (2021.8.2), FTP (4.2.1), File editor (5.3.3), Git pull (7.12.2), Glances (0.13.0), Log Viewer (0.11.1), Mosquitto broker (6.0.1), NGINX Home Assistant SSL proxy (3.0.1), Node-RED (10.0.0), Portainer (2.0.0), SSH & Web Terminal (9.0.1), WireGuard (0.5.1)
Lovelace
dashboards 1
resources 5
views 3
mode yaml

Instance limit

Bug report, debug log and your config file (optional but could be very helpful)

Steps to reproduce

Hello,
I'm running 4 instances (wled[250 leds], hue, nanoleaf, wled[50 leds]) but when I add a 5th instance for wled[50 leds] it doesn't transmit. Disabling the 4th instance doesn't solve the issue, and if I swap the 4th and 5th the problem still stays on the 5th.

What is expected?

To be able to transmit as many instances as possible. If there is a limit with sending udp packets or similar then disabling an instance should make room for that

What is actually happening?

I can't tell if it's an instance limit, or udp limit. I don't have more units to test with.

System

HyperHDR Server:

  • Build: (HEAD detached at d35314e) (GitHub-9795cc8/d35314e-1608750238)
  • Build time: Dec 23 2020 19:35:29
  • Git Remote: https://github.com/awawa-dev/HyperHDR
  • Version: 14.0.0.0
  • UI Lang: auto (BrowserLang: en-US)
  • UI Access: expert
  • Avail Capt: v4l2
  • Database: read/write

HyperHDR Server OS:

  • Distribution: Windows 10 Version 2009
  • Architecture: x86_64
  • Kernel: winnt (10.0.19042 (WS: 64))
  • Qt Version: 5.15.0
  • Python Version: 3.9.1
  • Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0

Restarts Windows with no warning

Bug report, debug log and your config file (FULL LOGS ARE MANDATORY)

Steps to reproduce

Install on Windows

What is expected?

Prompt for restart or mention about forcing restart after install

What is actually happening?

Forces the system to restart without warning

System

Windows 10

I didn't have anything open that needed to be saved but I'd expect some people would be annoyed if they were testing this and it restarts their machine without asking.

'Yeelight Wizard' do not saves the configuration

Hi,
I'm running v17.0.0.0. When I try to use the wizard for the yeelight (LED Hardware -> LED Controller -> Controller type: Network - yeelight), the button 'Save' does not work, therefore I can't add the bulb. Works perfectly manually: but I was curious about the auto-configuration in this case, and specifically if the wizard 'fine tunes' in some way the LED layout section.

image

EZCAP 269 not working as expected

Hi, Im using a RPI 4 with MS2109 capturing MJPEG at 1280x720 30fps but recently I bought a Ezcap 269 hoping to get better results but I can't see the difference, in fact I think the MS2109 looks much better.The Ezcap is capturing YUV ar 1920x1080 30fps. I was looking for the specific lut for the Ezcap 269 but I only find the 320 one. can someone point me to the link for this lut file and post the settings in hyperhdr for this device, maybe I'm missing something. Thank You!

HDR tone mapping for external grabbers

Feature request

HDR Tone mapping like for USB grabber but for network sources.

What problem does this feature solve?

AFAIK no PC grabbers handle HDR on PC correctly leading to washed out colors in the captured image sent to HyperHDR.

How should this be implemented in your opinion?

If possible by applying HDR Tone mapping already present for USB grabbers to network sources.

Config Issue with SK6812 RGBW

I installed my brand new SK6812 today. Its an upgrade from my ws2801.

The SK6812 had an extreme lag with the HyperHDR default config, which was getting bigger and bigger. After about a minute, the lag was already 5-7 seconds. After 5 minutes, the lag was beyond 30 seconds.

I was able to solve the problem by importing the Hyperion Default Config and making all the settings again manually. At my first try I was still on Hyperbian and used HyperHDR as package installation.

After I only use HyperHDR anyway, I switched to the HyperHDR image as a test. With the default config I had the same problem there. It has constantly lag which became larger and larger.

I'm not sure what exactly, but something in the HyperHDR default config causes a massively increasing lag when a SK6812 Led Strip is plugged into GPIO 10 with SK6812Spi setting.

After the lag reappeared, I imported the Hyperion Default Config again and then everything worked fine.

The default config also worked with my old WS2801 without problems. But apparently something does not fit with the SK6812

SIGABRT - malloc_consolidate(): invalid chunk size

Today my Ambilight didn't work for first time in weeks. Webinterface of HyperHDR was unreachable so couldn't get to any logs. This is all I could find:

[email protected] - Hyperion ambient light systemd service  for user pi
   Loaded: loaded (/etc/systemd/system/[email protected]; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2020-12-29 18:33:25 CET; 1 weeks 0 days ago
 Main PID: 13262 (hyperiond)
    Tasks: 16 (limit: 4915)
   CGroup: /system.slice/system-hyperiond.slice/[email protected]
           └─13262 /usr/bin/hyperiond

Jan 05 13:17:54 pi4 hyperiond[13262]: malloc_consolidate(): invalid chunk size
Jan 05 13:17:54 pi4 hyperiond[13262]: Hyperion caught signal :SIGABRT

Hardware

Pi4 4Gb running latest Raspberry OS
HyperHDR v14.0.0.0
WLED Controller Type
USB HDMI Grabber

System

HyperHDR Server:

  • Build: (HEAD detached at d35314e) (GitHub-9795cc8/d35314e-1608750238)
  • Build time: Dec 23 2020 20:19:43
  • Git Remote: https://github.com/awawa-dev/HyperHDR
  • Version: 14.0.0.0
  • UI Lang: auto (BrowserLang: en-GB)
  • UI Access: expert
  • Avail Capt: v4l2
  • Database: read/write

HyperHDR Server OS:

  • Distribution: Raspbian GNU/Linux 10 (buster)
  • Architecture: arm
  • CPU Model: ARMv7 Processor rev 3 (v7l)
  • CPU Type: Raspberry Pi 4 Model B Rev 1.2
  • CPU Revision: c03112
  • CPU Hardware: BCM2711
  • Kernel: linux (5.4.79-v7l+ (WS: 32))
  • Qt Version: 5.11.3
  • Python Version: 3.7.3
  • Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.101 Safari/537.36

Some Light Effects removed in V16.x

Feature request

I was running v14.x and there were a couple of light effects that I used with Home Assistant for notifications (specific effects I was using: system shutdown, sparks, fire, etc). I upgraded to v16.x and those effects are not longer available. Hoping that it is easy to bring back into the next release.

What problem does this feature solve? brings back prior light effects for users

What does the proposed API look like? unknown??

How should this be implemented in your opinion? unkown??

Are you willing to work on this yourself? I would, but I don't know how to code :)

Add ARM64 binary release

Feature request

What problem does this feature solve?

Add binary release for Raspberry PI 4 running arm64 OS (e.g. Ubuntu).

What does the proposed API look like?

How should this be implemented in your opinion?

Currently there are already .deb files for armv6 and armv7. An additional option could be added for arm64, since I believe the build environment is already in place (judging by your buildenv repo).

Are you willing to work on this yourself?

Yes

Hue Entertainment Wizard is not saving.

Bug report, debug log and your config file (FULL LOGS ARE MANDATORY)

Steps to reproduce

Using the Wizard for HUE Entertainment as described in your manual. The Entertainment Group is created in HUE App, and then in the wizard the position of the hue lamps is chosen. But the SAVE button is not working.

What is expected?

When the SAVE button of the Wizard is pressed the Wizard should close and show a successful message.

What is actually happening?

Nothing happens

System

HyperHDR Server:

  • Build: (HEAD detached at 4e4031c) (Awawa-eba222b/4e4031c-1630846534)
  • Build time: Sep 5 2021 13:29:15
  • Git Remote: https://github.com/awawa-dev/HyperHDR
  • Version: 17.0.0.0beta2
  • UI Lang: auto (BrowserLang: de-de)
  • UI Access: expert
  • Avail Capt: Linux (V4L2)
  • Database: read/write

HyperHDR Server OS:

  • Distribution: Raspbian GNU/Linux 10 (buster)
  • Architecture: arm
  • CPU Model: ARMv7 Processor rev 3 (v7l)
  • CPU Type: Raspberry Pi 4 Model B Rev 1.1
  • CPU Revision: c03111
  • CPU Hardware: BCM2711
  • Kernel: linux (5.10.17-v7l+ (WS: 32))
  • Qt Version: 5.11.3
  • Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15

Black Screen. Leds are still on

When the screen is black from a scene change of a movie or game. The leds are a dim white. How do I get them to turn off when the movie scene or game demands it?

Limit fps by code

Feature request

Premise: this project works great!
Do you think it could be possible to have an option to limit fps by code? Obv if you think this can be useful for less powerful installation..
I have I pi zero w and a mjpeg grabber. I know ..bad couple .. but I need to say that for a not-so-choosy installation is more than just 'ok'.
The mjpeg grabber only has 60 and 30 fps as options. Resolution is at its minimum so 640x480.
Maybe discarding the processing of some frames (like to 20fps) could stress a little bit less the pi and reduce latency a little bit without impacting too much the whole experience...
What do you think?

What problem does this feature solve?

Better compatibility for Pi zero w and mjpeg grabber

What does the proposed API look like?

How should this be implemented in your opinion?

A flag on the interface that does not change directly grabber fps but just the number of processed frames

Are you willing to work on this yourself?

Not capable unfortunately 😔

Drop frame rate/resolution of grabbers when source signal dies

With signal detection enabled, the instance is disabled and LEDs are turned off but the grabber continues to capture frames. An option to drop the frame rate and resolution in a no-signal state could save significant CPU at idle.

Pi 3 B+, HyperHDR 16.0.0.1 with a MicroSilicon MS2109 USB grabber using YUYV at 1280x720 with quarter frame mode and spare processing enabled. Testing frame rate cpu usage from uvcvideo while signal is OFF: 30 fps: 20%, 5 fps: 12%

If I also drop the resolution to the lowest supported, 640x480, CPU usage from uvcvideo drops to <5%.

Signal return is still detected immediately at 640x480/5fps

What problem does this feature solve?

Idle CPU usage

What does the proposed API look like?

n/a

How should this be implemented in your opinion?

When signal detection is checked, reveal an input to set a different frame rate and resolution from supported values when no signal is detected. Switch grabber to those settings before "disabling" instance.

Are you willing to work on this yourself?

Unfortunately I do not know C++. I attempted to solve this with a python daemon watching priorities from the API, but i couldn't find a reasonable/obvious way to manage grabber frame rate from there...

WLED over network not working?

My SK6812 are not coloring up when using HyperHDR in combination with WLED 0.12 (connection made via network).
The grabber is working and and LED Layout is also configured.

Any ideas whats the problem? Is this a common issue / pitfall?

System

WLED 0.12
HyperHDR on Raspberry Pi 2
Installed via package manager

LUT processing for MJPEG is broken, affects blue channel (was: Cannot run HyperHDR)

Bug report, debug log and your config file (FULL LOGS ARE MANDATORY)

hyperhdr: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.28' not found (required by /usr/share/hyperhdr/bin/../lib/libQt5Core.so.5)`

Steps to reproduce

Tried to run HyperHDR x86 64bit version and i got error above.

What is expected?

HyperHDR is running

What is actually happening?

I get error message above.
I have also tried to compile it on my system as well, but i got another error /home/setrin/apps/hyperhdr/libsrc/boblightserver/BoblightClientConnection.h:9:10: fatal error: QStringView: No such file or directory

Full build error here:
[ 85%] Building CXX object libsrc/leddevice/CMakeFiles/leddevice.dir/leddevice_autogen/mocs_compilation.cpp.o [ 86%] Building CXX object libsrc/leddevice/CMakeFiles/leddevice.dir/leddevice_autogen/EWIEGA46WW/qrc_LedDeviceSchemas.cpp.o [ 86%] Linking CXX static library ../../lib/libleddevice.a [ 86%] Built target leddevice Scanning dependencies of target boblightserver [ 86%] Building CXX object libsrc/boblightserver/CMakeFiles/boblightserver.dir/boblightserver_autogen/mocs_compilation.cpp.o [ 86%] Building CXX object libsrc/boblightserver/CMakeFiles/boblightserver.dir/BoblightClientConnection.cpp.o [ 86%] Building CXX object libsrc/boblightserver/CMakeFiles/boblightserver.dir/BoblightServer.cpp.o In file included from /home/setrin/apps/hyperhdr/libsrc/boblightserver/BoblightServer.cpp:6:0: /home/setrin/apps/hyperhdr/libsrc/boblightserver/BoblightClientConnection.h:9:10: fatal error: QStringView: No such file or directory #include <QStringView> ^~~~~~~~~~~~~ compilation terminated. libsrc/boblightserver/CMakeFiles/boblightserver.dir/build.make:86: recipe for target 'libsrc/boblightserver/CMakeFiles/boblightserver.dir/BoblightServer.cpp.o' failed make[2]: *** [libsrc/boblightserver/CMakeFiles/boblightserver.dir/BoblightServer.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /home/setrin/apps/hyperhdr/build/libsrc/boblightserver/boblightserver_autogen/EWIEGA46WW/moc_BoblightClientConnection.cpp:9:0, from /home/setrin/apps/hyperhdr/build/libsrc/boblightserver/boblightserver_autogen/mocs_compilation.cpp:3: /home/setrin/apps/hyperhdr/build/libsrc/boblightserver/boblightserver_autogen/EWIEGA46WW/../../../../../libsrc/boblightserver/BoblightClientConnection.h:9:10: fatal error: QStringView: No such file or directory #include <QStringView> ^~~~~~~~~~~~~ compilation terminated. libsrc/boblightserver/CMakeFiles/boblightserver.dir/build.make:110: recipe for target 'libsrc/boblightserver/CMakeFiles/boblightserver.dir/boblightserver_autogen/mocs_compilation.cpp.o' failed make[2]: *** [libsrc/boblightserver/CMakeFiles/boblightserver.dir/boblightserver_autogen/mocs_compilation.cpp.o] Error 1 In file included from /home/setrin/apps/hyperhdr/libsrc/boblightserver/BoblightClientConnection.cpp:26:0: /home/setrin/apps/hyperhdr/libsrc/boblightserver/BoblightClientConnection.h:9:10: fatal error: QStringView: No such file or directory #include <QStringView> ^~~~~~~~~~~~~ compilation terminated. libsrc/boblightserver/CMakeFiles/boblightserver.dir/build.make:62: recipe for target 'libsrc/boblightserver/CMakeFiles/boblightserver.dir/BoblightClientConnection.cpp.o' failed make[2]: *** [libsrc/boblightserver/CMakeFiles/boblightserver.dir/BoblightClientConnection.cpp.o] Error 1 CMakeFiles/Makefile2:2000: recipe for target 'libsrc/boblightserver/CMakeFiles/boblightserver.dir/all' failed make[1]: *** [libsrc/boblightserver/CMakeFiles/boblightserver.dir/all] Error 2 Makefile:151: recipe for target 'all' failed make: *** [all] Error 2

If someone would be able to help me, i would really appreciate it

System

Server OS:

  • Distribution: elementary OS 5.1.7 Hera
  • Architecture: x86_64
  • CPU Model: Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz
  • CPU Type: 42
  • Kernel: linux (5.4.0-70-generic (WS: 64))
  • Qt Version: 5.7.1
  • Python Version: 3.5.3

HDR Color issue : green tint

Hello,
first of all I want to thank you for your hard work. Everything works flawlessly with HyperHDR and your WLED fork.
I only have one problem. That is I do have a green tint which results in unsatisfying LED colors especially in darker scenes.
I am not sure if it is a LUT issue when HDR tone mapping is enabled or my cheapo grabber (MS 2109 brown version with USB 3.0 colored connector). No issues watching SDR content with tonemapping disabled.
Here is a picture of what my grabber live preview looks like when playing an HDR movie with tonemapping enabled via netflix on a PS4 pro.
https://gyazo.com/3c7e03bb021ea2e6fd50d8ab79482b82
My usb capture settings:
https://gyazo.com/c8a49c0b7890f44e811119e7cee51351
I hope someone might know the cause of this behaviour and can propose a fix for this.

Greetings and a happy new year

arch64 release

Feature request

What problem does this feature solve?

If u use an RPI4 with arch64 u can't use HyperHDR. I compiled it on my PI like in your Guide, and it works. Would be nice to have it as Official Release from you

What does the proposed API look like?

How should this be implemented in your opinion?

Are you willing to work on this yourself?

HDR to SDR tone mapping and LUT file - questions for better understanding

Hi!

The last days I am tinkering with the grabber and image processing sections of HyperHDR to get my LED colors as accurate as possible.

My setup:

  • Hisense U8QF TV (4k)
  • Marantz 5015 AVR (TV on main out, 8K-Passthrough, 4K@120 Hz)
  • Wisfox Grabber (2109)
  • ezcoo HDMI 1x2 4k 60Hz Splitter
  • SK6812 RGBNW
  • HyperHDR running under Windows 10

LUT:
Regarding the description I used HyperHDR's screenshot feature to take a picture of the current TV screen, uploaded it to the LUT generator and tried to optimize the colors. Sadly, any LUT file I generated made it worse. Too much color, browns become hard yellow-redish, reds turn out mostly pink, and so on. I always had to turn off the 'HDR to SDR...' parameter to make it better.

Image Processing:
Then I tried to tinker with the color values in the image processing tab. First I searched for a decent calibration video on Youtube and made some small corrections. These corrections had a small positive impact on color accuracy, but especially in dark areas sometimes the LEDs freak out a little bit. Take a film like 'Underworld: Rise of the Lycans' which is mostly dark, color processing seems to get a little tricky.

Conclusion:
At the moment, I disabled 'HDR to SDR...', raised the hardware hue to +4 and set all colors in image processing to default values and that seems to get most colors accurate - despite the errors in dark areas.

So, my questions are:

  • Which steps should be taken in which order to get the most out of LUT and image processing regarding color accuracy?
  • Are there any decent calibration images / videos which would help in this regard?
  • Is there any HowTo regarding the LUT generator? I am still setting values with no real idea what I am doing there. What are those Hardle/Reinhard/BT.2020 to... things, etc... Is there an example (video) on how to use it correctly to really achieve a better image quality?

As a side note: I always read about flat colors while not using 'HDR to SDR...', but my LED colors are somehow always bright and shiny, I do not need even more colors.

Sorry for the long post, but I'd really like to understand how this all fits together to be able to change the right parameters.

Regards,
Holger

HyperHDR + WLED: Turning off LEDs from HyperHDR, cannot turn them back on

With WLED, I've got an issue with toggling the LEDs. If I turn off the LEDs from within HyperHDR, using the 'Led device;' toggle in the remote settings, I cannot then turn the LEDs back on using the same toggle. The same thing happens if I turn off the USB capture....lights go off but then do not come back on when reenabled.

Rebooting WLED gets the lights back on. Weirdly when you go into WLED during the issue it will still say that it's receiving data from HyperHDR. The grabber still outputs an image. Basically everything seems completely normal, except the LEDs.

I've tried both your HyperSerialWled version and normal WLED, same thing happens on both. Is there something I'm missing?

Hue entertainment not working

Steps to reproduce

Create fresh hue entertainment instance (new user, new token, ...)
Run instance

What is expected?

Nothing, in hue app I don't see the message indicating that my hues plays are being synchronized

What is actually happening?

Nothing :) (see log above)
And for information my hue bridge is on different subnetwork (raspberry with HyperHDR is on 192.168.0.x and my hue bridge on 192.168.2.x)

System

Important logs are :
2021-01-01T22:03:51.193Z [hyperiond LEDDEVICE] (WARNING) The Hue bridge is not ready... trying to reconnect. 2021-01-01T22:03:58.472Z [hyperiond LEDDEVICE] (ERROR) Give up waiting for the Hue bridge. Response error code: 99 2021-01-01T22:03:58.473Z [hyperiond LEDDEVICE] (ERROR) Device disabled, device 'philipshue' signals error: 'No light-IDs found at the Philips Hue Bridge'

Full logs :

2021-01-01T22:03:44.939Z [hyperiond LEDDEVICE] (INFO) Start LedDevice 'philipshue'. 2021-01-01T22:03:44.940Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:149:init()) deviceConfig: [{"blackLevel":0.009,"blackLightsTimeout":5000,"brightnessFactor":1,"brightnessMax":1,"brightnessMin":0,"brightnessThreshold":0.0001,"clientkey":"xxxxx","colorOrder":"rgb","currentLedCount":3,"debugLevel":"1","debugStreamer":false,"groupId":11,"hardwareLedCount":3,"latchTime":0,"lightIds":["24","26","27"],"onBlackTimeToPowerOff":600,"onBlackTimeToPowerOn":300,"output":"192.168.2.12","restoreOriginalState":true,"sslHSTimeoutMax":1000,"sslHSTimeoutMin":400,"sslReadTimeout":0,"switchOffOnBlack":true,"transitiontime":1,"type":"philipshue","useEntertainmentAPI":true,"username":"xxxxx-gH4","verbose":false}] 2021-01-01T22:03:44.943Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:408:setLatchTime()) LatchTime updated to 0ms 2021-01-01T22:03:44.943Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:435:setRewriteTime()) RewriteTime updated to 0ms 2021-01-01T22:03:44.943Z [hyperiond LEDDEVICE] (DEBUG) (LedDevicePhilipsHue.cpp:393:log()) DeviceType : philipshue 2021-01-01T22:03:44.943Z [hyperiond LEDDEVICE] (DEBUG) (LedDevicePhilipsHue.cpp:393:log()) LedCount : 3 2021-01-01T22:03:44.943Z [hyperiond LEDDEVICE] (DEBUG) (LedDevicePhilipsHue.cpp:393:log()) ColorOrder : rgb 2021-01-01T22:03:44.944Z [hyperiond LEDDEVICE] (DEBUG) (LedDevicePhilipsHue.cpp:393:log()) RefreshTime : 0 2021-01-01T22:03:44.944Z [hyperiond LEDDEVICE] (DEBUG) (LedDevicePhilipsHue.cpp:393:log()) LatchTime : 0 2021-01-01T22:03:44.944Z [hyperiond LEDDEVICE] (DEBUG) (LedDevicePhilipsHue.cpp:393:log()) Hostname/IP : 192.168.2.12 2021-01-01T22:03:44.944Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRestApi.cpp:121:get()) GET: [http://192.168.2.12/api/xxxxxx-gH4/] 2021-01-01T22:03:49.154Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1087:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.0.34 2021-01-01T22:03:49.225Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1096:handleLoggingCommand()) log streaming deactivated for client ::ffff:192.168.0.34 2021-01-01T22:03:50.701Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.0.34 2021-01-01T22:03:50.701Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:85:handleInstanceSwitch()) Client '::ffff:192.168.0.34' switch to Hyperion instance 0 2021-01-01T22:03:50.959Z [hyperiond V4L2:/DEV/VIDEO0] (DEBUG) (V4L2Grabber.cpp:1137:process_image()) Video FPS: 15.00, av. delay: 29ms, good: 900, bad: 0 (60.01,15) 2021-01-01T22:03:51.192Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRestApi.cpp:187:getResponse()) Reply.httpStatusCode [0] 2021-01-01T22:03:51.193Z [hyperiond LEDDEVICE] (WARNING) The Hue bridge is not ready... trying to reconnect. 2021-01-01T22:03:51.256Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:85:handleInstanceSwitch()) Client '::ffff:192.168.0.34' switch to Hyperion instance 1 2021-01-01T22:03:51.310Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1087:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.0.34 2021-01-01T22:03:51.381Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1096:handleLoggingCommand()) log streaming deactivated for client ::ffff:192.168.0.34 2021-01-01T22:03:51.702Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1087:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.0.34 2021-01-01T22:03:51.761Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1096:handleLoggingCommand()) log streaming deactivated for client ::ffff:192.168.0.34 2021-01-01T22:03:52.196Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRestApi.cpp:121:get()) GET: [http://192.168.2.12/api/xxxxx-gH4/] 2021-01-01T22:03:58.472Z [hyperiond LEDDEVICE] (DEBUG) (ProviderRestApi.cpp:187:getResponse()) Reply.httpStatusCode [0] 2021-01-01T22:03:58.472Z [hyperiond LEDDEVICE] (ERROR) Give up waiting for the Hue bridge. Response error code: 99 2021-01-01T22:03:58.472Z [hyperiond LEDDEVICE] (DEBUG) (LedDevicePhilipsHue.cpp:455:setBridgeConfig()) Bridge is not Entertainment API Ready - Entertainment API usage was disabled! 2021-01-01T22:03:58.472Z [hyperiond LEDDEVICE] (DEBUG) (LedDevicePhilipsHue.cpp:393:log()) Bridge Name : 2021-01-01T22:03:58.473Z [hyperiond LEDDEVICE] (DEBUG) (LedDevicePhilipsHue.cpp:393:log()) Model : 2021-01-01T22:03:58.473Z [hyperiond LEDDEVICE] (DEBUG) (LedDevicePhilipsHue.cpp:393:log()) Bridge-ID : 2021-01-01T22:03:58.473Z [hyperiond LEDDEVICE] (DEBUG) (LedDevicePhilipsHue.cpp:393:log()) SoftwareVersion : 2021-01-01T22:03:58.473Z [hyperiond LEDDEVICE] (DEBUG) (LedDevicePhilipsHue.cpp:393:log()) API-Version : 0.0.0 2021-01-01T22:03:58.473Z [hyperiond LEDDEVICE] (DEBUG) (LedDevicePhilipsHue.cpp:393:log()) EntertainmentReady : 0 2021-01-01T22:03:58.473Z [hyperiond LEDDEVICE] (ERROR) Device disabled, device 'philipshue' signals error: 'No light-IDs found at the Philips Hue Bridge' 2021-01-01T22:03:58.474Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:149:init()) deviceConfig: [{"blackLevel":0.009,"blackLightsTimeout":5000,"brightnessFactor":1,"brightnessMax":1,"brightnessMin":0,"brightnessThreshold":0.0001,"clientkey":"xxxxxx","colorOrder":"rgb","currentLedCount":3,"debugLevel":"1","debugStreamer":false,"groupId":11,"hardwareLedCount":3,"latchTime":0,"lightIds":["24","26","27"],"onBlackTimeToPowerOff":600,"onBlackTimeToPowerOn":300,"output":"192.168.2.12","restoreOriginalState":true,"sslHSTimeoutMax":1000,"sslHSTimeoutMin":400,"sslReadTimeout":0,"switchOffOnBlack":true,"transitiontime":1,"type":"philipshue","useEntertainmentAPI":true,"username":"xxxxxxx-gH4","verbose":false}] 2021-01-01T22:03:58.474Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:408:setLatchTime()) LatchTime updated to 0ms 2021-01-01T22:03:58.474Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:435:setRewriteTime()) RewriteTime updated to 0ms 2021-01-01T22:03:58.474Z [hyperiond LEDDEVICE] (DEBUG) (ProviderUdpSSL.cpp:96:init()) Successfully parsed 127.0.0.1 as an ip address. 2021-01-01T22:03:58.475Z [hyperiond LEDDEVICE] (DEBUG) (ProviderUdpSSL.cpp:127:init()) UDP SSL using 127.0.0.1:2100 2021-01-01T22:03:58.475Z [hyperiond LEDDEVICE] (DEBUG) (LedDevicePhilipsHue.cpp:393:log()) Off on Black : 1 2021-01-01T22:03:58.475Z [hyperiond LEDDEVICE] (DEBUG) (LedDevicePhilipsHue.cpp:393:log()) Brightness Factor : 1.000000 2021-01-01T22:03:58.475Z [hyperiond LEDDEVICE] (DEBUG) (LedDevicePhilipsHue.cpp:393:log()) Transition Time : 1 2021-01-01T22:03:58.475Z [hyperiond LEDDEVICE] (DEBUG) (LedDevicePhilipsHue.cpp:393:log()) Restore Original State : 1 2021-01-01T22:03:58.475Z [hyperiond LEDDEVICE] (DEBUG) (LedDevicePhilipsHue.cpp:393:log()) Use Hue Entertainment API : 0 2021-01-01T22:03:58.476Z [hyperiond LEDDEVICE] (DEBUG) (LedDevicePhilipsHue.cpp:393:log()) Brightness Threshold : 0.009000 2021-01-01T22:03:58.476Z [hyperiond LEDDEVICE] (DEBUG) (LedDevicePhilipsHue.cpp:393:log()) Time to power off the lamp if the black level is triggered: 600 2021-01-01T22:03:58.476Z [hyperiond LEDDEVICE] (DEBUG) (LedDevicePhilipsHue.cpp:393:log()) Time to power on the lamp if the signal is restored: 300 2021-01-01T22:04:50.959Z [hyperiond V4L2:/DEV/VIDEO0] (DEBUG) (V4L2Grabber.cpp:1137:process_image()) Video FPS: 15.00, av. delay: 28ms, good: 900, bad: 0 (60.00,15) 2021-01-01T22:04:52.847Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:204:sendClose()) send close: 1000 2021-01-01T22:04:54.167Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.0.34 2021-01-01T22:04:54.170Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:85:handleInstanceSwitch()) Client '::ffff:192.168.0.34' switch to Hyperion instance 0 2021-01-01T22:04:54.583Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:85:handleInstanceSwitch()) Client '::ffff:192.168.0.34' switch to Hyperion instance 1 2021-01-01T22:04:54.635Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1087:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.0.34 2021-01-01T22:04:54.703Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1096:handleLoggingCommand()) log streaming deactivated for client ::ffff:192.168.0.34 2021-01-01T22:04:55.044Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1087:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.0.34

DirectStream Input (OBS Virtual Webcam)?

Feature request

What problem does this feature solve?

Looking for a way to feed Hyperion with OBS data I finally ended up with USB Grabber again.
I also talked to the developers of Hyperion but they don't seem to be interested in optimizing the software for PC gaming.

Anyway, I found this project here by chance and was enthusiastic from the beginning. Interesting I found the possibility of ScreenRecording using microsoft media foundation.
Finally it is possible purely by software to enjoy my Ambilight with Doom (Vulkan)!!! No other grabber could offer me this up to here! Yes I know, it is not perfect ... but therefore also the request here to work on integrating OBS.

What does the proposed API look like?

How should this be implemented in your opinion?

One possibility would be for example with OBS Virtual Webcam (DirectStream). But you will with certainty

Are you willing to work on this yourself?

I would, but I can't. That is a little too high for me

Add Dependencies to packaged releases

Feature request

Add in Dependencies into deb files

What problem does this feature solve?

Makes sure that the linux distro has the correct files needed (in my case docker) when installing

What does the proposed API look like?

n/a

How should this be implemented in your opinion?

n/a

Are you willing to work on this yourself?

I can, I think it's an easy pull request but I don't want to break anything on your side as I'm actually not a developer
I had to install ibusb-1.0-0 libexpat1 libglu1-mesa libglib2.0-0 libfreetype6 these manually (when I created my docker image). Would simplify everything if I could avoid that step and simple apt install -y hyperhdr.deb file!

This might just be me not completely understanding everything though and maybe these dependencies are different on other debian systems?

Can't use ws281x LED Hardware

Bug report, debug log and your config file (FULL LOGS ARE MANDATORY)

2021-03-29T18:03:51.740Z [MAIN] (INFO) Starting HyperHdr - 15.0.0.0, (HEAD detached at caaceec) (Awawa-7d37aa4/caaceec-1614632873), built: Mar 1 2021:22:23:26
2021-03-29T18:03:51.742Z [MAIN] (INFO) Set user data path to '/home/pi/.hyperhdr'
2021-03-29T18:03:51.770Z [DB] (INFO) Database opened: /home/pi/.hyperhdr/db/hyperhdr.db
2021-03-29T18:03:52.284Z [HYPERHDR] (INFO) Sound device is disabled
2021-03-29T18:03:52.363Z [SETTINGSMGR] (DEBUG) (SettingsManager.cpp:109:SettingsManager()) Settings database initialized
2021-03-29T18:03:52.365Z [BLACKBORDER] (INFO) Set mode to: default
2021-03-29T18:03:52.365Z [COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Blackborder detector: enabled
2021-03-29T18:03:52.366Z [IMAGETOLED] (DEBUG) (ImageProcessor.cpp:153:setLedMappingType()) set user led mapping to advanced
2021-03-29T18:03:52.366Z [IMAGETOLED] (DEBUG) (ImageProcessor.cpp:136:setSparseProcessing()) setSparseProcessing to 0
2021-03-29T18:03:52.367Z [RgbTransform] (DEBUG) (RgbTransform.cpp:36:init()) RGB transform classic_config: 0, saturationGain: 1.000000, luminanceGain: 1.000000
2021-03-29T18:03:52.368Z [RgbTransform] (DEBUG) (RgbTransform.cpp:36:init()) RGB transform classic_config: 0, saturationGain: 1.000000, luminanceGain: 1.000000
2021-03-29T18:03:52.371Z [ChannelAdjust_RED] (DEBUG) (RgbChannelAdjustment.cpp:38:setCorrection()) set color correction to 255
2021-03-29T18:03:52.371Z [ChannelAdjust_BLUE] (DEBUG) (RgbChannelAdjustment.cpp:38:setCorrection()) set color correction to 255
2021-03-29T18:03:52.372Z [ChannelAdjust_GREEN] (DEBUG) (RgbChannelAdjustment.cpp:38:setCorrection()) set color correction to 255
2021-03-29T18:03:52.624Z [V4L2:AUTO] (DEBUG) (V4L2Grabber.cpp:1395:setDeviceVideoStandard()) setDeviceVideoStandard restarting v4l2 grabber. Old: '' new: 'auto'
2021-03-29T18:03:52.624Z [V4L2:AUTO] (DEBUG) (V4L2Grabber.cpp:85:V4L2Grabber()) Init pixel format: 6
2021-03-29T18:03:52.624Z [V4L2:AUTO] (DEBUG) (V4L2Grabber.cpp:195:setHdrToneMappingEnabled()) setHdrToneMappingMode to: Disabled
2021-03-29T18:03:52.624Z [V4L2:AUTO] (DEBUG) (V4L2Grabber.cpp:181:setFpsSoftwareDecimation()) setFpsSoftwareDecimation to: 1
2021-03-29T18:03:52.625Z [V4L2:AUTO] (DEBUG) (V4L2Grabber.cpp:1487:setEncoding()) Force encoding (setEncoding): NO_CHANGE (NO_CHANGE)
2021-03-29T18:03:52.625Z [V4L2:AUTO] (INFO) Signal threshold set to: {12, 12, 12} and frames: 200
2021-03-29T18:03:52.625Z [V4L2:AUTO] (INFO) setQFrameDecimation is now: disabled
2021-03-29T18:03:52.625Z [V4L2:AUTO] (DEBUG) (V4L2Grabber.cpp:1522:setBrightnessContrastSaturationHue()) setBrightnessContrastSaturationHue nothing changed
2021-03-29T18:03:52.625Z [V4L2:AUTO] (INFO) Signal detection is now disabled
2021-03-29T18:03:52.626Z [V4L2:AUTO] (INFO) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
2021-03-29T18:03:52.626Z [DAEMON] (DEBUG) (hyperhdr.cpp:457:handleSettingsUpdate()) V4L2 grabber created
2021-03-29T18:03:52.626Z [JSONSERVER] (DEBUG) (JsonServer.cpp:28:JsonServer()) Created instance
2021-03-29T18:03:52.627Z [JSONSERVER] (INFO) Started on port 19444
2021-03-29T18:03:52.374Z [DB] (INFO) Database opened: /home/pi/.hyperhdr/db/hyperhdr.db
2021-03-29T18:03:52.394Z [COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Smoothing: enabled
2021-03-29T18:03:52.395Z [LEDDEVICE] (INFO) Start LedDevice 'file'.
2021-03-29T18:03:52.395Z [SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:70:handleSettingsUpdate()) Creating smoothing config (0) => direct mode: false, pause: false, settlingTime: 150 ms, interval: 12 ms (83 Hz), updateDelay: 0 ms
2021-03-29T18:03:52.395Z [SMOOTHING] (INFO) Selecting smoothing config (0) => direct mode: false, pause: false, settlingTime: 150 ms, interval: 12 ms (83 Hz), updateDelay: 0 ms
2021-03-29T18:03:52.395Z [LEDDEVICE] (DEBUG) (LedDevice.cpp:149:init()) deviceConfig: [{"colorOrder":"rgb","currentLedCount":1,"hardwareLedCount":1,"latchTime":0,"output":"/dev/null","rewriteTime":0,"type":"file"}]
2021-03-29T18:03:52.395Z [SMOOTHING] (INFO) Selecting smoothing config (0) => direct mode: false, pause: false, settlingTime: 150 ms, interval: 12 ms (83 Hz), updateDelay: 0 ms
2021-03-29T18:03:52.395Z [LEDDEVICE] (DEBUG) (LedDevice.cpp:408:setLatchTime()) LatchTime updated to 0ms
2021-03-29T18:03:52.395Z [LEDDEVICE] (DEBUG) (LedDevice.cpp:435:setRewriteTime()) RewriteTime updated to 0ms
2021-03-29T18:03:52.395Z [LEDDEVICE] (DEBUG) (LedDeviceFile.cpp:59:open()) QIODevice::WriteOnly, /dev/null
2021-03-29T18:03:52.397Z [FLATBUFCONN] (INFO) Connecting to HyperHDR: 127.0.0.1:19401
2021-03-29T18:03:52.400Z [HYPERHDR] (DEBUG) (PriorityMuxer.cpp:162:registerInput()) Register new input 'System/V4L' with priority 240 as inactive
2021-03-29T18:03:52.400Z [COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) V4L capture device: enabled
2021-03-29T18:03:52.640Z [V4L2:AUTO] (INFO) Multithreading for V4L2 is enabled. Available thread's count 4
2021-03-29T18:03:52.642Z [V4L2:AUTO] (INFO) available V4L2 devices:
/dev/video0 USB Video: USB Video
/dev/video14 bcm2835-isp-capture0
/dev/video15 bcm2835-isp-capture1

2021-03-29T18:03:52.642Z [V4L2:AUTO] (INFO) search for usable video devices
2021-03-29T18:03:52.644Z [V4L2:AUTO] (INFO) test v4l device: /dev/video0
2021-03-29T18:03:52.645Z [V4L2:AUTO] (INFO) Set device input to: Camera 1
2021-03-29T18:03:52.646Z [V4L2:AUTO] (INFO) Set resolution to: 1920 x 1080
2021-03-29T18:03:52.647Z [V4L2:AUTO] (INFO) Set framerate to 20 FPS
2021-03-29T18:03:52.647Z [V4L2:AUTO] (DEBUG) (V4L2Grabber.cpp:99:GetSharedLut()) LUT folder location: '/usr/share/hyperhdr/lut'
2021-03-29T18:03:52.648Z [V4L2:AUTO] (INFO) Pixel format: MJPEG
2021-03-29T18:03:52.679Z [V4L2:AUTO] (INFO) found usable v4l2 device: /dev/video0 (USB Video: USB Video)
2021-03-29T18:03:52.681Z [V4L2:AUTO] (INFO) Started
2021-03-29T18:03:52.681Z [V4L2:auto] (DEBUG) (GrabberWrapper.cpp:48:start()) Grabber start()
2021-03-29T18:03:52.401Z [BOBLIGHT] (DEBUG) (BoblightServer.cpp:27:BoblightServer()) Instance created
2021-03-29T18:03:52.682Z [HYPERHDR] (INFO) Hyperhdr instance 'First LED Hardware instance' has been started
2021-03-29T18:03:52.401Z [COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) LED device: enabled
2021-03-29T18:03:52.402Z [EFFECTENGINE] (INFO) Run effect "Rainbow swirl fast" on channel 0
2021-03-29T18:03:52.424Z [EFFECTENGINE] (DEBUG) (EffectEngine.cpp:153:runEffectScript()) Start the effect: name [Rainbow swirl fast], smoothCfg [2]
2021-03-29T18:03:52.424Z [HYPERHDR] (DEBUG) (PriorityMuxer.cpp:162:registerInput()) Register new input 'System/EFFECT' with priority 0 as inactive
2021-03-29T18:03:52.424Z [HYPERHDR] (INFO) Initial foreground effect 'Rainbow swirl fast' started
2021-03-29T18:03:52.444Z [HYPERHDR] (DEBUG) (PriorityMuxer.cpp:252:setInputImage()) Priority 0 is now active
2021-03-29T18:03:52.444Z [HYPERHDR] (DEBUG) (PriorityMuxer.cpp:378:setCurrentTime()) Set visible priority to 0
2021-03-29T18:03:52.444Z [IMAGETOLED] (INFO) Total index number for instance: 0 is: 320. Sparse processing: disabled, image size: 80 x 45, area number: 1
2021-03-29T18:03:52.444Z [IMAGETOLED] (INFO) Total index number for instance: 0 is: 320. Sparse processing: disabled, image size: 80 x 45, area number: 1
2021-03-29T18:03:52.444Z [SMOOTHING] (INFO) Selecting smoothing config (2) => direct mode: false, pause: false, settlingTime: 200 ms, interval: 40 ms (25 Hz), updateDelay: 0 ms
2021-03-29T18:03:52.444Z [HYPERHDR] (DEBUG) (HyperHdrInstance.cpp:546:handlePriorityChangedLedDevice()) priority[0], previousPriority[255]
2021-03-29T18:03:52.444Z [HYPERHDR] (DEBUG) (HyperHdrInstance.cpp:556:handlePriorityChangedLedDevice()) new source available -> switch LED-Device on
2021-03-29T18:03:52.445Z [IMAGETOLED] (DEBUG) (ImageProcessor.cpp:180:setHardLedMappingType()) set hard led mapping to multicolor_mean
2021-03-29T18:03:52.633Z [FLATBUFSERVER] (INFO) Started on port 19400
2021-03-29T18:03:52.634Z [PROTOSERVER] (INFO) Started on port 19445
2021-03-29T18:03:52.634Z [WEBSERVER] (DEBUG) (WebServer.cpp:34:initServer()) Initialize Webserver
2021-03-29T18:03:52.636Z [WEBSERVER] (DEBUG) (WebServer.cpp:34:initServer()) Initialize Webserver
2021-03-29T18:03:52.664Z [WEBSERVER] (DEBUG) (WebServer.cpp:92:handleSettingsUpdate()) Apply Webserver settings
2021-03-29T18:03:52.664Z [WEBSERVER] (DEBUG) (WebServer.cpp:92:handleSettingsUpdate()) Apply Webserver settings
2021-03-29T18:03:52.665Z [WEBSERVER] (DEBUG) (WebServer.cpp:110:handleSettingsUpdate()) Set document root to: :/webconfig
2021-03-29T18:03:52.665Z [WEBSERVER] (DEBUG) (WebServer.cpp:110:handleSettingsUpdate()) Set document root to: :/webconfig
2021-03-29T18:03:52.665Z [WEBSERVER] (INFO) Started on port 8090 name 'HyperHDR Webserver'
2021-03-29T18:03:52.693Z [WEBSERVER] (DEBUG) (WebServer.cpp:176:handleSettingsUpdate()) Setup SSL certificate
2021-03-29T18:03:52.694Z [WEBSERVER] (DEBUG) (WebServer.cpp:192:handleSettingsUpdate()) Setup private SSL key
2021-03-29T18:03:52.694Z [WEBSERVER] (INFO) Started on port 8092 name 'HyperHDR Webserver'
2021-03-29T18:03:52.798Z [V4L2:AUTO] (DEBUG) (V4L2Grabber.cpp:1140:process_image()) Worker's thread count = 4
2021-03-29T18:03:52.833Z [HYPERHDR] (DEBUG) (PriorityMuxer.cpp:252:setInputImage()) Priority 240 is now active
2021-03-29T18:03:55.450Z [HYPERHDR] (DEBUG) (PriorityMuxer.cpp:271:clearInput()) Removed source priority 0
2021-03-29T18:03:55.450Z [HYPERHDR] (DEBUG) (PriorityMuxer.cpp:378:setCurrentTime()) Set visible priority to 240
2021-03-29T18:03:55.454Z [IMAGETOLED] (INFO) Total index number for instance: 0 is: 165120. Sparse processing: disabled, image size: 1920 x 1080, area number: 1
2021-03-29T18:03:55.455Z [SMOOTHING] (INFO) Selecting smoothing config (0) => direct mode: false, pause: false, settlingTime: 150 ms, interval: 12 ms (83 Hz), updateDelay: 0 ms
2021-03-29T18:03:55.455Z [HYPERHDR] (DEBUG) (HyperHdrInstance.cpp:546:handlePriorityChangedLedDevice()) priority[240], previousPriority[0]
2021-03-29T18:03:55.456Z [IMAGETOLED] (DEBUG) (ImageProcessor.cpp:180:setHardLedMappingType()) set hard led mapping to multicolor_mean
2021-03-29T18:03:55.461Z [IMAGETOLED] (INFO) Total index number for instance: 0 is: 165120. Sparse processing: disabled, image size: 1920 x 1080, area number: 1
2021-03-29T18:03:55.461Z [EFFECTENGINE] (INFO) Effect 'Rainbow swirl fast' has finished.
2021-03-29T18:03:55.461Z [EFFECTENGINE] (INFO) Deleting effect named: 'Rainbow swirl fast'
2021-03-29T18:04:34.891Z [WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.0.134
2021-03-29T18:04:34.893Z [WEBSOCKET] (DEBUG) (JsonAPI.cpp:85:handleInstanceSwitch()) Client '::ffff:192.168.0.134' switch to HyperHDR instance 0
2021-03-29T18:04:34.991Z [DB] (INFO) Database opened: /home/pi/.hyperhdr/db/hyperhdr.db
2021-03-29T18:04:52.659Z [V4L2:AUTO] (INFO) Video FPS: 15.75, av. delay: 52ms, good: 945, bad: 0 (60.02,15)
2021-03-29T18:04:53.401Z [LEDDEVICE] (DEBUG) (LedDeviceFile.cpp:85:close()) File: /dev/null
2021-03-29T18:04:53.402Z [LEDDEVICE] (INFO) Stopped LedDevice 'file'
2021-03-29T18:04:53.403Z [LEDDEVICE] (INFO) Start LedDevice 'ws281x'.
2021-03-29T18:04:53.403Z [LEDDEVICE] (DEBUG) (LedDevice.cpp:149:init()) deviceConfig: [{"colorOrder":"rgb","currentLedCount":300,"dma":5,"gpio":18,"hardwareLedCount":300,"invert":false,"latchTime":0,"leds":300,"pwmchannel":0,"rewriteTime":1000,"rgbw":false,"type":"ws281x","whiteAlgorithm":"subtract_minimum"}]
2021-03-29T18:04:53.404Z [LEDDEVICE] (DEBUG) (LedDevice.cpp:408:setLatchTime()) LatchTime updated to 0ms
2021-03-29T18:04:53.404Z [LEDDEVICE] (DEBUG) (LedDevice.cpp:429:setRewriteTime()) Refresh interval = 1000ms
2021-03-29T18:04:53.404Z [LEDDEVICE] (DEBUG) (LedDevice.cpp:435:setRewriteTime()) RewriteTime updated to 1000ms
2021-03-29T18:04:53.404Z [LEDDEVICE] (DEBUG) (LedDeviceWS281x.cpp:59:init()) ws281x strip type : 1050624
2021-03-29T18:04:53.406Z [SMOOTHING] (WARNING) Detect size changed. Previuos value: 1, new value: 300
2021-03-29T18:04:53.406Z [COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) LED device: disabled
2021-03-29T18:04:53.407Z [LEDDEVICE] (ERROR) Device disabled, device 'ws281x' signals error: 'Failed to open. Error message: mmap() failed'
2021-03-29T18:05:08.116Z [IMAGETOLED] (INFO) Total index number for instance: 0 is: 537600. Sparse processing: disabled, image size: 1920 x 1080, area number: 300
2021-03-29T18:05:08.118Z [RgbTransform] (DEBUG) (RgbTransform.cpp:36:init()) RGB transform classic_config: 0, saturationGain: 1.000000, luminanceGain: 1.000000
2021-03-29T18:05:08.118Z [RgbTransform] (DEBUG) (RgbTransform.cpp:36:init()) RGB transform classic_config: 0, saturationGain: 1.000000, luminanceGain: 1.000000
2021-03-29T18:05:08.119Z [ChannelAdjust_RED] (DEBUG) (RgbChannelAdjustment.cpp:38:setCorrection()) set color correction to 255
2021-03-29T18:05:08.119Z [ChannelAdjust_BLUE] (DEBUG) (RgbChannelAdjustment.cpp:38:setCorrection()) set color correction to 255
2021-03-29T18:05:08.119Z [ChannelAdjust_GREEN] (DEBUG) (RgbChannelAdjustment.cpp:38:setCorrection()) set color correction to 255
2021-03-29T18:05:16.502Z [LEDDEVICE] (ERROR) Device disabled, device 'ws281x' signals error: 'Failed to open. Error message: mmap() failed'
2021-03-29T18:05:52.668Z [V4L2:AUTO] (INFO) Video FPS: 19.88, av. delay: 39ms, good: 1193, bad: 0 (60.01,15)
2021-03-29T18:06:46.510Z [WEBSOCKET] (DEBUG) (JsonAPI.cpp:1080:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.0.134

Steps to reproduce

Raspberry Pi 4 2GB Rev 1.4

What is expected?

Able to open ws281x LED Hardware without any issues

What is actually happening?

Failed to open ws281x LED Hardware

System

HyperHDR Server:

  • Build: (HEAD detached at caaceec) (Awawa-7d37aa4/caaceec-1614632873)
  • Build time: Mar 1 2021 21:37:44
  • Git Remote: https://github.com/awawa-dev/HyperHDR
  • Version: 15.0.0.0
  • UI Lang: auto (BrowserLang: en-US)
  • UI Access: expert
  • Avail Capt: v4l2
  • Database: read/write

HyperHDR Server OS:

  • Distribution: Raspbian GNU/Linux 10 (buster)
  • Architecture: arm
  • CPU Model: ARMv7 Processor rev 3 (v7l)
  • CPU Type: Raspberry Pi 4 Model B Rev 1.4
  • CPU Revision: b03114
  • CPU Hardware: BCM2711
  • Kernel: linux (5.10.17-v7l+ (WS: 32))
  • Qt Version: 5.11.3
  • Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:87.0) Gecko/20100101 Firefox/87.0

Platform capture

Hi,
Is it possible to enable platform capture for windows setup ?

currently using Rpi3 and that is getting data over flatbuffers from a windows HTPC running Hyperion Screen Capture software. Now instead of using 2 devices what I am planning is to install HyperHDR in my PC and then screen capture features (if that is possible), Hyperion have screen capture feature so I am wondering if that be done in HyperHDR as well.

Inactive SPI in HyperHDR 17.0.0.0 SD card image

Today I installed the HyperHDR 17.0.0.0 SD card image and ran it.
I configured a WS2801 light strip and the USB grabber and tried some effects. Nothing worked, i.e. all LEDs stayed black.
Then I figured out in the log, that none of the listed SPI sources worked.
To fix this I logged in through SSH, ran raspi-config, activated the SPI interface and rebooted. This fixed it.
So, as it seems, SPI needs to be activated in your SD card image as it was in version 16.0.0.1.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.