View previous topic :: View next topic |
Author |
Message |
o5gmmob8 Guru

Joined: 17 Oct 2003 Posts: 583
|
Posted: Wed Feb 19, 2025 2:17 am Post subject: sway / wayland stability |
|
|
I have been running sway / wayland for a few weeks and while I don't notice any visual difference compared to i3, I've experienced what appears to be hanging.
When I am closing my kitty terminal, it will hang for no apparent reason and will stay there until I properly kill it (kill -9 <PID>).
Additionally, I've experienced some odd behavior in micro when first opening files to edit. It is like the keyboard is stuck and so if I hit CTRL+K to cut a line, it will repeat that until I hit escape or quit.
I'm not sure if these are related or issues with sway or wayland, but originally, I was experiencing issues with notification-daemon segfaulting and so I uninstalled that altogether and instead use mako. I also saw a bunch of ACPI errors and upgraded my BIOS in the process.
Has anyone else experienced some odd behavior on wayland like this? |
|
Back to top |
|
 |
The Main Man Veteran

Joined: 27 Nov 2014 Posts: 1173 Location: /run/user/1000
|
Posted: Wed Feb 19, 2025 12:29 pm Post subject: |
|
|
Is there a reason to use Kitty, I mean I don't know if that is the reason for your problem but AFAIK Kitty isn't Wayland supported.
I use Sway and Alacritty for a very long time and there are no issues, it has wayland USE flag. |
|
Back to top |
|
 |
o5gmmob8 Guru

Joined: 17 Oct 2003 Posts: 583
|
Posted: Wed Feb 19, 2025 12:33 pm Post subject: |
|
|
Oh, good call, the issue is only when I'm in kitty, perhaps that is the problem.
I haven't gone through my other apps, but suspect that other apps may also be in a similar boat. |
|
Back to top |
|
 |
spica Guru

Joined: 04 Jun 2021 Posts: 355
|
Posted: Wed Feb 19, 2025 1:13 pm Post subject: Re: sway / wayland stability |
|
|
o5gmmob8 wrote: | When I am closing my kitty terminal, it will hang for no apparent reason and will stay there until I properly kill it (kill -9 <PID>). |
How do you close Kitty? Do you keep pressing Ctrl-C and Ctrl-D until all tabs are closed, or do you use a Sway keybinding to close the window? If something is still running in the terminal, Kitty will prompt you for confirmation before closing. The first approach ensures that nothing is running in the terminal when you close it (and no kitty hanging with prompt). How to disable confirmation https://github.com/kovidgoyal/kitty/issues/797#issuecomment-1128445800 |
|
Back to top |
|
 |
o5gmmob8 Guru

Joined: 17 Oct 2003 Posts: 583
|
Posted: Wed Feb 19, 2025 10:49 pm Post subject: |
|
|
I use kitty instead of alacritty because it supports tabs, otherwise, I think for me, they're identical.
Also, I believe kitty does support wayland and automatically detects the underlying implementation.
I exit kitty by exiting each tab via CTRL+D. When it hung, I was unable to use that keybinding (CTRL+Q) to close the window. I had to kill it. |
|
Back to top |
|
 |
CooSee Veteran


Joined: 20 Nov 2004 Posts: 1540 Location: Earth
|
Posted: Thu Feb 20, 2025 12:45 am Post subject: |
|
|
Quote: | I use kitty instead of alacritty because it supports tabs |
i use x11-terms/sakura - because i love and use app-misc/mc as the only file manager !
all other terminals break mc, because of their annoying color themes or they use to much RAM etc.
sakura never fails - mc never fails and it's the same on tty !
if you like sway then you should try Hyprland - who can say no to this https://github.com/HyDE-Project/HyDE
 _________________ " Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier " |
|
Back to top |
|
 |
ChrisJumper Advocate

Joined: 12 Mar 2005 Posts: 2406 Location: Germany
|
Posted: Fri Feb 21, 2025 12:27 am Post subject: |
|
|
Hi o5gmmob8,
i think you should measure it. Wayland is the future cause of less lines of code and more up to date coding. And because you will report bugs and help to fix it.
Sure you can stay on X11 with a huge amount of known unfixed bucks and spaghetti code.
Just use and bugfix wayland.
Regards old chris |
|
Back to top |
|
 |
o5gmmob8 Guru

Joined: 17 Oct 2003 Posts: 583
|
Posted: Sun Mar 16, 2025 10:50 pm Post subject: |
|
|
This has been occurring more lately and I'm not sure how to best approach it because sometimes when it happens, my system restarts entirely on its own, other times, it seems kitty hangs.
I am on an old machine, Dell Precision M6800, and it is showing its age. I was on another machine (Precision 7540) and it would only hang, not hard reset.
Normally when something segfaults, I can see that in dmesg output, but as this is a hard reboot, I have nothing other than the correlation that anytime I close a tab in kitty, unexpected things may happen.
I think it is fine if I kill the wayland session altogether, but exiting a tab or session, not so much.
The only thing I can think of which I'm unsure on is, I still have X enabled because I think some other applications need them. I am still confused on that, I would think I would want it to be a pure wayland system (if at all possible).
Lastly, kitty supports wayland as it has a wayland use flag.
Any ideas other than don't close any kitty tabs and instead just exit wayland altogether with the hotkey? |
|
Back to top |
|
 |
CooSee Veteran


Joined: 20 Nov 2004 Posts: 1540 Location: Earth
|
Posted: Tue Mar 18, 2025 11:41 pm Post subject: |
|
|
Quote: | I would want it to be a pure wayland system (if at all possible). |
it's possible to use wayland only - i do
some ebuilds still needs X flag enabled:
eix --only-names --installed-with-use X
Code: | dev-cpp/cairomm
dev-cpp/gtkmm
media-libs/libepoxy
media-libs/libglvnd
media-libs/libsdl2
virtual/opengl
x11-libs/cairo
x11-libs/gtk+
x11-libs/pango |
to see which is used - X or wayland - start the program, e.g. Firefox and execute hyprctl clients as User in terminal
Code: | Window 5ff4cda89978 -> Gentoo Forums :: Post a reply — Mozilla Firefox:
mapped: 1
hidden: 0
at: 12,44
size: 1896,1024
workspace: 3 (3)
floating: 0
pseudo: 0
monitor: 0
class: firefox
title: Gentoo Forums :: Post a reply — Mozilla Firefox
initialClass: firefox
initialTitle: Mozilla Firefox
pid: 10152
xwayland: 0
pinned: 0
fullscreen: 0
fullscreenClient: 0
grouped: 0
tags:
swallowing: 0
focusHistoryID: 1
inhibitingIdle: 0 |
xwayland:0 <<< not using X - 1 would be the opposite !
Quote: | Any ideas other than don't close any kitty tabs and instead just exit wayland altogether with the hotkey? |
this is from my system - Hyprland only - HyDE dotfiles
.config/hypr/keybindings.conf
Code: | bindd = $mainMod, Delete, $d kill hyprland session, exit |
SUPER+Delete key >>> kills session immediately !
EDIT:
sorry, i noticed now that you're talking about Sway and i about Hyprland - i forgot everything about Sway !
i should really stop answering after midnight - i'am to old for this sh...  _________________ " Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier " |
|
Back to top |
|
 |
|