Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

sway / wayland stability

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
o5gmmob8
l33t
l33t
Posts: 737
Joined: Fri Oct 17, 2003 9:17 pm

sway / wayland stability

  • Quote

Post by o5gmmob8 » Wed Feb 19, 2025 2:17 am

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?
Top
The Main Man
Veteran
Veteran
Posts: 1173
Joined: Thu Nov 27, 2014 11:25 pm
Location: /run/user/1000

  • Quote

Post by The Main Man » Wed Feb 19, 2025 12:29 pm

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.
Top
o5gmmob8
l33t
l33t
Posts: 737
Joined: Fri Oct 17, 2003 9:17 pm

  • Quote

Post by o5gmmob8 » Wed Feb 19, 2025 12:33 pm

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.
Top
spica
Guru
Guru
Posts: 382
Joined: Fri Jun 04, 2021 6:12 pm

Re: sway / wayland stability

  • Quote

Post by spica » Wed Feb 19, 2025 1:13 pm

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/iss ... 1128445800
Top
o5gmmob8
l33t
l33t
Posts: 737
Joined: Fri Oct 17, 2003 9:17 pm

  • Quote

Post by o5gmmob8 » Wed Feb 19, 2025 10:49 pm

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.
Top
CooSee
Veteran
Veteran
User avatar
Posts: 1617
Joined: Sat Nov 20, 2004 10:38 pm
Location: right here !

  • Quote

Post by CooSee » Thu Feb 20, 2025 12:45 am

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

8)
" 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 "
Top
ChrisJumper
Advocate
Advocate
Posts: 2419
Joined: Sat Mar 12, 2005 1:42 pm
Location: Germany

  • Quote

Post by ChrisJumper » Fri Feb 21, 2025 12:27 am

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
Top
o5gmmob8
l33t
l33t
Posts: 737
Joined: Fri Oct 17, 2003 9:17 pm

  • Quote

Post by o5gmmob8 » Sun Mar 16, 2025 10:50 pm

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?
Top
CooSee
Veteran
Veteran
User avatar
Posts: 1617
Joined: Sat Nov 20, 2004 10:38 pm
Location: right here !

  • Quote

Post by CooSee » Tue Mar 18, 2025 11:41 pm

I would want it to be a pure wayland system (if at all possible).
it's possible to use wayland only - i do :D

some ebuilds still needs X flag enabled:

eix --only-names --installed-with-use X

Code: Select all

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: Select all

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 !
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: Select all

bindd = $mainMod, Delete, $d kill hyprland session, exit
SUPER+Delete key >>> kills session immediately !

8)

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... :oops: :lol:
" 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 "
Top
Post Reply

9 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic