Matoking / protontricks

A wrapper that does winetricks things for Proton enabled games, requires Winetricks.
GNU General Public License v3.0
1.61k stars 34 forks source link

Arcane error involving not being able to load kernel32.dll #194

Closed JupiterSky11 closed 10 months ago

JupiterSky11 commented 1 year ago

Wordy Portion: A few games that refuse to boot via steam on my system have been giving this error when running protontricks --gui with the flatpak version and selecting them. This is my only lead as to why these games aren't working. Not sure what's actually causing this error, but this is as good a place to start as any. Protontricks DOES work as expected with other titles.

How I got here:

  1. Find game that doesn't run
  2. Run command protontricks --gui
  3. Select said game
  4. A menu pops up saying
    
    ------------------------------------------------------
    WINEPREFIX INFO:
    Drive C: total 16
    drwxrwxrwx 1 jupitersky jupitersky 4096 Jan  8 00:40 .
    drwxrwxrwx 1 jupitersky jupitersky 4096 Jan  8 22:05 ..
    drwxrwxrwx 1 jupitersky jupitersky    0 Jan  8 00:18 Program Files
    drwxrwxrwx 1 jupitersky jupitersky 4096 Jan  8 00:40 Program Files (x86)
    drwxrwxrwx 1 jupitersky jupitersky    0 Jan  8 00:18 ProgramData
    drwxrwxrwx 1 jupitersky jupitersky    0 Jan  8 00:49 openxr
    drwxrwxrwx 1 jupitersky jupitersky    0 Jan  8 00:18 users
    drwxrwxrwx 1 jupitersky jupitersky    0 Jan  8 00:40 vrclient
    drwxrwxrwx 1 jupitersky jupitersky 4096 Jan  8 00:40 windows

Registry info: /media/jupitersky/STORAGE_NODE_A01/SteamGames/steamapps/compatdata/963930/pfx/system.reg:#arch=win64 /media/jupitersky/STORAGE_NODE_A01/SteamGames/steamapps/compatdata/963930/pfx/user.reg:#arch=win64 /media/jupitersky/STORAGE_NODE_A01/SteamGames/steamapps/compatdata/963930/pfx/userdef.reg:#arch=win64

shortly before vanishing and being replaced by another window that says an error occurred.

**System Info:**
Ubuntu 22.04
Installation method:  Flatpak
Protontricks version:  For some reason running `protontricks --version` replies with 1.10.1, but the error log above says it's version 1.12.7?  Weird.
Steam version:  Steam beta
Proton version:  All that I've tried going back a good few versions and including some GE versions.

Terminal output from `protontricks -v --gui`:

protontricks (INFO): Running inside Flatpak sandbox, version 1.12.7. protontricks (INFO): Found Steam directory at /home/jupitersky/.steam/debian-installation protontricks (INFO): Using default Steam Runtime at /home/jupitersky/.steam/debian-installation/ubuntu12_32/steam-runtime protontricks (INFO): WINETRICKS environment variable is not available. Searching from $PATH. protontricks (INFO): Found 2 Steam library folders protontricks (INFO): Multiple compatdata directories found for app 823500 protontricks (INFO): Multiple compatdata directories found for app 1012790 protontricks (INFO): Multiple compatdata directories found for app 1592190 protontricks (INFO): Multiple compatdata directories found for app 244450 protontricks (INFO): Multiple compatdata directories found for app 264710 protontricks (INFO): Multiple compatdata directories found for app 334920 protontricks (INFO): Multiple compatdata directories found for app 387990 protontricks (INFO): Multiple compatdata directories found for app 438100 protontricks (INFO): Multiple compatdata directories found for app 508440 protontricks (INFO): Multiple compatdata directories found for app 555160 protontricks (INFO): Multiple compatdata directories found for app 823500 protontricks (INFO): Currently logged-in Steam user: jupitersky11 protontricks (INFO): Found 4 Steam shortcuts running using Steam compatibility tools protontricks (INFO): Using 'yad' as GUI provider protontricks (INFO): User has configured app Proton version (CompatToolMapping): proton_experimental protontricks (INFO): User has configured default Proton version (CompatToolMapping): proton_experimental protontricks (INFO): Found active compatibility tool: Proton Experimental protontricks (INFO): Active compatibility tool is a Proton installation protontricks (INFO): Using 'bwrap = True' as default value protontricks (INFO): Using 'background-wineserver = True' as default value protontricks (INFO): Using separately installed Steam Runtime: Steam Linux Runtime - Soldier protontricks (INFO): 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. protontricks (INFO): Created Steam Runtime Wine binary directory at /home/jupitersky/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton Experimental/bin protontricks (INFO): WINE environment variable is not available. Setting WINE environment variable to Proton bundled version. protontricks (INFO): WINESERVER environment variable is not available. Setting WINESERVER environment variable to Proton bundled version protontricks (INFO): Starting bwrap launcher process: /home/jupitersky/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton Experimental/bin/bwrap-launcher protontricks (INFO): Starting wineserver keepalive process: /home/jupitersky/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton Experimental/bin/wineserver-keepalive protontricks (INFO): Attempting to run command ['/app/bin/winetricks', '--gui'] protontricks - bwrap-launcher 15: Following directories will be mounted inside container: /app /etc /home /media /sbin /tmp protontricks - wineserver-keepalive 16: Starting wineserver-keepalive process... protontricks - bwrap-launcher 15: Using temporary directory: /tmp/protontricks-2pbg15q6 Gtk-Message: 22:05:33.904: Failed to load module "canberra-gtk-module" Gtk-Message: 22:05:33.904: Failed to load module "canberra-gtk-module" winetricks GUI enabled, using zenity 3.43.0 steam-runtime-launcher-service[148]: W: The --socket option is deprecated. Prefer to use --session or --bus-name. Executing mkdir -p /media/jupitersky/STORAGE_NODE_A01/SteamGames/steamapps/compatdata/963930 protontricks - wineserver-keepalive 16: Cleanup finished, goodbye!

WINEPREFIX INFO: Drive C: total 16 drwxrwxrwx 1 jupitersky jupitersky 4096 Jan 8 00:40 . drwxrwxrwx 1 jupitersky jupitersky 4096 Jan 8 22:05 .. drwxrwxrwx 1 jupitersky jupitersky 0 Jan 8 00:18 Program Files drwxrwxrwx 1 jupitersky jupitersky 4096 Jan 8 00:40 Program Files (x86) drwxrwxrwx 1 jupitersky jupitersky 0 Jan 8 00:18 ProgramData drwxrwxrwx 1 jupitersky jupitersky 0 Jan 8 00:49 openxr drwxrwxrwx 1 jupitersky jupitersky 0 Jan 8 00:18 users drwxrwxrwx 1 jupitersky jupitersky 0 Jan 8 00:40 vrclient drwxrwxrwx 1 jupitersky jupitersky 4096 Jan 8 00:40 windows

Registry info: /media/jupitersky/STORAGE_NODE_A01/SteamGames/steamapps/compatdata/963930/pfx/system.reg:#arch=win64 /media/jupitersky/STORAGE_NODE_A01/SteamGames/steamapps/compatdata/963930/pfx/user.reg:#arch=win64 /media/jupitersky/STORAGE_NODE_A01/SteamGames/steamapps/compatdata/963930/pfx/userdef.reg:#arch=win64

Gtk-Message: 22:05:36.420: Failed to load module "canberra-gtk-module" Gtk-Message: 22:05:36.420: Failed to load module "canberra-gtk-module"

warning: /home/jupitersky/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton Experimental/bin/wine cmd.exe /c echo '%AppData%' returned empty string, error message "protontricks - wine 1550: Found Steam Runtime launch client at /home/jupitersky/.steam/debian-installation/steamapps/common/SteamLinuxRuntime_soldier/pressure-vessel/bin/steam-runtime-launch-client protontricks - wine 1550: Checking for running wineserver instance protontricks - wine 1550: Found running wineserver instance with PID 1543 protontricks - wine 1550: Starting Wine process using 'pressure-vessel-launch' /bin/bash: /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/libtinfo.so.6: no version information available (required by /bin/bash) protontricks - wine 1729: Starting Wine process inside the container protontricks - wine 1729: Appending to LD_LIBRARY_PATH: /home/jupitersky/.steam/debian-installation/steamapps/common/Proton - Experimental/files/lib:/home/jupitersky/.steam/debian-installation/steamapps/common/Proton - Experimental/files/lib64: wineserver: using server-side synchronization. wine: RLIMIT_NICE is <= 20, unable to use setpriority safely wine: could not load kernel32.dll, status c0000135"

Gtk-Message: 22:05:38.408: Failed to load module "canberra-gtk-module" Gtk-Message: 22:05:38.408: Failed to load module "canberra-gtk-module"

(zenity:1756): Gtk-WARNING **: 22:05:38.411: Failed to set text '/home/jupitersky/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton Experimental/bin/wine cmd.exe /c echo '%AppData%' returned empty string, error message "protontricks - wine 1550: Found Steam Runtime launch client at /home/jupitersky/.steam/debian-installation/steamapps/common/SteamLinuxRuntime_soldier/pressure-vessel/bin/steam-runtime-launch-client protontricks - wine 1550: Checking for running wineserver instance protontricks - wine 1550: Found running wineserver instance with PID 1543 protontricks - wine 1550: Starting Wine process using 'pressure-vessel-launch' /bin/bash: /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/libtinfo.so.6: no version information available (required by /bin/bash) protontricks - wine 1729: Starting Wine process inside the container protontricks - wine 1729: Appending to LD_LIBRARY_PATH: /home/jupitersky/.steam/debian-installation/steamapps/common/Proton - Experimental/files/lib:/home/jupitersky/.steam/debian-installation/steamapps/common/Proton - Experimental/files/lib64: wineserver: using server-side synchronization. wine: RLIMIT_NICE is <= 20, unable to use setpriority safely wine: could not load kernel32.dll, status c0000135" ' from markup due to error parsing markup: Error on line 9 char 24: “=” is not a valid character following a “<” character; it may not begin an element name protontricks (INFO): Terminating wineserver keepalive process 16 protontricks (INFO): Terminating launcher process 15 protontricks (INFO): Launcher process terminated


(The error was very poorly formatted with a bunch of weird spacing issues so this has been edited slightly to be easier on the eyes.)
Matoking commented 1 year ago

Does this occur only when Proton Experimental is used? Going by Google, this could be related to Wine prefix remaining half complete for some reason, or the prefix being shared between incompatible Wine/Proton versions. A possible solution to both could be to remove the Wine prefix (it's the /media/jupitersky/STORAGE_NODE_A01/SteamGames/steamapps/compatdata/963930 directory in the output), restarting the game in Steam, and trying again.

Matoking commented 10 months ago

Closing due to inactivity.