protonscr

Spelunky 2

protonopen appid 418530Game compatibility - Unofficial
ValveSoftware/Proton#4230 · opened 2020-09-29 by radriaanse · updated 2024-12-29 · 52 comments · github · game page · search this game
Rradriaanse 2020-09-29 github

Compatibility Report

  • Name of the game with compatibility issues: Spelunky 2
  • Steam AppID of the game: 418530

System Information

I confirm:

  • [x] that I haven't found an existing compatibility report for this game.
  • [x] that I have checked whether there are updates for my system available.

steam-418530.log

Symptoms

Game doesn't launch, after launching shows a black screen and exits.

Reproduction

Install game, launch.

Kkisak-valve maintainer 2020-09-29 github

Hello @radriaanse, err:steamclient:create_win_interface Don't recognize interface name: SteamUtils010 looks like a line of interest from the log.

Rradriaanse 2020-09-29 github

Hi @kisak-valve, found a thread over on steam that states it should work with proton-tkg 5.18.r3.g9acfa3b8.
FWIW I tested it and this seems to be the case, I can run the game without any problems after using the other runtime.

Is there any logging I can share that might explain the difference between these two version?

Aanlsh 2020-09-30 github

From what I've seen, the only people that seem to be able to get the proton-tkg fix working are Arch users (from this reddit thread, one success on arch and 3 failures on Ubuntu/PopOS).

I'm using PopOS myself, and the proton-tkg fix isn't working (in fact it's slightly worse: with 5.09 I'll at least get a short-lived black screen but with this no window opens at all).

I'll try compiling proton-tkg on my machine and report back

Failure logs with proton-tkg and with proton 5.0.9

Not sure what command @radriaanse used to generate his system info (if you tell me I'll use it), but I'm on PopOS 20.04, 1050Ti mobile, nvidia drivers 440.100

NNightmaresiege 2020-09-30 github

@anlsh Some enterprising folks have posted a guide to getting this to work in Ubuntu 20.04 - https://steamcommunity.com/app/418530/discussions/0/2930112548420911027/

It is not for the faint of heart.

Aanlsh 2020-09-30 github

@Nightmaresiege Thanks for the reference! I've gotten things to work with their process using some slight modifications for PopOS (detailed in the thread)

EDIT: I've also uploaded my binaries here https://github.com/anlsh/wine-tkg-git/releases/tag/5.18.r3.g9acfa3b8. They've worked for at least one other person so far

Rradriaanse 2020-09-30 github

@anlsh I'm indeed using Arch so I had no issues there, the system info comes from Steam itself: Help -> System information

DDrWursterich 2020-10-01 github

There is also a precompiled version for Ubuntu: https://github.com/pgroudas/wine-tkg-git/releases/tag/5.18.r3.g9acfa3b8
Worked for me out of the box.

MmakoConstruct 2020-10-02 github

After the game was updated, the game still doesn't launch, I no longer get a shortlived black screen, and I still get the "Warning: Windows version not supported [Ok]" window. This window was always a common symptom: https://www.protondb.com/app/418530

Mmozo78 2020-10-02 github

It runs out-of-the-box with Wine 5.18 set to Windows 10. If the prefix is set to Win 7 the game still runs but "Windows version not supported" message appears at start.

Aanlsh 2020-10-04 github

@fartsniffer104 See one of the developers' posts here: I'm guessing it will require the devs to update the game to fix whatever bug exists on their side.

On the plus side, it seems the bug affects some windows users too, so I'm guessing a fix will come out eventually

Mmoben 2020-10-11 github

Running Spelunky 2 in a wine prefix with regular Steam for Windows installed, unlocking achievements works.

When Steam is installed in the prefix, starting Spel2.exe will actually start Steam (in wine) first. I believe that might be the reason why it fails in proton, the steam.exe that is running there might not behave 100% the same as Steam for Windows (e.g. it can't download and start games as it's only a bridge to the Linux Steam to trigger achievements and such.

Bbruno-fs 2020-10-12 github

Running Spelunky 2 in a wine prefix with regular Steam for Windows installed, unlocking achievements works.

When Steam is installed in the prefix, starting Spel2.exe will actually start Steam (in wine) first. I believe that might be the reason why it fails in proton, the steam.exe that is running there might not behave 100% the same as Steam for Windows (e.g. it can't download and start games as it's only a bridge to the Linux Steam to trigger achievements and such.

Following @moben approach I could unlock some achievements. Good job mate!

Aaeikum 2020-10-15 github

Hello. The Proton 5.13 release should fix achievements and other Steam client integration for Spelunky 2.

MmakoConstruct 2020-10-16 github

That's wonderful news, but still doesn't launch for me. Log: https://gist.github.com/makoConstruct/27a5283dc40e7e965439ebe679782bec

Edit: updated my graphics drivers and it works!

TThraix 2020-10-16 · hidden on GitHub github

Does not launch for me either, just instantly crashes on launch

RRognin 2020-10-16 github

Doesn't work for me either, on launch it says "running" for a while and then crashes

Rradriaanse 2020-10-16 github

It works here just fine when switching to 5.13 from the proton-tkg build that was previously also working for me.
Achievements are now also rewarded, thanks @aeikum !

TThraix 2020-10-16 · hidden on GitHub github

@fartsniffer104 Do I put that into the game launch options or in a .profile file which is loaded on login? And where do I set the the Windows version? I dont think there is such an option in the steam game properties. Currently don't have my computer to test this, but thanks for the reply. Will try to test in in about 2 hours maybe.

RRognin 2020-10-16 github

Achievements are now unlocking for me.

@Thraix @Rognin Try WINEPREFIX=~/.steam/steam/steamapps/compatdata/418530/pfx winecfg and setting "Windows Version" to "Windows 10". When it is set to Windows 7 the game does not run for me.

I tried to do that and got the following error:
wine client error:0: version mismatch 490/547.
Your wineserver binary was not upgraded correctly,
or you have an older one somewhere in your PATH.
Or maybe the wrong wineserver is still running?

Do you have any idea what might be causing it and how to fix it? As far as I'm aware I'm not using wine to run any programs at the moment.

CCheogh 2020-10-16 · hidden on GitHub github

Tharix you need to paste it into a terminal emulator like gnome-terminal.
Rognin it sounds like you need to update wine, using winecfg will use the system installed version of wine.

TThraix 2020-10-16 · hidden on GitHub github

ah, didn't realize this was a persistent config change, so I thought it would need more work. However this did not solve my problem, the game still instantly crashes (no screen or nothing, just says preparing to launch and then it dies).
This is the log from running steam from a terminal: https://gist.github.com/Thraix/75442e837a1d79ba58c22864169bce5b

Kkisak-valve maintainer 2020-10-16 · hidden on GitHub github

Hello @Thraix, x86_64-linux-gnu-capsule-capture-libs: code 2: Missing dependencies: Could not find "libnvidia-fatbinaryloader.so.435.21" in LD_LIBRARY_PATH "", ld.so.cache, /lib or /usr/lib
pressure-vessel-wrap[4103221]: Child process exited with code 1 in your log sounds similar to https://github.com/ValveSoftware/steam-runtime/issues/275

TThraix 2020-10-16 · hidden on GitHub github

OMG! thank you! seemed like I had an old version of opencl which somehow caused problems. Now the game is running and achievements are being unlocked!

TThraix 2020-10-19 github

While I got it working mostly perfectly, there is still a problem with my xbox 360 controller not working if it disconnects whilst the game is running. It works fine if the controller is connected before I start the game, but if it disconnects, it wont reconnect again and I have to restart the game. This problem was not present in proton-tkg 5.18. But thanks for the achievement fixes anyways :smile:

Ssmcv 2020-10-22 github

there is still a problem with my xbox 360 controller not working if it disconnects whilst the game is running

This is a known issue with versions of Proton that run in a container runtime (currently only 5.13). Processes inside the container can't see input device hotplug events outside the container. A fix is in progress.

TTheOrnyx 2020-10-27 github

Hello, I am using Proton-tkg 5.18.r3.g9acfa3b8.release, the game is running fine but I can't unlock any achievements. Can anyone help

Kkisak-valve maintainer 2020-10-28 github

Hello @MrAlcoholicFox, please retest with mainline Proton 5.13-1. Looks like that third party Proton build is older (date it became available) than Proton 5.13.

TTheOrnyx 2020-10-28 github

Hello @MrAlcoholicFox, please retest with mainline Proton 5.13-1. Looks like that third party Proton build is older (date it became available) than Proton 5.13.

I have tested with that and it doesn't launch the game. That's why I moved to the third party version

Ddaveknippers 2020-10-28 github

Hi. I'd like to share my experiences trying to get Spelunky 2 to work under proton 5.13-1.

I get a black screen on starting the game, then nothing happens. I get some music, but it just seems to be an ambiance loop. I'm forced to stop the game in steam.

system information report: https://gist.github.com/daveknippers/e4ff236ad9994d1e283a9cab16ec3d8e
proton log: https://gist.github.com/daveknippers/d53ba27a7147d5ac83d2a2e91b9760ea

Here's something I find very odd about this: the proton log suggests it's trying to do something with my intel integrated graphics card.

info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_0
info:  D3D11CoreCreateDevice: Using feature level D3D_FEATURE_LEVEL_11_0
info:  Device properties:
info:    Device name:     : Intel(R) UHD Graphics 630 (CFL GT2)
info:    Driver version   : 20.2.0

while this system has both an intel integrated card and an nvidia card, the intel card is disabled. i don't need to do anything with prime offloading or bumblebee or anything else, everything should just run under the nvidia card. there isn't a single reference to nvidia in the proton log file.

thank you for your time

edit: added the output from:
vulkaninfo https://gist.github.com/daveknippers/f5d571d0cbe39c5db1b10dc6d37ff4b4
Xorg.0.log https://gist.github.com/daveknippers/b3746006870d6f833ce846eb8e5cba06

TTheOrnyx 2020-10-28 github

I got the same thing and I fixed it by installing a third party forked version of Proton and ran it with that

Kkisak-valve maintainer 2020-10-28 github

@MrAlcoholicFox, please add PROTON_LOG=1 %command% to the game's launch options, run the game with Proton 5.13-1, and attach the generated $HOME/steam-$APPID.log to this issue report as a file. (Proton logs compress well if needed.) Also, please copy your system information from Steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report.

@daveknippers, your Intel chipset is definitely not disabled, the laptop's display is hardwired to it. There's a known Pressure Vessel issue with vulkan layers noted in https://github.com/ValveSoftware/Proton/issues/4289 which might be having a hard time with your system configuration. You could try temporarily making the Intel Vulkan driver unavailable with something like sudo mv /usr/share/vulkan/icd.d/intel_icd.x86_64.json /usr/share/vulkan/icd.d/intel_icd.x86_64.json.disabled and check if that has an effect.

Ddaveknippers 2020-10-28 github

@daveknippers, your Intel chipset is definitely not disabled, the laptop's display is hardwired to it. There's a known Pressure Vessel issue with vulkan layers noted in #4289 which might be having a hard time with your system configuration. You could try temporarily making the Intel Vulkan driver unavailable with something like sudo mv /usr/share/vulkan/icd.d/intel_icd.x86_64.json /usr/share/vulkan/icd.d/intel_icd.x86_64.json.disabled and check if that has an effect.

you're actually a genius. that worked flawlessly. if i don't intend on using vulkan on intel should i leave that disabled?

Kkisak-valve maintainer 2020-10-28 github

That's at your discretion. Please be aware that was only the 64 bit variant for the test and it'll get re-enabled next time you re-emerge mesa.

Ddaveknippers 2020-10-28 github

That's at your discretion. Please be aware that was only the 64 bit variant for the test and it'll get re-enabled next time you re-emerge mesa.

thank you, i can work with that.

TTheOrnyx 2020-10-28 github

@MrAlcoholicFox, please add PROTON_LOG=1 %command% to the game's launch options, run the game with Proton 5.13-1, and attach the generated $HOME/steam-$APPID.log to this issue report as a file. (Proton logs compress well if needed.) Also, please copy your system information from Steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report.

I literally try again and it starts working. I think it was because I was using no_d3d11 and I switched to PROTON_USE_WINED3D=1 %command%. Thanks anyways tho. Achievements are working as well

TTheOrnyx 2020-10-28 github

It runs a lot slower then using the forked version tho

Jjmc-figueira 2020-10-30 github

Hi!

I am also suffering from the issue where the game appears to load, only to silently fail without even so much as a window appearing on screen. The log (steam-418530.log) does not seem to be of much help.

My system information is as follows: https://gist.github.com/jmc-figueira/a1075b86c29263fb991d268678e3b421

Aaeikum 2020-11-02 github

@jmc-figueira Looks like you have something non-standard going on with your Steam installation, which may be interfering with the container. /home/jmc-figueira/.steam/debian-installation is not a normal path.

Ssmcv 2020-11-03 github

/home/jmc-figueira/.steam/debian-installation is not a normal path

This should be harmless.

It's the equivalent of ~/.local/share/Steam in the Debian package for Steam (unofficial from Valve's perspective, official from Debian's perspective). Historically that package used ~/.steam, which was actively breaking games and Steam features, and its maintainer was unwilling to switch to ~/.local/share/Steam; using ~/.steam/debian-installation was a compromise to fix the broken situations while keeping the maintainer happy.

NNattyNarwhal 2021-03-12 · hidden on GitHub github

I seem to no longer be able to open Spelunky 2. It had worked without issues on 5.13 previously, but today when I launch it, I see the running status in Steam, but I don't see any process open.

My system info and the log from it are here: https://gist.github.com/NattyNarwhal/359bab5e80aa236fb1cf90fc032a8d2c

Kkisak-valve maintainer 2021-03-12 · hidden on GitHub github

Hello @NattyNarwhal, can you recall what patch version of Proton 5.13 or approximately how long ago you know the game was working with Proton 5.13?

NNattyNarwhal 2021-03-12 · hidden on GitHub github

Yesterday, which is weird as I don't remember any updates to Proton or Steam, and I haven't applied any updates in the meantime (except a PHP update, but that shouldn't affect anything).

Kkisak-valve maintainer 2021-03-12 · hidden on GitHub github

Looking at your system information, Steam thinks you have a healthy system, Steam Linux Runtime - Soldier is from February, and Proton 5.13's most recent update was 4 weeks ago. Whatever snafu you've encountered is something more subtle and not from a regression in Proton.

Blind guess that a reboot might get it going again.

NNattyNarwhal 2021-03-12 · hidden on GitHub github

I noticed I'm having issues with other games, so I'll have to agree with you there. I'll reboot and see how it goes.

NNattyNarwhal 2021-03-12 github

Ah, I just tried restarting Steam and that resolved it. Sorry for wasting your time forgetting to try the obvious here, though I'm curious why it broke.

Kkisak-valve maintainer 2021-12-31 github

[Spelunky 2] Crashes when the Switch Pro controller config is loaded

Issue transferred from https://github.com/ValveSoftware/Proton/issues/5462.
@Munzu posted on 2021-12-31T14:31:06:

Compatibility Report

  • Name of the game with compatibility issues: Spelunky 2
  • Steam AppID of the game: 418530

System Information

  • GPU: GeForce GTX 970
  • Driver/LLVM version: nvidia 495.46
  • Kernel version: 5.15.12-arch1-1
  • Link to full system information report as Gist:
  • Proton version: Experimental, 6.3-8

I confirm:

  • [x] that I haven't found an existing compatibility report for this game.
  • [x] that I have checked whether there are updates for my system available.

steam-418530.log

Symptoms

Game crashes when the Switch Pro controller config is loaded

Reproduction

  1. Plug in Switch Pro controller via USB
  2. Enable "Switch Pro Configuration Support" in Steam's controller settings.
  3. Launch Spelunky 2
  4. Game crashes when controller config is loaded.

This does not happen with my wired Xbox One controller.

Not sure how relevant but I have following setups as per Arch Wiki:

My Switch Pro controller works for other titles such as Hollow Knight, Super Meat Boy, and The Talos Principle.

Kkisak-valve maintainer 2021-12-31 github

Minor note that the instruction to manually add that udev rule looks outdated. That udev line has been part of the set bundled with Steam for about 2 years https://github.com/ValveSoftware/steam-devices/commit/57fe06f8187151fe6a8323db6807c863a3c8a6cc.

Cchrisevett 2022-05-19 · hidden on GitHub github

Spelunky 2 recently stopped working for me, I was initially running it on proton 7.0-2 but also tested today on experimental. I get a pop up that says the following

Renderer error. DirectX11 feature level 11.0 is required. max supported by adapter 0 is unknown

Heres a gist with my system info and the proton log https://gist.github.com/chrisevett/3d2195e84daa535556c2fb583a5cc188

Kkisak-valve maintainer 2022-05-19 · hidden on GitHub github

Hello @chrisevett, the "vkCreateDevice (renderer->physical_device, &createInfo, NULL, &renderer->device) failed: ERROR_INITIALIZATION_FAILED (-3)" lines in your system information hints that the Vulkan render paths are broken on your system, but it's not immediately clear how or why this has happened. DXVK is also seeing the video driver.

Cchrisevett 2022-05-19 · hidden on GitHub github

Hello @chrisevett, the "vkCreateDevice (renderer->physical_device, &createInfo, NULL, &renderer->device) failed: ERROR_INITIALIZATION_FAILED (-3)" lines in your system information hints that the Vulkan render paths are broken on your system, but it's not immediately clear how or why this has happened. DXVK is also seeing the video driver.

Thanks for the quick reply. I ran updates and rebooted and looks like things are working now. I believe there was a steam update yesterday that might have broken those paths.

JJonathing 2024-12-14 · hidden on GitHub github

Good afternoon. Up until the release of Proton 9.0-4, this game was running fine. However something changed so that Spelunky 2 stutters frequently during gameplay, which didn't happen with Proton 9.0-3e. I don't have a good way to test it though since I don't know how to get older versions of Proton (different minor version of the same major version).

JJonathing 2024-12-29 · hidden on GitHub github

Original comment (https://github.com/ValveSoftware/Proton/issues/4230#issuecomment-2543195820) which I've hidden as off-topic:

Good afternoon. Up until the release of Proton 9.0-4, this game was running fine. However something changed so that Spelunky 2 stutters frequently during gameplay, which didn't happen with Proton 9.0-3e.

It looks like this isn't an issue with Proton, but actually my GPU overheating. It started almost immediately after a Proton update, so I misattributed it to that. Remember to check your PC setups folks!