Skip to content

Windows detect screen off when PC is locked. #735

Closed

Description

@kenny-nt

Feature request

What problem does this feature solve?

The led will turn off when PC turn off the screen.

What does the proposed API look like?

How should this be implemented in your opinion?

Are you willing to work on this yourself?

Activity

  1. awawa-dev commented on Jan 17, 2024

    @awawa-dev
    Owner
  2. kenny-nt commented on Jan 18, 2024

    @kenny-nt
    Author

    20240118_081400
    Screenshot_20240118_081323_Samsung Internet
    Screenshot_20240118_081305_Samsung Internet

    Installed the build: session_locker (Awawa-f676dd4/9a406ce-1705528819)

    I locked windows via Win + L, 1 minutes later the screen turn off but leds still on. Check live preview of HyperHDR via my phone > Screen Capture still capture the lock screen.
    But the point is HyperHDR should stop Screen Capture only. The new setting should place in Video Capturing > Instance Screen Capture or Software Screen Capture.

  3. kenny-nt commented on Jan 18, 2024

    @kenny-nt
    Author

    Test again.

    2024-01-18T08:25:56.467Z [COMPONENTCTRL0] LED device: disabled
    2024-01-18T08:26:17.171Z [WEBSOCKET] (HyperAPI.cpp:966) log streaming deactivated for client ::1
    2024-01-18T08:26:51.108Z [WEBSOCKET] (HyperAPI.cpp:957) log streaming activated for client ::1
    2024-01-18T08:27:18.385Z [WEBSOCKET] (HyperAPI.cpp:966) log streaming deactivated for client ::1
    2024-01-18T08:27:23.829Z [WEBSOCKET] (HyperAPI.cpp:957) log streaming activated for client ::1
    2024-01-18T08:27:34.748Z [WEBSOCKET] (HyperAPI.cpp:966) log streaming deactivated for client ::1
    2024-01-18T08:28:04.313Z [WEBSOCKET] (HyperAPI.cpp:957) log streaming activated for client ::1

    Leds turned off then turn on with boot effect then turn off. But leds still turn off when log in again.
    Disable led instance > leds still off. Go to Screen Capture > disable System Capture > save > enable again > save > leds with screen capture working again.

  4. awawa-dev commented on Jan 18, 2024

    @awawa-dev
    Owner

    It should turn off everything immediately (leds, grabber etc). Please run hyperhdr from the command line to get full logs when you press Win+L: hyperhdr.exe -c
    This mechanism won't work if RDP is used. The same user must run hyperhdr and lock the system (the app must run in the current user session).

  5. kenny-nt commented on Jan 18, 2024

    @kenny-nt
    Author

    hyperHDR.log
    Amazing... It work now... but when unlock windows > sometimes the screen grabber work again and sometimes led still go off.
    When press Win + L -> Leds behavior: off 1s > all white 1s > off 1s > all white 3s > off 1s > all white 3s > OFF( or turn on idle effect)
    Dont know why I have tested all this morning but it do not work, after run hyperhdr via terminal: hyperhdr.exe -c > I work now :|

  6. awawa-dev commented on Jan 18, 2024

    @awawa-dev
    Owner

    Thank you for testing and logs. It didn't quite work as it should because there was feedback/looping from some components that didn't want to turn off permanently so easily. That's why sometimes it might not work. I think I fixed it.

    The improved version + one new option (described in #737) can be downloaded here: https://github.com/awawa-dev/HyperHDR/actions/runs/7573447093

  7. kenny-nt commented on Jan 19, 2024

    @kenny-nt
    Author

    The feature "Turn off LEDs at startup" working good but it will override the "Boot Effect" in Effects menu?
    Leds behavior now: Win + L -> Lock screen and Leds turn all white for 3s > off and on all white for 1s > OFF
    The same with Unlock PC: Enter Pass > Main windows > led turn all white for 3s > > off and on all white for 1s > screen capture work again.
    I am testing if windows autolock when afk for a while.
    hyperHDR.log

  8. awawa-dev commented on Jan 19, 2024

    @awawa-dev
    Owner

    Logs look fine now.

    2024-01-19T08:26:20.321Z [HYPER_MANAGER] The system is going to sleep
    ...
    2024-01-19T08:26:21.992Z [LEDDEVICE0_ADALIGHT] (LedDevice.cpp:297) Disable the device
    

    the process from receiving the lock signal from the operating system took ~2 seconds when the LED device (and everything else) was then turned off.
    Next the system woke up (unlock event):

    2024-01-19T08:26:33.489Z [HYPER_MANAGER] The system is going to wake up
    

    And it started restoring LEDs and other devices to their state before locking the screen.

    The feature "Turn off LEDs at startup" working good but it will override the "Boot Effect" in Effects menu?

    New feature should prevent the boot effect from turning on the LEDs.

  9. kenny-nt commented on Jan 21, 2024

    @kenny-nt
    Author

    The latest commit seem have something wrong... Win locked and leds turn off but I can not use effect with HyperHDR too..
    The point is just need HyperHDR disable Screen Capture when PC turn off (not turn off HyperHDR completely like now)
    I think the first commited version is better.
    Just need Windows get locked or Windows turn off the screen (set Windows turn off after xx minutes in Power Settings) >>> HyperHDR turn off Screen Capture.
    Currently HyperHDR disable Led Instance.

  10. kenny-nt commented on Jan 22, 2024

    @kenny-nt
    Author
  11. awawa-dev commented on Jan 22, 2024

    @awawa-dev
    Owner

    It's already merged, but I submitted rebuild of that version. Should be available soon.

    Maybe there was a misunderstanding, but my main goal from the very beginning was to block the LEDs (as in the feature request) and, consequently, the entire HyperHDR processing. Since this function is used to also hibernate the application during resume/suspend events, it is difficult at this stage to separate the operation of the screen locker so that the effect running in the background can turn on the LEDs and continue working.

  12. kenny-nt commented on Jan 22, 2024

    @kenny-nt
    Author

    That version maybe better, I lock windows > leds changed to off or idle effect and screen capture turn back on when I unlock pc and when pc locked I still can set some effects to leds
    So we can not just turn off all Video Capturing components when video connection lost?

  13. 19 remaining items

  14. awawa-dev commented on Feb 2, 2024

    @awawa-dev
    Owner

    You must see what is in the logs: are locked on/off events visible there. I do not have an opportunity to test multi-monitors configuration.

  15. kenny-nt commented on Feb 3, 2024

    @kenny-nt
    Author

    You must see what is in the logs: are locked on/off events visible there. I do not have an opportunity to test multi-monitors configuration.

    2024-02-03T08:20:50.637Z [HYPER_MANAGER] (HyperHdrManager.cpp:181) OS event: OS locked
    2024-02-03T08:20:50.644Z [HYPER_MANAGER] The user has set a background effect, and therefore we will not turn off the LEDs when locking the operating system
    2024-02-03T08:20:50.645Z [MUXER0] Removed source priority 245
    2024-02-03T08:20:50.645Z [MUXER0] Set visible priority to 254
    2024-02-03T08:20:50.645Z [HYPERHDR0] New priority[254], previous [245]
    2024-02-03T08:20:50.645Z [COLORSPACE_CALIBRATION0] (ColorSpaceCalibration.cpp:225) setBackLightEnabled: 0
    2024-02-03T08:20:50.646Z [COMPONENTCTRL0] System capture device: disabled
    2024-02-03T08:20:50.651Z [DX11_SYSTEM:\\.\DISPLAY2|N] Stopped
    2024-02-03T08:21:04.946Z [HYPER_MANAGER] (HyperHdrManager.cpp:181) OS event: OS unlocked
    2024-02-03T08:21:04.956Z [MUXER0] Register new input 'System/SYSTEMGRABBER' with priority 245 as inactive
    2024-02-03T08:21:04.956Z [COMPONENTCTRL0] System capture device: enabled
    2024-02-03T08:21:04.960Z [DX11_SYSTEM:\\.\DISPLAY2|N] (DxGrabber.cpp:196) init
    2024-02-03T08:21:04.961Z [DX11_SYSTEM:\\.\DISPLAY2|N] Started
    

    Here is log when Windows locked and unlocked and the led not turn on screen grabber. Leds turn off (maybe idle effect).
    I look at Remote Control > there is no Screen Grabber, just only idle effect
    test

  16. awawa-dev commented on Feb 3, 2024

    @awawa-dev
    Owner

    It's just a part of logs...on the screenshot HyperHDR shows that you have multiply instances but can't find a trace of rest of them in logs. There is nothing more at the end after you unlocked the os?

  17. kenny-nt commented on Feb 3, 2024

    @kenny-nt
    Author

    Let me test more and carefully . I will post full log when system locked/unlocked or monitor off/on later

  18. kenny-nt commented on Feb 4, 2024

    @kenny-nt
    Author

    hyperHDR.log
    Monitor is back on > leds are all white for a few seconds then turn off and few seconds later screen grabber is working
    As your opinion, are there anything need to be optimized or it is just OK?

  19. awawa-dev commented on Feb 4, 2024

    @awawa-dev
    Owner

    The logs are fine, no errors. The DirectX grabber will not deliver a new video frame if the screen does not change, which is why the warnings appeared. The LEDs were not turned off and on due to the active background effect. Only the system grabber was stopped and restarted after resuming.

  20. kenny-nt commented on Feb 6, 2024

    @kenny-nt
    Author

    The logs are fine, no errors. The DirectX grabber will not deliver a new video frame if the screen does not change, which is why the warnings appeared. The LEDs were not turned off and on due to the active background effect. Only the system grabber was stopped and restarted after resuming.

    hyperHDR.log

    Display 1 is Display Port, Display 2 is HDMI >>> My setting is Display 2 for Screen grabber
    When I unlock PC, Leds still off. I must go to Video Capture change Display 2 to Display 1 > Save And change back Display 2 > Save
    Seem there is some delay for the Display 2 start init when PC unlocked. (My PC is not sleep, it is always ON). Need any "retry" setting for Screen Grapper when HyperHDR can not detect Screen Grabber Display???

  21. kenny-nt commented on Feb 6, 2024

    @kenny-nt
    Author
    2024-02-06T15:23:19.656Z [WEBSOCKET] (WebSocketClient.cpp:188) send close: 1000 
    2024-02-06T16:38:50.887Z [WEBSOCKET] (WebSocketClient.cpp:39) New connection from ::ffff:192.168.1.11
    2024-02-06T16:38:53.027Z [WEBSOCKET] (HyperAPI.cpp:957) log streaming activated for client ::ffff:192.168.1.11
    2024-02-06T16:39:21.911Z [WEBSOCKET] (HyperAPI.cpp:966) log streaming deactivated for client  ::ffff:192.168.1.11
    2024-02-06T16:39:24.135Z [WEBSOCKET] (HyperAPI.cpp:1109) message: [{"command":"leddevice","ledDeviceType":"","params":{},"subcommand":"hasLedClock","tan":1}]
    2024-02-06T16:39:31.959Z [DX11_SYSTEM:\\.\DISPLAY2|N] Restarting video grabber is now blocked due to reloading of the configuration
    2024-02-06T16:39:31.960Z [DX11_SYSTEM:\\.\DISPLAY2|N] (DxGrabber.cpp:125) setHdrToneMappingMode to: Disabled
    2024-02-06T16:39:31.960Z [SIGNAL_OLD] (DetectionManual.cpp:84) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
    2024-02-06T16:39:31.960Z [SIGNAL_OLD] (DetectionManual.cpp:74) Signal threshold set to: {0, 0, 0} and frames: 50
    2024-02-06T16:39:31.960Z [DX11_SYSTEM:\\.\DISPLAY2|N] (Grabber.cpp:380) setDeviceVideoStandard preparing to restart video grabber. Old: '\\.\DISPLAY2|NVIDIA GeForce GTX 1080 Ti' new: '\\.\DISPLAY1|NVIDIA GeForce GTX 1080 Ti'
    2024-02-06T16:39:31.960Z [DX11_SYSTEM:\\.\DISPLAY2|N] Delayed restart of the grabber due to change of selected device
    2024-02-06T16:39:31.960Z [DX11_SYSTEM:\\.\DISPLAY2|N] (Grabber.cpp:286) Planned restart of video grabber after reloading of the configuration
    2024-02-06T16:39:31.960Z [DX11_SYSTEM:\\.\DISPLAY2|N] Stopped
    2024-02-06T16:39:31.960Z [DX11_SYSTEM:\\.\DISPLAY2|N] (DxGrabber.cpp:150) Uninit grabber: \\.\DISPLAY1|NVIDIA GeForce GTX 1080 Ti
    2024-02-06T16:39:31.982Z [DX11_SYSTEM:\\.\DISPLAY2|N] (DxGrabber.cpp:196) init
    2024-02-06T16:39:31.983Z [DX11_SYSTEM:\\.\DISPLAY2|N] *************************************************************************************************
    2024-02-06T16:39:31.983Z [DX11_SYSTEM:\\.\DISPLAY2|N] Starting DX grabber. Selected: '\\.\DISPLAY1|NVIDIA GeForce GTX 1080 Ti' max width: 1280 (1280) @ 120 fps
    2024-02-06T16:39:31.983Z [DX11_SYSTEM:\\.\DISPLAY2|N] *************************************************************************************************
    2024-02-06T16:39:32.070Z [DX11_SYSTEM:\\.\DISPLAY2|N] Selected D3D_DRIVER_TYPE_UNKNOWN
    2024-02-06T16:39:32.070Z [DX11_SYSTEM:\\.\DISPLAY2|N] Gamut: SDR, min nits: 0.50, max nits: 270.00, max frame nits: 270.00, white point: [0.31, 0.33]
    2024-02-06T16:39:32.070Z [DX11_SYSTEM:\\.\DISPLAY2|N] Using BGRA format
    2024-02-06T16:39:32.071Z [DX11_SYSTEM:\\.\DISPLAY2|N] Surface format: 87
    2024-02-06T16:39:32.073Z [DX11_SYSTEM:\\.\DISPLAY2|N] The DX11 device has been initialized. Hardware acceleration is enabled
    2024-02-06T16:39:32.073Z [DX11_SYSTEM:\\.\DISPLAY2|N] Started
    2024-02-06T16:39:32.087Z [MUXER0] Priority 245 is now active
    2024-02-06T16:39:32.087Z [MUXER0] Set visible priority to 245
    2024-02-06T16:39:32.087Z [HYPERHDR0] New priority[245], previous [254]
    2024-02-06T16:39:32.087Z [COLORSPACE_CALIBRATION0] (ColorSpaceCalibration.cpp:225) setBackLightEnabled: 1
    2024-02-06T16:39:32.087Z [IMAGETOLED_MNG0] Total index number is: 134400 (memory: 134400). User sparse processing is: disabled, image size: 960 x 540, area number: 168
    2024-02-06T16:39:32.090Z [DX11_SYSTEM:\\.\DISPLAY2|N] (DxGrabber.cpp:796) AcquireNextFrame didn't return the frame. Just warning: the screen has not changed?
    2024-02-06T16:39:32.106Z [DX11_SYSTEM:\\.\DISPLAY2|N] (DxGrabber.cpp:796) AcquireNextFrame didn't return the frame. Just warning: the screen has not changed?
    2024-02-06T16:39:32.122Z [DX11_SYSTEM:\\.\DISPLAY2|N] (DxGrabber.cpp:796) AcquireNextFrame didn't return the frame. Just warning: the screen has not changed?
    2024-02-06T16:39:32.138Z [DX11_SYSTEM:\\.\DISPLAY2|N] (DxGrabber.cpp:796) AcquireNextFrame didn't return the frame. Just warning: the screen has not changed?
    2024-02-06T16:39:32.146Z [DX11_SYSTEM:\\.\DISPLAY2|N] (DxGrabber.cpp:796) AcquireNextFrame didn't return the frame. Just warning: the screen has not changed?
    2024-02-06T16:39:32.162Z [DX11_SYSTEM:\\.\DISPLAY2|N] (DxGrabber.cpp:796) AcquireNextFrame didn't return the frame. Just warning: the screen has not changed?
    2024-02-06T16:39:32.555Z [IMAGETOLED_MNG0] Total index number is: 134400 (memory: 134400). User sparse processing is: disabled, image size: 960 x 540, area number: 168
    2024-02-06T16:39:35.358Z [DX11_SYSTEM:\\.\DISPLAY2|N] Restarting video grabber is now blocked due to reloading of the configuration
    2024-02-06T16:39:35.358Z [DX11_SYSTEM:\\.\DISPLAY2|N] (DxGrabber.cpp:125) setHdrToneMappingMode to: Disabled
    2024-02-06T16:39:35.358Z [SIGNAL_OLD] (DetectionManual.cpp:84) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
    2024-02-06T16:39:35.358Z [SIGNAL_OLD] (DetectionManual.cpp:74) Signal threshold set to: {0, 0, 0} and frames: 50
    2024-02-06T16:39:35.359Z [DX11_SYSTEM:\\.\DISPLAY2|N] (Grabber.cpp:380) setDeviceVideoStandard preparing to restart video grabber. Old: '\\.\DISPLAY1|NVIDIA GeForce GTX 1080 Ti' new: '\\.\DISPLAY2|NVIDIA GeForce GTX 1080 Ti'
    2024-02-06T16:39:35.359Z [DX11_SYSTEM:\\.\DISPLAY2|N] Delayed restart of the grabber due to change of selected device
    2024-02-06T16:39:35.359Z [DX11_SYSTEM:\\.\DISPLAY2|N] (Grabber.cpp:286) Planned restart of video grabber after reloading of the configuration
    2024-02-06T16:39:35.359Z [DX11_SYSTEM:\\.\DISPLAY2|N] Stopped
    2024-02-06T16:39:35.359Z [DX11_SYSTEM:\\.\DISPLAY2|N] (DxGrabber.cpp:150) Uninit grabber: \\.\DISPLAY2|NVIDIA GeForce GTX 1080 Ti
    2024-02-06T16:39:35.368Z [DX11_SYSTEM:\\.\DISPLAY2|N] (DxGrabber.cpp:196) init
    2024-02-06T16:39:35.369Z [DX11_SYSTEM:\\.\DISPLAY2|N] *************************************************************************************************
    2024-02-06T16:39:35.369Z [DX11_SYSTEM:\\.\DISPLAY2|N] Starting DX grabber. Selected: '\\.\DISPLAY2|NVIDIA GeForce GTX 1080 Ti' max width: 1280 (1280) @ 120 fps
    2024-02-06T16:39:35.369Z [DX11_SYSTEM:\\.\DISPLAY2|N] *************************************************************************************************
    2024-02-06T16:39:35.437Z [DX11_SYSTEM:\\.\DISPLAY2|N] Selected D3D_DRIVER_TYPE_UNKNOWN
    2024-02-06T16:39:35.437Z [DX11_SYSTEM:\\.\DISPLAY2|N] Gamut: HDR, min nits: 0.01, max nits: 1499.00, max frame nits: 799.00, white point: [0.31, 0.33]
    2024-02-06T16:39:35.437Z [DX11_SYSTEM:\\.\DISPLAY2|N] Using wide gamut for HDR. Target SDR brightness: 200 nits
    2024-02-06T16:39:35.437Z [DX11_SYSTEM:\\.\DISPLAY2|N] Surface format: 10
    2024-02-06T16:39:35.440Z [DX11_SYSTEM:\\.\DISPLAY2|N] The DX11 device has been initialized. Hardware acceleration is enabled
    2024-02-06T16:39:35.440Z [DX11_SYSTEM:\\.\DISPLAY2|N] Started
    2024-02-06T16:39:35.450Z [DX11_SYSTEM:\\.\DISPLAY2|N] (DxGrabber.cpp:796) AcquireNextFrame didn't return the frame. Just warning: the screen has not changed?
    2024-02-06T16:39:35.457Z [DX11_SYSTEM:\\.\DISPLAY2|N] (DxGrabber.cpp:796) AcquireNextFrame didn't return the frame. Just warning: the screen has not changed?
    2024-02-06T16:39:35.468Z [IMAGETOLED_MNG0] Total index number is: 240640 (memory: 240640). User sparse processing is: disabled, image size: 1280 x 720, area number: 168
    2024-02-06T16:39:35.473Z [DX11_SYSTEM:\\.\DISPLAY2|N] (DxGrabber.cpp:796) AcquireNextFrame didn't return the frame. Just warning: the screen has not changed?
    2024-02-06T16:39:35.481Z [DX11_SYSTEM:\\.\DISPLAY2|N] (DxGrabber.cpp:796) AcquireNextFrame didn't return the frame. Just warning: the screen has not changed?
    2024-02-06T16:39:35.489Z [DX11_SYSTEM:\\.\DISPLAY2|N] (DxGrabber.cpp:796) AcquireNextFrame didn't return the frame. Just warning: the screen has not changed?
    2024-02-06T16:39:35.497Z [DX11_SYSTEM:\\.\DISPLAY2|N] (DxGrabber.cpp:796) AcquireNextFrame didn't return the frame. Just warning: the screen has not changed?
    2024-02-06T16:39:38.013Z [WEBSOCKET] (HyperAPI.cpp:957) log streaming activated for client ::ffff:192.168.1.11
    

    Screen grabber suddently stopped without any logs.

  22. awawa-dev commented on Feb 6, 2024

    @awawa-dev
    Owner

    No errors just the same warnings I already explaned, it needs the screens to be changed by some user action. DirectX works that way so nothing to change or retry since everything is still OK in logs.

  23. kenny-nt commented on Feb 7, 2024

    @kenny-nt
    Author

    No errors just the same warnings I already explaned, it needs the screens to be changed by some user action. DirectX works that way so nothing to change or retry since everything is still OK in logs.

    I know no errors, but HyperHDR can not detect Dispay 2 so it get Dispaly 1 instead (but in Video Capturing > Display 2 still selected)

  24. kenny-nt commented on Feb 7, 2024

    @kenny-nt
    Author

    Try this build https://github.com/awawa-dev/HyperHDR/actions/runs/7808973249

    2024-02-07T21:53:55.587Z [HYPER_MANAGER] (HyperHdrManager.cpp:181) OS event: Monitor On
    2024-02-07T21:53:58.606Z [MUXER0] Register new input 'System/SYSTEMGRABBER' with priority 245 as inactive
    2024-02-07T21:53:58.606Z [COMPONENTCTRL0] System capture device: enabled
    2024-02-07T21:53:58.606Z [MUXER1] Register new input 'System/VIDEOGRABBER' with priority 240 as inactive
    2024-02-07T21:53:58.606Z [COMPONENTCTRL1] Video capture device: enabled
    2024-02-07T21:53:58.607Z [MEDIA_FOUNDATION:AUTO] Multithreading for MEDIA_FOUNDATION is enabled. Available thread's count 4
    2024-02-07T21:53:58.607Z [DX11_SYSTEM:\\.\DISPLAY2|N] (DxGrabber.cpp:196) init
    2024-02-07T21:53:58.607Z [DX11_SYSTEM:\\.\DISPLAY2|N] Started
    2024-02-07T21:53:58.607Z [MEDIA_FOUNDATION:AUTO] Starting to enumerate video capture devices
    2024-02-07T21:53:58.608Z [MEDIA_FOUNDATION:AUTO] (MFGrabber.cpp:427) Detected 0 devices
    2024-02-07T21:53:58.608Z [MEDIA_FOUNDATION:AUTO] (MFGrabber.cpp:262) Forcing auto discovery device
    2024-02-07T21:53:58.608Z [MEDIA_FOUNDATION:AUTO] Could not find any capture device
    2024-02-07T21:55:01.451Z [HYPER_MANAGER] (HyperHdrManager.cpp:181) OS event: Monitor Off
    2024-02-07T21:55:01.453Z [HYPER_MANAGER] The user has set a background effect, and therefore we will not turn off the LEDs when locking the operating system
    2024-02-07T21:55:01.453Z [MUXER0] Removed source priority 245
    2024-02-07T21:55:01.453Z [COMPONENTCTRL0] System capture device: disabled
    2024-02-07T21:55:01.454Z [MUXER1] Removed source priority 240
    2024-02-07T21:55:01.455Z [COMPONENTCTRL1] Video capture device: disabled
    2024-02-07T21:55:01.455Z [DX11_SYSTEM:\\.\DISPLAY2|N] Stopped
    2024-02-07T21:55:28.301Z [HYPER_MANAGER] (HyperHdrManager.cpp:181) OS event: Monitor On
    2024-02-07T21:55:31.387Z [MUXER0] Register new input 'System/SYSTEMGRABBER' with priority 245 as inactive
    2024-02-07T21:55:31.387Z [COMPONENTCTRL0] System capture device: enabled
    2024-02-07T21:55:31.387Z [MUXER1] Register new input 'System/VIDEOGRABBER' with priority 240 as inactive
    2024-02-07T21:55:31.387Z [COMPONENTCTRL1] Video capture device: enabled
    2024-02-07T21:55:31.388Z [MEDIA_FOUNDATION:AUTO] Multithreading for MEDIA_FOUNDATION is enabled. Available thread's count 4
    2024-02-07T21:55:31.388Z [MEDIA_FOUNDATION:AUTO] Starting to enumerate video capture devices
    2024-02-07T21:55:31.388Z [DX11_SYSTEM:\\.\DISPLAY2|N] (DxGrabber.cpp:196) init
    2024-02-07T21:55:31.388Z [DX11_SYSTEM:\\.\DISPLAY2|N] Started
    2024-02-07T21:55:31.389Z [MEDIA_FOUNDATION:AUTO] (MFGrabber.cpp:427) Detected 0 devices
    2024-02-07T21:55:31.389Z [MEDIA_FOUNDATION:AUTO] (MFGrabber.cpp:262) Forcing auto discovery device
    2024-02-07T21:55:31.389Z [MEDIA_FOUNDATION:AUTO] Could not find any capture device
    2024-02-07T21:55:48.960Z [HYPER_MANAGER] (HyperHdrManager.cpp:181) OS event: OS unlocked
    2024-02-07T21:56:10.116Z [WEBSOCKET] (HyperAPI.cpp:957) log streaming activated for client ::ffff:192.168.1.11
    

    Seem delay is not the point. Retries is referred

  25. awawa-dev commented on Feb 7, 2024

    @awawa-dev
    Owner

    So why these monitors are absent after 3 seconds? Are they still turned off manually? Because they should wake up after such a long time. Completely different case again? Currently, I dont plan provide a retry mechanism for such a special case in an already special case (multi-monitor) that I cant repeat in my setup.

  26. kenny-nt commented on Feb 7, 2024

    @kenny-nt
    Author

    My PC is always ON (no sleep or hibernate) and just screen turn off by Windows Power Options.
    Maybe it caused by HDMI Port or just because of my Samsung Monitor (only have HDMI and Type C port)
    Let me test again carefully.

  27. kenny-nt commented on Feb 20, 2024

    @kenny-nt
    Author

    Have tested carefully again. My PC connect to Display 1 via Display Port and Display 2 via HDMI.
    When my PC back on from "Turn off monitor" event, HDMI port is recognized later than DisplayPort so in "Video Capturing" >>> Software Screen Capture is still set to Display 2 but i read in log > HyperHDR have set Software Screen Capture to "Automatic" and of course Display 1 (DP) is set automatically instead of Display 2 (HDMI)
    Can you make some shortcut for HyperHDR system tray icon about switching Video Capture Source?

    Summary: press anykey in keyboard to make PC turn on Monitor again > DP is working at first while HDMI is keeping on detecting. After 3s, HyperHDR can not detect current setting source (HDMI) > it changed to Automatically, about 10s, HDMI monitor is detected but HyperHDR had selected DP as Video Capturing Source.... And I must go to Video Capturing for change source to display 1 > save and change back to display 2 > save for HyperHDR capture Display 2 again...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions