Skip to content
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

Crash (possibly) due to bwrap issue #378

Open
TimerBunneh opened this issue Jan 2, 2025 · 2 comments
Open

Crash (possibly) due to bwrap issue #378

TimerBunneh opened this issue Jan 2, 2025 · 2 comments

Comments

@TimerBunneh
Copy link

Describe the bug
Protontricks crashes when I try to open anything with it. The log is here:

Protontricks was closed due to the following error:

Traceback (most recent call last):
  File "/app/lib/python3.12/site-packages/protontricks/cli/util.py", line 159, in wrapper
    return cli_func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.12/site-packages/protontricks/cli/main.py", line 406, in main
    returncode = run_command(
                 ^^^^^^^^^^^^
  File "/app/lib/python3.12/site-packages/protontricks/util.py", line 516, in run_command
    raise RuntimeError(
RuntimeError: bwrap launcher crashed, returncode: 1


=============

Please include this entire error message when making a bug report.
Log messages:

Found Steam directory at /home/timer/.steam/debian-installation
Found 1 Steam library folders
Currently logged-in Steam user: sparkster90
Found 0 Steam shortcuts running using Steam compatibility tools
Using 'yad' as GUI provider
Calling `protontricks` with the command: ['--no-background-wineserver', '--no-term', '-c', 'wine /home/timer/Reloaded-II/Reloaded-II.exe', '1113000']
Running inside Flatpak sandbox, version 1.14.6.
Using default Steam Runtime at /home/timer/.steam/debian-installation/ubuntu12_32/steam-runtime
WINETRICKS environment variable is not available. Searching from $PATH.
Found 1 Steam library folders
Currently logged-in Steam user: sparkster90
Found 0 Steam shortcuts running using Steam compatibility tools
User has configured app Proton version (CompatToolMapping): GE-Proton9-21
User has configured default Proton version (CompatToolMapping): proton_experimental
Found active custom compatibility tool: GE-Proton9-21
Active compatibility tool is a Proton installation
Using 'bwrap = True' as default value
Using separately installed Steam Runtime: Steam Linux Runtime 3.0 (sniper)
Running Steam Runtime using bwrap containerization.
If any problems arise, please try running the command again using the `--no-bwrap` flag and make an issue report if the problem only occurs when bwrap is in use.
Created Steam Runtime Wine binary directory at /home/timer/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/GE-Proton9-21/bin
WINE environment variable is not available. Setting WINE environment variable to Proton bundled version.
WINESERVER environment variable is not available. Setting WINESERVER environment variable to Proton bundled version
Starting bwrap launcher process: /home/timer/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/GE-Proton9-21/bin/bwrap-launcher
Terminating launcher process 5
Launcher process terminated

To Reproduce
Steps to reproduce the behavior:

  1. Run protontricks in terminal.
  2. Choose any game (in my case, Persona 4 Golden, but any game seems to do the trick)
  3. Command fails and error is displayed

Expected behavior
Program loads as normal.

System (please complete the following information):

  • Distro: Linux Mint 22
  • Protontricks installation method: Flatpak
  • Protontricks version: 1.12.0, however terminal prints it as "(unknown)"
  • Steam version: stable

Additional context
Only occurs when bwrap is in use, as with the --no-bwrap command, Protontricks loads (albeit a bit slowly).

@Matoking
Copy link
Owner

Matoking commented Jan 6, 2025

This could potentially be related to missing permissions if AppArmor is in use in your distro. Could you try following the instructions in the following comment and check if it solves the issue?

#326 (comment)

@TimerBunneh
Copy link
Author

Unfortunately, it didn't seem to. I'm rather new to Linux though so I could very easily be missing something.
I made a file called protontricks and put it into etc/apparmor.d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants