Problem with Prism launcher after updating graphic drivers

Today i updated my OS and with it the Nvidia drivers, now when i try to launch a modded minecraft instance from prism launcher i get this error and i can't figure out how to fix this

The kernel i'm on is 7.0.0-42-generic, the nvidia driver version is 615.71.09.
Does anyone know what the problem could be? If u need any other info just let me know.

Is Prism Launcher installed as Flatpak?

1 Like

I'm 90% sure it is, how can i check if it is?

Found it, i can confirm it is a flatpak

1 Like

I read that this error sometimes appears in the flatpak. You could try it with the .deb package of prism launcher instead and add the repository:

sudo wget https://prism-launcher-for-debian.github.io/repo/prismlauncher.gpg -O /usr/share/keyrings/prismlauncher-archive-keyring.gpg \
 && echo "Types: deb
URIs: https://prism-launcher-for-debian.github.io/repo
Suites: $(. /etc/os-release; echo "${UBUNTU_CODENAME:-${DEBIAN_CODENAME:-${VERSION_CODENAME}}}")
Components: main
Signed-By: /usr/share/keyrings/prismlauncher-archive-keyring.gpg" | sudo tee /etc/apt/sources.list.d/prismlauncher.sources \
 && sudo apt update \
 && sudo apt install prismlauncher

If you want to try it I would uninstall the flatpak first.

1 Like

I did a Brave search and Brave A.I. via Mojeek came back with:

" The inability to launch Prism Launcher on Linux kernel 7.0.0-42-generic is likely due to a Flatpak sandboxing conflict with the new kernel's security or filesystem handling.

Primary Solutions:

  • Update Bubblewrap: The Flatpak runtime relies on bubblewrap for containerization. A recent update to bubblewrap (specifically version 0.9.0 or later) has resolved similar launch failures where the application would not open at all. Run sudo flatpak update to ensure you have the latest system and Flatpak runtime packages.

  • AppArmor Restrictions: If you are on an Ubuntu-based system, the kernel 7.0 update may have triggered a new AppArmor profile (bwrap-userns-restrict ) that restricts Flatpak apps from writing necessary data. Check if an AppArmor update is pending or if you need to adjust the profile to allow Prism Launcher access to its instance folders.

  • Flatpak Permissions: Use Flatseal to manually grant Prism Launcher the necessary permissions, such as access to your home directory, GPU acceleration (device=dri), and network access.

  • Clean Reinstall: If the above fails, uninstall Prism Launcher, delete the configuration folder at ~/.var/app/org.prismlauncher.PrismLauncher/ , and reinstall via flatpak install flathub org.prismlauncher.PrismLauncher .

  • Alternative Format: Consider switching to the AppImage or native package version of Prism Launcher to bypass Flatpak sandboxing issues entirely.

AI-generated answer. Please verify critical facts."

1 Like

Well guys... It somehow fixed itself. I tried launching the instance that was giving me problems to give a look at the logs and it just launched like nothing ever happened. From what i understood it could have been a problem with the forge mod loader, since vanilla and fabric modpacks worked just fine.

Thx for the help guys

2 Likes