Skip to content
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

Software screen capture only works on primary monitor #223

Closed
Green-Thread opened this issue Feb 21, 2022 · 1 comment
Closed

Software screen capture only works on primary monitor #223

Green-Thread opened this issue Feb 21, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@Green-Thread
Copy link

Green-Thread commented Feb 21, 2022

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

I'm trying to get the screen capture to work on a second monitor, but hyperhdr doesn't detect it unless I mark it as the primary display through windows settings. This doesn't happen on hyperion, obs, or the screen capture through firefox.
I'm using the esp wled serial binary on an esp8266 1mb, if that matters (though I've had the same issues when using other roms on it).
Here is when I switch screen capture on:


2022-02-21T04:31:55.761Z [DX11_SYSTEM:\\.\DISPLAY2|N] Restarting video grabber is now blocked due to reloading of the configuration
2022-02-21T04:31:55.761Z [DX11_SYSTEM:\\.\DISPLAY2|N] (DxGrabber.cpp:81) setHdrToneMappingMode to: Disabled
2022-02-21T04:31:55.761Z [SIGNAL_OLD] (DetectionManual.cpp:85) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
2022-02-21T04:31:55.761Z [SIGNAL_OLD] (DetectionManual.cpp:75) Signal threshold set to: {0, 0, 0} and frames: 50
2022-02-21T04:31:55.761Z [DX11_SYSTEM:\\.\DISPLAY2|N] (Grabber.cpp:307) setDeviceVideoStandard preparing to restart video grabber. Old: '\\.\DISPLAY1|NVIDIA GeForce RTX 3070' new: '\\.\DISPLAY2|NVIDIA GeForce RTX 3070'
2022-02-21T04:31:55.761Z [DX11_SYSTEM:\\.\DISPLAY2|N] Delayed restart of the grabber due to change of selected device
2022-02-21T04:31:55.761Z [DX11_SYSTEM:\\.\DISPLAY2|N] (Grabber.cpp:215) Planned restart of video grabber after reloading of the configuration
2022-02-21T04:31:55.761Z [DX11_SYSTEM:\\.\DISPLAY2|N] Stopped
2022-02-21T04:31:55.761Z [DX11_SYSTEM:\\.\DISPLAY2|N] (DxGrabber.cpp:105) Uninit grabber: \\.\DISPLAY2|NVIDIA GeForce RTX 3070
2022-02-21T04:31:55.770Z [DX11_SYSTEM:\\.\DISPLAY2|N] (DxGrabber.cpp:134) init
2022-02-21T04:31:55.770Z [DX11_SYSTEM:\\.\DISPLAY2|N] *************************************************************************************************
2022-02-21T04:31:55.770Z [DX11_SYSTEM:\\.\DISPLAY2|N] Starting DX grabber. Selected: '\\.\DISPLAY2|NVIDIA GeForce RTX 3070' max width: 392 (392) @ 30 fps
2022-02-21T04:31:55.770Z [DX11_SYSTEM:\\.\DISPLAY2|N] *************************************************************************************************
2022-02-21T04:31:57.852Z [WEBSOCKET] (JsonAPI.cpp:1300) log streaming activated for client ::ffff:127.0.0.1
2022-02-21T04:31:58.025Z [MUXER0] Priority 249 is now inactive
2022-02-21T04:31:58.025Z [MUXER0] Set visible priority to 255
2022-02-21T04:31:58.025Z [HYPERHDR0] New priority[255], previous [249]
2022-02-21T04:31:58.025Z [HYPERHDR0] No source left -> switch LED-Device off
2022-02-21T04:31:58.025Z [IMAGETOLED0] (ImageProcessor.cpp:180) set hard led mapping to multicolor_mean
2022-02-21T04:35:44.299Z [DAEMON] Unload CEC
2022-02-21T04:35:44.299Z [DAEMON] (hyperhdr.cpp:506) libCEC was left out from the build
2022-02-21T04:35:44.299Z [MUXER0] Removed source priority 249
2022-02-21T04:35:44.299Z [COMPONENTREG0] System capture device: disabled
2022-02-21T04:35:44.305Z [WEBSOCKET] (JsonAPI.cpp:1309) log streaming deactivated for client  ::ffff:127.0.0.1
2022-02-21T04:36:00.618Z [WEBSOCKET] (JsonAPI.cpp:1300) log streaming activated for client ::ffff:127.0.0.1

