awawa-dev / HyperHDR

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

Problems with pipewire #752

Closed BramB-1952444 closed 9 months ago

BramB-1952444 commented 9 months ago

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

2024-01-29T22:16:15.793Z [CORE] TTY is not attached to the log output
2024-01-29T22:16:15.802Z [MAIN] Database path: '/home/bram/.hyperhdr/db/hyperhdr.db', readonlyMode = disabled
2024-01-29T22:16:15.802Z [MAIN] Starting HyperHdr - 20.0.0.0beta1, (HEAD detached at v20.0.0.0beta1) (GitHub-ccd22a1/558c7e0-1703192848), built: Dec 23 2023:14:34:03
2024-01-29T22:16:15.802Z [MAIN] Set user data path to '/home/bram/.hyperhdr'
2024-01-29T22:16:15.803Z [INSTANCE_CFG] Loading instance configuration
2024-01-29T22:16:15.804Z [DB] Database opened: /home/bram/.hyperhdr/db/hyperhdr.db
2024-01-29T22:16:15.809Z [INSTANCE_CFG] Settings database initialized
2024-01-29T22:16:15.823Z [SOUND_GRABBER] Sound device is disabled
2024-01-29T22:16:15.865Z [JSONSERVER] (JsonServer.cpp:26) Created new instance
2024-01-29T22:16:15.865Z [JSONSERVER] Started on port 19444
2024-01-29T22:16:15.866Z [SSDP] (SSDPHandler.cpp:31) SSDPHandler is initialized
2024-01-29T22:16:15.866Z [MAIN] start systray
2024-01-29T22:16:15.849Z [V4L2:auto] (GrabberWrapper.cpp:55) Starting the grabber wrapper
2024-01-29T22:16:15.849Z [V4L2:AUTO] Found capture device: /dev/video0
2024-01-29T22:16:15.849Z [V4L2:AUTO] (V4L2Grabber.cpp:406) Device has 'brightness' control => min: 0, max: 255, default: 128
2024-01-29T22:16:15.849Z [V4L2:AUTO] (V4L2Grabber.cpp:412) Device has 'contrast' control => min: 0, max: 255, default: 32
2024-01-29T22:16:15.849Z [V4L2:AUTO] (V4L2Grabber.cpp:418) Device has 'saturation' control => min: 0, max: 100, default: 64
2024-01-29T22:16:15.849Z [V4L2:AUTO] (V4L2Grabber.cpp:424) Device has 'hue' control => min: -180, max: 180, default: 0
2024-01-29T22:16:15.850Z [V4L2:AUTO] Integrated Camera: Integrated C (video0) [/dev/video0] 1280 x 720 @ 30 fps mjpeg input 0
2024-01-29T22:16:15.850Z [V4L2:AUTO] Integrated Camera: Integrated C (video0) [/dev/video0] 320 x 180 @ 30 fps mjpeg input 0
2024-01-29T22:16:15.850Z [V4L2:AUTO] Integrated Camera: Integrated C (video0) [/dev/video0] 320 x 240 @ 30 fps mjpeg input 0
2024-01-29T22:16:15.850Z [V4L2:AUTO] Integrated Camera: Integrated C (video0) [/dev/video0] 352 x 288 @ 30 fps mjpeg input 0
2024-01-29T22:16:15.850Z [V4L2:AUTO] Integrated Camera: Integrated C (video0) [/dev/video0] 424 x 240 @ 30 fps mjpeg input 0
2024-01-29T22:16:15.850Z [V4L2:AUTO] Integrated Camera: Integrated C (video0) [/dev/video0] 640 x 360 @ 30 fps mjpeg input 0
2024-01-29T22:16:15.850Z [V4L2:AUTO] Integrated Camera: Integrated C (video0) [/dev/video0] 640 x 480 @ 30 fps mjpeg input 0
2024-01-29T22:16:15.850Z [V4L2:AUTO] Integrated Camera: Integrated C (video0) [/dev/video0] 848 x 480 @ 30 fps mjpeg input 0
2024-01-29T22:16:15.850Z [V4L2:AUTO] Integrated Camera: Integrated C (video0) [/dev/video0] 960 x 540 @ 30 fps mjpeg input 0
2024-01-29T22:16:15.850Z [V4L2:AUTO] Integrated Camera: Integrated C (video0) [/dev/video0] 1280 x 720 @ 10 fps yuyv input 0
2024-01-29T22:16:15.850Z [V4L2:AUTO] Integrated Camera: Integrated C (video0) [/dev/video0] 320 x 180 @ 30 fps yuyv input 0
2024-01-29T22:16:15.850Z [V4L2:AUTO] Integrated Camera: Integrated C (video0) [/dev/video0] 320 x 240 @ 30 fps yuyv input 0
2024-01-29T22:16:15.850Z [V4L2:AUTO] Integrated Camera: Integrated C (video0) [/dev/video0] 352 x 288 @ 30 fps yuyv input 0
2024-01-29T22:16:15.850Z [V4L2:AUTO] Integrated Camera: Integrated C (video0) [/dev/video0] 424 x 240 @ 30 fps yuyv input 0
2024-01-29T22:16:15.850Z [V4L2:AUTO] Integrated Camera: Integrated C (video0) [/dev/video0] 640 x 360 @ 30 fps yuyv input 0
2024-01-29T22:16:15.850Z [V4L2:AUTO] Integrated Camera: Integrated C (video0) [/dev/video0] 640 x 480 @ 30 fps yuyv input 0
2024-01-29T22:16:15.850Z [V4L2:AUTO] Integrated Camera: Integrated C (video0) [/dev/video0] 848 x 480 @ 20 fps yuyv input 0
2024-01-29T22:16:15.850Z [V4L2:AUTO] Integrated Camera: Integrated C (video0) [/dev/video0] 960 x 540 @ 15 fps yuyv input 0
2024-01-29T22:16:15.850Z [V4L2:AUTO] Restarting video grabber is now blocked due to reloading of the configuration
2024-01-29T22:16:15.850Z [V4L2:AUTO] Cropping image: width=0 height=0; crop: left=0 right=0 top=0 bottom=0 
2024-01-29T22:16:15.850Z [V4L2:auto] (GrabberWrapper.cpp:126) CEC keycode. Start: 0, stop: 0
2024-01-29T22:16:15.850Z [V4L2:AUTO] (Grabber.cpp:273) setBrightnessContrastSaturationHue nothing changed
2024-01-29T22:16:15.850Z [V4L2:AUTO] (V4L2Grabber.cpp:125) setHdrToneMappingMode to: Disabled
2024-01-29T22:16:15.850Z [V4L2:AUTO] (Grabber.cpp:182) setFpsSoftwareDecimation to: 1
2024-01-29T22:16:15.850Z [SIGNAL_OLD] (DetectionManual.cpp:84) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
2024-01-29T22:16:15.850Z [SIGNAL_OLD] (DetectionManual.cpp:74) Signal threshold set to: {12, 12, 12} and frames: 200
2024-01-29T22:16:15.850Z [SIGNAL_AUTO] (DetectionAutomatic.cpp:375) Automatic signal detection -> errorTolerance: 9, modelTolerance: 90, sleepTime: 5000, wakeTime: 1000
2024-01-29T22:16:15.850Z [V4L2:AUTO] (Grabber.cpp:380) setDeviceVideoStandard preparing to restart video grabber. Old: '' new: 'auto'
2024-01-29T22:16:15.850Z [V4L2:AUTO] Delayed restart of the grabber due to change of selected device
2024-01-29T22:16:15.850Z [V4L2:AUTO] (Grabber.cpp:200) Force encoding to: NO_CHANGE (old: NO_CHANGE)
2024-01-29T22:16:15.850Z [V4L2:AUTO] setQFrameDecimation is now: disabled
2024-01-29T22:16:15.853Z [PIPEWIRE_SYSTEM:AUTO] Loaded Pipewire proxy library for screen capturing
2024-01-29T22:16:15.853Z [HYPERHDR0] Starting the instance
2024-01-29T22:16:15.853Z [INSTANCE_CFG0] Loading instance configuration
2024-01-29T22:16:15.853Z [DB] Database opened: /home/bram/.hyperhdr/db/hyperhdr.db
2024-01-29T22:16:15.857Z [PIPEWIRE_SYSTEM:AUTO] Restarting video grabber is now blocked due to reloading of the configuration
2024-01-29T22:16:15.857Z [PIPEWIRE_SYSTEM:AUTO] (Grabber.cpp:159) Set new width: 512, height: 512 for capture
2024-01-29T22:16:15.857Z [PIPEWIRE_SYSTEM:AUTO] (Grabber.cpp:335) setWidthHeight preparing to restarting video grabber 0
2024-01-29T22:16:15.857Z [PIPEWIRE_SYSTEM:AUTO] Delayed restart of the grabber due to change of the capturing resolution
2024-01-29T22:16:15.857Z [PIPEWIRE_SYSTEM:AUTO] Delayed restart of the grabber due to change of the framerate
2024-01-29T22:16:15.857Z [SIGNAL_OLD] (DetectionManual.cpp:84) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
2024-01-29T22:16:15.857Z [SIGNAL_OLD] (DetectionManual.cpp:74) Signal threshold set to: {12, 12, 12} and frames: 200
2024-01-29T22:16:15.857Z [PIPEWIRE_SYSTEM:AUTO] (Grabber.cpp:380) setDeviceVideoStandard preparing to restart video grabber. Old: '' new: 'auto'
2024-01-29T22:16:15.857Z [PIPEWIRE_SYSTEM:AUTO] Delayed restart of the grabber due to change of selected device
2024-01-29T22:16:15.875Z [INSTANCE_CFG0] Settings database initialized
2024-01-29T22:16:15.875Z [COMPONENTCTRL0] (ComponentController.cpp:30) ComponentController is initialized
2024-01-29T22:16:15.875Z [BLACKBORDER] Set mode to: default
2024-01-29T22:16:15.875Z [IMAGETOLED_MNG0] (ImageToLedManager.cpp:192) Set LED mapping type to advanced
2024-01-29T22:16:15.875Z [IMAGETOLED_MNG0] (ImageToLedManager.cpp:176) setSparseProcessing to 0
2024-01-29T22:16:15.875Z [IMAGETOLED_MNG0] (ImageToLedManager.cpp:103) ImageToLedManager initialized
2024-01-29T22:16:15.875Z [MUXER0] (Muxer.cpp:55) Muxer initialized
2024-01-29T22:16:15.875Z [COLORSPACE_CALIBRATION0] classicMode: no, gammas:[1.50, 1.50, 1.50], saturation: 1.00, luminance: 1.00, backLight: [enabled, threshold: 1, colored: yes]
2024-01-29T22:16:15.875Z [LED_CALIBRATION0] (LedCalibration.cpp:101) Calibration config '0' for LED segment: [0, 0]
2024-01-29T22:16:15.875Z [HYPERHDR0] Led strip RGB order is: rgb
2024-01-29T22:16:15.875Z [SMOOTHING0] High resolution clock is NOT STEADY!
2024-01-29T22:16:15.875Z [SMOOTHING0] Clearing queued colors before: enabling
2024-01-29T22:16:15.875Z [SMOOTHING0] Smoothing queue is cleared
2024-01-29T22:16:15.875Z [COMPONENTCTRL0] Smoothing: enabled
2024-01-29T22:16:15.875Z [SMOOTHING0] Creating config (0) => type: Alternative, dirMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250
2024-01-29T22:16:15.875Z [SMOOTHING0] Clearing queued colors before: enabling. Smoothing configuration changed: restarting timer.
2024-01-29T22:16:15.875Z [SMOOTHING0] Smoothing queue is cleared
2024-01-29T22:16:15.875Z [SMOOTHING0] Selecting config (0) => type: Alternative, directMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250
2024-01-29T22:16:15.875Z [SMOOTHING0] Selecting config (0) => type: Alternative, directMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250
2024-01-29T22:16:15.876Z [HYPER_MANAGER] HyperHDR instance 'First LED instance' has been started
2024-01-29T22:16:15.876Z [HYPERHDR0] The instance is running
2024-01-29T22:16:15.876Z [LEDDEVICE0_WLED] Start LedDevice 'wled'.
2024-01-29T22:16:15.876Z [LEDDEVICE0_WLED] (LedDeviceWled.cpp:36) Initializing WLED
2024-01-29T22:16:15.876Z [MUXER0] Register new input 'System/SYSTEMGRABBER' with priority 245 as inactive
2024-01-29T22:16:15.876Z [COMPONENTCTRL0] System capture device: enabled
2024-01-29T22:16:15.876Z [LEDDEVICE0_WLED] (LedDevice.cpp:310) deviceConfig: [{"brightnessMax":true,"brightnessMaxLevel":255,"colorOrder":"rgb","currentLedCount":1,"host":"192.168.40.108","maxRetry":60,"refreshTime":20,"restoreOriginalState":true,"smoothingRefreshTime":20,"type":"wled"}]
2024-01-29T22:16:15.876Z [LEDDEVICE0_WLED] Ignoring user LED refresh rate. Forcing smoothing refresh rate = 50.00 Hz
2024-01-29T22:16:15.876Z [LEDDEVICE0_WLED] (LedDevice.cpp:396) Refresh rate = 50.00 Hz
2024-01-29T22:16:15.876Z [LEDDEVICE0_WLED] (LedDevice.cpp:346) Device is not ready to start a timer
2024-01-29T22:16:15.876Z [LEDDEVICE0_WLED] (LedDevice.cpp:406) Refresh interval updated to 20ms
2024-01-29T22:16:15.876Z [PIPEWIRE_SYSTEM:AUTO] (PipewireGrabber.cpp:162) init
2024-01-29T22:16:15.876Z [LEDDEVICE0_WLED] (LedDeviceWled.cpp:45) DeviceType     : wled
2024-01-29T22:16:15.876Z [LEDDEVICE0_WLED] (LedDeviceWled.cpp:46) LedCount       : 1
2024-01-29T22:16:15.876Z [PIPEWIRE_SYSTEM:AUTO] (PipewireGrabber.cpp:187) Forcing auto discovery device
2024-01-29T22:16:15.876Z [PIPEWIRE_SYSTEM:AUTO] (PipewireGrabber.cpp:192) Auto discovery set to Pipewire System Dialog selection
2024-01-29T22:16:15.876Z [LEDDEVICE0_WLED] (LedDeviceWled.cpp:49) Override brightness : true
2024-01-29T22:16:15.876Z [PIPEWIRE_SYSTEM:AUTO] *************************************************************************************************
2024-01-29T22:16:15.876Z [LEDDEVICE0_WLED] (LedDeviceWled.cpp:52) Set brightness level: 255
2024-01-29T22:16:15.876Z [PIPEWIRE_SYSTEM:AUTO] Starting Pipewire grabber. Selected: 'Pipewire System Dialog selection' (1) max width: 512 (512) @ 10 fps
2024-01-29T22:16:15.876Z [PIPEWIRE_SYSTEM:AUTO] *************************************************************************************************
2024-01-29T22:16:15.876Z [LEDDEVICE0_WLED] (LedDeviceWled.cpp:55) Restore WLED   : true
2024-01-29T22:16:15.876Z [LEDDEVICE0_WLED] (LedDeviceWled.cpp:58) Max retry      : 60
2024-01-29T22:16:15.876Z [LEDDEVICE0_WLED] (LedDeviceWled.cpp:96) 
2024-01-29T22:16:15.876Z [LEDDEVICE0_WLED] (LedDeviceWled.cpp:107) [1]
2024-01-29T22:16:15.876Z [LEDDEVICE0_WLED] (LedDevice.cpp:310) deviceConfig: [{"brightnessMax":true,"brightnessMaxLevel":255,"colorOrder":"rgb","currentLedCount":1,"host":"192.168.40.108","maxRetry":60,"port":21324,"refreshTime":20,"restoreOriginalState":true,"smoothingRefreshTime":20,"type":"wled"}]
2024-01-29T22:16:15.876Z [LEDDEVICE0_WLED] Ignoring user LED refresh rate. Forcing smoothing refresh rate = 50.00 Hz
2024-01-29T22:16:15.876Z [LEDDEVICE0_WLED] (LedDevice.cpp:396) Refresh rate = 50.00 Hz
2024-01-29T22:16:15.876Z [LEDDEVICE0_WLED] (LedDevice.cpp:346) Device is not ready to start a timer
2024-01-29T22:16:15.876Z [LEDDEVICE0_WLED] (LedDevice.cpp:406) Refresh interval updated to 20ms
2024-01-29T22:16:15.876Z [LEDDEVICE0_WLED] (ProviderUdp.cpp:64) Successfully parsed 192.168.40.108 as an IP-address.
2024-01-29T22:16:15.876Z [LEDDEVICE0_WLED] (ProviderUdp.cpp:94) UDP socket will write to 192.168.40.108:21324
2024-01-29T22:16:15.876Z [LEDDEVICE0_WLED] (LedDeviceWled.cpp:85) Hostname/IP  : 192.168.40.108
2024-01-29T22:16:15.876Z [LEDDEVICE0_WLED] (LedDeviceWled.cpp:86) Port         : 21324
2024-01-29T22:16:15.876Z [LEDDEVICE0_WLED] (LedDeviceWled.cpp:90) [1]
2024-01-29T22:16:15.876Z [LEDDEVICE0_WLED] (LedDevice.cpp:220) Enable the device
2024-01-29T22:16:15.876Z [DB] Database opened: /home/bram/.hyperhdr/db/hyperhdr.db
2024-01-29T22:16:15.876Z [PIPEWIRE_SYSTEM:AUTO] Loading restoration token: ************************5568024a7714
2024-01-29T22:16:15.877Z [WEBSERVER] Initialize Webserver
2024-01-29T22:16:15.879Z [PIPEWIRE_SYSTEM:AUTO] Started
2024-01-29T22:16:15.880Z [WEBSERVER] Apply Webserver settings
2024-01-29T22:16:15.880Z [WEBSERVER] Set document root to: :/www
2024-01-29T22:16:15.883Z [LEDDEVICE0_WLED] (LedDevice.cpp:63) Switch on
2024-01-29T22:16:15.883Z [LEDDEVICE0_WLED] (LedDeviceWled.cpp:127) 
2024-01-29T22:16:15.883Z [FLATBUFSERVER] Started on port 19400
2024-01-29T22:16:15.883Z [LEDDEVICE] (ProviderRestApi.cpp:174) GET begin: [http://192.168.40.108:80/json] []
2024-01-29T22:16:15.883Z [WEBSERVER] Started: 'HyperHDR WebServer (HTTP)' on port: 8090
2024-01-29T22:16:15.883Z [FLATBUFSERVER] Started local domain socket server: 'hyperhdr-domain'
2024-01-29T22:16:15.883Z [SSDP] (SSDPHandler.cpp:93) The local address is empty
2024-01-29T22:16:15.883Z [WEBSERVER] Initialize Webserver
2024-01-29T22:16:15.883Z [WEBSERVER] Apply Webserver settings
2024-01-29T22:16:15.883Z [WEBSERVER] Set document root to: :/www
2024-01-29T22:16:15.883Z [NETFORWARDER] Forwarder has changed state to disabled
2024-01-29T22:16:15.885Z [WEBSERVER] Setup SSL certificate
2024-01-29T22:16:15.886Z [WEBSERVER] Setup private SSL key
2024-01-29T22:16:15.886Z [WEBSERVER] Started: 'HyperHDR WebServer (HTTPS)' on port: 8092
2024-01-29T22:16:15.886Z [SSDP] (SSDPHandler.cpp:42) SSDPHandler is initializing
2024-01-29T22:16:15.886Z [SSDP] (SSDPHandler.cpp:183) The local address is: 192.168.40.15
2024-01-29T22:16:15.886Z [SSDP] (SSDPServer.cpp:95) Initialize the SSDP server
2024-01-29T22:16:15.886Z [WEBSERVER] (StaticFileServing.cpp:68) SSDP description is set up
2024-01-29T22:16:15.886Z [SSDP] Starting the SSDP server
2024-01-29T22:16:15.958Z [LEDDEVICE] (ProviderRestApi.cpp:198) GET end (75 ms): [http://192.168.40.108:80/json] []
2024-01-29T22:16:15.958Z [LEDDEVICE] (ProviderRestApi.cpp:203) Reply OK [200]
2024-01-29T22:16:15.958Z [LEDDEVICE0_WLED] WLED info => wifi quality: 52% (LOW), wifi channel: 11, leds: 1, arch: esp8266, ver: 0.14.0-b1, uptime: 3501s, port: 21324, power limit: 2000mA
2024-01-29T22:16:15.958Z [LEDDEVICE0_WLED] Serious warning: the power limiter in WLED is set which may lead to unexpected side effects. Use the right cabling & power supply with the appropriate power, not this half-measure.
2024-01-29T22:16:15.958Z [LEDDEVICE] (ProviderRestApi.cpp:174) PUT begin: [http://192.168.40.108:80/json/state] [{"on":true,"live":true,"bri":255}]
2024-01-29T22:16:15.980Z [PIPEWIRE_SYSTEM:AUTO] Portal protocol version: 5
2024-01-29T22:16:15.980Z [PIPEWIRE_SYSTEM:AUTO] Saving restoration token: ************************5568024a7714
2024-01-29T22:16:15.991Z [LEDDEVICE] (ProviderRestApi.cpp:198) PUT end (33 ms): [http://192.168.40.108:80/json/state] [{"on":true,"live":true,"bri":255}]
2024-01-29T22:16:15.992Z [LEDDEVICE] (ProviderRestApi.cpp:203) Reply OK [200]
2024-01-29T22:16:15.992Z [LEDDEVICE0_WLED] (LedDevice.cpp:340) Starting timer with interval = 20ms
2024-01-29T22:16:15.992Z [COMPONENTCTRL0] LED device: enabled
2024-01-29T22:16:15.992Z [SMOOTHING0] Using alternative smoothing input (0)
2024-01-29T22:16:15.992Z [EFFECTENGINE0] Run effect "Rainbow swirl fast" on channel 0
2024-01-29T22:16:15.993Z [EFFECTENGINE0] (EffectEngine.cpp:92) Start the effect: name [Rainbow swirl fast]
2024-01-29T22:16:15.993Z [MUXER0] Register new input 'System/EFFECT' with priority 0 as inactive
2024-01-29T22:16:15.993Z [HYPERHDR0] Boot effect: animation set to 'Rainbow swirl fast' [started]
2024-01-29T22:16:15.993Z [EFFECT0(Rainbo...)] Begin playing the effect with priority: 0
2024-01-29T22:16:15.994Z [MUXER0] Priority 0 is now active
2024-01-29T22:16:15.994Z [MUXER0] Set visible priority to 0
2024-01-29T22:16:15.994Z [SMOOTHING0] Clearing queued colors before: enabling. Smoothing configuration changed: restarting timer.
2024-01-29T22:16:15.994Z [SMOOTHING0] Smoothing queue is cleared
2024-01-29T22:16:15.994Z [SMOOTHING0] Selecting config (2) => type: Linear, directMode: false, pause: false, settlingTime: 200ms, interval: 40ms (25Hz), antiFlickTres: 0, antiFlickStep: 0, antiFlickTime: 0
2024-01-29T22:16:15.994Z [LEDDEVICE0_WLED] (LedDevice.cpp:354) Stopping refresh timer
2024-01-29T22:16:15.994Z [SMOOTHING0] Using linear smoothing input (2)
2024-01-29T22:16:15.994Z [HYPERHDR0] New priority[0], previous [255]
2024-01-29T22:16:15.994Z [LEDDEVICE0_WLED] Ignoring user LED refresh rate. Forcing smoothing refresh rate = 25.00 Hz
2024-01-29T22:16:15.994Z [HYPERHDR0] New source available -> switch LED-Device on
2024-01-29T22:16:15.994Z [LEDDEVICE0_WLED] (LedDevice.cpp:396) Refresh rate = 25.00 Hz
2024-01-29T22:16:15.994Z [LEDDEVICE0_WLED] (LedDevice.cpp:340) Starting timer with interval = 40ms
2024-01-29T22:16:15.994Z [SMOOTHING0] Clearing queued colors before: enabling
2024-01-29T22:16:15.994Z [LEDDEVICE0_WLED] (LedDevice.cpp:406) Refresh interval updated to 40ms
2024-01-29T22:16:15.994Z [SMOOTHING0] Smoothing queue is cleared
2024-01-29T22:16:15.994Z [LEDDEVICE0_WLED] (LedDevice.cpp:421) LED refresh interval adjustment caused by smoothing configuration change to 40ms (proposed: 40ms)
2024-01-29T22:16:15.994Z [LEDDEVICE0_WLED] (LedDevice.cpp:220) Enable the device
2024-01-29T22:16:15.994Z [COLORSPACE_CALIBRATION0] (ColorSpaceCalibration.cpp:225) setBackLightEnabled: 0
2024-01-29T22:16:15.994Z [IMAGETOLED_MNG0] Total index number is: 320 (memory: 320). User sparse processing is: disabled, image size: 80 x 45, area number: 1
2024-01-29T22:16:15.994Z [SMOOTHING0] Using linear smoothing input (2)
2024-01-29T22:16:16.074Z [SMOOTHING0] Using linear smoothing procedure (2)
2024-01-29T22:16:16.323Z [WEBSOCKET] (WebSocketClient.cpp:39) New connection from ::ffff:127.0.0.1
2024-01-29T22:16:17.385Z [SERVICE_mDNS] Starting the network discovery thread
2024-01-29T22:16:17.638Z [NET_DISCOVERY] Found WLED at 192.168.40.108:80 (wled-53daab.local)
2024-01-29T22:16:18.996Z [EFFECT0(Rainbo...)] The effect quits with priority: 0
2024-01-29T22:16:18.996Z [MUXER0] Removed source priority 0
2024-01-29T22:16:18.996Z [MUXER0] Set visible priority to 255
2024-01-29T22:16:18.996Z [SMOOTHING0] Clearing queued colors before: enabling. Smoothing configuration changed: restarting timer.
2024-01-29T22:16:18.996Z [SMOOTHING0] Smoothing queue is cleared
2024-01-29T22:16:18.996Z [SMOOTHING0] Selecting config (0) => type: Alternative, directMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250
2024-01-29T22:16:18.996Z [SMOOTHING0] Using alternative smoothing input (0)
2024-01-29T22:16:18.996Z [HYPERHDR0] New priority[255], previous [0]
2024-01-29T22:16:18.996Z [HYPERHDR0] No source left -> switch LED-Device off
2024-01-29T22:16:18.996Z [SMOOTHING0] Clearing queued colors before: disabling
2024-01-29T22:16:18.996Z [SMOOTHING0] Smoothing queue is cleared
2024-01-29T22:16:18.996Z [LEDDEVICE0_WLED] (LedDevice.cpp:354) Stopping refresh timer
2024-01-29T22:16:18.996Z [COLORSPACE_CALIBRATION0] (ColorSpaceCalibration.cpp:225) setBackLightEnabled: 0
2024-01-29T22:16:18.996Z [LEDDEVICE0_WLED] Ignoring user LED refresh rate. Forcing smoothing refresh rate = 50.00 Hz
2024-01-29T22:16:18.996Z [LEDDEVICE0_WLED] (LedDevice.cpp:396) Refresh rate = 50.00 Hz
2024-01-29T22:16:18.996Z [EFFECTENGINE0] Effect 'Rainbow swirl fast' has finished.
2024-01-29T22:16:18.996Z [LEDDEVICE0_WLED] (LedDevice.cpp:340) Starting timer with interval = 20ms
2024-01-29T22:16:18.996Z [LEDDEVICE0_WLED] (LedDevice.cpp:406) Refresh interval updated to 20ms
2024-01-29T22:16:18.996Z [LEDDEVICE0_WLED] (LedDevice.cpp:421) LED refresh interval adjustment caused by smoothing configuration change to 20ms (proposed: 20ms)
2024-01-29T22:16:18.997Z [EFFECT0(Rainbo...)] Effect named: 'Rainbow swirl fast' is deleted
2024-01-29T22:16:18.997Z [LEDDEVICE0_WLED] (LedDevice.cpp:270) Disable the device
2024-01-29T22:16:18.997Z [LEDDEVICE0_WLED] (LedDevice.cpp:354) Stopping refresh timer
2024-01-29T22:16:18.997Z [LEDDEVICE0_WLED] (LedDevice.cpp:89) Switch off
2024-01-29T22:16:18.997Z [LEDDEVICE0_WLED] (LedDeviceWled.cpp:200) 
2024-01-29T22:16:18.997Z [LEDDEVICE0_WLED] (LedDevice.cpp:517) Set LED strip to black/power off
2024-01-29T22:16:18.997Z [LEDDEVICE] (ProviderRestApi.cpp:174) PUT begin: [http://192.168.40.108:80/json/state] [{"bri":255,"live":false,"lor":0,"mainseg":0,"nl":{"dur":60,"mode":1,"on":false,"rem":-1,"tbri":0},"on":true,"pl":-1,"ps":-1,"seg":[{"bri":255,"c1":128,"c2":128,"c3":16,"cct":127,"col":[[255,160,0,0],[0,0,0,0],[0,0,0,0]],"frz":false,"fx":0,"grp":1,"id":0,"ix":128,"len":1,"m12":0,"mi":false,"o1":false,"o2":false,"o3":false,"of":0,"on":true,"pal":0,"rev":false,"sel":true,"si":0,"spc":0,"start":0,"stop":1,"sx":128}],"transition":7,"udpn":{"recv":true,"send":false}}]
2024-01-29T22:16:19.097Z [LEDDEVICE] (ProviderRestApi.cpp:198) PUT end (100 ms): [http://192.168.40.108:80/json/state] [{"bri":255,"live":false,"lor":0,"mainseg":0,"nl":{"dur":60,"mode":1,"on":false,"rem":-1,"tbri":0},"on":true,"pl":-1,"ps":-1,"seg":[{"bri":255,"c1":128,"c2":128,"c3":16,"cct":127,"col":[[255,160,0,0],[0,0,0,0],[0,0,0,0]],"frz":false,"fx":0,"grp":1,"id":0,"ix":128,"len":1,"m12":0,"mi":false,"o1":false,"o2":false,"o3":false,"of":0,"on":true,"pal":0,"rev":false,"sel":true,"si":0,"spc":0,"start":0,"stop":1,"sx":128}],"transition":7,"udpn":{"recv":true,"send":false}}]
2024-01-29T22:16:19.097Z [LEDDEVICE] (ProviderRestApi.cpp:203) Reply OK [200]
2024-01-29T22:16:19.097Z [COMPONENTCTRL0] LED device: disabled
2024-01-29T22:16:25.915Z [WEBSOCKET] (HyperAPI.cpp:957) log streaming activated for client ::ffff:127.0.0.1
2024-01-29T22:16:32.145Z [WEBSOCKET] (HyperAPI.cpp:966) log streaming deactivated for client  ::ffff:127.0.0.1
2024-01-29T22:17:03.348Z [WEBSOCKET] (HyperAPI.cpp:1109) message: [{"command":"leddevice","ledDeviceType":"wled","subcommand":"discover","tan":974}]
2024-01-29T22:17:03.349Z [LEDDEVICE_WLED] (LedDeviceWled.cpp:249) devicesDiscovered: [{"devices":[{"name":"192.168.40.108 (wled-53daab.local)","value":"192.168.40.108"}],"ledDeviceType":"wled"}]
2024-01-29T22:17:03.349Z [WEBSOCKET] (HyperAPI.cpp:1133) response: [{"devices":[{"name":"192.168.40.108 (wled-53daab.local)","value":"192.168.40.108"}],"ledDeviceType":"wled"}]
2024-01-29T22:17:22.295Z [WEBSOCKET] (WebSocketClient.cpp:39) New connection from ::ffff:127.0.0.1
2024-01-29T22:19:38.463Z [WEBSOCKET] (HyperAPI.cpp:966) log streaming deactivated for client  ::ffff:127.0.0.1
2024-01-29T22:19:41.558Z [WEBSOCKET] (HyperAPI.cpp:957) log streaming activated for client ::ffff:127.0.0.1

Steps to reproduce

I am on arch using KDE started the screen grabber got the interface to select a screen and I get the notification that it is recording. OBS also works.

What is expected?

Preview to show my screen

What is actually happening?

The preview shows the HyperHDR no signal.

System

HyperHDR Server:

HyperHDR Server OS:

awawa-dev commented 9 months ago

Hi Please take a look here: https://github.com/awawa-dev/HyperHDR/pull/711 and run HyperHDR from command line to get more debug information.

BramB-1952444 commented 9 months ago
GUI application: 
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
22:42:02.318 MAIN                   : <INFO> Database path: '/home/bram/.hyperhdr/db/hyperhdr.db', readonlyMode = disabled
22:42:02.318 MAIN                   : <INFO> Starting HyperHdr - 20.0.0.0beta1, (HEAD detached at v20.0.0.0beta1) (GitHub-ccd22a1/558c7e0-1703192848), built: Dec 23 2023:14:34:03
22:42:02.318 MAIN                   : <INFO> Set user data path to '/home/bram/.hyperhdr'
22:42:02.318 INSTANCE_CFG           : <INFO> Loading instance configuration
22:42:02.319 DB                     : <INFO> Database opened: /home/bram/.hyperhdr/db/hyperhdr.db
22:42:02.324 INSTANCE_CFG           : <INFO> Settings database initialized
22:42:02.345 SOUND_GRABBER          : <INFO> Sound device is disabled
22:42:02.366 V4L2:auto              : <DEBUG> GrabberWrapper.cpp:55:GrabberWrapper() | Starting the grabber wrapper
22:42:02.366 V4L2:AUTO              : <INFO> Found capture device: /dev/video0
22:42:02.366 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:406:enumerateV4L2devices() | Device has 'brightness' control => min: 0, max: 255, default: 128
22:42:02.366 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:412:enumerateV4L2devices() | Device has 'contrast' control => min: 0, max: 255, default: 32
22:42:02.366 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:418:enumerateV4L2devices() | Device has 'saturation' control => min: 0, max: 100, default: 64
22:42:02.366 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:424:enumerateV4L2devices() | Device has 'hue' control => min: -180, max: 180, default: 0
22:42:02.367 V4L2:AUTO              : <INFO> Integrated Camera: Integrated C (video0) [/dev/video0] 1280 x 720 @ 30 fps mjpeg input 0
22:42:02.367 V4L2:AUTO              : <INFO> Integrated Camera: Integrated C (video0) [/dev/video0] 320 x 180 @ 30 fps mjpeg input 0
22:42:02.367 V4L2:AUTO              : <INFO> Integrated Camera: Integrated C (video0) [/dev/video0] 320 x 240 @ 30 fps mjpeg input 0
22:42:02.367 V4L2:AUTO              : <INFO> Integrated Camera: Integrated C (video0) [/dev/video0] 352 x 288 @ 30 fps mjpeg input 0
22:42:02.367 V4L2:AUTO              : <INFO> Integrated Camera: Integrated C (video0) [/dev/video0] 424 x 240 @ 30 fps mjpeg input 0
22:42:02.367 V4L2:AUTO              : <INFO> Integrated Camera: Integrated C (video0) [/dev/video0] 640 x 360 @ 30 fps mjpeg input 0
22:42:02.367 V4L2:AUTO              : <INFO> Integrated Camera: Integrated C (video0) [/dev/video0] 640 x 480 @ 30 fps mjpeg input 0
22:42:02.367 V4L2:AUTO              : <INFO> Integrated Camera: Integrated C (video0) [/dev/video0] 848 x 480 @ 30 fps mjpeg input 0
22:42:02.367 V4L2:AUTO              : <INFO> Integrated Camera: Integrated C (video0) [/dev/video0] 960 x 540 @ 30 fps mjpeg input 0
22:42:02.367 V4L2:AUTO              : <INFO> Integrated Camera: Integrated C (video0) [/dev/video0] 1280 x 720 @ 10 fps yuyv input 0
22:42:02.367 V4L2:AUTO              : <INFO> Integrated Camera: Integrated C (video0) [/dev/video0] 320 x 180 @ 30 fps yuyv input 0
22:42:02.367 V4L2:AUTO              : <INFO> Integrated Camera: Integrated C (video0) [/dev/video0] 320 x 240 @ 30 fps yuyv input 0
22:42:02.367 V4L2:AUTO              : <INFO> Integrated Camera: Integrated C (video0) [/dev/video0] 352 x 288 @ 30 fps yuyv input 0
22:42:02.367 V4L2:AUTO              : <INFO> Integrated Camera: Integrated C (video0) [/dev/video0] 424 x 240 @ 30 fps yuyv input 0
22:42:02.367 V4L2:AUTO              : <INFO> Integrated Camera: Integrated C (video0) [/dev/video0] 640 x 360 @ 30 fps yuyv input 0
22:42:02.367 V4L2:AUTO              : <INFO> Integrated Camera: Integrated C (video0) [/dev/video0] 640 x 480 @ 30 fps yuyv input 0
22:42:02.367 V4L2:AUTO              : <INFO> Integrated Camera: Integrated C (video0) [/dev/video0] 848 x 480 @ 20 fps yuyv input 0
22:42:02.367 V4L2:AUTO              : <INFO> Integrated Camera: Integrated C (video0) [/dev/video0] 960 x 540 @ 15 fps yuyv input 0
22:42:02.367 V4L2:AUTO              : <INFO> Restarting video grabber is now blocked due to reloading of the configuration
22:42:02.367 V4L2:AUTO              : <INFO> Cropping image: width=0 height=0; crop: left=0 right=0 top=0 bottom=0 
22:42:02.367 V4L2:auto              : <DEBUG> GrabberWrapper.cpp:126:setCecStartStop() | CEC keycode. Start: 0, stop: 0
22:42:02.367 V4L2:AUTO              : <DEBUG> Grabber.cpp:273:setBrightnessContrastSaturationHue() | setBrightnessContrastSaturationHue nothing changed
22:42:02.367 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:125:setHdrToneMappingEnabled() | setHdrToneMappingMode to: Disabled
22:42:02.367 V4L2:AUTO              : <DEBUG> Grabber.cpp:182:setFpsSoftwareDecimation() | setFpsSoftwareDecimation to: 1
22:42:02.367 SIGNAL_OLD             : <DEBUG> DetectionManual.cpp:84:setSignalDetectionOffset() | Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
22:42:02.367 SIGNAL_OLD             : <DEBUG> DetectionManual.cpp:74:setSignalThreshold() | Signal threshold set to: {12, 12, 12} and frames: 200
22:42:02.367 SIGNAL_AUTO            : <DEBUG> DetectionAutomatic.cpp:375:setAutoSignalParams() | Automatic signal detection -> errorTolerance: 9, modelTolerance: 90, sleepTime: 5000, wakeTime: 1000
22:42:02.367 V4L2:AUTO              : <DEBUG> Grabber.cpp:380:setDeviceVideoStandard() | setDeviceVideoStandard preparing to restart video grabber. Old: '' new: 'auto'
22:42:02.367 V4L2:AUTO              : <INFO> Delayed restart of the grabber due to change of selected device
22:42:02.367 V4L2:AUTO              : <DEBUG> Grabber.cpp:200:setEncoding() | Force encoding to: NO_CHANGE (old: NO_CHANGE)
22:42:02.367 V4L2:AUTO              : <INFO> setQFrameDecimation is now: disabled
22:42:02.368 PIPEWIRE_SYSTEM:AUTO   : <INFO> Loaded Pipewire proxy library for screen capturing
22:42:02.368 HYPERHDR0              : <INFO> Starting the instance
22:42:02.368 INSTANCE_CFG0          : <INFO> Loading instance configuration
22:42:02.368 DB                     : <INFO> Database opened: /home/bram/.hyperhdr/db/hyperhdr.db
PipewireHandler: ScreenCast protocol version: 5
Portal.ScreenCast: protocol version = 5
22:42:02.371 PIPEWIRE_SYSTEM:AUTO   : <INFO> Restarting video grabber is now blocked due to reloading of the configuration
22:42:02.371 PIPEWIRE_SYSTEM:AUTO   : <DEBUG> Grabber.cpp:159:trySetWidthHeight() | Set new width: 512, height: 512 for capture
22:42:02.371 PIPEWIRE_SYSTEM:AUTO   : <DEBUG> Grabber.cpp:335:setWidthHeight() | setWidthHeight preparing to restarting video grabber 0
22:42:02.371 PIPEWIRE_SYSTEM:AUTO   : <INFO> Delayed restart of the grabber due to change of the capturing resolution
22:42:02.371 PIPEWIRE_SYSTEM:AUTO   : <INFO> Delayed restart of the grabber due to change of the framerate
22:42:02.371 SIGNAL_OLD             : <DEBUG> DetectionManual.cpp:84:setSignalDetectionOffset() | Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
22:42:02.371 SIGNAL_OLD             : <DEBUG> DetectionManual.cpp:74:setSignalThreshold() | Signal threshold set to: {0, 0, 0} and frames: 50
22:42:02.371 PIPEWIRE_SYSTEM:AUTO   : <DEBUG> Grabber.cpp:380:setDeviceVideoStandard() | setDeviceVideoStandard preparing to restart video grabber. Old: '' new: 'auto'
22:42:02.371 PIPEWIRE_SYSTEM:AUTO   : <INFO> Delayed restart of the grabber due to change of selected device
SLEEP HANDLER REGISTERED!
22:42:02.380 JSONSERVER             : <DEBUG> JsonServer.cpp:26:JsonServer() | Created new instance
22:42:02.380 JSONSERVER             : <INFO> Started on port 19444
22:42:02.381 SSDP                   : <DEBUG> SSDPHandler.cpp:31:SSDPHandler() | SSDPHandler is initialized
22:42:02.381 MAIN                   : <INFO> start systray
22:42:02.390 INSTANCE_CFG0          : <INFO> Settings database initialized
22:42:02.390 COMPONENTCTRL0         : <DEBUG> ComponentController.cpp:30:ComponentController() | ComponentController is initialized
22:42:02.390 BLACKBORDER            : <INFO> Set mode to: default
22:42:02.390 IMAGETOLED_MNG0        : <DEBUG> ImageToLedManager.cpp:192:setLedMappingType() | Set LED mapping type to unicolor_mean
22:42:02.390 IMAGETOLED_MNG0        : <DEBUG> ImageToLedManager.cpp:176:setSparseProcessing() | setSparseProcessing to 0
22:42:02.390 IMAGETOLED_MNG0        : <DEBUG> ImageToLedManager.cpp:103:ImageToLedManager() | ImageToLedManager initialized
22:42:02.390 MUXER0                 : <DEBUG> Muxer.cpp:55:Muxer() | Muxer initialized
22:42:02.390 COLORSPACE_CALIBRATION : <INFO> classicMode: no, gammas:[1.50, 1.50, 1.50], saturation: 1.00, luminance: 1.00, backLight: [enabled, threshold: 1, colored: yes]
22:42:02.390 LED_CALIBRATION0       : <DEBUG> LedCalibration.cpp:101:setAdjustmentForLed() | Calibration config '0' for LED segment: [0, 0]
22:42:02.390 HYPERHDR0              : <INFO> Led strip RGB order is: rgb
22:42:02.390 SMOOTHING0             : <WARNING> High resolution clock is NOT STEADY!
22:42:02.391 SMOOTHING0             : <INFO> Clearing queued colors before: enabling
22:42:02.391 SMOOTHING0             : <INFO> Smoothing queue is cleared
22:42:02.391 COMPONENTCTRL0         : <INFO> Smoothing: enabled
22:42:02.391 SMOOTHING0             : <INFO> Creating config (0) => type: Alternative, dirMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250
22:42:02.391 SMOOTHING0             : <INFO> Clearing queued colors before: enabling. Smoothing configuration changed: restarting timer.
22:42:02.391 SMOOTHING0             : <INFO> Smoothing queue is cleared
22:42:02.391 SMOOTHING0             : <INFO> Selecting config (0) => type: Alternative, directMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250
22:42:02.391 SMOOTHING0             : <INFO> Selecting config (0) => type: Alternative, directMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250
22:42:02.391 LEDDEVICE0_WLED        : <INFO> Start LedDevice 'wled'.
22:42:02.391 HYPERHDR0              : <INFO> The instance is running
22:42:02.391 LEDDEVICE0_WLED        : <DEBUG> LedDeviceWled.cpp:36:init() | Initializing WLED
22:42:02.391 MUXER0                 : <INFO> Register new input 'System/SYSTEMGRABBER' with priority 245 as inactive
22:42:02.391 LEDDEVICE0_WLED        : <DEBUG> LedDevice.cpp:310:init() | deviceConfig: [{"brightnessMax":true,"brightnessMaxLevel":255,"colorOrder":"rgb","currentLedCount":1,"host":"192.168.40.108","maxRetry":60,"refreshTime":20,"restoreOriginalState":true,"smoothingRefreshTime":20,"type":"wled"}]
22:42:02.391 HYPER_MANAGER          : <INFO> HyperHDR instance 'First LED instance' has been started
22:42:02.391 COMPONENTCTRL0         : <INFO> System capture device: enabled
22:42:02.391 LEDDEVICE0_WLED        : <WARNING> Ignoring user LED refresh rate. Forcing smoothing refresh rate = 50.00 Hz
22:42:02.391 LEDDEVICE0_WLED        : <DEBUG> LedDevice.cpp:396:setRefreshTime() | Refresh rate = 50.00 Hz
22:42:02.391 LEDDEVICE0_WLED        : <DEBUG> LedDevice.cpp:346:startRefreshTimer() | Device is not ready to start a timer
22:42:02.391 PIPEWIRE_SYSTEM:AUTO   : <DEBUG> PipewireGrabber.cpp:162:init() | init
22:42:02.391 LEDDEVICE0_WLED        : <DEBUG> LedDevice.cpp:406:setRefreshTime() | Refresh interval updated to 20ms
22:42:02.391 PIPEWIRE_SYSTEM:AUTO   : <DEBUG> PipewireGrabber.cpp:187:init() | Forcing auto discovery device
22:42:02.391 LEDDEVICE0_WLED        : <DEBUG> LedDeviceWled.cpp:45:init() | DeviceType     : wled
22:42:02.391 LEDDEVICE0_WLED        : <DEBUG> LedDeviceWled.cpp:46:init() | LedCount       : 1
22:42:02.391 PIPEWIRE_SYSTEM:AUTO   : <DEBUG> PipewireGrabber.cpp:192:init() | Auto discovery set to Pipewire System Dialog selection
22:42:02.391 LEDDEVICE0_WLED        : <DEBUG> LedDeviceWled.cpp:49:init() | Override brightness : true
22:42:02.391 PIPEWIRE_SYSTEM:AUTO   : <INFO> *************************************************************************************************
22:42:02.391 LEDDEVICE0_WLED        : <DEBUG> LedDeviceWled.cpp:52:init() | Set brightness level: 255
22:42:02.391 PIPEWIRE_SYSTEM:AUTO   : <INFO> Starting Pipewire grabber. Selected: 'Pipewire System Dialog selection' (1) max width: 512 (512) @ 10 fps
22:42:02.391 LEDDEVICE0_WLED        : <DEBUG> LedDeviceWled.cpp:55:init() | Restore WLED   : true
22:42:02.391 PIPEWIRE_SYSTEM:AUTO   : <INFO> *************************************************************************************************
22:42:02.391 LEDDEVICE0_WLED        : <DEBUG> LedDeviceWled.cpp:58:init() | Max retry      : 60
22:42:02.391 LEDDEVICE0_WLED        : <DEBUG> LedDeviceWled.cpp:96:initRestAPI() | 
22:42:02.391 LEDDEVICE0_WLED        : <DEBUG> LedDeviceWled.cpp:107:initRestAPI() | [1]
22:42:02.392 LEDDEVICE0_WLED        : <DEBUG> LedDevice.cpp:310:init() | deviceConfig: [{"brightnessMax":true,"brightnessMaxLevel":255,"colorOrder":"rgb","currentLedCount":1,"host":"192.168.40.108","maxRetry":60,"port":21324,"refreshTime":20,"restoreOriginalState":true,"smoothingRefreshTime":20,"type":"wled"}]
22:42:02.392 LEDDEVICE0_WLED        : <WARNING> Ignoring user LED refresh rate. Forcing smoothing refresh rate = 50.00 Hz
22:42:02.392 DB                     : <INFO> Database opened: /home/bram/.hyperhdr/db/hyperhdr.db
22:42:02.392 LEDDEVICE0_WLED        : <DEBUG> LedDevice.cpp:396:setRefreshTime() | Refresh rate = 50.00 Hz
22:42:02.392 LEDDEVICE0_WLED        : <DEBUG> LedDevice.cpp:346:startRefreshTimer() | Device is not ready to start a timer
22:42:02.392 LEDDEVICE0_WLED        : <DEBUG> LedDevice.cpp:406:setRefreshTime() | Refresh interval updated to 20ms
22:42:02.392 LEDDEVICE0_WLED        : <DEBUG> ProviderUdp.cpp:64:init() | Successfully parsed 192.168.40.108 as an IP-address.
22:42:02.392 LEDDEVICE0_WLED        : <DEBUG> ProviderUdp.cpp:94:init() | UDP socket will write to 192.168.40.108:21324
22:42:02.392 LEDDEVICE0_WLED        : <DEBUG> LedDeviceWled.cpp:85:init() | Hostname/IP  : 192.168.40.108
22:42:02.392 LEDDEVICE0_WLED        : <DEBUG> LedDeviceWled.cpp:86:init() | Port         : 21324
22:42:02.392 LEDDEVICE0_WLED        : <DEBUG> LedDeviceWled.cpp:90:init() | [1]
22:42:02.392 LEDDEVICE0_WLED        : <DEBUG> LedDevice.cpp:220:enable() | Enable the device
22:42:02.392 PIPEWIRE_SYSTEM:AUTO   : <INFO> Loading restoration token: ************************9c03df483da9
Pipewire: initialization invoked. Cleaning up first...
22:42:02.392 WEBSERVER              : <INFO> Initialize Webserver
PipewireHandler: ScreenCast protocol version: 5
Sender: 1_129
Requested FPS: 10
Pipewire: CreateSession finished
22:42:02.395 PIPEWIRE_SYSTEM:AUTO   : <INFO> Started
22:42:02.395 WEBSERVER              : <INFO> Apply Webserver settings
22:42:02.395 WEBSERVER              : <INFO> Set document root to: :/www
Pipewire: Got response from portal CreateSession
Pipewire: Has restoration token: 9c03df483da9
22:42:02.399 LEDDEVICE0_WLED        : <DEBUG> LedDevice.cpp:63:switchOn() | Switch on
22:42:02.399 FLATBUFSERVER          : <INFO> Started on port 19400
22:42:02.399 WEBSERVER              : <INFO> Started: 'HyperHDR WebServer (HTTP)' on port: 8090
22:42:02.399 LEDDEVICE0_WLED        : <DEBUG> LedDeviceWled.cpp:127:powerOn() | 
22:42:02.399 SSDP                   : <DEBUG> SSDPHandler.cpp:93:handleWebServerStateChange() | The local address is empty
22:42:02.399 LEDDEVICE              : <DEBUG> ProviderRestApi.cpp:174:executeOperation() | GET begin: [http://192.168.40.108:80/json] []
22:42:02.399 WEBSERVER              : <INFO> Initialize Webserver
22:42:02.399 FLATBUFSERVER          : <INFO> Started local domain socket server: 'hyperhdr-domain'
22:42:02.399 WEBSERVER              : <INFO> Apply Webserver settings
22:42:02.399 WEBSERVER              : <INFO> Set document root to: :/www
22:42:02.399 NETFORWARDER           : <INFO> Forwarder has changed state to disabled
22:42:02.401 WEBSERVER              : <INFO> Setup SSL certificate
22:42:02.401 WEBSERVER              : <INFO> Setup private SSL key
22:42:02.401 WEBSERVER              : <INFO> Started: 'HyperHDR WebServer (HTTPS)' on port: 8092
22:42:02.401 SSDP                   : <DEBUG> SSDPHandler.cpp:42:initServer() | SSDPHandler is initializing
22:42:02.401 SSDP                   : <DEBUG> SSDPHandler.cpp:183:getLocalAddress() | The local address is: 192.168.40.15
22:42:02.401 SSDP                   : <DEBUG> SSDPServer.cpp:95:initServer() | Initialize the SSDP server
22:42:02.401 WEBSERVER              : <DEBUG> StaticFileServing.cpp:68:setSsdpXmlDesc() | SSDP description is set up
22:42:02.401 SSDP                   : <INFO> Starting the SSDP server
Pipewire: SelectSources finished
Pipewire: Got response from portal SelectSources
Pipewire: Start finished
Pipewire: Got response from portal Start
Received restoration token: 9c03df483da9
Pipewire: format property size 1920 x 1080
Pipewire: format property source_type = 1
Connecting to Pipewire interface for stream: 1920 x 1080
Session type: wayland , X11 detected: no
PipewireEGL: EGL initialized for HyperHDR. Version: 1.5
PipewireEGL: Found 47 DMA-BUF formats
PipewireEGL: got DMA format list (count = 47)
PipewireEGL: Found unsupported by HyperHDR 'AB4H' DMA format
PipewireEGL: Found unsupported by HyperHDR 'XB4H' DMA format
PipewireEGL: Found unsupported by HyperHDR 'AB48' DMA format
PipewireEGL: Found unsupported by HyperHDR 'XB48' DMA format
PipewireEGL: Found unsupported by HyperHDR 'AR30' DMA format
PipewireEGL: Found unsupported by HyperHDR 'XR30' DMA format
PipewireEGL: Found unsupported by HyperHDR 'AB30' DMA format
PipewireEGL: Found DRM_FORMAT_ARGB8888 DMA format (AR24)
PipewireEGL: Found DRM_FORMAT_ABGR8888 DMA format (AB24)
PipewireEGL: Found DRM_FORMAT_XRGB8888 DMA format (XR24)
PipewireEGL: Found DRM_FORMAT_XBGR8888 DMA format (XB24)
PipewireEGL: Found unsupported by HyperHDR 'AR15' DMA format
PipewireEGL: Found unsupported by HyperHDR 'AR12' DMA format
PipewireEGL: Found unsupported by HyperHDR 'RG16' DMA format
PipewireEGL: Found unsupported by HyperHDR 'R8  ' DMA format
PipewireEGL: Found unsupported by HyperHDR 'R16 ' DMA format
PipewireEGL: Found unsupported by HyperHDR 'GR88' DMA format
PipewireEGL: Found unsupported by HyperHDR 'GR32' DMA format
PipewireEGL: Found unsupported by HyperHDR 'YUV9' DMA format
PipewireEGL: Found unsupported by HyperHDR 'YU11' DMA format
PipewireEGL: Found unsupported by HyperHDR 'YU12' DMA format
PipewireEGL: Found unsupported by HyperHDR 'YU16' DMA format
PipewireEGL: Found unsupported by HyperHDR 'YU24' DMA format
PipewireEGL: Found unsupported by HyperHDR 'YVU9' DMA format
PipewireEGL: Found unsupported by HyperHDR 'YV11' DMA format
PipewireEGL: Found unsupported by HyperHDR 'YV12' DMA format
PipewireEGL: Found unsupported by HyperHDR 'YV16' DMA format
PipewireEGL: Found unsupported by HyperHDR 'YV24' DMA format
PipewireEGL: Found unsupported by HyperHDR 'NV12' DMA format
PipewireEGL: Found unsupported by HyperHDR 'NV21' DMA format
PipewireEGL: Found unsupported by HyperHDR 'P010' DMA format
PipewireEGL: Found unsupported by HyperHDR 'P012' DMA format
PipewireEGL: Found unsupported by HyperHDR 'P016' DMA format
PipewireEGL: Found unsupported by HyperHDR 'P030' DMA format
PipewireEGL: Found unsupported by HyperHDR 'NV16' DMA format
PipewireEGL: Found unsupported by HyperHDR 'AYUV' DMA format
PipewireEGL: Found unsupported by HyperHDR 'XYUV' DMA format
PipewireEGL: Found unsupported by HyperHDR 'Y410' DMA format
PipewireEGL: Found unsupported by HyperHDR 'Y412' DMA format
PipewireEGL: Found unsupported by HyperHDR 'Y416' DMA format
PipewireEGL: Found unsupported by HyperHDR 'YUYV' DMA format
PipewireEGL: Found unsupported by HyperHDR 'YVYU' DMA format
PipewireEGL: Found unsupported by HyperHDR 'UYVY' DMA format
PipewireEGL: Found unsupported by HyperHDR 'VYUY' DMA format
PipewireEGL: Found unsupported by HyperHDR 'Y210' DMA format
PipewireEGL: Found unsupported by HyperHDR 'Y212' DMA format
PipewireEGL: Found unsupported by HyperHDR 'Y216' DMA format
Pipewire: state CONNECTING (1, 0)
Pipewire: the stream is connected
Pipewire: core info reported. Version = 1.0.1
Pipewire: state PAUSED (2, 1)
Pipewire: got new video format selected
Pipewire: got new video format selected
Pipewire: got new video format selected
Pipewire: video format = 8 (Spa:Enum:VideoFormat:BGRx)
Pipewire: video size = 1920x1080 (RGB order = false)
Pipewire: framerate = 0/1
Pipewire: DMA buffer available. Format: XR24. Modifier: p???.
Pipewire: MemFD buffer available
Pipewire: MemPTR buffer available
Pipewire: updated parameters 0
Pipewire: got new video format selected
Pipewire: video format = 8 (Spa:Enum:VideoFormat:BGRx)
Pipewire: video size = 1920x1080 (RGB order = false)
Pipewire: framerate = 0/1
Pipewire: DMA buffer available. Format: XR24. Modifier: ????.
Pipewire: MemFD buffer available
Pipewire: MemPTR buffer available
Pipewire: updated parameters 0
Pipewire: core error reported
Pipewire: stream reports error 'error alloc buffers: Invalid argument'
Pipewire: core reports error 'error alloc buffers: Invalid argument'
22:42:02.477 LEDDEVICE              : <DEBUG> ProviderRestApi.cpp:198:executeOperation() | GET end (78 ms): [http://192.168.40.108:80/json] []
22:42:02.477 LEDDEVICE              : <DEBUG> ProviderRestApi.cpp:203:executeOperation() | Reply OK [200]
22:42:02.477 LEDDEVICE0_WLED        : <WARNING> WLED info => wifi quality: 52% (LOW), wifi channel: 11, leds: 1, arch: esp8266, ver: 0.14.0-b1, uptime: 5047s, port: 21324, power limit: 2000mA
22:42:02.477 LEDDEVICE0_WLED        : <ERROR> Serious warning: the power limiter in WLED is set which may lead to unexpected side effects. Use the right cabling & power supply with the appropriate power, not this half-measure.
22:42:02.477 LEDDEVICE              : <DEBUG> ProviderRestApi.cpp:174:executeOperation() | PUT begin: [http://192.168.40.108:80/json/state] [{"on":true,"live":true,"bri":255}]
22:42:02.495 PIPEWIRE_SYSTEM:AUTO   : <INFO> Portal protocol version: 5
22:42:02.495 PIPEWIRE_SYSTEM:AUTO   : <INFO> Saving restoration token: ************************9c03df483da9
22:42:02.540 LEDDEVICE              : <DEBUG> ProviderRestApi.cpp:198:executeOperation() | PUT end (63 ms): [http://192.168.40.108:80/json/state] [{"on":true,"live":true,"bri":255}]
22:42:02.540 LEDDEVICE              : <DEBUG> ProviderRestApi.cpp:203:executeOperation() | Reply OK [200]
22:42:02.540 LEDDEVICE0_WLED        : <DEBUG> LedDevice.cpp:340:startRefreshTimer() | Starting timer with interval = 20ms
22:42:02.540 COMPONENTCTRL0         : <INFO> LED device: enabled
22:42:02.541 SMOOTHING0             : <INFO> Using alternative smoothing input (0)
22:42:02.541 EFFECTENGINE0          : <INFO> Run effect "Rainbow swirl fast" on channel 0
22:42:02.541 EFFECTENGINE0          : <DEBUG> EffectEngine.cpp:92:runEffectScript() | Start the effect: name [Rainbow swirl fast]
22:42:02.541 MUXER0                 : <INFO> Register new input 'System/EFFECT' with priority 0 as inactive
22:42:02.541 HYPERHDR0              : <INFO> Boot effect: animation set to 'Rainbow swirl fast' [started]
22:42:02.542 EFFECT0(Rainbo...)     : <INFO> Begin playing the effect with priority: 0
22:42:02.542 MUXER0                 : <INFO> Priority 0 is now active
22:42:02.543 MUXER0                 : <INFO> Set visible priority to 0
22:42:02.543 SMOOTHING0             : <INFO> Clearing queued colors before: enabling. Smoothing configuration changed: restarting timer.
22:42:02.543 SMOOTHING0             : <INFO> Smoothing queue is cleared
22:42:02.543 SMOOTHING0             : <INFO> Selecting config (2) => type: Linear, directMode: false, pause: false, settlingTime: 200ms, interval: 40ms (25Hz), antiFlickTres: 0, antiFlickStep: 0, antiFlickTime: 0
22:42:02.543 LEDDEVICE0_WLED        : <DEBUG> LedDevice.cpp:354:stopRefreshTimer() | Stopping refresh timer
22:42:02.543 SMOOTHING0             : <INFO> Using linear smoothing input (2)
22:42:02.543 HYPERHDR0              : <INFO> New priority[0], previous [255]
22:42:02.543 LEDDEVICE0_WLED        : <WARNING> Ignoring user LED refresh rate. Forcing smoothing refresh rate = 25.00 Hz
22:42:02.543 HYPERHDR0              : <INFO> New source available -> switch LED-Device on
22:42:02.543 LEDDEVICE0_WLED        : <DEBUG> LedDevice.cpp:396:setRefreshTime() | Refresh rate = 25.00 Hz
22:42:02.543 SMOOTHING0             : <INFO> Clearing queued colors before: enabling
22:42:02.543 LEDDEVICE0_WLED        : <DEBUG> LedDevice.cpp:340:startRefreshTimer() | Starting timer with interval = 40ms
22:42:02.543 SMOOTHING0             : <INFO> Smoothing queue is cleared
22:42:02.544 LEDDEVICE0_WLED        : <DEBUG> LedDevice.cpp:406:setRefreshTime() | Refresh interval updated to 40ms
22:42:02.544 LEDDEVICE0_WLED        : <DEBUG> LedDevice.cpp:421:smoothingRestarted() | LED refresh interval adjustment caused by smoothing configuration change to 40ms (proposed: 40ms)
22:42:02.544 COLORSPACE_CALIBRATION : <DEBUG> ColorSpaceCalibration.cpp:225:setBackLightEnabled() | setBackLightEnabled: 0
22:42:02.544 LEDDEVICE0_WLED        : <DEBUG> LedDevice.cpp:220:enable() | Enable the device
22:42:02.544 IMAGETOLED_MNG0        : <INFO> Total index number is: 320 (memory: 320). User sparse processing is: disabled, image size: 80 x 45, area number: 1
22:42:02.544 SMOOTHING0             : <INFO> Using linear smoothing input (2)
22:42:02.624 SMOOTHING0             : <INFO> Using linear smoothing procedure (2)
22:42:03.903 SERVICE_mDNS           : <INFO> Starting the network discovery thread
22:42:03.995 NET_DISCOVERY          : <INFO> Found WLED at 192.168.40.108:80 (wled-53daab.local)
22:42:05.545 EFFECT0(Rainbo...)     : <INFO> The effect quits with priority: 0
22:42:05.546 MUXER0                 : <INFO> Removed source priority 0
22:42:05.546 MUXER0                 : <INFO> Set visible priority to 255
22:42:05.546 SMOOTHING0             : <INFO> Clearing queued colors before: enabling. Smoothing configuration changed: restarting timer.
22:42:05.546 SMOOTHING0             : <INFO> Smoothing queue is cleared
22:42:05.546 SMOOTHING0             : <INFO> Selecting config (0) => type: Alternative, directMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250
22:42:05.546 LEDDEVICE0_WLED        : <DEBUG> LedDevice.cpp:354:stopRefreshTimer() | Stopping refresh timer
22:42:05.546 SMOOTHING0             : <INFO> Using alternative smoothing input (0)
22:42:05.546 LEDDEVICE0_WLED        : <WARNING> Ignoring user LED refresh rate. Forcing smoothing refresh rate = 50.00 Hz
22:42:05.546 HYPERHDR0              : <INFO> New priority[255], previous [0]
22:42:05.546 LEDDEVICE0_WLED        : <DEBUG> LedDevice.cpp:396:setRefreshTime() | Refresh rate = 50.00 Hz
22:42:05.546 HYPERHDR0              : <WARNING> No source left -> switch LED-Device off
22:42:05.546 LEDDEVICE0_WLED        : <DEBUG> LedDevice.cpp:340:startRefreshTimer() | Starting timer with interval = 20ms
22:42:05.546 SMOOTHING0             : <INFO> Clearing queued colors before: disabling
22:42:05.547 LEDDEVICE0_WLED        : <DEBUG> LedDevice.cpp:406:setRefreshTime() | Refresh interval updated to 20ms
22:42:05.547 SMOOTHING0             : <INFO> Smoothing queue is cleared
22:42:05.547 LEDDEVICE0_WLED        : <DEBUG> LedDevice.cpp:421:smoothingRestarted() | LED refresh interval adjustment caused by smoothing configuration change to 20ms (proposed: 20ms)
22:42:05.547 COLORSPACE_CALIBRATION : <DEBUG> ColorSpaceCalibration.cpp:225:setBackLightEnabled() | setBackLightEnabled: 0
22:42:05.547 LEDDEVICE0_WLED        : <DEBUG> LedDevice.cpp:270:disable() | Disable the device
22:42:05.547 EFFECTENGINE0          : <INFO> Effect 'Rainbow swirl fast' has finished.
SmartPointer is removing: effect0/0 => "Rainbow swirl fast"
22:42:05.547 LEDDEVICE0_WLED        : <DEBUG> LedDevice.cpp:354:stopRefreshTimer() | Stopping refresh timer
22:42:05.547 EFFECT0(Rainbo...)     : <INFO> Effect named: 'Rainbow swirl fast' is deleted
22:42:05.547 LEDDEVICE0_WLED        : <DEBUG> LedDevice.cpp:89:switchOff() | Switch off
22:42:05.547 LEDDEVICE0_WLED        : <DEBUG> LedDeviceWled.cpp:200:powerOff() | 
22:42:05.547 LEDDEVICE0_WLED        : <DEBUG> LedDevice.cpp:517:writeBlack() | Set LED strip to black/power off
22:42:05.548 LEDDEVICE              : <DEBUG> ProviderRestApi.cpp:174:executeOperation() | PUT begin: [http://192.168.40.108:80/json/state] [{"bri":255,"live":false,"lor":0,"mainseg":0,"nl":{"dur":60,"mode":1,"on":false,"rem":-1,"tbri":0},"on":true,"pl":-1,"ps":-1,"seg":[{"bri":255,"c1":128,"c2":128,"c3":16,"cct":127,"col":[[255,160,0,0],[0,0,0,0],[0,0,0,0]],"frz":false,"fx":0,"grp":1,"id":0,"ix":128,"len":1,"m12":0,"mi":false,"o1":false,"o2":false,"o3":false,"of":0,"on":true,"pal":0,"rev":false,"sel":true,"si":0,"spc":0,"start":0,"stop":1,"sx":128}],"transition":7,"udpn":{"recv":true,"send":false}}]
22:42:05.643 LEDDEVICE              : <DEBUG> ProviderRestApi.cpp:198:executeOperation() | PUT end (95 ms): [http://192.168.40.108:80/json/state] [{"bri":255,"live":false,"lor":0,"mainseg":0,"nl":{"dur":60,"mode":1,"on":false,"rem":-1,"tbri":0},"on":true,"pl":-1,"ps":-1,"seg":[{"bri":255,"c1":128,"c2":128,"c3":16,"cct":127,"col":[[255,160,0,0],[0,0,0,0],[0,0,0,0]],"frz":false,"fx":0,"grp":1,"id":0,"ix":128,"len":1,"m12":0,"mi":false,"o1":false,"o2":false,"o3":false,"of":0,"on":true,"pal":0,"rev":false,"sel":true,"si":0,"spc":0,"start":0,"stop":1,"sx":128}],"transition":7,"udpn":{"recv":true,"send":false}}]
22:42:05.643 LEDDEVICE              : <DEBUG> ProviderRestApi.cpp:203:executeOperation() | Reply OK [200]
22:42:05.643 COMPONENTCTRL0         : <INFO> LED device: disabled
BramB-1952444 commented 9 months ago

Starting via command worked the first time. After a restart it stopped 😞

awawa-dev commented 9 months ago

Seems the same issue with the pipewire that occurs sometimes when DMA buffers were used and it is already fixed and merged. You can try latest test build from GitHub Action.

BramB-1952444 commented 9 months ago

Looks like it's working