B
blendOSβ€’6mo ago
autumn (CIPG)

Sway fails to start

When starting sway via gdm, the screen goes black for a few seconds, then it crashes and goes back to gdm. When starting it from a console, it shows that sway segfaults. Here's my system.yaml: https://git.askiiart.net/askiiart/blendos-configs/src/branch/main/system-yaml-files/desk.yaml
Solution:
It's not a blendos issue. sway works as expected, you just install it and run it.
Jump to solution
16 Replies
·𐑑𐑬𐑣𐑱
The Arch page says Sway depends on Cairo yet I don't see it in your track anywhere, is that possibly the cause? https://archlinux.org/packages/extra/x86_64/sway/ https://archlinux.org/packages/extra/x86_64/cairo/ @hanna (password generator)
autumn (CIPG)
autumn (CIPG)OPβ€’6mo ago
dependencies are automatically installed
[askiiart@blend ~]$ pacman -Q cairo
cairo 1.18.2-2
[askiiart@blend ~]$ pacman -Q cairo
cairo 1.18.2-2
·𐑑𐑬𐑣𐑱
I'll try the track out myself tomorrow and see if I can see anything else that might be wrong with it, I am about to go to sleep.
autumn (CIPG)
autumn (CIPG)OPβ€’6mo ago
alright
autumn (CIPG)
autumn (CIPG)OPβ€’6mo ago
update: with the default config, it just shows a black screen, while with my config, it segfaults sway config: https://git.askiiart.net/askiiart/dotfiles/src/branch/main/sway
Forgea: Git with a cup of jea
dotfiles
autumn (CIPG)
autumn (CIPG)OPβ€’6mo ago
i've tried with both radeon and amdgpu (i have a firepro w4100/cape verde) and both fail the same also, this is only on my desktop so unless you have a cape verde or similar, you probably can't reproduce this good news: it starts when doing it from a terminal in a GNOME session gonna try lightdm instead of gdm
·𐑑𐑬𐑣𐑱
I have tested out the track and it works. Like you said before it's probably an issue with your GPU.
autumn (CIPG)
autumn (CIPG)OPβ€’6mo ago
update: seems to be an issue introduced with sway 1.10, most likely broken because the legacy drm stuff is disabled by default now
Asterisk
Asteriskβ€’6mo ago
So does it work now
autumn (CIPG)
autumn (CIPG)OPβ€’6mo ago
nope, and that wasn't the issue for now i'm using swayfx, a fork up sway which hasn't been updated in several months
Steph
Stephβ€’3mo ago
@autumn (CIPG) Could you share your latest configuration with Sway or SwayFX working ? I'll try it on BlendOS in a few days I think.
Solution
autumn (CIPG)
autumn (CIPG)β€’3mo ago
It's not a blendos issue. sway works as expected, you just install it and run it.
autumn (CIPG)
autumn (CIPG)OPβ€’3mo ago
it doesn't work for me, but it's not a blendos issue iirc, at the very least i've gotten different hardware since then, and aren't even on blendos anymore
Steph
Stephβ€’3mo ago
@autumn (CIPG) Thanks for answering. I'm new to Blend. Any recommandation to switch from Gnome/Wayland to Sway ? Why do you leave Blend at the end ?
Valkyrja
Valkyrjaβ€’3mo ago
.triller_ received a thank you Jao!
autumn (CIPG)
autumn (CIPG)OPβ€’3mo ago
i don't remember lol

Did you find this page helpful?