-
-
Notifications
You must be signed in to change notification settings - Fork 898
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
Improve output configuration via wlr-output-configuration #7571
Conversation
I just built it and now kanshi thinks the internal monitor was disabled, but it is still enabled (fully working not as before the patch when it was disabled but the last frame was still shown). Will try wdisplay. |
Wdisplay does not work either, I disable the |
log pls |
oh wait sec |
now |
Do you want a log with kanshi, with wdisplay, or both? |
whichever doesnt work, and explain what doesnt work |
After |
the power of e |
It disabled the internal monitor correctly, but didn't enable it when I unplugged the external one My Kanshi rules are:
the logs of kanshi are:
it seems to me like the internal monitor never gets re-exposed to kanshi. |
I did |
eee |
can you post WAYLAND_DEBUG=1 of kanshi when it fails to re-enable edp1 |
I tested with Shikane now (same rules) cause in nixos is easier for me to get the stderror of that one. |
I don't see anything wrong? What didn't work? |
The laptop's display stays off. |
ye from that log I can't see what's wrong? shikane just... doesnt ask us to enable it. Can you grab a log from something like kde or sway where it works? |
I will test the PR further tonight. |
I'm testing again. I started hyprland with this as part of my config:
and I'm doing shikane logs: |
hm, thats odd. I'll test on my laptop tomorrow... Does socket2 log anything?
|
@vaxerski checking in the git history I found this PR that was what fixed kanshi when a similar problem was happening in the days of wlroots |
bce2be9
to
252ef1b
Compare
@leiserfg I've rebased this on top of main. I remember some other fixes on main, is this better than the current head? |
I was chatting with the author of shikane and he told me the issue is:
|
I think this PR adds more complexity to the whole monitor management and it will be better to keep it closer to what it is in master and try to introduce the proper events, what do you think? |
No, this system is generally more robust IMO. Let me try to fix that, thank the shikane dev for me. |
If you wanna try yourself you can use shikane with .config/shikane/config.toml [[profile]]
name = "laptop builtin"
[[profile.output]]
match = "eDP-1"
enable = true
scale = 2.0
[[profile]]
name = "nobuiltin + hp24"
[[profile.output]]
match = "eDP-1"
enable = false
[[profile.output]]
search = "/.*"
enable = true |
yeah I managed, something is seriously wrong around monitor SPs |
252ef1b
to
deec190
Compare
fixed, try now. |
Now it works (I even see the Finished events). |
great, merging then |
Improves the handling of wlr-output-configuration (e.g. wdisplays, kanshi)
Notable changes:
Ref #7059