Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CrossCode (368340) #2818

Open
2 tasks done
ghost opened this issue Jun 17, 2019 · 9 comments
Open
2 tasks done

CrossCode (368340) #2818

ghost opened this issue Jun 17, 2019 · 9 comments
Labels
Game compatibility - Unofficial Games not expected to work without issues

Comments

@ghost
Copy link

ghost commented Jun 17, 2019

Compatibility Report

  • Name of the game with compatibility issues: CrossCode
  • Steam AppID of the game: 368340

System Information

I confirm:

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

crosscode-3.16-4-steam-368340.log
crosscode-4.2-7-steam-368340.log

Symptoms

Possible regression(s) in Proton 4.2-7 as it has far more trouble starting the game than 3.16-4. In the best case with Proton 3.16-4, the game runs and plays but then shortly (within 2 minutes or so) closes the game window and continues to stay running in Steam until process is manually ended.

Logs contain far too many fixme's and files not found. Too many errors.

4.2-7 also may need a start from the terminal but complains about missing openvrpaths.vrpath file which creating one (non-empty internet search for contents) may have improved starting of game (but still worse than 3.16-4).

Reproduction

Install and then play

@kisak-valve kisak-valve added the Game compatibility - Unofficial Games not expected to work without issues label Jun 17, 2019
@kisak-valve kisak-valve changed the title CrossCode CrossCode (368340) Jun 17, 2019
@Leopard1907
Copy link

That game has a native Linux version available on Steam.

@ghost
Copy link
Author

ghost commented Jun 23, 2019

That game has a native Linux version available on Steam.

It shows various problems that exist in Wine/Proton which is why I made the post - its better to know than to not know.

If this reasoning fails to float your boat then I really can't do much about that. Either way, I also agree that its native so as of this moment in time its not a great big deal.

However, the version of Proton that does work for a brief moment also seems to fix a fairly bad problem that the native version has and nothing else I can find does and so in this case Proton would be better than native which is also something that happens if you need additional reasoning beyond the above. Proton has its problems but then so does native :-)

@ghost
Copy link
Author

ghost commented Jul 17, 2019

Proton 4.2-9 log (start Steam and game from terminal) as additional reference.

steam-368340.log

@ghost
Copy link
Author

ghost commented Jul 31, 2019

4.11-1 possible regression, game can no longer even start by Proton defaults:

VK_ERROR_OUT_OF_DATE_KHR

Possibly then

[0730/210652.174:ERROR:http_transport_win.cc(175)] WinHttpCrackUrl: error 0x13d while retrieving error 0x2ee6

steam-368340.log (4.11-1 no command line options)

Seemingly pointless workaround PROTON_USE_WINED3D=1 (game still fails to start)

steam-368340.log (wined3d)

@Scrumplex
Copy link

Scrumplex commented Jul 22, 2022

Valve's Steam Deck testing decided to use Proton for this game, instead of the native Linux release. While this fixes the issue of Steam achievements not working with the native version, it introduced severe stuttering, which makes fast-paced games like this hard, if not annoying.

Trying to tell Steam, that I don't want Proton is pretty hard. Switching the game to use Steam Linux Runtime causes it to crash with this error:

/home/deck/.local/share/Steam/steamapps/common/CrossCode/CrossCode: symbol lookup error: /home/deck/.local/share/Steam/steamapps/common/CrossCode/lib/libnw.so: undefined symbol: cupsEnumDests

As a workaround, I copied libcups.so from the rootfs to CrossCode/lib which allowed me to launch the game. But now controller input didn't work at all.

So in summary, Proton launches and plays fine, but causes severe stuttering, Steam Linux Runtime launches, is smooth, but doesn't support controller input.

My final workaround was, to trick Steam into using no compatibility tool at all.
I did that by writing my own compatibility tool, that just launches the game as is, without anything fancy.
So for anyone having this problem, just download this very simple compatibility tool and extract it to ~/.steam/steam/compatibilitytools.d/. Then, in Steam, you can tell Steam to force the compatibility tool called "None" for the game.

Edit: I created a GitHub repo for this compatibility tool: https://github.com/Scrumplex/Steam-Play-None

@Pluckerpluck
Copy link

@Scrumplex THANK YOU! I was having this same issue. The game would crash exactly 6 minutes after launch (and I do mean exactly),

I wanted to just run it native, but the steam deck doesn't have an option for that (which is absolutely insane to me). Your "fake" compatibility tool is just perfect.

Valve really needs to add this option as base, allowing Proton to just be disabled if desired.

@TheDukeofErl
Copy link

That game has a native Linux version available on Steam.

It's worth nothing that if you're using NVIDIA hardware Proton is your only option for fullscreen. The native version of the game simply doesn't work in fullscreen whatsoever: it results in a not-so-rendered small rectangular region in the top left of the screen and full transparency everywhere else. I guess maybe someday it would be possible to use Gamescope to deal with this but right now using NVIDIA hinders that as an option as well.

You're more or less stuck with either windowed mode in native or poor, stuttery performance with Proton.

@hitsounds
Copy link

hitsounds commented Dec 27, 2022

That game has a native Linux version available on Steam.

It's worth nothing that if you're using NVIDIA hardware Proton is your only option for fullscreen. The native version of the game simply doesn't work in fullscreen whatsoever: it results in a not-so-rendered small rectangular region in the top left of the screen and full transparency everywhere else. I guess maybe someday it would be possible to use Gamescope to deal with this but right now using NVIDIA hinders that as an option as well.

You're more or less stuck with either windowed mode in native or poor, stuttery performance with Proton.

You can fix this issue with a command line flag.

If you are using wayland the flags --enable-features=UseOzonePlatform --ozone-platform=wayland make the game run as a native wayland application and fixes the aforementioned nvidia fullscreen bug.

If using xwayland (and presumably this would work on X11) I've found either --use-angle=vulkan or --use-gl=egl to fix the fullscreen bug.

@TheDukeofErl
Copy link

If using xwayland (and presumably this would work on X11) I've found either --use-angle=vulkan or --use-gl=egl to fix the fullscreen bug.

I can confirm that --use-angle=vulkan fixes the fullscreen bug for me with NVIDIA hardware!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Game compatibility - Unofficial Games not expected to work without issues
Projects
None yet
Development

No branches or pull requests

6 participants