GameHub icon indicating copy to clipboard operation
GameHub copied to clipboard

Can't get Proton to install or run games

Open DarthBrandon opened this issue 5 years ago • 5 comments

Expected behavior

Games will run.

Actual behavior

Proton silently exits.

Steps to reproduce

I tried installing Vampire: The Masquerade - Redemption via GoG. Using InnoExtract 1.8, game unpacks fine, though GameHub warns that it cannot find the executable. I manually set that (Vampire.exe, as best as I can tell).

But when I try to run using Proton 4.2 or 4.11, I get the following in the terminal:

[DEBUG]  [Utils.run] {'/home/darthbrandon/.steam/steam/steamapps/common/Proton 4.2/proton' 'run' '/media/sdb2/GOG/Vampire_The_Masquerade__Redemption/_gamehub/compat/proton_1054830/pfx/drive_c/windows/system32/cmd.exe'}; dir: '/media/sdb2/GOG/Vampire_The_Masquerade__Redemption'                               
[WARN]   Proton: No compat data path?
[DEBUG]  [Utils.run] {'/home/darthbrandon/.steam/steam/steamapps/common/Proton 4.2/dist/bin/wine' 'wineboot'}; dir: '/media/sdb2/GOG/Vampire_The_Masquerade__Redemption'                                                               
ERROR: ld.so: object '/tmp/.mount_GameHuBvLLDG/usr/optlib/exec.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/tmp/.mount_GameHuBvLLDG/usr/optlib/exec.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
000b:err:wineboot:ProcessRunKeys Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2)
0021:err:module:load_builtin_dll failed to load .so lib for builtin L"winebus.sys": libudev.so.0: cannot open shared object file: No such file or directory
0021:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\winebus": c0000142
0014:err:service:process_send_command service protocol error - failed to write pipe!
000f:fixme:service:scmdatabase_autostart_services Auto-start service L"winebus" failed to start: 1114
[DEBUG]  [Utils.run] {'/home/darthbrandon/.steam/steam/steamapps/common/Proton 4.2/proton' 'run' '/media/sdb2/GOG/Vampire_The_Masquerade__Redemption/Vampire.exe'}; dir: '/media/sdb2/GOG/Vampire_The_Masquerade__Redemption'          
Proton: No compat data path?

(com.github.tkashkin.gamehub:18088): Gtk-WARNING **: 04:39:08.018: gtk_window_set_titlebar() called on a realized window
[DEBUG]  [Utils.run] {'/home/darthbrandon/.steam/steam/steamapps/common/Proton 4.11/proton' 'run' '/media/sdb2/GOG/Vampire_The_Masquerade__Redemption/_gamehub/compat/proton_1113280/pfx/drive_c/windows/system32/cmd.exe'}; dir: '/media/sdb2/GOG/Vampire_The_Masquerade__Redemption'                              
[WARN]   Proton: No compat data path?
[DEBUG]  [Utils.run] {'/home/darthbrandon/.steam/steam/steamapps/common/Proton 4.11/dist/bin/wine' 'wineboot'}; dir: '/media/sdb2/GOG/Vampire_The_Masquerade__Redemption'
ERROR: ld.so: object '/tmp/.mount_GameHuBvLLDG/usr/optlib/exec.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/tmp/.mount_GameHuBvLLDG/usr/optlib/exec.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
wineserver: using server-side synchronization.
wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
000b:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2).
001b:err:module:load_so_dll failed to load .so lib "/media/sdb2/Steam/steamapps/common/Proton 4.11/dist/bin/../lib64/wine/winebus.sys.so": libudev.so.0: cannot open shared object file: No such file or directory
001b:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\winebus": c0000142
000f:fixme:service:scmdatabase_autostart_services Auto-start service L"winebus" failed to start: 1114
ERROR: ld.so: object '/tmp/.mount_GameHuBvLLDG/usr/optlib/exec.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/tmp/.mount_GameHuBvLLDG/usr/optlib/exec.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
wine: configuration in '/home/darthbrandon/.wine' has been updated.
[DEBUG]  [Utils.run] {'/home/darthbrandon/.steam/steam/steamapps/common/Proton 4.11/proton' 'run' '/media/sdb2/GOG/Vampire_The_Masquerade__Redemption/Vampire.exe'}; dir: '/media/sdb2/GOG/Vampire_The_Masquerade__Redemption'
Proton: No compat data path?
Version and environment
.local/bin/GameHub-dev.AppImage -v
[AppRun ] GameHub AppImage
[AppRun ] AppDir: /tmp/.mount_GameHunsGEyL
[CheckRT] Checking library versions
[CheckRT] libstdc++.so.6: sys: GLIBCXX_3.4.28; app: GLIBCXX_3.4.26
[CheckRT] libgcc_s.so.1: sys: GCC_7.0.0; app: GCC_7.0.0
[CheckRT] LD_LIBRARY_PATH: :/tmp/.mount_GameHunsGEyL/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0:/tmp/.mount_GameHunsGEyL/usr/lib:
[CheckRT] LD_PRELOAD: /tmp/.mount_GameHunsGEyL/usr/optlib/exec.so:
[AppRun ] Starting GameHub
- GameHub
    Version: 0.14.2-cf641ac-dev
    Branch:  dev
    Commit:  cf641ac8e795f8906bf359b34c4fcb66e7076fdd
- Environment
    Distro:  [AppImage] openSUSE Tumbleweed
    DE:      KDE
    GTK:     3.24.12

DarthBrandon avatar Nov 02 '19 08:11 DarthBrandon

It may be AppImage-specific issue. Can you try non-AppImage version (ideally packaged for your distro or built manually) to confirm that?

tkashkin avatar Nov 15 '19 20:11 tkashkin

@tkashkin and @DarthBrandon - Today I was testing out the AppImage version of GameHub (was using the Ubuntu PPA) and when installing games on the Ubuntu .deb version, I was able to install correctly. For example, I installed Vampire and other games using Proton and it brought up the official GOG installer where I clicked next and watched it install.

Doing the same thing in AppImage just shows "Installing..." at the top and then says it is done without adding anything to the /GOG/Games directory besides a _gamehub directory. I would like to simply use the AppImage file if I change distros, so please look into this.

Here's a screenshot: https://imgur.com/a/FtvD4x3

EDIT: When I install and run the game in the .deb version of GameHub, it has no issues. But when I load up the AppImage version and try to run an already installed game that I installed via the .deb version of GameHub, it quits instantly.

FYI, here's my info with the AppImage version:

teg@pop-os:~/Games/GameHub$ ./GameHub-bionic-0.15.0-47-dev-0d59525-x86_64.AppImage -v
[AppRun ] GameHub AppImage
[AppRun ] AppDir: /tmp/.mount_GameHuY8BrqD
[CheckRT] Checking library versions
[CheckRT] libstdc++.so.6: sys: GLIBCXX_3.4.28; app: GLIBCXX_3.4.28
[CheckRT] libgcc_s.so.1: sys: GCC_7.0.0; app: GCC_7.0.0
[CheckRT] LD_LIBRARY_PATH: :/tmp/.mount_GameHuY8BrqD/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0:/tmp/.mount_GameHuY8BrqD/usr/lib:
[CheckRT] LD_PRELOAD: /tmp/.mount_GameHuY8BrqD/usr/optlib/exec.so:
[AppRun ] Starting GameHub
- GameHub
    Version: 0.15.0-0d59525-dev
    Branch:  dev
    Commit:  0d595257eeeb0da5e65b6b0529ff6a492ee90c4d
- Environment
    Distro:  [AppImage] Pop!_OS 19.10
    DE:      pop:GNOME
    GTK:     3.24.12

btegs avatar Apr 05 '20 17:04 btegs

I currently have this issue on the deb install in Ubuntu 20.04.3 in both the stable and development builds. I can launch games in Wine without issue and can use Proton in the command line to launch these same applications, but it fails in GameHub.

I can install using wine or innoextract, but then I cannot run the games in proton after installation. I have tried to generate logs using the command line, but there is no command line output. Are there logs generated somewhere?

mwt avatar Dec 27 '21 23:12 mwt

@mwt might be fixed by #596

Lucki avatar Dec 28 '21 00:12 Lucki

@Lucki that seems very likely. On a separate note, it seems that proton experimental works fine.

mwt avatar Dec 28 '21 04:12 mwt