Open crepererum opened 1 year ago
The problem also does NOT occur under gnome 42, it just appeared after the upgrade to version 44.
Hi @crepererum, to confirm, Alacritty crashes in Wayland and not Gnome 44? Also, did you try to restart gnome-shell? This happens to me sometimes on Blackbox flatpak but usually after updating the app. Restarting the OS fixes it.
I ran Alacritty 0.12.0 in GNOME 44.0 but not GNOME 44.1 - it is working and not crashing. I am using Boxes though to test (slight flicker in that VM).
to confirm, Alacritty crashes in Wayland and not Gnome 44?
I don't understand that question. Alacritty crashes, when Gnome 44 runs in "Wayland" mode (not the old-style X11 mode). But Gnome 44 / Wayland itself (i.e. the display server and shell) don't crash.
Also, did you try to restart gnome-shell? This happens to me sometimes on Blackbox flatpak but usually after updating the app. Restarting the OS fixes it.
It's pretty much independent of restarts / updates. Also I used a non-sandboxed version of Alacritty (i.e. no flatpak involved).
I ran Alacritty 0.12.0 in GNOME 44.0 but not GNOME 44.1 - it is working and not crashing. I am using Boxes though to test (slight flicker in that VM).
Can you try to set the Gnome display scale to 200%? (Settings > Display > select your monitor > scale: 200%).
Was asking if Gnome or the Alacritty crashes. I will try to see if display scale 200% reproduces it
OK, so the assertion might be part of mutter actually, but the effect is that Alacritty gets killed. This is new in Gnome 44 probably due to https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2815
I'm somewhat surprised that an extension can trigger that. Maybe the positioning code in forge should round the window sizes based on the display scale?
I had a similar issue recently where alacritty crashes with a similar error message. I did not trace the issue back to forge and I fixed it by building and running alacritty from the master
branch. This might help: https://github.com/alacritty/alacritty/issues/7241
Description
I don't know exactly where to file this bug, so I'm filing it here for visibility but we may wanna link Mutter/Gnome and Alacritty issues here.
When forge is enabled, I'm having trouble starting Alacritty. It fails with:
Starting Alacritty w/o forge works.
Problem Explanation
Some googling shows that this seems to be a common Wayland issue, but I'm not entirely sure if the compositor (=Mutter) or the client (=Alacritty) is too blame. Fact is that forge seems to trigger this issue.
Expected Behavior
Alacritty just works.
Reprodution
Steps To Reproduce
Steps to reproduce, if applicable:
Details
Mark with [ ] all that applies:
It happens with any application?
It happens only on one computer?
It happens only with some specific gnome configuration?
It happens only with some specific extension installed?
Diagnostics
Under what conditions does it happen?
Fill in all information that applies:
Environment
Linux falconframe 6.3.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 11 May 2023 16:40:42 +0000 x86_64 GNU/Linux
(uname -a
)GNOME Shell 44.1
(gnome-shell --version
)extensions.gnome.org
(e.g: git branch or extensions.gnome.org)68
(gnome-extensions show forge@jmmaranan.com
)Display Setup
Displays:
Output and Logs
Also if possible, please provide latest logs like:
Extension Configuration
Command:
dconf dump /org/gnome/shell/extensions/forge/
Enabled Extensions
Command:
gnome-extensions list --enabled --details
Graphics information
Command:
lshw -C display
Monitor information
See above, no X, it's Wayland.