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

Black screen, when 2 monitors, and the monitor with id 0 is disabled #380

Open
alxchk opened this issue Oct 18, 2024 · 2 comments
Open

Black screen, when 2 monitors, and the monitor with id 0 is disabled #380

alxchk opened this issue Oct 18, 2024 · 2 comments

Comments

@alxchk
Copy link

alxchk commented Oct 18, 2024

I do have setup with laptop and monitor. When laptop is docked, laptop output is disabled.
In this case swaylock draws black screen without anything. If both outputs are active, then there is a white screen with circle (i.e. everything is just works). In the attachment there is an output with WAYLAND_DEBUG, diffable.
closed.txt
opened.txt

There is always madness with monitors and output positions in sway..

@kennylevinsen
Copy link
Member

From the logs it appears that swaylock is drawing to one screen. The issue might be that the screen is off/the driver borked.

  1. What sway version? Try with master, or at least 1.10 rc
  2. Share the sway debug log from each case.

@alxchk
Copy link
Author

alxchk commented Oct 18, 2024

Well, this was git master for both sway and wlroots.

Here are sway log, get_outputs and debug from swaylock
lid-closed.txt
lid-closed-2.txt
lid-closed-outputs.txt
lid-opened.txt
lid-opened-outputs.txt
sway-debug.txt

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

No branches or pull requests

2 participants