-
-
Notifications
You must be signed in to change notification settings - Fork 132
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
Problems when opening laptop lid #837
Comments
I guess this is another case of libinput delaying the lid open event until the first input for some reason. Though, I'm not sure why it would also delay lid close. You can try to put this into the niri config as a workaround:
|
I did try that, but it unfortunately does not change anything. The panel still turns on, then freezes, turns off and finally (after an input) turns back on again, this time responsively. |
Huh. I'm not sure what it could be then. Maybe Does it happen on other compositors? |
I have tried a few more things, jut for testing. If I let the laptop go to sleep through swayidle (spawn-at-startup "swayidle" "-w" "timeout" "120" "niri" "msg" "action" "power-off-monitors" "resume" "swaylock -p") then it also does the same thing by turning on, then stopping to revceive input and then restarting the display. Other compositors I have not yet go around to testing but will do asap. |
So, I did some investigating. It only happens with niri, and it is not because of swaylock or swayidle. I tried with both of them disabled, so it seems to be something with the way niri wakes from this display off state. |
Thanks for testing. Weird. Not sure what it could be caused by. |
trim.7B78210A-EAEA-409F-91DB-826EF4C7B372.MOVThought I might share how it looks. The start is cut off a bit unfortunately but when opening the lid basically the same happens. |
Does it actually turn off and on repeatedly, or just once? |
Repeatedly, like on the video. Its uncut and not looping or anything, so this really happens. Sometimes more sometimes less. |
That is very strange. |
Its definitely not a deal breaker, just a bit annoying. Otherwise I really love the work you put in. |
When I open the laptop lid the display turns on, then freezes and turns off again. After pressing any input the display either just turns on and it works from then on, or the behavior above repeats multiple times. Sometimes the same thing happens when I put the system to sleep (either with systemctl suspend or with systemctl hybrid-sleep), or sometimes when I just simply lock the laptop.
The whole bug seems very random and does not occur every time or every time the same way.
Here is my log in journalctl (in this case the display froze and turned off one time after I opened the lid, and after the first input it turned back on and worked from then.)
System Information
The text was updated successfully, but these errors were encountered: