-
Notifications
You must be signed in to change notification settings - Fork 281
foot window freezes until keybinding is pressed #420
Comments
Most of the time it happens when I work in nvim or when I exit nvim or less (I think at that point foot switches from displaying alternative screen to the main one, although I do not see how it would affect dwl). |
I don't know if it's the same underlying issue, but I have also observed occasional "full system freeze" issues, with no recovery possible or known workaround.
Whenever that happens, I forcibly power-off the machine. Because I'm mostly using emacs, foot and firefox, I'm led to believe that it could be a pure Firefox problem.
|
Found these issues: swaywm/sway#7519 I tried adding I tend to think it's a dwl issue because I used river before, which is based on wlroots as well, and it had no issues. |
This is a different issue, see https://github.com/djpohly/dwl#status-information |
@NikitaIvanovV can you check #423? |
I started getting artifacts similar to those when I set To clarify, foot freezes happen on my laptop with scale set to 2, on my monitor it does not happen. Freezes that affect entire dwl happen on both outputs. Btw, to kill dwl I usually do |
Looks like they fixed it in river by implementing damage tracking: https://github.com/riverwm/river/pull/296/files |
Can you SSH in and run this command
I don't think so, when a program is terminated the kernel does free all the resources associated. |
We use scene API, which implements damage tracking for us. |
To some reason freezing after restarting dwl multiple times stopped happenning. Maybe it was got fixed in wlroots? As for freezing in foot, it's still happenning. And I've noticed that it happens way less with alpha setting set to 1.0. |
You can also reproduce it by opening st in one tag, chromium in another, and quickly switching between tags until the system freezes. |
Glad to known that at least it's easily reproducible @fbushstone I was still experiencing a full system freeze (the
For now, I've moved all my browsing activities to a dedicated virtual machine with my old I still run |
@fbushstone, @yveszoundi, can you SSH in and run this command gdb --pid=$(pidof dwl) --ex 'set logging enabled on' --ex 'bt full' --ex 'exit' and send me gdb.txt? |
This sounds like stdout is getting filled up. Have you tried closing it properly? You can use |
Maybe @PalanixYT wild guesses are correct ( @sevz17 , I forgot that I'm running dwl-guile on my machines nowadays, so I'll try providing a gdb output for My environment
What was going on prior the freeze in Firefox
Gdb command via ssh
Gdb outputgdb.txt output
|
They aren't wild guesses, it's usually the problem when dwl freezes
No need, you just need close the stdin of the child process. Note: next time please make sure you are running upstream dwl. |
@sevz17 , I'm not running any child process per say, except for the status bar itself 'dtao'. My configuration is pretty much vanilla. I'm trying to reproduce it with the latest upstream dwl (with and then without a status bar program running). |
Info
dwl version: dwl v0.4-16-g797e0c7
wlroots version: 0.16.2
Description
Sometimes when I use foot and press any key, the window "freezes" and does not update. Once I press some dwl keybinding (e.g. switch to another workspace or change focus), the window gets refreshed. I'm not sure if only foot gets frozen when it happens, I presume the entire screen is affected.
When it happens I get this line in stderr:
This might by unrelated, but in case it is, I have a similar issue that does not happen as often, although it is more severe. Sometimes the screen gets frozen when using any program (not just foot) but it's impossible to fix with a keybinding. The only thing I can do is
quit()
dwl. However, sometimes even that function does not work and I have to forcefully power off my machine. I noticed that it happens after I relaod my config by exiting dwl and going back. I runexec dwl -s dwlb
in~/.bash_profile
.The text was updated successfully, but these errors were encountered: