flathub / com.valvesoftware.Steam

https://flathub.org/apps/details/com.valvesoftware.Steam
337 stars 68 forks source link

Control (2019) fails to launch under Proton #478

Open Plailect opened 4 years ago

Plailect commented 4 years ago

Game information

Control (2019)

Distribution name and version where applicable

Fedora 32 Silverblue

Flatpak info

$ flatpak --version                                              
Flatpak 1.5.0
$ flatpak --gl-drivers                                           
default
host

Problem description

Control (2019) running under the latest proton runs fine if I directly launch the executable on my host with Proton like so:

env STEAM_COMPAT_DATA_PATH=~/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/compatdata/3782636396/ '../../../../../../common/Proton 4.11/proton' run 'Control_DX11.exe'

Running the exact same command under a flatpak run --command=/bin/bash 'com.valvesoftware.Steam' shell fails with essentially no logs or debugging info.

[📦 com.valvesoftware.Steam Control]$ env PROTON_LOG=1 STEAM_COMPAT_DATA_PATH=~/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/compatdata/3782636396/ '../../../../../../common/Proton 4.11/proton' run Control_DX11.exe
Proton: Missing or invalid openvrpaths.vrpath file! [Errno 2] No such file or directory: '/var/home/plailect/.var/app/com.valvesoftware.Steam/config/openvr/openvrpaths.vrpath'
esync: up and running.

No proton logs are produced (either stdout or in my home folder as the internet may suggest), and the openvrpaths error seems to appear for every game I run under proton (and also appears when the game is working on the host), so it is likely unrelated.

Does this issue reproduce with native Steam

No.

Plailect commented 4 years ago

env WINEDEBUG="+timestamp,+pid,+tid,+seh,+debugstr,+module" WINEPREFIX=~/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/compatdata/3782636396/pfx/ ../../../../../../common/Proton\ 4.2/dist/bin/wine Control_DX11.exe > ~/.steam/log.txt 2>&1

log.txt

andreldmonteiro commented 4 years ago

Can you test if reverting the flatpak to the one here makes it work? https://github.com/flathub/com.valvesoftware.Steam/issues/465#issuecomment-541322704

Plailect commented 4 years ago
git clone https://github.com/flathub/com.valvesoftware.Steam.git
git checkout c73d310
sh build.sh
flatpak run --user --command=/bin/bash 'com.valvesoftware.Steam'
cd ~/.local/share/Steam/steamapps/compatdata/3782636396/pfx/drive_c/Program\ Files\ \(x86\)/Control/
env WINEDEBUG="+timestamp,+pid,+tid,+seh,+debugstr,+module" WINEPREFIX=~/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/compatdata/3782636396/pfx/ ../../../../../../common/Proton\ 4.2/dist/bin/wine Control_DX11.exe > ~/.steam/log.txt 2>&1

Still does not seem to work. log.txt

nanonyme commented 4 years ago

Does it work with latest version now?

Plailect commented 4 years ago

It does not. log.txt

ghost commented 4 years ago

the openvrpaths error seems to appear for every game I run under proton (and also appears when the game is working on the host), so it is likely unrelated.

Indeed, its possible to fix this log item from showing but it will or at least should do nothing to solve anything.

Wonder if the latest Proton 4.11-8 which includes dx12 will work or do something different. https://github.com/ValveSoftware/Proton/wiki/Changelog https://steamcommunity.com/app/870780/discussions/0/1637543304822480824/

nanonyme commented 3 years ago

I can spot a couple of errors like

981.496:0022:0023:err:module:load_so_dll failed to load .so lib "/var/home/plailect/.local/share/Steam/steamapps/common/Proton 4.11/dist/bin/../lib64/wine/wldap32.dll.so": libldap_r-2.4.so.2: cannot open shared object file: No such file or directory
979.306:0016:0019:err:module:load_so_dll failed to load .so lib "/var/home/plailect/.local/share/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

in log.txt. Might or might not be related.