And here is when I switch screen capture from one display to another:

2022-02-21T04:31:55.761Z [DX11_SYSTEM:\\.\DISPLAY2|N] Restarting video grabber is now blocked due to reloading of the configuration
2022-02-21T04:31:55.761Z [DX11_SYSTEM:\\.\DISPLAY2|N] (DxGrabber.cpp:81) setHdrToneMappingMode to: Disabled
2022-02-21T04:31:55.761Z [SIGNAL_OLD] (DetectionManual.cpp:85) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
2022-02-21T04:31:55.761Z [SIGNAL_OLD] (DetectionManual.cpp:75) Signal threshold set to: {0, 0, 0} and frames: 50
2022-02-21T04:31:55.761Z [DX11_SYSTEM:\\.\DISPLAY2|N] (Grabber.cpp:307) setDeviceVideoStandard preparing to restart video grabber. Old: '\\.\DISPLAY1|NVIDIA GeForce RTX 3070' new: '\\.\DISPLAY2|NVIDIA GeForce RTX 3070'
2022-02-21T04:31:55.761Z [DX11_SYSTEM:\\.\DISPLAY2|N] Delayed restart of the grabber due to change of selected device
2022-02-21T04:31:55.761Z [DX11_SYSTEM:\\.\DISPLAY2|N] (Grabber.cpp:215) Planned restart of video grabber after reloading of the configuration
2022-02-21T04:31:55.761Z [DX11_SYSTEM:\\.\DISPLAY2|N] Stopped
2022-02-21T04:31:55.761Z [DX11_SYSTEM:\\.\DISPLAY2|N] (DxGrabber.cpp:105) Uninit grabber: \\.\DISPLAY2|NVIDIA GeForce RTX 3070
2022-02-21T04:31:55.770Z [DX11_SYSTEM:\\.\DISPLAY2|N] (DxGrabber.cpp:134) init
2022-02-21T04:31:55.770Z [DX11_SYSTEM:\\.\DISPLAY2|N] *************************************************************************************************
2022-02-21T04:31:55.770Z [DX11_SYSTEM:\\.\DISPLAY2|N] Starting DX grabber. Selected: '\\.\DISPLAY2|NVIDIA GeForce RTX 3070' max width: 392 (392) @ 30 fps
2022-02-21T04:31:55.770Z [DX11_SYSTEM:\\.\DISPLAY2|N] *************************************************************************************************
2022-02-21T04:31:57.852Z [WEBSOCKET] (JsonAPI.cpp:1300) log streaming activated for client ::ffff:127.0.0.1
2022-02-21T04:31:58.025Z [MUXER0] Priority 249 is now inactive
2022-02-21T04:31:58.025Z [MUXER0] Set visible priority to 255
2022-02-21T04:31:58.025Z [HYPERHDR0] New priority[255], previous [249]
2022-02-21T04:31:58.025Z [HYPERHDR0] No source left -> switch LED-Device off
2022-02-21T04:31:58.025Z [IMAGETOLED0] (ImageProcessor.cpp:180) set hard led mapping to multicolor_mean

Steps to reproduce

Set the software screen capture device to display 2 then enable instance screen capture.

What is expected?

Hyperhdr should be collecting input from the second display just like it does with the first.

What is actually happening?

After the light arrangement for the previous effect or input freezes for a few seconds, the lights all turn off.

System

Is this the system info needed for this section?

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

HyperHDR Server OS: 
- Distribution:   Windows 10 Version 2009
- Architecture:   x86_64
- Kernel:         winnt (10.0.19044 (WS: 64))
- Qt Version:     5.15.2
- Browser:        Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0 

Thanks

@awawa-dev awawa-dev added the bug Something isn't working label Feb 21, 2022
@awawa-dev
Copy link
Owner

Fixed

chbartsch pushed a commit to chbartsch/HyperHDR that referenced this issue Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants