💾 Archived View for bbs.geminispace.org › s › Lagrange-Issues › 98 captured on 2024-12-17 at 15:13:45. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

[#98] Lagrange core dumps on display disable

In sway, I have it set to `output eDP-1 disable` when the lid is closed, and to enable when the lid is open -- this is to support my docking station.

Unfortunately, this apparently causes the lagrange process to crash. I can see a `systemd-coredump` event in `journalctl`:

Stack trace of thread 2:
#0  0x00007f11acc65dab n/a (n/a + 0x0)
ELF object binary architecture: AMD x86-64

Also, this is occuring in the lagrange flatpak, v1.18.3, under Fedora 40 Sericea.

#linux

🐞 Issue #98 in s/Lagrange-Issues

☕️ protoc0l

Nov 19 · 4 weeks ago

3 Comments ↓

🦀 AlbertLarsan68 · Nov 20 at 06:52:

I have a similar problem with the flatpak version on Fedora 41 Sway (also had the issue with 40, I upgraded since). It does not happen everytime, as I often suspend the laptop before closing the lid, but sometimes it wakes up (and I thus suspend it in a loop that has 60 seconds of delay so that I can stop it when I want to use the laptop again), and abrtd picks up a crash, but isn't able to give any insight. I very rarely have an external display connected, so I have basically no displays enabled. There are a few other apps that had weird behavior in this case, but none were as consistent as Lagrange.

🕹️ skyjake [mod...] · Nov 20 at 08:51:

This crash is most likely not related to Lagrange itself, but is coming from lower levels in SDL. SDL is known to be lagging a bit behind with the Wayland support, so I'm not surprised there are some issues with it.

The Flatpak build is not using the latest version of SDL, which makes problems even more likely.

I suggest trying to build Lagrange from source using the latest SDL, if possible. I'm also optimistic that newer versions of SDL (3+) will be working better on Wayland, so things should improve in the future.

☕️ protoc0l [OP] · Nov 20 at 23:36:

@skyjake sounds good! time permitting, I will try and build from source this weekend and report back