-
-
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
After aquamarine kanshi does not work well #7059
Comments
I also noticed that the screen turns white when hyprland starts (maybe it happens when kanshi rule gets applied). |
where crash report |
I'm testing now in 04b40ea |
Shouldn't Edit: self reply No, in "stable" it's also like that, the only difference I see is: < reserved: 0 27 0 0
< scale: 1.17
---
> reserved: 0 0 0 0
> scale: 2.00 |
Thanks, I will try it, but IMHO it still needs to be fixed. |
@299792458ms I tried with |
@leiserfg It happpened to me now, it does not happen 100% of the time though and it does not crash Hyprland if the cable is removed while the external monitor profile is active. Ln 503 where profile switches: https://pastebin.com/9d8751aW |
same problem here, @vaxerski here are the hyprlandCrashReport.txt and the hyprland.log |
I was reading the code of |
@leiserfg, after stopping Gdk-Message: 21:16:34.347: Lost connection to Wayland compositor. message on |
I'm back in master: |
This comment was marked as outdated.
This comment was marked as outdated.
can you attach a |
Disabling eDP-1 with |
This comment was marked as outdated.
This comment was marked as outdated.
I've just tested
It looks like waiting until the monitor is fully "provisioned" before advertising it could solve the problem but not sure if that is the most correct thing to do. Given the weirdness of the issue, most probably my bisect was incorrect. |
I'll try to give some debug when it will happen again, but it's also something I get quite often on v0.41.2 with kanshine and shikane on connecting/disconnecting screens through USB-C. So it might not be entirely new. I didn't try master yet (libinput 1.26 is not shipped on my distro yet, a requirement for aquamarine). |
In v0.41.2 I have seen crashes when disconnecting a monitor, but never when connecting. |
It's true, for me I think it only happens when connecting because the screen state flickers. Anyway, I'll post a debug log to see if it's related. |
@vaxerski any pointer on where to look, I can try to fix it myself but I'm very rusty at C++ and don't know what to check. Gosh, 0.42.0 is out already and this is still broken 😢 |
we can't fix all bugs ever before releasing any update |
I know, and I think it was a smooth one given the number of changes (thanks a lot to you and the other contributors). Is just that this one issue is very annoying, I have to turn on and off the laptop screen many times a day. |
An option to disable continuous monitor handling on hyprland's side would be handy. Otherwise hyprland and kanshi try doing different things. |
@Vladimir-csp I'm not sure that's a good idea, every other wm (pre-aquamarine hyprland included) can handle that. Also, whatever breaks this also breaks |
Sorry for offtopic, I meant that for avoiding situations when hyprland autoenables output that kanshi then switches off. Lots of flicker and workspaces flying around for nothing. |
Concocted a hyprland-native pattern-matching output manager: Code
It does not crash hyprland, but weird things happen when switching: waybar is duplicated/triplicated (fixed by reload), and visible windows sometimes crash. |
@Vladimir-csp If you are going that route, it's better to call |
This would not survive the next reload. |
One can restart only the configuration file with I have it like this:
|
Cool feature, but I also tweak gaps in those fragments via a var, it would be nuked. |
I'm currently doing
To just toggle the laptop screen. |
please check out #7571 |
@vaxerski I think this is linked to the problem of FallbackMonitor not working correctly either (even without an external displays manager). |
I spoke with the author of shikane and he told me the issue is that hyprland should send |
I think that's happened in the past already. If that's really the problem it shouldn't be too hard to fix. I'll look into it eventually, but not in these next days |
I forwarded the comments from Hendrik Wolff (the shikane guy) to vaxry and that helped him fix the issue in #7571 so it seems this can be closed soon. |
Regression?
Yes
System Info and Version
Nixos with hyprland compiled from 57371b9
Description
I use hyprland with kanshi (basically to turn off the laptop screen whenever I connect it to an external monitor). After aquamarine that does not work well, if I run
hyprctl monitors
it only shows the active (external) monitor as it should, but the laptop screen is still on (just not getting new frames). Disconnecting the external monitor (which should restart the laptop screen) crashes hyprland.Besides that, the cursor looks tiny in apps not based in gtk (looks fine in firefox and waybar, but wrong in the wallpaper and kitty).
Those issues don't happen in
0.41.2+date=2024-07-20_f642fb9
.How to reproduce
In case it matters, I'm using a framework13 with AMD igpu.
Crash reports, logs, images, videos
No response
The text was updated successfully, but these errors were encountered: