Skip to content

Update Flatpak launch arguments to fix init crash on Linux #6098

@RobotLeopard86

Description

@RobotLeopard86

Please confirm the following.

  • I checked the existing issues for duplicate feature requests
  • I have checked that this feature request is not on our roadmap

What parts of Modrinth is your feature request related too?

Modrinth App

Is your suggested feature related to a problem? Please describe.

As a Linux user with an NVIDIA card, I've continuously had issues with the Modrinth App, which soured my experience using it, even though it's, in my opinion, the best launcher. Specifically, I've had repeated issues with app launch failures due to graphics issues. I'd like to get the default Flatpak launch arguments updated to include the arguments that resolve this issue.

Describe the solution you'd like

Set the Flatpak settings so that:

  • WAYLAND_DISPLAY is set to nothing (e.g. WAYLAND_DISPLAY=)
  • WEBKIT_DISABLE_DMABUF_RENDERER is set to 1 (this fixes blank screen issues and does not appear to reduce performance)
  • Wayland permissions are not enabled by default

This will ensure that the app launches correctly each time, as without them no window appears or it's completely blank, which gives the impression that the app is broken rather than the system.

Describe alternatives you've considered

N/A

Additional context

I'm aware this likely has something to do with #3057, but I figured that this is a good concrete step to resolve a lot of problems. Plus, since this is just a default, if people have issues, they can change it back quite easily.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions