-
-
Notifications
You must be signed in to change notification settings - Fork 15.2k
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
Modrinth doesn't launch on unstable channel #359820
Comments
Do you have a NVIDIA card? There are a lot of known bugs with webkitgtk and the drivers currently, including just segfaulting on launch |
yep, is there a workaround? By e.g. using the integrated graphics? |
Integrated graphics is one solution (as Mesa shouldn't be affected by this), but you may also be able to set |
I get the above whenever I try to launch Modrinth. None of the environment variables seem to do anything. Any idea if this could be nixpkgs related, or should I open an issue in Modrinth? |
This is more likely to be a webkitgtk & NVIDIA issue rather than either us or Modrinth. It happens across all Tauri apps |
Weird, cause I do Tauri development on my local machine and I'm able to compile and run using both a Nix derivation and Cargo directly. I will investigate webkitgtk further, I guess. |
You'll probably want to see the upstream (Tauri) issues above. They in turn link to most of the webkitgtk bug reports |
Hi
Issue happens since I switched from default nixos to the proprietary nvidia drivers. I've set:
And I'm also on wayland, though this did not fix anything, anything else I coud try? The other things mentioned in the linked tauri issues either don't seem to apply to me or also don't fix the issue. EDIT: adding GDK_BACKEND=x11 makes it work again. |
@getchoo Applying GDK_Backend=x11 globally to my whole system is not really something that seems like a good idea to me. |
Not tested, but I believe something like this should work { pkgs, ... }:
{
environment.systemPackages = [
(pkgs.modrinth-app.overrideAttrs (oldAttrs: {
buildCommand =
''
gappsWrapperArgs+=(
--set GDK_BACKEND x11
--set OTHER_ENVVAR VALUE
)
''
+ oldAttrs.buildCommand;
}))
];
} (with |
Thank you soooo much!
|
Describe the bug
The modrinth-app package does not launch when being on unstable channel
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
Modrinth starts as expected
Screenshots
Additional context
Metadata
Notify maintainers
@getchoo
Note for maintainers: Please tag this issue in your PR.
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: