-
-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HyperHdr not work after wake up #868
Comments
Hi |
Logs:
2024-06-01T19:18:21.621Z [CORE] TTY is not attached to the log output
2024-06-01T19:18:21.621Z [MAIN] Database path: '/Users/grzegorzjasionowski/.hyperhdr/db/hyperhdr.db', readonlyMode = disabled
2024-06-01T19:18:21.621Z [MAIN] Starting HyperHdr - 20.0.0.0, (HEAD detached at v20.0.0.0) (awawa-dev-9e960c9/52f12b4-1711236142), built: Mar 23 2024:23:28:09
2024-06-01T19:18:21.621Z [MAIN] Set user data path to '/Users/grzegorzjasionowski/.hyperhdr'
2024-06-01T19:18:21.621Z [INSTANCE_CFG] Loading instance configuration
2024-06-01T19:18:21.622Z [DB] Database opened: /Users/grzegorzjasionowski/.hyperhdr/db/hyperhdr.db
2024-06-01T19:18:21.625Z [INSTANCE_CFG] Settings database initialized
2024-06-01T19:18:21.626Z [SOUND_GRABBER] Sound device is disabled
2024-06-01T19:18:21.653Z [JSONSERVER] (JsonServer.cpp:26) Created new instance
2024-06-01T19:18:21.653Z [JSONSERVER] Started on port 19444
2024-06-01T19:18:21.653Z [SSDP] (SSDPHandler.cpp:31) SSDPHandler is initialized
2024-06-01T19:18:21.653Z [MAIN] start systray
2024-06-01T19:18:21.651Z [macOS AVF:auto] (GrabberWrapper.cpp:55) Starting the grabber wrapper
2024-06-01T19:18:21.651Z [MACOS_SYSTEM:AUTO] Found display: Display id: 2
2024-06-01T19:18:21.651Z [MACOS_SYSTEM:AUTO] Restarting video grabber is now blocked due to reloading of the configuration
2024-06-01T19:18:21.651Z [MACOS_SYSTEM:AUTO] (Grabber.cpp:159) Set new width: 512, height: 512 for capture
2024-06-01T19:18:21.651Z [MACOS_SYSTEM:AUTO] (Grabber.cpp:335) setWidthHeight preparing to restarting video grabber 0
2024-06-01T19:18:21.651Z [MACOS_SYSTEM:AUTO] Delayed restart of the grabber due to change of the capturing resolution
2024-06-01T19:18:21.651Z [MACOS_SYSTEM:AUTO] Delayed restart of the grabber due to change of the framerate
2024-06-01T19:18:21.651Z [SIGNAL_OLD] (DetectionManual.cpp:84) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
2024-06-01T19:18:21.651Z [SIGNAL_OLD] (DetectionManual.cpp:74) Signal threshold set to: {0, 0, 0} and frames: 50
2024-06-01T19:18:21.651Z [MACOS_SYSTEM:AUTO] (Grabber.cpp:380) setDeviceVideoStandard preparing to restart video grabber. Old: '' new: 'auto'
2024-06-01T19:18:21.651Z [MACOS_SYSTEM:AUTO] Delayed restart of the grabber due to change of selected device
2024-06-01T19:18:21.651Z [HYPERHDR0] Starting the instance
2024-06-01T19:18:21.651Z [INSTANCE_CFG0] Loading instance configuration
2024-06-01T19:18:21.651Z [DB] Database opened: /Users/grzegorzjasionowski/.hyperhdr/db/hyperhdr.db
2024-06-01T19:18:21.652Z [MACOS AVF:AUTO] HyperHDR has the camera's permission
2024-06-01T19:18:21.652Z [MACOS AVF:AUTO] (AVFGrabber.mm:409) Searching for devices...
2024-06-01T19:18:21.652Z [MACOS AVF:AUTO] Restarting video grabber is now blocked due to reloading of the configuration
2024-06-01T19:18:21.652Z [macOS AVF:auto] (GrabberWrapper.cpp:488) Auto resume is: enabled
2024-06-01T19:18:21.652Z [MACOS AVF:AUTO] Cropping image: width=0 height=0; crop: left=0 right=0 top=0 bottom=0
2024-06-01T19:18:21.652Z [macOS AVF:auto] (GrabberWrapper.cpp:126) CEC keycode. Start: 0, stop: 0
2024-06-01T19:18:21.652Z [MACOS AVF:AUTO] (Grabber.cpp:273) setBrightnessContrastSaturationHue nothing changed
2024-06-01T19:18:21.652Z [MACOS AVF:AUTO] (AVFGrabber.mm:195) setHdrToneMappingMode to: Disabled
2024-06-01T19:18:21.652Z [MACOS AVF:AUTO] (Grabber.cpp:182) setFpsSoftwareDecimation to: 1
2024-06-01T19:18:21.652Z [SIGNAL_OLD] (DetectionManual.cpp:84) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
2024-06-01T19:18:21.652Z [SIGNAL_OLD] (DetectionManual.cpp:74) Signal threshold set to: {12, 12, 12} and frames: 200
2024-06-01T19:18:21.652Z [MACOS AVF:AUTO] Automatic signal detection is now enabled
2024-06-01T19:18:21.652Z [SIGNAL_AUTO] (DetectionAutomatic.cpp:376) Automatic signal detection -> errorTolerance: 3, modelTolerance: 90, sleepTime: 5000, wakeTime: 1000
2024-06-01T19:18:21.652Z [MACOS AVF:AUTO] (Grabber.cpp:380) setDeviceVideoStandard preparing to restart video grabber. Old: '' new: 'auto'
2024-06-01T19:18:21.652Z [MACOS AVF:AUTO] Delayed restart of the grabber due to change of selected device
2024-06-01T19:18:21.652Z [MACOS AVF:AUTO] (Grabber.cpp:200) Force encoding to: NO_CHANGE (old: NO_CHANGE)
2024-06-01T19:18:21.652Z [MACOS AVF:AUTO] setQFrameDecimation is now: disabled
2024-06-01T19:18:21.657Z [INSTANCE_CFG0] Settings database initialized
2024-06-01T19:18:21.657Z [COMPONENTCTRL0] (ComponentController.cpp:31) ComponentController is initialized. Components are ENABLED
2024-06-01T19:18:21.657Z [MUXER0] (Muxer.cpp:55) Muxer initialized
2024-06-01T19:18:21.657Z [BLACKBORDER] Set mode to: default
2024-06-01T19:18:21.657Z [COMPONENTCTRL0] Blackborder detector: enabled
2024-06-01T19:18:21.657Z [IMAGETOLED_MNG0] (ImageToLedManager.cpp:192) Set LED mapping type to advanced
2024-06-01T19:18:21.657Z [IMAGETOLED_MNG0] (ImageToLedManager.cpp:176) setSparseProcessing to 0
2024-06-01T19:18:21.657Z [IMAGETOLED_MNG0] (ImageToLedManager.cpp:103) ImageToLedManager initialized
2024-06-01T19:18:21.658Z [COLORSPACE_CALIBRATION0] classicMode: no, gammas:[1.50, 1.50, 1.50], saturation: 1.00, luminance: 1.00, backLight: [enabled, threshold: 1, colored: yes]
2024-06-01T19:18:21.658Z [LED_CALIBRATION0] (LedCalibration.cpp:101) Calibration config '0' for LED segment: [0, 111]
2024-06-01T19:18:21.658Z [HYPERHDR0] Led strip RGB order is: rgb
2024-06-01T19:18:21.658Z [SMOOTHING0] High resolution clock is steady (good)
2024-06-01T19:18:21.658Z [SMOOTHING0] Clearing queued colors before: enabling
2024-06-01T19:18:21.658Z [SMOOTHING0] Smoothing queue is cleared
2024-06-01T19:18:21.658Z [COMPONENTCTRL0] Smoothing: enabled
2024-06-01T19:18:21.658Z [SMOOTHING0] Creating config (0) => type: Alternative, dirMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250
2024-06-01T19:18:21.658Z [SMOOTHING0] Clearing queued colors before: enabling. Smoothing configuration changed: restarting timer.
2024-06-01T19:18:21.658Z [SMOOTHING0] Smoothing queue is cleared
2024-06-01T19:18:21.658Z [SMOOTHING0] Selecting config (0) => type: Alternative, directMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250
2024-06-01T19:18:21.658Z [SMOOTHING0] Selecting config (0) => type: Alternative, directMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250
2024-06-01T19:18:21.658Z [LEDDEVICE0_ADALIGHT] Start LedDevice 'adalight'.
2024-06-01T19:18:21.658Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:337) deviceConfig: [{"awa_mode":true,"colorOrder":"rgb","currentLedCount":112,"espHandshake":true,"forceSerialDetection":false,"maxRetry":0,"output":"cu.usbmodem2401","rate":2000000,"refreshTime":20,"smoothingRefreshTime":20,"type":"adalight","white_channel_calibration":false}]
2024-06-01T19:18:21.658Z [LEDDEVICE0_ADALIGHT] Ignoring user LED refresh rate. Forcing smoothing refresh rate = 50.00 Hz
2024-06-01T19:18:21.658Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:423) Refresh rate = 50.00 Hz
2024-06-01T19:18:21.658Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:373) Device is not ready to start a timer
2024-06-01T19:18:21.658Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:433) Refresh interval updated to 20ms
2024-06-01T19:18:21.658Z [LEDDEVICE0_ADALIGHT] (ProviderSerial.cpp:50) DeviceType : adalight
2024-06-01T19:18:21.658Z [LEDDEVICE0_ADALIGHT] (ProviderSerial.cpp:51) LedCount : 112
2024-06-01T19:18:21.658Z [LEDDEVICE0_ADALIGHT] (ProviderSerial.cpp:52) RefreshTime : 20
2024-06-01T19:18:21.658Z [LEDDEVICE0_ADALIGHT] (ProviderSerial.cpp:67) Device name : cu.usbmodem2401
2024-06-01T19:18:21.658Z [LEDDEVICE0_ADALIGHT] (ProviderSerial.cpp:68) Auto selection: 0
2024-06-01T19:18:21.658Z [LEDDEVICE0_ADALIGHT] (ProviderSerial.cpp:69) Baud rate : 2000000
2024-06-01T19:18:21.658Z [LEDDEVICE0_ADALIGHT] (ProviderSerial.cpp:70) ESP handshake : ON
2024-06-01T19:18:21.658Z [LEDDEVICE0_ADALIGHT] (ProviderSerial.cpp:71) Force ESP/Pico Detection : OFF
2024-06-01T19:18:21.658Z [LEDDEVICE0_ADALIGHT] (ProviderSerial.cpp:72) Delayed open : 0
2024-06-01T19:18:21.658Z [LEDDEVICE0_ADALIGHT] (ProviderSerial.cpp:73) Retry limit : 0
2024-06-01T19:18:21.658Z [LEDDEVICE0_ADALIGHT] The refresh timer is enabled ('Refresh time' > 0) and may limit the performance of the LED driver. Ignore this error if you set it on purpose for some reason (but you almost never need it).
2024-06-01T19:18:21.658Z [LEDDEVICE0_ADALIGHT] (LedDeviceAdalight.cpp:79) Adalight driver with activated high speeed & data integration check AWA protocol
2024-06-01T19:18:21.658Z [LEDDEVICE0_ADALIGHT] (LedDeviceAdalight.cpp:89) Adalight header for 112 leds: Awa 0x00 0x6f 0x3a
2024-06-01T19:18:21.658Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:247) Enable the device
2024-06-01T19:18:21.658Z [LEDDEVICE0_ADALIGHT] Opening UART: cu.usbmodem2401
2024-06-01T19:18:21.658Z [LEDDEVICE0_ADALIGHT] (ProviderSerial.cpp:209) _serialPort.open(QIODevice::ReadWrite): cu.usbmodem2401, Baud rate [2000000]bps
2024-06-01T19:18:21.670Z [HYPER_MANAGER] HyperHDR instance 'First LED instance' has been started
2024-06-01T19:18:21.658Z [HYPERHDR0] The instance is running
2024-06-01T19:18:21.658Z [MUXER0] Register new input 'System/VIDEOGRABBER' with priority 240 as inactive
2024-06-01T19:18:21.658Z [COMPONENTCTRL0] Video capture device: enabled
2024-06-01T19:18:21.658Z [MUXER0] Register new input 'System/SYSTEMGRABBER' with priority 245 as inactive
2024-06-01T19:18:21.658Z [COMPONENTCTRL0] System capture device: enabled
2024-06-01T19:18:21.658Z [MACOS AVF:AUTO] Multithreading for AVF is enabled. Available thread's count 4
2024-06-01T19:18:21.658Z [MACOS AVF:AUTO] (AVFGrabber.mm:409) Searching for devices...
2024-06-01T19:18:21.658Z [MACOS AVF:AUTO] (AVFGrabber.mm:257) Forcing auto discovery device
2024-06-01T19:18:21.658Z [MACOS AVF:AUTO] Could not find any capture device
2024-06-01T19:18:21.658Z [MACOS_SYSTEM:AUTO] (macOsGrabber.mm:111) init
2024-06-01T19:18:21.658Z [LEDDEVICE0_ADALIGHT] (ProviderSerial.cpp:214) portName: cu.usbmodem2401
2024-06-01T19:18:21.658Z [LEDDEVICE0_ADALIGHT] (ProviderSerial.cpp:215) systemLocation: /dev/cu.usbmodem2401
2024-06-01T19:18:21.658Z [LEDDEVICE0_ADALIGHT] (ProviderSerial.cpp:216) description: Pico
2024-06-01T19:18:21.658Z [LEDDEVICE0_ADALIGHT] (ProviderSerial.cpp:217) manufacturer: Raspberry Pi
2024-06-01T19:18:21.658Z [LEDDEVICE0_ADALIGHT] (ProviderSerial.cpp:218) productIdentifier: 0xa
2024-06-01T19:18:21.658Z [LEDDEVICE0_ADALIGHT] (ProviderSerial.cpp:219) vendorIdentifier: 0x2e8a
2024-06-01T19:18:21.658Z [LEDDEVICE0_ADALIGHT] (ProviderSerial.cpp:220) serialNumber: E66141040377B639
2024-06-01T19:18:21.661Z [MACOS_SYSTEM:AUTO] (macOsGrabber.mm:130) Forcing auto discovery device
2024-06-01T19:18:21.661Z [MACOS_SYSTEM:AUTO] (macOsGrabber.mm:135) Auto discovery set to Display id: 2
2024-06-01T19:18:21.661Z [MACOS_SYSTEM:AUTO] *************************************************************************************************
2024-06-01T19:18:21.661Z [MACOS_SYSTEM:AUTO] Starting macOS grabber. Selected: 'Display id: 2' max width: 512 (512) @ 10 fps
2024-06-01T19:18:21.661Z [MACOS_SYSTEM:AUTO] *************************************************************************************************
2024-06-01T19:18:21.661Z [MACOS_SYSTEM:AUTO] Started
2024-06-01T19:18:21.671Z [WEBSERVER] Initialize Webserver
2024-06-01T19:18:21.671Z [FLATBUFSERVER] Started on port 19400
2024-06-01T19:18:21.671Z [WEBSERVER] Apply Webserver settings
2024-06-01T19:18:21.671Z [WEBSERVER] Set document root to: :/www
2024-06-01T19:18:21.671Z [WEBSERVER] Started: 'HyperHDR WebServer (HTTP)' on port: 8090
2024-06-01T19:18:21.671Z [SSDP] (SSDPHandler.cpp:93) The local address is empty
2024-06-01T19:18:21.671Z [WEBSERVER] Initialize Webserver
2024-06-01T19:18:21.671Z [WEBSERVER] Apply Webserver settings
2024-06-01T19:18:21.671Z [WEBSERVER] Set document root to: :/www
2024-06-01T19:18:21.671Z [FLATBUFSERVER] Started local domain socket server: 'hyperhdr-domain'
2024-06-01T19:18:21.671Z [WEBSERVER] No valid SSL certificate has been found (':/hyperhdrcrt.pem'). Did you install OpenSSL?
2024-06-01T19:18:21.671Z [WEBSERVER] The provided SSL key is invalid or not supported use RSA encrypt and PEM format (':/hyperhdrkey.pem')
2024-06-01T19:18:21.671Z [WEBSERVER] Started: 'HyperHDR WebServer (HTTPS)' on port: 8092
2024-06-01T19:18:21.671Z [SSDP] (SSDPHandler.cpp:42) SSDPHandler is initializing
2024-06-01T19:18:21.671Z [SSDP] (SSDPHandler.cpp:183) The local address is: 192.168.178.10
2024-06-01T19:18:21.671Z [SSDP] (SSDPServer.cpp:95) Initialize the SSDP server
2024-06-01T19:18:21.671Z [WEBSERVER] (StaticFileServing.cpp:68) SSDP description is set up
2024-06-01T19:18:21.671Z [SSDP] Starting the SSDP server
2024-06-01T19:18:21.683Z [NETFORWARDER] Forwarder has changed state to disabled
2024-06-01T19:18:21.686Z [LEDDEVICE0_ADALIGHT] Detected Rp2040 type board. HyperHDR skips the reset. State: 1, 1
2024-06-01T19:18:21.690Z [LEDDEVICE0_ADALIGHT] ESP sent: 'HyperHDR frames: 0 (FPS), receiv.: 0, good: 0, incompl.: 0, mem1'
2024-06-01T19:18:21.690Z [LEDDEVICE0_ADALIGHT] DETECTED DEVICE USING HyperSerialEsp8266/HyperSerialESP32/HyperSerialPico FIRMWARE (: 0, mem2: 448, heap: 123232 Welcome! Awa driver 9.) at 2 msec
2024-06-01T19:18:21.690Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:64) Switch on
2024-06-01T19:18:21.690Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:140) Power On
2024-06-01T19:18:21.690Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:367) Starting timer with interval = 20ms
2024-06-01T19:18:21.690Z [COMPONENTCTRL0] LED device: enabled
2024-06-01T19:18:21.690Z [SMOOTHING0] Using alternative smoothing input (0)
2024-06-01T19:18:21.690Z [EFFECTENGINE0] Run effect "Candle" on channel 0
2024-06-01T19:18:21.690Z [EFFECTENGINE0] (EffectEngine.cpp:92) Start the effect: name [Candle]
2024-06-01T19:18:21.690Z [MUXER0] Register new input 'System/EFFECT' with priority 0 as inactive
2024-06-01T19:18:21.690Z [HYPERHDR0] Boot effect: animation set to 'Candle' [started]
2024-06-01T19:18:21.690Z [EFFECT0(Candle)] Begin playing the effect with priority: 0
2024-06-01T19:18:21.690Z [MUXER0] Priority 0 is now active
2024-06-01T19:18:21.690Z [MUXER0] Set visible priority to 0
2024-06-01T19:18:21.690Z [SMOOTHING0] Clearing queued colors before: enabling. Smoothing configuration changed: restarting timer.
2024-06-01T19:18:21.690Z [SMOOTHING0] Smoothing queue is cleared
2024-06-01T19:18:21.690Z [SMOOTHING0] Selecting config (4) => type: Linear, directMode: false, pause: false, settlingTime: 500ms, interval: 50ms (20Hz), antiFlickTres: 0, antiFlickStep: 0, antiFlickTime: 0
2024-06-01T19:18:21.690Z [SMOOTHING0] Using linear smoothing input (4)
2024-06-01T19:18:21.690Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:381) Stopping refresh timer
2024-06-01T19:18:21.690Z [HYPERHDR0] New priority[0], previous [255]
2024-06-01T19:18:21.690Z [HYPERHDR0] New source available -> switch LED-Device on
2024-06-01T19:18:21.690Z [LEDDEVICE0_ADALIGHT] Ignoring user LED refresh rate. Forcing smoothing refresh rate = 20.00 Hz
2024-06-01T19:18:21.690Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:423) Refresh rate = 20.00 Hz
2024-06-01T19:18:21.690Z [SMOOTHING0] Clearing queued colors before: enabling
2024-06-01T19:18:21.690Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:367) Starting timer with interval = 50ms
2024-06-01T19:18:21.690Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:433) Refresh interval updated to 50ms
2024-06-01T19:18:21.690Z [SMOOTHING0] Smoothing queue is cleared
2024-06-01T19:18:21.690Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:448) LED refresh interval adjustment caused by smoothing configuration change to 50ms (proposed: 50ms)
2024-06-01T19:18:21.690Z [COLORSPACE_CALIBRATION0] (ColorSpaceCalibration.cpp:225) setBackLightEnabled: 0
2024-06-01T19:18:21.690Z [SMOOTHING0] Using linear smoothing input (4)
2024-06-01T19:18:21.690Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:247) Enable the device
2024-06-01T19:18:21.778Z [MUXER0] Priority 245 is now active
2024-06-01T19:18:21.791Z [SMOOTHING0] Using linear smoothing procedure (4)
2024-06-01T19:18:23.174Z [NET_DISCOVERY] Found Pico/RP2040 at cu.usbmodem2401:-1 (Pico)
2024-06-01T19:18:23.175Z [NET_DISCOVERY] Found Pico/RP2040 at tty.usbmodem2401:-1 (Pico)
2024-06-01T19:18:23.173Z [SERVICE_mDNS] Starting the network discovery thread
2024-06-01T19:18:23.370Z [NET_DISCOVERY] Found WLED at 192.168.178.165:80 (wled-cf6ca4.local)
2024-06-01T19:18:23.692Z [EFFECT0(Candle)] The effect quits with priority: 0
2024-06-01T19:18:23.692Z [MUXER0] Removed source priority 0
2024-06-01T19:18:23.692Z [MUXER0] Set visible priority to 245
2024-06-01T19:18:23.692Z [SMOOTHING0] Clearing queued colors before: enabling. Smoothing configuration changed: restarting timer.
2024-06-01T19:18:23.692Z [SMOOTHING0] Smoothing queue is cleared
2024-06-01T19:18:23.692Z [SMOOTHING0] Selecting config (0) => type: Alternative, directMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250
2024-06-01T19:18:23.692Z [SMOOTHING0] Using alternative smoothing input (0)
2024-06-01T19:18:23.692Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:381) Stopping refresh timer
2024-06-01T19:18:23.692Z [HYPERHDR0] New priority[245], previous [0]
2024-06-01T19:18:23.692Z [LEDDEVICE0_ADALIGHT] Ignoring user LED refresh rate. Forcing smoothing refresh rate = 50.00 Hz
2024-06-01T19:18:23.692Z [COLORSPACE_CALIBRATION0] (ColorSpaceCalibration.cpp:225) setBackLightEnabled: 1
2024-06-01T19:18:23.692Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:423) Refresh rate = 50.00 Hz
2024-06-01T19:18:23.692Z [EFFECTENGINE0] Effect 'Candle' has finished.
2024-06-01T19:18:23.692Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:367) Starting timer with interval = 20ms
2024-06-01T19:18:23.692Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:433) Refresh interval updated to 20ms
2024-06-01T19:18:23.692Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:448) LED refresh interval adjustment caused by smoothing configuration change to 20ms (proposed: 20ms)
2024-06-01T19:18:23.692Z [EFFECT0(Candle)] Effect named: 'Candle' is deleted
2024-06-01T19:18:23.733Z [SMOOTHING0] Using alternative smoothing procedure (0)
2024-06-01T19:18:23.780Z [NET_DISCOVERY] Found Hue bridge at 192.168.178.50:80 (DIYHue.local)
2024-06-01T19:18:23.783Z [IMAGETOLED_MNG0] Total index number is: 37792 (memory: 37792). User sparse processing is: disabled, image size: 512 x 288, area number: 112
2024-06-01T19:18:23.783Z [IMAGETOLED_MNG0] Total index number is: 37792 (memory: 37792). User sparse processing is: disabled, image size: 512 x 288, area number: 112
2024-06-01T19:18:27.524Z [WEBSOCKET] (WebSocketClient.cpp:39) New connection from ::1
2024-06-01T19:18:30.965Z [WEBSOCKET] (HyperAPI.cpp:957) log streaming activated for client ::1
Sleep ! 2024-06-01T19:19:02.443Z [HYPER_MANAGER] The system is going to sleep Wake UP ! 2024-06-01T19:20:03.407Z [HYPER_MANAGER] The system is going to wake up |
Thank you. So the sleep handler seems correct, but something is wrong with the wake-up permissions and auto-resume doesnt work. I recently fixed one bug (incorrect thread affiliation when calling) in #852, which may be related to the problem. Can you test the installer from this build: https://github.com/awawa-dev/HyperHDR/actions/runs/9308928835 |
Unfortunately, this issue also occurs in this version (Apple_macOS_arm64_M1_M2_DMG_installer). |
logs:
Wake Up !
2024-06-01T20:06:26.607Z [HYPER_MANAGER] The system is going to wake up |
I cannot reproduce the problem on my Sonoma setup using latest HyperHDR v21alpha0.
|
Anyway, I added a new feature for the macOS grabber: auto-resume, so it should solve situations like yours https://github.com/awawa-dev/HyperHDR/actions/runs/9339273352 |
Thank you very much! Your improvement has solved the problem. Thank you for all your work on this project. The project is incredible! |
Bug report
Steps to reproduce
What is expected?
After waking up the computer, the LEDs should continue to function without manual intervention.
What is actually happening?
After waking up the computer, the LED backlighting only turns on for a second before anything appears on the screen, and then the LEDs turn off. I have to manually turn off and turn on the 'System screen capture' button in HyperHDR to restore functionality. This issue does not occur when a static effect like 'candle' is set instead of screen capture, which works fine even after the computer wakes up.
System
Debug log
2024-05-26T21:11:24.360Z [LEDDEVICE0_ADALIGHT] (ProviderSerial.cpp:164) Serial port is closed: cu.usbmodem2401
2024-05-26T21:11:24.360Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:423) Refresh rate = 50.00 Hz
2024-05-26T21:11:24.360Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:373) Device is not ready to start a timer
2024-05-26T21:11:24.360Z [COMPONENTCTRL0] LED device: disabled
2024-05-26T21:11:24.360Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:433) Refresh interval updated to 20ms
2024-05-26T21:11:24.360Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:448) LED refresh interval adjustment caused by smoothing configuration change to 20ms (proposed: 0ms)
2024-05-26T21:11:24.360Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:297) Disable the device
2024-05-26T21:11:24.360Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:214) Saving retryTimer (interval: 0)
2024-05-27T05:24:10.909Z [HYPER_MANAGER] The system is going to wake up
2024-05-27T05:24:13.847Z [COMPONENTCTRL0] (ComponentController.cpp:73) Enabling HyperHDR instance: recovering previuosly saved component states
2024-05-27T05:24:13.847Z [SMOOTHING0] Clearing queued colors before: enabling
2024-05-27T05:24:13.847Z [SMOOTHING0] Smoothing queue is cleared
2024-05-27T05:24:13.847Z [COMPONENTCTRL0] Smoothing: enabled
2024-05-27T05:24:13.847Z [LEDDEVICE0_ADALIGHT] Ignoring user LED refresh rate. Forcing smoothing refresh rate = 50.00 Hz
2024-05-27T05:24:13.847Z [COMPONENTCTRL0] Blackborder detector: enabled
2024-05-27T05:24:13.847Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:423) Refresh rate = 50.00 Hz
2024-05-27T05:24:13.847Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:373) Device is not ready to start a timer
2024-05-27T05:24:13.847Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:433) Refresh interval updated to 20ms
2024-05-27T05:24:13.847Z [MUXER0] Register new input 'System/VIDEOGRABBER' with priority 240 as inactive
2024-05-27T05:24:13.847Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:448) LED refresh interval adjustment caused by smoothing configuration change to 20ms (proposed: 20ms)
2024-05-27T05:24:13.847Z [COMPONENTCTRL0] Video capture device: enabled
2024-05-27T05:24:13.847Z [MUXER0] Register new input 'System/SYSTEMGRABBER' with priority 245 as inactive
2024-05-27T05:24:13.847Z [COMPONENTCTRL0] System capture device: enabled
2024-05-27T05:24:13.847Z [MACOS AVF:AUTO] Multithreading for AVF is enabled. Available thread's count 4
2024-05-27T05:24:13.847Z [MACOS_SYSTEM:AUTO] (macOsGrabber.mm:111) init
2024-05-27T05:24:13.847Z [SMOOTHING0] Clearing queued colors before: enabling
2024-05-27T05:24:13.847Z [MACOS AVF:AUTO] (AVFGrabber.mm:409) Searching for devices...
2024-05-27T05:24:13.847Z [MACOS_SYSTEM:AUTO] Started
2024-05-27T05:24:13.847Z [SMOOTHING0] Smoothing queue is cleared
2024-05-27T05:24:13.848Z [COMPONENTCTRL0] HyperHDR: enabled
2024-05-27T05:24:13.848Z [MACOS AVF:AUTO] (AVFGrabber.mm:257) Forcing auto discovery device
2024-05-27T05:24:13.848Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:247) Enable the device
2024-05-27T05:24:13.848Z [MACOS AVF:AUTO] Could not find any capture device
2024-05-27T05:24:13.848Z [LEDDEVICE0_ADALIGHT] Opening UART: cu.usbmodem2401
2024-05-27T05:24:13.848Z [LEDDEVICE0_ADALIGHT] (ProviderSerial.cpp:209) _serialPort.open(QIODevice::ReadWrite): cu.usbmodem2401, Baud rate [2000000]bps
2024-05-27T05:24:13.849Z [LEDDEVICE0_ADALIGHT] (ProviderSerial.cpp:214) portName: cu.usbmodem2401
2024-05-27T05:24:13.849Z [LEDDEVICE0_ADALIGHT] (ProviderSerial.cpp:215) systemLocation: /dev/cu.usbmodem2401
2024-05-27T05:24:13.849Z [LEDDEVICE0_ADALIGHT] (ProviderSerial.cpp:216) description: Pico
2024-05-27T05:24:13.849Z [LEDDEVICE0_ADALIGHT] (ProviderSerial.cpp:217) manufacturer: Raspberry Pi
2024-05-27T05:24:13.849Z [LEDDEVICE0_ADALIGHT] (ProviderSerial.cpp:218) productIdentifier: 0xa
2024-05-27T05:24:13.849Z [LEDDEVICE0_ADALIGHT] (ProviderSerial.cpp:219) vendorIdentifier: 0x2e8a
2024-05-27T05:24:13.849Z [LEDDEVICE0_ADALIGHT] (ProviderSerial.cpp:220) serialNumber: E66141040377B639
2024-05-27T05:24:13.879Z [LEDDEVICE0_ADALIGHT] Detected Rp2040 type board. HyperHDR skips the reset. State: 1, 1
2024-05-27T05:24:13.883Z [LEDDEVICE0_ADALIGHT] ESP sent: 'HyperHDR frames: 0 (FPS), receiv.: 0, good: 0, incompl.: 0, mem1'
2024-05-27T05:24:13.883Z [LEDDEVICE0_ADALIGHT] DETECTED DEVICE USING HyperSerialEsp8266/HyperSerialESP32/HyperSerialPico FIRMWARE (: 0, mem2: 448, heap: 123232 Welcome! Awa driver 9.) at 2 msec
2024-05-27T05:24:13.883Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:64) Switch on
2024-05-27T05:24:13.883Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:140) Power On
2024-05-27T05:24:13.883Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:367) Starting timer with interval = 20ms
2024-05-27T05:24:13.883Z [COMPONENTCTRL0] LED device: enabled
2024-05-27T05:24:13.884Z [SMOOTHING0] Using alternative smoothing input (0)
2024-05-27T05:24:13.884Z [EFFECTENGINE0] Run effect "Candle" on channel 0
2024-05-27T05:24:13.884Z [EFFECTENGINE0] (EffectEngine.cpp:92) Start the effect: name [Candle]
2024-05-27T05:24:13.884Z [MUXER0] Register new input 'System/EFFECT' with priority 0 as inactive
2024-05-27T05:24:13.884Z [HYPERHDR0] Boot effect: animation set to 'Candle' [started]
2024-05-27T05:24:13.884Z [EFFECT0(Candle)] Begin playing the effect with priority: 0
2024-05-27T05:24:13.884Z [MUXER0] Priority 0 is now active
2024-05-27T05:24:13.884Z [MUXER0] Set visible priority to 0
2024-05-27T05:24:13.884Z [SMOOTHING0] Clearing queued colors before: enabling. Smoothing configuration changed: restarting timer.
2024-05-27T05:24:13.884Z [SMOOTHING0] Smoothing queue is cleared
2024-05-27T05:24:13.884Z [SMOOTHING0] Selecting config (4) => type: Linear, directMode: false, pause: false, settlingTime: 500ms, interval: 50ms (20Hz), antiFlickTres: 0, antiFlickStep: 0, antiFlickTime: 0
2024-05-27T05:24:13.884Z [SMOOTHING0] Using linear smoothing input (4)
2024-05-27T05:24:13.884Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:381) Stopping refresh timer
2024-05-27T05:24:13.884Z [HYPERHDR0] New priority[0], previous [255]
2024-05-27T05:24:13.884Z [LEDDEVICE0_ADALIGHT] Ignoring user LED refresh rate. Forcing smoothing refresh rate = 20.00 Hz
2024-05-27T05:24:13.884Z [HYPERHDR0] New source available -> switch LED-Device on
2024-05-27T05:24:13.884Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:423) Refresh rate = 20.00 Hz
2024-05-27T05:24:13.884Z [SMOOTHING0] Clearing queued colors before: enabling
2024-05-27T05:24:13.885Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:367) Starting timer with interval = 50ms
2024-05-27T05:24:13.885Z [SMOOTHING0] Smoothing queue is cleared
2024-05-27T05:24:13.885Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:433) Refresh interval updated to 50ms
2024-05-27T05:24:13.885Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:448) LED refresh interval adjustment caused by smoothing configuration change to 50ms (proposed: 50ms)
2024-05-27T05:24:13.885Z [COLORSPACE_CALIBRATION0] (ColorSpaceCalibration.cpp:225) setBackLightEnabled: 0
2024-05-27T05:24:13.885Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:247) Enable the device
2024-05-27T05:24:13.885Z [SMOOTHING0] Using linear smoothing input (4)
2024-05-27T05:24:13.962Z [MUXER0] Priority 245 is now active
2024-05-27T05:24:13.986Z [SMOOTHING0] Using linear smoothing procedure (4)
2024-05-27T05:24:15.869Z [MACOS_SYSTEM:AUTO] Lost connection to the display or user didn't grant access rights
2024-05-27T05:24:15.870Z [MACOS_SYSTEM:AUTO] Stopped
2024-05-27T05:24:15.870Z [MACOS_SYSTEM:AUTO] (macOsGrabber.mm:101) Uninit grabber: Display id: 2
2024-05-27T05:24:15.915Z [EFFECT0(Candle)] The effect quits with priority: 0
2024-05-27T05:24:15.952Z [MUXER0] Removed source priority 0
2024-05-27T05:24:15.952Z [MUXER0] Set visible priority to 245
2024-05-27T05:24:15.954Z [SMOOTHING0] Clearing queued colors before: enabling. Smoothing configuration changed: restarting timer.
2024-05-27T05:24:15.954Z [SMOOTHING0] Smoothing queue is cleared
2024-05-27T05:24:15.954Z [SMOOTHING0] Selecting config (0) => type: Alternative, directMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250
2024-05-27T05:24:15.955Z [SMOOTHING0] Using alternative smoothing input (0)
2024-05-27T05:24:15.956Z [HYPERHDR0] New priority[245], previous [0]
2024-05-27T05:24:15.956Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:381) Stopping refresh timer
2024-05-27T05:24:15.957Z [COLORSPACE_CALIBRATION0] (ColorSpaceCalibration.cpp:225) setBackLightEnabled: 1
2024-05-27T05:24:15.957Z [LEDDEVICE0_ADALIGHT] Ignoring user LED refresh rate. Forcing smoothing refresh rate = 50.00 Hz
2024-05-27T05:24:15.958Z [EFFECTENGINE0] Effect 'Candle' has finished.
2024-05-27T05:24:15.958Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:423) Refresh rate = 50.00 Hz
2024-05-27T05:24:15.958Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:367) Starting timer with interval = 20ms
2024-05-27T05:24:15.959Z [EFFECT0(Candle)] Effect named: 'Candle' is deleted
2024-05-27T05:24:15.959Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:433) Refresh interval updated to 20ms
2024-05-27T05:24:15.960Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:448) LED refresh interval adjustment caused by smoothing configuration change to 20ms (proposed: 20ms)
2024-05-27T05:24:16.000Z [SMOOTHING0] Using alternative smoothing procedure (0)
2024-05-27T05:24:16.446Z [MUXER0] Priority 245 is now inactive
2024-05-27T05:24:16.447Z [MUXER0] Set visible priority to 255
2024-05-27T05:24:16.447Z [HYPERHDR0] New priority[255], previous [245]
2024-05-27T05:24:16.447Z [HYPERHDR0] No source left -> switch LED-Device off
2024-05-27T05:24:16.447Z [SMOOTHING0] Clearing queued colors before: disabling
2024-05-27T05:24:16.447Z [SMOOTHING0] Smoothing queue is cleared
2024-05-27T05:24:16.447Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:297) Disable the device
2024-05-27T05:24:16.447Z [COLORSPACE_CALIBRATION0] (ColorSpaceCalibration.cpp:225) setBackLightEnabled: 0
2024-05-27T05:24:16.447Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:381) Stopping refresh timer
2024-05-27T05:24:16.447Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:90) Switch off
2024-05-27T05:24:16.447Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:544) Set LED strip to black/power off
2024-05-27T05:24:16.447Z [LEDDEVICE0_ADALIGHT] (ProviderSerial.cpp:146) Flush was successful
2024-05-27T05:24:16.457Z [LEDDEVICE0_ADALIGHT] Received goodbye: 'HyperHDR frames: 0 (FPS), receiv.: 0, good: 0, incompl.: 0, mem1: 0, mem2: 448, heap: 123232
' (94)
2024-05-27T05:24:16.472Z [LEDDEVICE0_ADALIGHT] (ProviderSerial.cpp:164) Serial port is closed: cu.usbmodem2401
2024-05-27T05:24:16.472Z [COMPONENTCTRL0] LED device: disabled
2024-05-27T05:29:47.866Z [WEBSOCKET] (WebSocketClient.cpp:39) New connection from ::1
2024-05-27T05:29:51.218Z [WEBSOCKET] (HyperAPI.cpp:957) log streaming activated for client ::1
Additional information
I have recently reinstalled macOS and have the latest version of HyperHDR. The issue persists even after the reinstallation. If anyone has encountered a similar problem or has suggestions for a solution, I would appreciate the help.
The text was updated successfully, but these errors were encountered: