Screencopy with DPMS off

Is it possible to have a screencopy active with DPMS turned off at the same time? If I try it with e.g. discord through the portal the stream freezes as soon as I dispatch dpms off and only resumes when I turn it back on.

This would be useful if I am for example streaming my screen to another device and would like to turn off my monitors to conserve a bit of energy.

I had a quick look at hl’s source but didn’t really find a simple logic that stops rendering if dpms is off. Maybe I just missed something or there’s something else going on and this is not easily possible.

Thought I’d make a forum post because it’s more a question than a feature request, and this way it would also be more searchable than the dc.

Not really. The problem is dpms stops rendering the screen, to… well, conserve energy. Why render if we don’t display? This essentially stops all frame callbacks to applications, not allowing them to render. The only possible workaround could be to share a window, as that will always bypass the regular presentation events pipeline as windows can be shared while out of focus.

:)

2 Likes