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.13k stars 117 forks source link

Unable to select display for video capturing (Log: The system doesn't support the X11 system grabber) #835

Closed nocin closed 6 months ago

nocin commented 6 months ago

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

2024-04-28T00:16:29.649Z [CORE] TTY is not attached to the log output
2024-04-28T00:16:29.660Z [MAIN] Database path: '/home/nico/.hyperhdr/db/hyperhdr.db', readonlyMode = disabled
2024-04-28T00:16:29.660Z [MAIN] Starting HyperHdr - 20.0.0.0, (HEAD detached at v20.0.0.0) (awawa-dev-9e960c9/52f12b4-1711236142), built: Mar 23 2024:23:33:32
2024-04-28T00:16:29.660Z [MAIN] Set user data path to '/home/nico/.hyperhdr'
2024-04-28T00:16:29.660Z [INSTANCE_CFG] Loading instance configuration
2024-04-28T00:16:29.660Z [DB] Database opened: /home/nico/.hyperhdr/db/hyperhdr.db
2024-04-28T00:16:29.666Z [INSTANCE_CFG] Settings database initialized
2024-04-28T00:16:29.668Z [SOUND_GRABBER] Sound device is disabled
2024-04-28T00:16:29.681Z [JSONSERVER] (JsonServer.cpp:26) Created new instance
2024-04-28T00:16:29.681Z [JSONSERVER] Started on port 19444
2024-04-28T00:16:29.681Z [SSDP] (SSDPHandler.cpp:31) SSDPHandler is initialized
2024-04-28T00:16:29.678Z [V4L2:auto] (GrabberWrapper.cpp:55) Starting the grabber wrapper
2024-04-28T00:16:29.678Z [V4L2:AUTO] Restarting video grabber is now blocked due to reloading of the configuration
2024-04-28T00:16:29.678Z [V4L2:AUTO] Cropping image: width=0 height=0; crop: left=0 right=0 top=0 bottom=0 
2024-04-28T00:16:29.678Z [V4L2:auto] (GrabberWrapper.cpp:126) CEC keycode. Start: 0, stop: 0
2024-04-28T00:16:29.678Z [V4L2:AUTO] (Grabber.cpp:273) setBrightnessContrastSaturationHue nothing changed
2024-04-28T00:16:29.678Z [V4L2:AUTO] (V4L2Grabber.cpp:125) setHdrToneMappingMode to: Disabled
2024-04-28T00:16:29.678Z [V4L2:AUTO] (Grabber.cpp:182) setFpsSoftwareDecimation to: 1
2024-04-28T00:16:29.678Z [SIGNAL_OLD] (DetectionManual.cpp:84) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
2024-04-28T00:16:29.678Z [SIGNAL_OLD] (DetectionManual.cpp:74) Signal threshold set to: {12, 12, 12} and frames: 200
2024-04-28T00:16:29.678Z [SIGNAL_AUTO] (DetectionAutomatic.cpp:375) Automatic signal detection -> errorTolerance: 9, modelTolerance: 90, sleepTime: 5000, wakeTime: 1000
2024-04-28T00:16:29.678Z [V4L2:AUTO] (Grabber.cpp:380) setDeviceVideoStandard preparing to restart video grabber. Old: '' new: 'auto'
2024-04-28T00:16:29.678Z [V4L2:AUTO] Delayed restart of the grabber due to change of selected device
2024-04-28T00:16:29.678Z [V4L2:AUTO] (Grabber.cpp:200) Force encoding to: NO_CHANGE (old: NO_CHANGE)
2024-04-28T00:16:29.678Z [V4L2:AUTO] setQFrameDecimation is now: disabled
2024-04-28T00:16:29.678Z [X11_SYSTEM:AUTO] Loaded X11 proxy library for screen capturing
2024-04-28T00:16:29.678Z [DAEMON] The system doesn't support the X11 system grabber
2024-04-28T00:16:29.678Z [FRAMEBUFFER_SYSTEM:AUTO] Found FrameBuffer device: /dev/fb0
2024-04-28T00:16:29.679Z [FRAMEBUFFER_SYSTEM:AUTO] Restarting video grabber is now blocked due to reloading of the configuration
2024-04-28T00:16:29.679Z [HYPERHDR0] Starting the instance
2024-04-28T00:16:29.679Z [FRAMEBUFFER_SYSTEM:AUTO] (Grabber.cpp:159) Set new width: 512, height: 512 for capture
2024-04-28T00:16:29.679Z [FRAMEBUFFER_SYSTEM:AUTO] (Grabber.cpp:335) setWidthHeight preparing to restarting video grabber 0
2024-04-28T00:16:29.679Z [FRAMEBUFFER_SYSTEM:AUTO] Delayed restart of the grabber due to change of the capturing resolution
2024-04-28T00:16:29.679Z [FRAMEBUFFER_SYSTEM:AUTO] Delayed restart of the grabber due to change of the framerate
2024-04-28T00:16:29.679Z [INSTANCE_CFG0] Loading instance configuration
2024-04-28T00:16:29.679Z [SIGNAL_OLD] (DetectionManual.cpp:84) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
2024-04-28T00:16:29.679Z [SIGNAL_OLD] (DetectionManual.cpp:74) Signal threshold set to: {0, 0, 0} and frames: 50
2024-04-28T00:16:29.679Z [FRAMEBUFFER_SYSTEM:AUTO] (Grabber.cpp:380) setDeviceVideoStandard preparing to restart video grabber. Old: '' new: 'auto'
2024-04-28T00:16:29.679Z [FRAMEBUFFER_SYSTEM:AUTO] Delayed restart of the grabber due to change of selected device
2024-04-28T00:16:29.679Z [X11_SYSTEM:auto] (SystemWrapper.cpp:71) Closing grabber: X11_SYSTEM:auto
2024-04-28T00:16:29.679Z [DB] Database opened: /home/nico/.hyperhdr/db/hyperhdr.db
2024-04-28T00:16:29.686Z [INSTANCE_CFG0] Settings database initialized
2024-04-28T00:16:29.686Z [COMPONENTCTRL0] (ComponentController.cpp:31) ComponentController is initialized. Components are ENABLED
2024-04-28T00:16:29.686Z [MUXER0] (Muxer.cpp:55) Muxer initialized
2024-04-28T00:16:29.686Z [BLACKBORDER] Set mode to: default
2024-04-28T00:16:29.686Z [IMAGETOLED_MNG0] (ImageToLedManager.cpp:192) Set LED mapping type to advanced
2024-04-28T00:16:29.686Z [IMAGETOLED_MNG0] (ImageToLedManager.cpp:176) setSparseProcessing to 0
2024-04-28T00:16:29.686Z [IMAGETOLED_MNG0] (ImageToLedManager.cpp:103) ImageToLedManager initialized
2024-04-28T00:16:29.686Z [COLORSPACE_CALIBRATION0] classicMode: no, gammas:[1.50, 1.50, 1.50], saturation: 1.00, luminance: 1.00, backLight: [enabled, threshold: 1, colored: yes]
2024-04-28T00:16:29.686Z [LED_CALIBRATION0] (LedCalibration.cpp:101) Calibration config '0' for LED segment: [0, 104]
2024-04-28T00:16:29.687Z [HYPERHDR0] Led strip RGB order is: rgb
2024-04-28T00:16:29.687Z [SMOOTHING0] High resolution clock is NOT STEADY!
2024-04-28T00:16:29.687Z [SMOOTHING0] Clearing queued colors before: enabling
2024-04-28T00:16:29.687Z [SMOOTHING0] Smoothing queue is cleared
2024-04-28T00:16:29.687Z [COMPONENTCTRL0] Smoothing: enabled
2024-04-28T00:16:29.687Z [SMOOTHING0] Creating config (0) => type: Alternative, dirMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250
2024-04-28T00:16:29.687Z [SMOOTHING0] Clearing queued colors before: enabling. Smoothing configuration changed: restarting timer.
2024-04-28T00:16:29.687Z [SMOOTHING0] Smoothing queue is cleared
2024-04-28T00:16:29.687Z [SMOOTHING0] Selecting config (0) => type: Alternative, directMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250
2024-04-28T00:16:29.687Z [SMOOTHING0] Selecting config (0) => type: Alternative, directMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250
2024-04-28T00:16:29.687Z [LEDDEVICE0_WLED] Start LedDevice 'wled'.
2024-04-28T00:16:29.687Z [LEDDEVICE0_WLED] (LedDeviceWled.cpp:36) Initializing WLED
2024-04-28T00:16:29.687Z [LEDDEVICE0_WLED] (LedDevice.cpp:337) deviceConfig: [{"brightnessMax":true,"brightnessMaxLevel":255,"colorOrder":"rgb","currentLedCount":105,"host":"192.168.178.26","maxRetry":60,"refreshTime":20,"restoreOriginalState":false,"smoothingRefreshTime":20,"type":"wled"}]
2024-04-28T00:16:29.687Z [LEDDEVICE0_WLED] Ignoring user LED refresh rate. Forcing smoothing refresh rate = 50.00 Hz
2024-04-28T00:16:29.687Z [LEDDEVICE0_WLED] (LedDevice.cpp:423) Refresh rate = 50.00 Hz
2024-04-28T00:16:29.687Z [LEDDEVICE0_WLED] (LedDevice.cpp:373) Device is not ready to start a timer
2024-04-28T00:16:29.687Z [LEDDEVICE0_WLED] (LedDevice.cpp:433) Refresh interval updated to 20ms
2024-04-28T00:16:29.687Z [LEDDEVICE0_WLED] (LedDeviceWled.cpp:45) DeviceType     : wled
2024-04-28T00:16:29.687Z [LEDDEVICE0_WLED] (LedDeviceWled.cpp:46) LedCount       : 105
2024-04-28T00:16:29.687Z [LEDDEVICE0_WLED] (LedDeviceWled.cpp:49) Override brightness : true
2024-04-28T00:16:29.687Z [LEDDEVICE0_WLED] (LedDeviceWled.cpp:52) Set brightness level: 255
2024-04-28T00:16:29.687Z [LEDDEVICE0_WLED] (LedDeviceWled.cpp:55) Restore WLED   : false
2024-04-28T00:16:29.687Z [LEDDEVICE0_WLED] (LedDeviceWled.cpp:58) Max retry      : 60
2024-04-28T00:16:29.687Z [LEDDEVICE0_WLED] (LedDeviceWled.cpp:96) 
2024-04-28T00:16:29.687Z [LEDDEVICE0_WLED] (LedDeviceWled.cpp:107) [1]
2024-04-28T00:16:29.687Z [LEDDEVICE0_WLED] (LedDevice.cpp:337) deviceConfig: [{"brightnessMax":true,"brightnessMaxLevel":255,"colorOrder":"rgb","currentLedCount":105,"host":"192.168.178.26","maxRetry":60,"port":21324,"refreshTime":20,"restoreOriginalState":false,"smoothingRefreshTime":20,"type":"wled"}]
2024-04-28T00:16:29.687Z [LEDDEVICE0_WLED] Ignoring user LED refresh rate. Forcing smoothing refresh rate = 50.00 Hz
2024-04-28T00:16:29.687Z [LEDDEVICE0_WLED] (LedDevice.cpp:423) Refresh rate = 50.00 Hz
2024-04-28T00:16:29.687Z [LEDDEVICE0_WLED] (LedDevice.cpp:373) Device is not ready to start a timer
2024-04-28T00:16:29.687Z [LEDDEVICE0_WLED] (LedDevice.cpp:433) Refresh interval updated to 20ms
2024-04-28T00:16:29.687Z [HYPER_MANAGER] HyperHDR instance 'First LED instance' has been started
2024-04-28T00:16:29.687Z [LEDDEVICE0_WLED] (ProviderUdp.cpp:64) Successfully parsed 192.168.178.26 as an IP-address.
2024-04-28T00:16:29.687Z [LEDDEVICE0_WLED] (ProviderUdp.cpp:94) UDP socket will write to 192.168.178.26:21324
2024-04-28T00:16:29.687Z [HYPERHDR0] The instance is running
2024-04-28T00:16:29.687Z [LEDDEVICE0_WLED] (LedDeviceWled.cpp:85) Hostname/IP  : 192.168.178.26
2024-04-28T00:16:29.687Z [LEDDEVICE0_WLED] (LedDeviceWled.cpp:86) Port         : 21324
2024-04-28T00:16:29.687Z [LEDDEVICE0_WLED] (LedDeviceWled.cpp:90) [1]
2024-04-28T00:16:29.687Z [LEDDEVICE0_WLED] (LedDevice.cpp:247) Enable the device
2024-04-28T00:16:29.687Z [MUXER0] Register new input 'System/SYSTEMGRABBER' with priority 245 as inactive
2024-04-28T00:16:29.687Z [COMPONENTCTRL0] System capture device: enabled
2024-04-28T00:16:29.687Z [FRAMEBUFFER_SYSTEM:AUTO] (FrameBufGrabber.cpp:98) init
2024-04-28T00:16:29.687Z [LEDDEVICE0_WLED] (LedDevice.cpp:64) Switch on
2024-04-28T00:16:29.687Z [LEDDEVICE0_WLED] (LedDeviceWled.cpp:127) 
2024-04-28T00:16:29.687Z [LEDDEVICE] (ProviderRestApi.cpp:174) GET begin: [http://192.168.178.26:80/json] []
2024-04-28T00:16:29.687Z [FRAMEBUFFER_SYSTEM:AUTO] (FrameBufGrabber.cpp:117) Forcing auto discovery device
2024-04-28T00:16:29.687Z [FRAMEBUFFER_SYSTEM:AUTO] (FrameBufGrabber.cpp:122) Auto discovery set to /dev/fb0
2024-04-28T00:16:29.687Z [FRAMEBUFFER_SYSTEM:AUTO] *************************************************************************************************
2024-04-28T00:16:29.687Z [FRAMEBUFFER_SYSTEM:AUTO] Starting FrameBuffer grabber. Selected: '/dev/fb0' (0) max width: 512 (512) @ 10 fps
2024-04-28T00:16:29.687Z [FRAMEBUFFER_SYSTEM:AUTO] *************************************************************************************************
2024-04-28T00:16:29.687Z [FRAMEBUFFER_SYSTEM:AUTO] Device '/dev/fb0' is using currently 2560x1080x32 resolution.
2024-04-28T00:16:29.687Z [FRAMEBUFFER_SYSTEM:AUTO] Started
2024-04-28T00:16:29.687Z [FLATBUFSERVER] Started on port 19400
2024-04-28T00:16:29.687Z [WEBSERVER] Initialize Webserver
2024-04-28T00:16:29.687Z [FLATBUFSERVER] Started local domain socket server: 'hyperhdr-domain'
2024-04-28T00:16:29.687Z [NETFORWARDER] Forwarder has changed state to disabled
2024-04-28T00:16:29.689Z [WEBSERVER] Apply Webserver settings
2024-04-28T00:16:29.689Z [WEBSERVER] Set document root to: :/www
2024-04-28T00:16:29.689Z [WEBSERVER] Started: 'HyperHDR WebServer (HTTP)' on port: 8090
2024-04-28T00:16:29.689Z [SSDP] (SSDPHandler.cpp:93) The local address is empty
2024-04-28T00:16:29.689Z [WEBSERVER] Initialize Webserver
2024-04-28T00:16:29.690Z [WEBSERVER] Apply Webserver settings
2024-04-28T00:16:29.690Z [WEBSERVER] Set document root to: :/www
2024-04-28T00:16:29.691Z [WEBSERVER] Setup SSL certificate
2024-04-28T00:16:29.692Z [WEBSERVER] Setup private SSL key
2024-04-28T00:16:29.692Z [WEBSERVER] Started: 'HyperHDR WebServer (HTTPS)' on port: 8092
2024-04-28T00:16:29.692Z [SSDP] (SSDPHandler.cpp:42) SSDPHandler is initializing
2024-04-28T00:16:29.692Z [SSDP] (SSDPHandler.cpp:183) The local address is: 192.168.178.54
2024-04-28T00:16:29.692Z [SSDP] (SSDPServer.cpp:95) Initialize the SSDP server
2024-04-28T00:16:29.692Z [WEBSERVER] (StaticFileServing.cpp:68) SSDP description is set up
2024-04-28T00:16:29.692Z [SSDP] Starting the SSDP server
2024-04-28T00:16:29.794Z [LEDDEVICE] (ProviderRestApi.cpp:198) GET end (106 ms): [http://192.168.178.26:80/json] []
2024-04-28T00:16:29.794Z [LEDDEVICE] (ProviderRestApi.cpp:203) Reply OK [200]
2024-04-28T00:16:29.794Z [LEDDEVICE0_WLED] WLED info => wifi quality: 70% (LOW), wifi channel: 11, leds: 105, arch: esp8266, ver: 0.14.3, uptime: 1948572s, port: 21324, power limit: 850mA
2024-04-28T00:16:29.794Z [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-04-28T00:16:29.794Z [LEDDEVICE] (ProviderRestApi.cpp:174) PUT begin: [http://192.168.178.26:80/json/state] [{"on":true,"live":true,"bri":255}]
2024-04-28T00:16:29.925Z [MUXER0] Set visible priority to 255
2024-04-28T00:16:29.925Z [HYPERHDR0] New priority[255], previous [255]
2024-04-28T00:16:29.925Z [HYPERHDR0] No source left -> switch LED-Device off
2024-04-28T00:16:29.925Z [SMOOTHING0] Clearing queued colors before: disabling
2024-04-28T00:16:29.925Z [SMOOTHING0] Smoothing queue is cleared
2024-04-28T00:16:29.925Z [COLORSPACE_CALIBRATION0] (ColorSpaceCalibration.cpp:225) setBackLightEnabled: 0
2024-04-28T00:16:30.014Z [LEDDEVICE] (ProviderRestApi.cpp:198) PUT end (221 ms): [http://192.168.178.26:80/json/state] [{"on":true,"live":true,"bri":255}]
2024-04-28T00:16:30.014Z [LEDDEVICE] (ProviderRestApi.cpp:203) Reply OK [200]
2024-04-28T00:16:30.014Z [LEDDEVICE0_WLED] (LedDevice.cpp:367) Starting timer with interval = 20ms
2024-04-28T00:16:30.014Z [LEDDEVICE0_WLED] (LedDevice.cpp:297) Disable the device
2024-04-28T00:16:30.014Z [LEDDEVICE0_WLED] (LedDevice.cpp:381) Stopping refresh timer
2024-04-28T00:16:30.014Z [LEDDEVICE0_WLED] (LedDevice.cpp:90) Switch off
2024-04-28T00:16:30.014Z [LEDDEVICE0_WLED] (LedDeviceWled.cpp:200) 
2024-04-28T00:16:30.014Z [LEDDEVICE0_WLED] (LedDevice.cpp:544) Set LED strip to black/power off
2024-04-28T00:16:30.014Z [COMPONENTCTRL0] LED device: enabled
2024-04-28T00:16:30.014Z [LEDDEVICE] (ProviderRestApi.cpp:174) PUT begin: [http://192.168.178.26:80/json/state] [{"on":false,"live":false}]
2024-04-28T00:16:30.014Z [SMOOTHING0] Using alternative smoothing input (0)
2024-04-28T00:16:30.014Z [EFFECTENGINE0] Run effect "Rainbow swirl fast" on channel 0
2024-04-28T00:16:30.014Z [EFFECTENGINE0] (EffectEngine.cpp:92) Start the effect: name [Rainbow swirl fast]
2024-04-28T00:16:30.014Z [MUXER0] Register new input 'System/EFFECT' with priority 0 as inactive
2024-04-28T00:16:30.015Z [HYPERHDR0] Boot effect: animation set to 'Rainbow swirl fast' [started]
2024-04-28T00:16:30.015Z [EFFECT0(Rainbo...)] Begin playing the effect with priority: 0
2024-04-28T00:16:30.015Z [MUXER0] Priority 0 is now active
2024-04-28T00:16:30.015Z [MUXER0] Set visible priority to 0
2024-04-28T00:16:30.015Z [SMOOTHING0] Clearing queued colors before: enabling. Smoothing configuration changed: restarting timer.
2024-04-28T00:16:30.015Z [SMOOTHING0] Smoothing queue is cleared
2024-04-28T00:16:30.015Z [SMOOTHING0] Selecting config (2) => type: Linear, directMode: false, pause: false, settlingTime: 200ms, interval: 40ms (25Hz), antiFlickTres: 0, antiFlickStep: 0, antiFlickTime: 0
2024-04-28T00:16:30.015Z [SMOOTHING0] Using linear smoothing input (2)
2024-04-28T00:16:30.015Z [HYPERHDR0] New priority[0], previous [255]
2024-04-28T00:16:30.015Z [HYPERHDR0] New source available -> switch LED-Device on
2024-04-28T00:16:30.015Z [SMOOTHING0] Clearing queued colors before: enabling
2024-04-28T00:16:30.015Z [SMOOTHING0] Smoothing queue is cleared
2024-04-28T00:16:30.015Z [COLORSPACE_CALIBRATION0] (ColorSpaceCalibration.cpp:225) setBackLightEnabled: 0
2024-04-28T00:16:30.015Z [IMAGETOLED_MNG0] Total index number is: 420 (memory: 420). User sparse processing is: disabled, image size: 80 x 45, area number: 105
2024-04-28T00:16:30.015Z [SMOOTHING0] Using linear smoothing input (2)
2024-04-28T00:16:30.027Z [MUXER0] Priority 245 is now active
2024-04-28T00:16:30.283Z [LEDDEVICE] (ProviderRestApi.cpp:198) PUT end (268 ms): [http://192.168.178.26:80/json/state] [{"on":false,"live":false}]
2024-04-28T00:16:30.283Z [LEDDEVICE] (ProviderRestApi.cpp:203) Reply OK [200]
2024-04-28T00:16:30.283Z [LEDDEVICE0_WLED] Ignoring user LED refresh rate. Forcing smoothing refresh rate = 25.00 Hz
2024-04-28T00:16:30.283Z [LEDDEVICE0_WLED] (LedDevice.cpp:423) Refresh rate = 25.00 Hz
2024-04-28T00:16:30.283Z [LEDDEVICE0_WLED] (LedDevice.cpp:373) Device is not ready to start a timer
2024-04-28T00:16:30.283Z [LEDDEVICE0_WLED] (LedDevice.cpp:433) Refresh interval updated to 40ms
2024-04-28T00:16:30.283Z [LEDDEVICE0_WLED] (LedDevice.cpp:448) LED refresh interval adjustment caused by smoothing configuration change to 40ms (proposed: 40ms)
2024-04-28T00:16:30.283Z [LEDDEVICE0_WLED] (LedDevice.cpp:247) Enable the device
2024-04-28T00:16:30.283Z [LEDDEVICE0_WLED] (LedDevice.cpp:64) Switch on
2024-04-28T00:16:30.283Z [LEDDEVICE0_WLED] (LedDeviceWled.cpp:127) 
2024-04-28T00:16:30.283Z [LEDDEVICE] (ProviderRestApi.cpp:174) GET begin: [http://192.168.178.26:80/json] []
2024-04-28T00:16:30.283Z [COMPONENTCTRL0] LED device: disabled
2024-04-28T00:16:30.392Z [LEDDEVICE] (ProviderRestApi.cpp:198) GET end (109 ms): [http://192.168.178.26:80/json] []
2024-04-28T00:16:30.392Z [LEDDEVICE] (ProviderRestApi.cpp:203) Reply OK [200]
2024-04-28T00:16:30.392Z [LEDDEVICE0_WLED] WLED info => wifi quality: 70% (LOW), wifi channel: 11, leds: 105, arch: esp8266, ver: 0.14.3, uptime: 1948572s, port: 21324, power limit: 850mA
2024-04-28T00:16:30.392Z [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-04-28T00:16:30.392Z [LEDDEVICE] (ProviderRestApi.cpp:174) PUT begin: [http://192.168.178.26:80/json/state] [{"on":true,"live":true,"bri":255}]
2024-04-28T00:16:30.564Z [LEDDEVICE] (ProviderRestApi.cpp:198) PUT end (172 ms): [http://192.168.178.26:80/json/state] [{"on":true,"live":true,"bri":255}]
2024-04-28T00:16:30.564Z [LEDDEVICE] (ProviderRestApi.cpp:203) Reply OK [200]
2024-04-28T00:16:30.564Z [LEDDEVICE0_WLED] (LedDevice.cpp:367) Starting timer with interval = 40ms
2024-04-28T00:16:30.564Z [COMPONENTCTRL0] LED device: enabled
2024-04-28T00:16:30.644Z [SMOOTHING0] Using linear smoothing procedure (2)
2024-04-28T00:16:30.672Z [WEBSOCKET] (WebSocketClient.cpp:39) New connection from ::ffff:192.168.178.54
2024-04-28T00:16:30.762Z [WEBSOCKET] (HyperAPI.cpp:957) log streaming activated for client ::ffff:192.168.178.54
2024-04-28T00:16:31.190Z [SERVICE_mDNS] Starting the network discovery thread
2024-04-28T00:16:31.202Z [NET_DISCOVERY] Found WLED at 192.168.178.26:80 (wled-31dd4a.local)
2024-04-28T00:16:31.204Z [NET_DISCOVERY] Found WLED at 192.168.178.32:80 (wled-esszimmer.local)
2024-04-28T00:16:31.215Z [WEBSOCKET] (WebSocketClient.cpp:39) New connection from ::ffff:192.168.178.54
2024-04-28T00:16:31.231Z [NET_DISCOVERY] Found WLED at 192.168.178.75:80 (wled-638aee.local)
2024-04-28T00:16:33.017Z [EFFECT0(Rainbo...)] The effect quits with priority: 0
2024-04-28T00:16:33.017Z [MUXER0] Removed source priority 0
2024-04-28T00:16:33.017Z [MUXER0] Set visible priority to 245
2024-04-28T00:16:33.017Z [SMOOTHING0] Clearing queued colors before: enabling. Smoothing configuration changed: restarting timer.
2024-04-28T00:16:33.017Z [SMOOTHING0] Smoothing queue is cleared
2024-04-28T00:16:33.017Z [SMOOTHING0] Selecting config (0) => type: Alternative, directMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250
2024-04-28T00:16:33.017Z [SMOOTHING0] Using alternative smoothing input (0)
2024-04-28T00:16:33.017Z [HYPERHDR0] New priority[245], previous [0]
2024-04-28T00:16:33.017Z [COLORSPACE_CALIBRATION0] (ColorSpaceCalibration.cpp:225) setBackLightEnabled: 1
2024-04-28T00:16:33.017Z [EFFECTENGINE0] Effect 'Rainbow swirl fast' has finished.
2024-04-28T00:16:33.017Z [LEDDEVICE0_WLED] (LedDevice.cpp:381) Stopping refresh timer
2024-04-28T00:16:33.017Z [EFFECT0(Rainbo...)] Effect named: 'Rainbow swirl fast' is deleted
2024-04-28T00:16:33.017Z [LEDDEVICE0_WLED] Ignoring user LED refresh rate. Forcing smoothing refresh rate = 50.00 Hz
2024-04-28T00:16:33.017Z [LEDDEVICE0_WLED] (LedDevice.cpp:423) Refresh rate = 50.00 Hz
2024-04-28T00:16:33.017Z [LEDDEVICE0_WLED] (LedDevice.cpp:367) Starting timer with interval = 20ms
2024-04-28T00:16:33.017Z [LEDDEVICE0_WLED] (LedDevice.cpp:433) Refresh interval updated to 20ms
2024-04-28T00:16:33.017Z [LEDDEVICE0_WLED] (LedDevice.cpp:448) LED refresh interval adjustment caused by smoothing configuration change to 20ms (proposed: 20ms)
2024-04-28T00:16:33.057Z [SMOOTHING0] Using alternative smoothing procedure (0)
2024-04-28T00:16:33.145Z [IMAGETOLED_MNG0] Total index number is: 8704 (memory: 8704). User sparse processing is: disabled, image size: 512 x 216, area number: 105
2024-04-28T00:18:29.871Z [PERFORMANCE] [INSTANCE0: FPS = 4.15, processed = 249], [LED0: FPS = 39.02, send = 2341, processed = 2341, dropped = 657]
2024-04-28T00:19:29.678Z [PERFORMANCE] [INSTANCE0: FPS = 4.15, processed = 248], [LED0: FPS = 39.45, send = 2368, processed = 2368, dropped = 632]
2024-04-28T00:20:29.718Z [PERFORMANCE] [INSTANCE0: FPS = 4.15, processed = 249], [LED0: FPS = 38.91, send = 2336, processed = 2336, dropped = 665]

Steps to reproduce

Video Capturing -> Software Screen Capture -> Device I get only /dev/fb0 instead of my display devices, allthough three monitors are connected. image image

Perhaps this log line is related to the problem?! 2024-04-28T00:16:29.678Z [DAEMON] The system doesn't support the X11 system grabber But I'm definitly using X11 (not Wayland). image

What is expected?

The possibility to select a display as video capturing device.

What is actually happening?

A display device (/dev/fb0) is automatically selected, which only results in a black screen. image

System

HyperHDR Server: 
- Build:           (HEAD detached at v20.0.0.0) (awawa-dev-9e960c9/52f12b4-1711236142)
- Build time:      Mar 23 2024 23:33:19
- Git Remote:      https://github.com/awawa-dev/HyperHDR
- Version:         20.0.0.0
- UI Lang:         en (BrowserLang: en-US)
- Avail Capt:      Linux (V4L2)
- Database:        read/write

HyperHDR Server OS: 
- Distribution:   Linux Mint 21.3
- Architecture:   x86_64
- CPU Model:      AMD Ryzen 5 3600 6-Core Processor
- CPU Type:       113
- Kernel:         linux (5.15.0-76-generic (WS: 64))
- Qt Version:     5.15.3
- Browser:        Mozilla/5.0 (X11; Linux x86_64; rv:124.0) Gecko/20100101 Firefox/124.0 

Let me know, if I need to provide more infos. Thanks! Nico

awawa-dev commented 6 months ago

Hi Are you sure you start HyperHDR as an application from the menu and you have the icon in the systray? Not as a service/Daemon?

nocin commented 6 months ago

Hi,

ahh, that was easy... Since I saw the message "Start the service: sudo systemctl start" after the installation, I somehow expected that it had to be executed as a systemd service. I completely overlooked the "Troubleshooting? Run HyperHDR manually" part. image

I now have one option, which is Display nr: 0, and also this helpful explanation box above, that tells me exactly what I did wrong when I had it running as a service. This was exactly the message I needed before, but it wasn't shown to me, as you can see in the screenshot above. image Display nr: 0 seems to be a combination of all three displays.

image image

Is there any way to select only display 3?

Thanks, Nico

awawa-dev commented 6 months ago

I'm afraid that's not possible, at least for now. Under Ubuntu/Gnome, the x11 session capturing also works with the Pipewire grabber (the same one used by default for Wayland sessions), and you can probably select a specific monitor there because the Portal dialog for Pipewire offers advanced options. But it looks like Pipewire x11 capturing is not implemented here. A workaround is to use the crop function, thanks to which you can cut out the area you are interested in. But of course this is not an optimal solution.

nocin commented 6 months ago

These experiments seem a bit too complicated for me as a non-Linux power user. :-)
Anyway, thanks for your detailed explanation! Really appreciate that!

So far, HyperHDR is now running great and it's already an improvement. Coming from Hyperion having now and then problems, especially in the combination with Home Assistant turning the WLED strip on and off. But this seems to work flawless now. Will now also do the switch on my HTPC.

Perhaps you could modify the "Explanation" message from the screenshot above, so that it is also displayed when starting HyperHDR as a service. Just to prevent others from making the same mistake I did. Will close the issue, thanks again for the tool and the support!