Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Disable all disable outputs when switching back from another VT #675

Closed
linkmauve opened this issue Feb 25, 2018 · 5 comments
Closed

Disable all disable outputs when switching back from another VT #675

linkmauve opened this issue Feb 25, 2018 · 5 comments

Comments

@linkmauve
Copy link
Contributor

I have this in my configuration file:

[output:LVDS-1]
enable = false

As expected it is disabled when I start rootston, but if I switch to another VT (there fbcon enables it again) and switch back I see it drawn in the usual gray and with backlight on. The gray may indicate that it does get drawn even when it is disabled, which is a waste of GPU power and VRAM.

@Ongy
Copy link

Ongy commented Feb 25, 2018

It does not get drawn when disabled.
(We may schedule a draw not sure, but the frame handler skips it).

What you are observing is currently expected behaviour. Setting mode or switching tty (re)enables outputs, to keep track of what the hardware/other software does to us.
From my point of view, this is more of a feature request than a bug at the current point.

@linkmauve
Copy link
Contributor Author

But then it doesn’t allow my pointer to go there, which may be the actual bug.

@emersion
Copy link
Member

The DRM backend should keep track of disabled outputs, to re-disable them when the user switches VTs.

@Ongy
Copy link

Ongy commented Feb 26, 2018

Should as in does today, or as in would be the place to?

@emersion
Copy link
Member

Should as in it's not correctly done yet.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants