-
-
Notifications
You must be signed in to change notification settings - Fork 13.6k
-
-
Notifications
You must be signed in to change notification settings - Fork 13.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firefox 82 and firefox-bin 82 do not run under Wayland when LTO is enabled #101429
Comments
Yeah I can confirm this happening. For some reason my |
If I unset DISPLAY then I get the same error for |
I am currently rebuilding firefox without LTO as that is also something that recently changed on unstable. |
Yeah, disabling LTO did the trick. I'll open a PR disabling it again and then we can go ahead and figure out why it is causing this regression. |
As discussed in NixOS#101429 firefox 82 started crashing when used with wayland. A brief investigation showed that this appears to be rooted within the LTO support that was recently added to the package. For the time being, until someone figures out where the crashes are coming from, we can just disable LTO.
|
We can probably patch the rpath in the Mozilla wrapper as part of the Firefox build. I am still a bit irritated by the fact that this only occurs on LTO. |
The segfault we did observe with Firefox 82 doesn't appear to be there anymore. Closes NixOS#101429
As discussed in NixOS#101429 firefox 82 started crashing when used with wayland. A brief investigation showed that this appears to be rooted within the LTO support that was recently added to the package. For the time being, until someone figures out where the crashes are coming from, we can just disable LTO.
Why was this closed? As far as I can tell, this hasn't been re-enabled. |
Describe the bug
A clear and concise description of what the bug is.
When I attempt to run firefox-wayland within my Sway session it runs under X11. This happens even if I set
XDG_SESSION_TYPE=wayland
andMOZ_ENABLE_WAYLAND=1
. If I setGDK_BACKEND=wayland
then Firefox prints to stderr:and then crashes with a segfault. I get the same result with firefox-bin
To Reproduce
Steps to reproduce the behavior:
1.
nix-shell -p firefox-wayland --run "env GDK_BACKEND=wayland firefox"
Expected behavior
A clear and concise description of what you expected to happen.
Firefox runs using Wayland
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Notify maintainers
@edolstra @andir
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result."x86_64-linux"
Linux 5.8.14, NixOS, 21.03.git.a920bf43082 (Okapi)
yes
yes
nix-env (Nix) 2.3.7
"nixos-21.03pre246543.24c9b05ac53"
""
/nix/var/nix/profiles/per-user/root/channels/nixos
Maintainer information:
The text was updated successfully, but these errors were encountered: