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

Power saving screen off behaves differently on different systems #95

Open
sskodje opened this issue Oct 14, 2020 · 0 comments
Open

Power saving screen off behaves differently on different systems #95

sskodje opened this issue Oct 14, 2020 · 0 comments

Comments

@sskodje
Copy link
Owner

sskodje commented Oct 14, 2020

On some systems, when power saving turns off the screen, we get DXGI_ERROR_ACCESS_LOST and it will display a black frame while there is no video output. On others, there is only DXGI_ERROR_WAIT_TIMEOUT, causing the recording to display the last cached frame while there is no video output.

May be needed to listen for power events to detect when the display is turned off.

https://docs.microsoft.com/en-us/windows/win32/power/registering-for-power-events

@sskodje sskodje changed the title Power saving behaves differently on different systems Power saving screen off behaves differently on different systems Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant