Closed pszabunko closed 1 year ago
when I run flatpak run com.usebottles.bottles
13:08:37 (INFO) Bottles Started!
13:08:41 (INFO) Performing Bottles checks…
13:08:41 (INFO) Steam path doesn't exist, creating now.
13:08:41 (INFO) Dxvks found:
- dxvk-2.1
- dxvk-2.2
13:08:41 (INFO) Vkd3ds found:
- vkd3d-proton-2.9
- vkd3d-proton-2.8
13:08:41 (INFO) Nvapis found:
- dxvk-nvapi-v0.6.3
13:08:41 (INFO) Latencyflexs found:
- latencyflex-v0.1.1
13:08:41 (INFO) Runners found:
- soda-7.0-9
- wine-ge-proton8-8
- GE-Proton8-4
- sys-wine-8.0
13:08:41 (INFO) Bottles found:
- Battle Net
(bottles:2): Gtk-WARNING **: 13:08:41.502: No IM module matching GTK_IM_MODULE=xim found
13:08:42 (INFO) Catalog dependencies loaded
13:08:42 (INFO) Catalog installers loaded
13:08:42 (INFO) Catalog components loaded
Can you try this, at least part of your issue may get resolved -
https://unix.stackexchange.com/questions/260601/understanding-setting-up-different-input-methods
Could you paste the output of ~/.var/app/com.valvesoftware.Steam/data/Steam/steamapps/compatdata/NUMBER/config_info
files with NUMBER
is replaced by those in the log (39510
and 548430
)? Can you then switch to Proton experimental, and do the same thing? Does it works with it? Did it stop working with a specific Proton-GE version? Basically the more the information, the better.
Edit: I'm specifically asking about the is not a valid Steam Proton path
issue, not about the GUI installation issue
It seems like Bottles doesn't list steam prefixes set to run with flatpak proton-ge community:
com.valvesoftware.Steam.CompatibilityTool.Proton-GE
Here's config_info for Gothic 2:
cat ~/.var/app/com.valvesoftware.Steam/data/Steam/steamapps/compatdata/39510/config_info
GE-Proton8-6
/app/share/steam/compatibilitytools.d/Proton-GE/share/fonts/
/app/share/steam/compatibilitytools.d/Proton-GE/lib32/
/app/share/steam/compatibilitytools.d/Proton-GE/lib/
/home/piotr/.var/app/com.valvesoftware.Steam/.local/share/Steam
1687386348.0
1687386350.0
1516738214.0
/app/share/steam/compatibilitytools.d/Proton-GE/share/default_pfx/
0.0
False
True
d3dcompiler_*.dll,d3dcsx*.dll,d3dx*.dll,x3daudio*.dll,xactengine*.dll,xapofx*.dll,xaudio*.dll,xinput*.dll,devenum.dll,amstream.dll,qasf.dll,qcap.dll,qdvd.dll,qedit.dll,quartz.dll,dplay.dll,dplaysvr.exe,dplayx.dll,dpmodemx.dll,dpnaddr.dll,dpnet.dll,dpnlobby.dll,dpnhpast.dll,dpnhupnp.dll,dpnsvr.exe,dpwsockx.dll,dpvoice.dll,dmband.dll,dmcompos.dll,dmime.dll,dmloader.dll,dmscript.dll,dmstyle.dll,dmsynth.dll,dmusic.dll,dmusic32.dll,dsound.dll,dswave.dll,atl1*.dll,concrt1*.dll,msvcp1*.dll,msvcr1*.dll,vcamp1*.dll,vcomp1*.dll,vccorlib1*.dll,vcruntime1*.dll,api-ms-win-crt-conio-l1-1-0.dll,api-ms-win-crt-heap-l1-1-0.dll,api-ms-win-crt-locale-l1-1-0.dll,api-ms-win-crt-math-l1-1-0.dll,api-ms-win-crt-runtime-l1-1-0.dll,api-ms-win-crt-stdio-l1-1-0.dll,ucrtbase.dll,ntdll.dll,vulkan-1.dll,dispex.dll,jscript.dll,scrobj.dll,scrrun.dll,vbscript.dll,cscript.exe,wscript.exe,wshom.ocx,9SeriesDefault.wmz,9SeriesDefault_.wmz,9xmigrat.dll,advpack.dll,asferror.dll,blackbox.dll,CEWMDM.dll,Compact.wmz,control.xml,custsat.dll,drm.cat,drm.inf,DRMClien.dll,DrmStor.dll,drmv2clt.dll,dw15.exe,dwintl.dll,engsetup.exe,eula.txt,fhg.inf,iexpress.inf,l3codeca.acm,LAPRXY.DLL,logagent.exe,migrate.dll,migrate.exe,MP43DMOD.DLL,MP4SDMOD.DLL,MPG4DMOD.DLL,mpvis.DLL,msdmo.dll,msnetobj.dll,msoobci.dll,MsPMSNSv.dll,MsPMSP.dll,MSSCP.dll,MSWMDM.dll,mymusic.inf,npdrmv2.dll,npdrmv2.zip,NPWMSDrm.dll,PidGen.dll,Plylst1.wpl,Plylst10.wpl,Plylst11.wpl,Plylst12.wpl,Plylst13.wpl,Plylst14.wpl,Plylst15.wpl,Plylst2.wpl,Plylst3.wpl,Plylst4.wpl,Plylst5.wpl,Plylst6.wpl,Plylst7.wpl,Plylst8.wpl,Plylst9.wpl,plyr_err.chm,qasf.dll,QuickSilver.wmz,Revert.wmz,roxio.inf,rsl.dll,setup_wm.cat,setup_wm.exe,setup_wm.inf,skins.inf,skinsmui.inf,unicows.dll,unregmp2.exe,w95inf16.dll,w95inf32.dll,wm1033.lng,WMADMOD.DLL,WMADMOE.DLL,WMASF.DLL,wmburn.exe,wmburn.rxc,wmdm.cat,wmdm.inf,WMDMLOG.dll,WMDMPS.dll,wmerror.dll,wmexpack.cat,wmexpack.inf,WMFSDK.cat,WMFSDK.inf,wmidx.dll,WMNetMgr.dll,wmp.cat,wmp.dll,wmp.inf,wmp.ocx,wmpasf.dll,wmpband.dll,wmpcd.dll,wmpcore.dll,wmpdxm.dll,wmplayer.adm,wmplayer.chm,wmplayer.exe,wmploc.DLL,WMPNS.dll,wmpns.jar,wmpshell.dll,wmpui.dll,WMSDMOD.DLL,WMSDMOE2.DLL,WMSPDMOD.DLL,WMSPDMOE.DLL,WMVCORE.DLL,WMVDMOD.DLL,WMVDMOE2.DLL
False
When I change the runner to one of the Proton versions provided by Steam or Proton-GE that I installed manually, and then run the game, Bottles displays the game's prefix. Here's working config_info:
8.0-104
/home/piotr/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Proton - Experimental/files/share/fonts/
/home/piotr/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Proton - Experimental/files/lib/
/home/piotr/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Proton - Experimental/files/lib64/
/home/piotr/.var/app/com.valvesoftware.Steam/.local/share/Steam
1687386348.0
1687386350.0
1516738214.0
/home/piotr/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Proton - Experimental/files/share/default_pfx/
1688754126.3008652
False
True
d3dcompiler_*.dll,d3dcsx*.dll,d3dx*.dll,x3daudio*.dll,xactengine*.dll,xapofx*.dll,xaudio*.dll,xinput*.dll,atl1*.dll,concrt1*.dll,msvcp1*.dll,msvcr1*.dll,vcamp1*.dll,vcomp1*.dll,vccorlib1*.dll,vcruntime1*.dll,ntdll.dll,vulkan-1.dll
False
And another working one:
7.0-100
/home/piotr/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Proton 7.0/dist/share/fonts/
/home/piotr/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Proton 7.0/dist/lib/
/home/piotr/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Proton 7.0/dist/lib64/
/home/piotr/.var/app/com.valvesoftware.Steam/.local/share/Steam
1687386348.0
1687386350.0
1516738214.0
/home/piotr/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Proton 7.0/dist/share/default_pfx/
1675326501.0
False
True
d3dcompiler_*.dll,d3dcsx*.dll,d3dx*.dll,x3daudio*.dll,xactengine*.dll,xapofx*.dll,xaudio*.dll,xinput*.dll,atl1*.dll,concrt1*.dll,msvcp1*.dll,msvcr1*.dll,vcamp1*.dll,vcomp1*.dll,vccorlib1*.dll,vcruntime1*.dll,ntdll.dll,vulkan-1.dll
False
Perhaps it's a permissions issue that can be resolved by using Flatseal or overrides?
It's probably not a permission issue, I think there's two different causes to the bug.
First, in Bottles, the code responsible for detecting the proton path is not robust at all:
https://github.com/bottlesdevs/Bottles/blob/9132667ae41a04769b286a09471306ba4deed980/bottles/backend/managers/steam.py#L194
It seems Bottles expect the third line to always end by /lib/
, thus stripping those five characters to retrieve the path. But here, at least with the Proton-GE
installed by flatpak, this line ends with /lib32/
, which would be seven characters. Stripping only five would give Proton-GE/l
and this is exactly what shows in the logs.
The Bottles code definitively needs a more reliable method for retrieving the path, but I strongly suspect using the lib32
/lib
folder structure instead of the regular lib
/lib64
is also a bug on its own as it may be the source of other issues.
To verify that the rest of the Bottles code is working with correctly formatted flatpak proton runners, could you test it with ProtonUp-Qt? (flatpak install flathub net.davidotek.pupgui2
if not already installed, then use it to install a distinct version of Proton-GE
).
Hopefully, the line is not a valid Steam Proton path
would disappear with it. Whether it is working or not, please also paste the output of config_info
with this newly installed version.
Somewhat related note: there is still other issues that needs to be fixed for a flawless steam experience, since the 8.0 version Proton is using the sniper runtime instead of the much older soldier
one, but Bottles does not support it at the moment.
I have installed proton-ge 8.3 and proton-tkg using net.davidotek.pupgui2 and the game shows in Bottles for both runners.
GE-Proton8-3
/home/piotr/.var/app/com.valvesoftware.Steam/.local/share/Steam/compatibilitytools.d/GE-Proton8-3/files/share/fonts/
/home/piotr/.var/app/com.valvesoftware.Steam/.local/share/Steam/compatibilitytools.d/GE-Proton8-3/files/lib/
/home/piotr/.var/app/com.valvesoftware.Steam/.local/share/Steam/compatibilitytools.d/GE-Proton8-3/files/lib64/
/home/piotr/.var/app/com.valvesoftware.Steam/.local/share/Steam
1689037492.0
1689037494.0
1516738214.0
/home/piotr/.var/app/com.valvesoftware.Steam/.local/share/Steam/compatibilitytools.d/GE-Proton8-3/files/share/default_pfx/
1683754187.0
False
True
d3dcompiler_*.dll,d3dcsx*.dll,d3dx*.dll,x3daudio*.dll,xactengine*.dll,xapofx*.dll,xaudio*.dll,xinput*.dll,devenum.dll,amstream.dll,qasf.dll,qcap.dll,qdvd.dll,qedit.dll,quartz.dll,dplay.dll,dplaysvr.exe,dplayx.dll,dpmodemx.dll,dpnaddr.dll,dpnet.dll,dpnlobby.dll,dpnhpast.dll,dpnhupnp.dll,dpnsvr.exe,dpwsockx.dll,dpvoice.dll,dmband.dll,dmcompos.dll,dmime.dll,dmloader.dll,dmscript.dll,dmstyle.dll,dmsynth.dll,dmusic.dll,dmusic32.dll,dsound.dll,dswave.dll,atl1*.dll,concrt1*.dll,msvcp1*.dll,msvcr1*.dll,vcamp1*.dll,vcomp1*.dll,vccorlib1*.dll,vcruntime1*.dll,api-ms-win-crt-conio-l1-1-0.dll,api-ms-win-crt-heap-l1-1-0.dll,api-ms-win-crt-locale-l1-1-0.dll,api-ms-win-crt-math-l1-1-0.dll,api-ms-win-crt-runtime-l1-1-0.dll,api-ms-win-crt-stdio-l1-1-0.dll,ucrtbase.dll,ntdll.dll,vulkan-1.dll,dispex.dll,jscript.dll,scrobj.dll,scrrun.dll,vbscript.dll,cscript.exe,wscript.exe,wshom.ocx,9SeriesDefault.wmz,9SeriesDefault_.wmz,9xmigrat.dll,advpack.dll,asferror.dll,blackbox.dll,CEWMDM.dll,Compact.wmz,control.xml,custsat.dll,drm.cat,drm.inf,DRMClien.dll,DrmStor.dll,drmv2clt.dll,dw15.exe,dwintl.dll,engsetup.exe,eula.txt,fhg.inf,iexpress.inf,l3codeca.acm,LAPRXY.DLL,logagent.exe,migrate.dll,migrate.exe,MP43DMOD.DLL,MP4SDMOD.DLL,MPG4DMOD.DLL,mpvis.DLL,msdmo.dll,msnetobj.dll,msoobci.dll,MsPMSNSv.dll,MsPMSP.dll,MSSCP.dll,MSWMDM.dll,mymusic.inf,npdrmv2.dll,npdrmv2.zip,NPWMSDrm.dll,PidGen.dll,Plylst1.wpl,Plylst10.wpl,Plylst11.wpl,Plylst12.wpl,Plylst13.wpl,Plylst14.wpl,Plylst15.wpl,Plylst2.wpl,Plylst3.wpl,Plylst4.wpl,Plylst5.wpl,Plylst6.wpl,Plylst7.wpl,Plylst8.wpl,Plylst9.wpl,plyr_err.chm,qasf.dll,QuickSilver.wmz,Revert.wmz,roxio.inf,rsl.dll,setup_wm.cat,setup_wm.exe,setup_wm.inf,skins.inf,skinsmui.inf,unicows.dll,unregmp2.exe,w95inf16.dll,w95inf32.dll,wm1033.lng,WMADMOD.DLL,WMADMOE.DLL,WMASF.DLL,wmburn.exe,wmburn.rxc,wmdm.cat,wmdm.inf,WMDMLOG.dll,WMDMPS.dll,wmerror.dll,wmexpack.cat,wmexpack.inf,WMFSDK.cat,WMFSDK.inf,wmidx.dll,WMNetMgr.dll,wmp.cat,wmp.dll,wmp.inf,wmp.ocx,wmpasf.dll,wmpband.dll,wmpcd.dll,wmpcore.dll,wmpdxm.dll,wmplayer.adm,wmplayer.chm,wmplayer.exe,wmploc.DLL,WMPNS.dll,wmpns.jar,wmpshell.dll,wmpui.dll,WMSDMOD.DLL,WMSDMOE2.DLL,WMSPDMOD.DLL,WMSPDMOE.DLL,WMVCORE.DLL,WMVDMOD.DLL,WMVDMOE2.DLL
False
8.0-999
/home/piotr/.var/app/com.valvesoftware.Steam/.local/share/Steam/compatibilitytools.d/proton_tkg_experimental.bleeding.edge.8.0.49429.20230710/files/share/fonts/
/home/piotr/.var/app/com.valvesoftware.Steam/.local/share/Steam/compatibilitytools.d/proton_tkg_experimental.bleeding.edge.8.0.49429.20230710/files/lib/
/home/piotr/.var/app/com.valvesoftware.Steam/.local/share/Steam/compatibilitytools.d/proton_tkg_experimental.bleeding.edge.8.0.49429.20230710/files/lib64/
/home/piotr/.var/app/com.valvesoftware.Steam/.local/share/Steam
1687386348.0
1687386350.0
1516738214.0
/home/piotr/.var/app/com.valvesoftware.Steam/.local/share/Steam/compatibilitytools.d/proton_tkg_experimental.bleeding.edge.8.0.49429.20230710/files/share/default_pfx/
1689071238.0
False
False
False
d3dcompiler_*.dll,d3dcsx*.dll,d3dx*.dll,x3daudio*.dll,xactengine*.dll,xapofx*.dll,xaudio*.dll,xinput*.dll,devenum.dll,amstream.dll,qasf.dll,qcap.dll,qdvd.dll,qedit.dll,quartz.dll,dplay.dll,dplaysvr.exe,dplayx.dll,dpmodemx.dll,dpnaddr.dll,dpnet.dll,dpnlobby.dll,dpnhpast.dll,dpnhupnp.dll,dpnsvr.exe,dpwsockx.dll,dpvoice.dll,dmband.dll,dmcompos.dll,dmime.dll,dmloader.dll,dmscript.dll,dmstyle.dll,dmsynth.dll,dmusic.dll,dmusic32.dll,dsound.dll,dswave.dll,atl1*.dll,concrt1*.dll,msvcp1*.dll,msvcr1*.dll,vcamp1*.dll,vcomp1*.dll,vccorlib1*.dll,vcruntime1*.dll,api-ms-win-crt-conio-l1-1-0.dll,api-ms-win-crt-heap-l1-1-0.dll,api-ms-win-crt-locale-l1-1-0.dll,api-ms-win-crt-math-l1-1-0.dll,api-ms-win-crt-runtime-l1-1-0.dll,api-ms-win-crt-stdio-l1-1-0.dll,ucrtbase.dll,ntdll.dll,vulkan-1.dll,dispex.dll,jscript.dll,scrobj.dll,scrrun.dll,vbscript.dll,cscript.exe,wscript.exe,wshom.ocx,9SeriesDefault.wmz,9SeriesDefault_.wmz,9xmigrat.dll,advpack.dll,asferror.dll,blackbox.dll,CEWMDM.dll,Compact.wmz,control.xml,custsat.dll,drm.cat,drm.inf,DRMClien.dll,DrmStor.dll,drmv2clt.dll,dw15.exe,dwintl.dll,engsetup.exe,eula.txt,fhg.inf,iexpress.inf,l3codeca.acm,LAPRXY.DLL,logagent.exe,migrate.dll,migrate.exe,MP43DMOD.DLL,MP4SDMOD.DLL,MPG4DMOD.DLL,mpvis.DLL,msdmo.dll,msnetobj.dll,msoobci.dll,MsPMSNSv.dll,MsPMSP.dll,MSSCP.dll,MSWMDM.dll,mymusic.inf,npdrmv2.dll,npdrmv2.zip,NPWMSDrm.dll,PidGen.dll,Plylst1.wpl,Plylst10.wpl,Plylst11.wpl,Plylst12.wpl,Plylst13.wpl,Plylst14.wpl,Plylst15.wpl,Plylst2.wpl,Plylst3.wpl,Plylst4.wpl,Plylst5.wpl,Plylst6.wpl,Plylst7.wpl,Plylst8.wpl,Plylst9.wpl,plyr_err.chm,qasf.dll,QuickSilver.wmz,Revert.wmz,roxio.inf,rsl.dll,setup_wm.cat,setup_wm.exe,setup_wm.inf,skins.inf,skinsmui.inf,unicows.dll,unregmp2.exe,w95inf16.dll,w95inf32.dll,wm1033.lng,WMADMOD.DLL,WMADMOE.DLL,WMASF.DLL,wmburn.exe,wmburn.rxc,wmdm.cat,wmdm.inf,WMDMLOG.dll,WMDMPS.dll,wmerror.dll,wmexpack.cat,wmexpack.inf,WMFSDK.cat,WMFSDK.inf,wmidx.dll,WMNetMgr.dll,wmp.cat,wmp.dll,wmp.inf,wmp.ocx,wmpasf.dll,wmpband.dll,wmpcd.dll,wmpcore.dll,wmpdxm.dll,wmplayer.adm,wmplayer.chm,wmplayer.exe,wmploc.DLL,WMPNS.dll,wmpns.jar,wmpshell.dll,wmpui.dll,WMSDMOD.DLL,WMSDMOE2.DLL,WMSPDMOD.DLL,WMSPDMOE.DLL,WMVCORE.DLL,WMVDMOD.DLL,WMVDMOE2.DLL
False
I'll submit a PR hopefully fixing all these issues Soon™, will you be able to test it once it is ready?
Yes, I'll try.
Describe the bug
Bottles has stopped listing proton prefixes. When I run
flatpak run com.usebottles.bottles
in terminal it outputs:I have noticed one more thing, possibly related. After installing the "ge-proton-8-6" runner and revisiting the Preferences and then Runners tab, I am able to install "ge-proton-8-6" once again. The "Download & Install" button is displayed instead of "Browse files". However, upon restarting Bottles, the following message appears in the terminal:
ge-proton-8-6 exists in
.var/app/com.usebottles.bottles/data/bottles/runners/
and I can use it as runner in my bottles.I have tried to reinstall Bottles with deleting all leftover folders and it didn't help at all.
To Reproduce
For the second part:
Package
Flatpak from Flathub
Distribution
Debian 12 Bookworm
Debugging Information
Troubleshooting Logs
Additional context
EDIT: I run steam flatpak with proton-ge community (com.valvesoftware.Steam.CompatibilityTool.Proton-GE) and I have also manually installed proton-ge following GloriousEggroll manual instruction
tar -xf GE-ProtonVERSION.tar.gz -C ~/.var/app/com.valvesoftware.Steam/data/Steam/compatibilitytools.d/
and I can play games from steam just fine with both.