ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
23.87k stars 1.04k forks source link

S&box (590830) #4940

Open matty45 opened 3 years ago

matty45 commented 3 years ago

Compatibility Report

System Information

I confirm:

steam-590830.log

Symptoms

Game launches fine but multiplayer does not work at all.

Reproduction

Launch the game and try to connect to server either via the console or using the find game feature.

matty45 commented 3 years ago

Update: Changed Proton version to 6.5-5 and game runs fine now, however cannot connect to anyone in multiplayer. Game uses steam p2p.

kisak-valve commented 3 years ago

Hello @matty45, can you also share a Proton log with Proton 6.3 and trying to use multiplayer?

matty45 commented 3 years ago

Hello @matty45, can you also share a Proton log with Proton 6.3 and trying to use multiplayer?

steam-590830.zip @kisak-valve

kisak-valve commented 3 years ago

Thanks, possible line of interest from the log: err:steamclient:create_win_interface Don't recognize interface name: STEAMTV_INTERFACE_V001

We've seen that before with Half-Life:Alyx, but the lack of the interface didn't have a substantial effect on the game. I have my doubts that it's a good hint here as well.

jas0n098 commented 3 years ago

The lack of STEAMTV_INTERFACE_V001 is what's causing this. The game calls SteamInternal_FindOrCreateUserInterface on this interface, which fails, making the game print CNetworkSystem::Init() m_SteamAPIContextClient.Init ( ) failed (no Steam?). This results in Steam's P2P feature not functioning and thus breaking multiplayer.

Creekie1337 commented 2 years ago

For whatever reason I am not even able to start a game (singeplayer - 1 player), the game just crashes. Main menu works and renders fine so I'm not sure what the issue is. RX 570, Proton 6.3-6.

steam-590830.zip

kisak-valve commented 2 years ago

Hello @MilkGames, these look like some lines of interest from the log:

err:steamclient:create_win_interface Don't recognize interface name: STEAMREMOTESTORAGE_INTERFACE_VERSION016

err:steamclient:create_win_interface Don't recognize interface name: SteamInput005

Assertion failed: func, file ../src-wine/dlls/dbghelp/symbol.c, line 397

kisak-valve commented 2 years ago

ec16f4c5c93607aa4ccf784b7a57d579d496b87b looks like it adds those interfaces. Please retest with Proton Experimental.

Creekie1337 commented 2 years ago

Confirmed fixed on Proton Experimental, multiplayer and singleplayer both work fine.

xDShot commented 2 years ago

Doesn't start steam-590830.log

xDShot commented 2 years ago

nwm, re-verifying proton experimental cache and reoving compat data fixed

Okxa commented 2 years ago

Seems to get stuck at the facepunch logo. With proton experimental.

Log has atleast these sort of things:

12590.693:0128:01f8:trace:seh:NtQueryInformationThread (0xfffffffffffffffe,12,0xdb9afd8c,4,(nil))
12592.217:0128:02e8:err:ntdll:RtlpWaitForCriticalSection section 0000000104630618 "?" wait timed out in thread 02e8, blocked by 02dc, retrying (60 sec)

full log:

steam-590830.log

mastopgunaf commented 2 years ago

The game doesn't launch, it gets stuck on the Facepuch logo for me too. I'm using Proton Experimental. Verified Proton's file integrity and deleted the compatdata folder. I also noticed that it sometimes produces a much larger log (>100MB in size) because it goes into an infinite loop somewhere. Most of the time though it gets stuck on RtlpWaitForCriticalSection timeout:

13607.924:0030:0048:trace:seh:NtQueryInformationThread (0xfffffffffffffffe,12,0x1a1fd8c,4,(nil))
13607.928:0030:00e0:trace:seh:NtQueryInformationThread (0xfffffffffffffffe,12,0x4a9fd8c,4,(nil))
13607.928:00d4:00f8:trace:seh:NtQueryInformationThread (0xfffffffffffffffe,12,0x2c4fd8c,4,(nil))
13608.620:010c:0150:trace:seh:NtQueryInformationThread (0xfffffffffffffffe,12,0xbeaffd8c,4,(nil))
13608.620:010c:0154:trace:seh:NtQueryInformationThread (0xfffffffffffffffe,12,0xc041fd8c,4,(nil))
13608.620:010c:0158:trace:seh:NtQueryInformationThread (0xfffffffffffffffe,12,0xc052fd8c,4,(nil))
13608.620:010c:015c:trace:seh:NtQueryInformationThread (0xfffffffffffffffe,12,0xc063fd8c,4,(nil))
13608.620:010c:014c:trace:seh:NtQueryInformationThread (0xfffffffffffffffe,12,0xbe9efd8c,4,(nil))
13608.634:010c:0160:trace:seh:NtQueryInformationThread (0xfffffffffffffffe,12,0xc1f5fd8c,4,(nil))
13608.638:010c:0164:trace:seh:NtQueryInformationThread (0xfffffffffffffffe,12,0xc3b0fd8c,4,(nil))
13608.649:010c:0168:trace:seh:NtQueryInformationThread (0xfffffffffffffffe,12,0xc570fd8c,4,(nil))
13608.660:010c:016c:trace:seh:NtQueryInformationThread (0xfffffffffffffffe,12,0xc730fd8c,4,(nil))
13608.686:010c:0170:trace:seh:NtQueryInformationThread (0xfffffffffffffffe,12,0xc9f2fd8c,4,(nil))
13608.690:010c:0174:trace:seh:NtQueryInformationThread (0xfffffffffffffffe,12,0xca03fd8c,4,(nil))
13608.707:010c:0178:trace:seh:NtQueryInformationThread (0xfffffffffffffffe,12,0xca14fd8c,4,(nil))
13608.733:010c:017c:trace:seh:NtQueryInformationThread (0xfffffffffffffffe,12,0xca25fd8c,4,(nil))
13610.297:010c:026c:err:ntdll:RtlpWaitForCriticalSection section 000000012A680618 "?" wait timed out in thread 026c, blocked by 0274, retrying (60 sec)
13610.297:010c:0248:err:ntdll:RtlpWaitForCriticalSection section 000000012A680618 "?" wait timed out in thread 0248, blocked by 0274, retrying (60 sec)
13610.297:010c:0254:err:ntdll:RtlpWaitForCriticalSection section 000000012A680618 "?" wait timed out in thread 0254, blocked by 0274, retrying (60 sec)
13610.297:010c:01a0:err:ntdll:RtlpWaitForCriticalSection section 000000012A680618 "?" wait timed out in thread 01a0, blocked by 0274, retrying (60 sec)
13610.297:010c:01a4:err:ntdll:RtlpWaitForCriticalSection section 000000012A680618 "?" wait timed out in thread 01a4, blocked by 0274, retrying (60 sec)
13610.297:010c:0244:err:ntdll:RtlpWaitForCriticalSection section 000000012A680618 "?" wait timed out in thread 0244, blocked by 0274, retrying (60 sec)
13610.297:010c:0260:err:ntdll:RtlpWaitForCriticalSection section 000000012A680618 "?" wait timed out in thread 0260, blocked by 0274, retrying (60 sec)
13610.297:010c:0270:err:ntdll:RtlpWaitForCriticalSection section 000000012A680618 "?" wait timed out in thread 0270, blocked by 0274, retrying (60 sec)
13610.297:010c:0194:err:ntdll:RtlpWaitForCriticalSection section 00000000BBE304D8 "?" wait timed out in thread 0194, blocked by 0148, retrying (60 sec)

Full log: steam-590830.log

Kernel version: 5.13.19_1

alasky17 commented 2 years ago

Hi folks - the crashing/hangs should be fixed with the latest experimental release (experimental-6.3-20211027). Please report back on this thread (with logs) if you continue to get consistent hanging or crashes :)
Pinging everyone who commented since there aren't that many - @mastopgunaf @Okxa @xDShot @MilkGames @jas0n098 @matty45

Creekie1337 commented 2 years ago

Looks like it works fine for me.

mitsuruu commented 2 years ago

After an update to the game today, running under Experimental seems to crash the game instantly upon loading any maps/gamemodes. If you run into an SSL error when connecting, change the Windows version in the prefix to Windows 7, as the default Windows 10 seems to cause those issues.

ShadowBrian commented 2 years ago

Doesn't seem to be working on the Steam Deck as of today, getting API errors likely related to SSL, no idea how to "change the windows version prefix" on deck, assuming that'd even fix it

Edit: got it working thanks to someone on the S&Box discord, so in the end I needed to install "protontricks", set the game to compatibility mode (proton experimental), run it in desktop mode (which generates all the required files), and execute flatpak run --branch=stable com.github.Matoking.protontricks 590830 win7 with it all installed on the main drive. Linux is great you guys....

SupinePandora43 commented 2 years ago

S&Box editor doesn't have any access to files other than required to run.

alasky17 commented 2 years ago

@ShadowBrian @Cameron-Stuart and anyone else - the most recent experimental update should have fixed all of the SSL errors with win10 prefixes. I would greatly appreciate it if y'all could switch the prefix back to win10 and let me know if you are still seeing any SSL errors when trying to load into various games etc.

mitsuruu commented 2 years ago

@ShadowBrian @Cameron-Stuart and anyone else - the most recent experimental update should have fixed all of the SSL errors with win10 prefixes. I would greatly appreciate it if y'all could switch the prefix back to win10 and let me know if you are still seeing any SSL errors when trying to load into various games etc.

I've updated to Proton Experimental about 5 minutes ago and started with a fresh prefix, and managed to get it working. It still shows the SSL errors, but the content itself loads. Not sure exactly what's actually erroring out, but as you can see it's loading the list of gamemodes and it also lets me download content and load into games.#

image

ShadowBrian commented 2 years ago

Works flawlessly on experimental for me, no SSL issues or errors at all. Only thing coming up in the console is "unknown command or convar 'tcmd' !" which I doubt is a proton issue.

5FB5 commented 2 years ago

Log for my problem posted above by matt Log.log

jas0n098 commented 2 years ago

Log for my problem posted above by matt Log.log

Install protontricks and run protontricks 590830 d3dcompiler_47 to work around it until wine's own d3dcompiler_47 is fixed.

5FB5 commented 2 years ago

Log for my problem posted above by matt Log.log

Install protontricks and run protontricks 590830 d3dcompiler_47 to work around it until wine's own d3dcompiler_47 is fixed.

It helps launch the game, but it crashes on loading

Updated log: Log.log

Weldify commented 2 years ago

The game doesn't launch for me. Experimental - steam-590830-experimental.log 7.0-3 - steam-590830-7.0-3.log

SupinePandora43 commented 2 years ago

How to allow full filesystem access?

kisak-valve commented 2 years ago

Hello @SupinePandora43, see the discussion on https://github.com/ValveSoftware/steam-runtime/issues/470.

5FB5 commented 2 years ago

Well, now it works on a different game mods

CrezyDud commented 2 years ago

it only crashes on sanbox servers; S& Blox, spire and tf2 work fine Heres my log Log.log

CrezyDud commented 2 years ago

(may be because of rendering, since it sends information to the server fine)

Deritak commented 2 years ago

Looking at konsole when protontricks launches S&box there are errors that appear like: 03e8:fixme:system:EnableNonClientDpiScaling (0000000000020186): stub

they manifest in-game on console as:

 11:30:27   [1]  Hang detected.
 11:30:49   [2]  couldn't query interface ID3DUserDefinedAnnotation - you probably need to update windows
 11:30:51   QtCriticalMsg: EnableNonClientDpiScaling() failed for HWND 0x201a0 (120) (Call not implemented.)

and lag spikes.

5FB5 commented 2 years ago

it only crashes on sanbox servers; S& Blox, spire and tf2 work fine Heres my log Log.log

For me it crashes only if I choose construct map

CrezyDud commented 2 years ago

it may be construct map rendering, since it only crashes after it said "ready to play" after 1 second (when it would hide the loading screen)

and everybody can see you joined (means it connected you successfully)

CrezyDud commented 2 years ago

Looking at konsole when protontricks launches S&box there are errors that appear like: 03e8:fixme:system:EnableNonClientDpiScaling (0000000000020186): stub

they manifest in-game on console as:

 11:30:27   [1]  Hang detected.
 11:30:49   [2]  couldn't query interface ID3DUserDefinedAnnotation - you probably need to update windows
 11:30:51   QtCriticalMsg: EnableNonClientDpiScaling() failed for HWND 0x201a0 (120) (Call not implemented.)

and lag spikes.

EnableNonClientDpiScaling not so important

and lag spikes is shader compilation (when they finished compiling, the lags stop, but the only compile when you would see them, so kinda crappy)

BBQGiraffe commented 2 years ago

the game window does not align with the rest of the tools, if the game is not fullscreen it disappears entirely(or sometimes it just disappears at random), I am also getting the EnableNonClientDpiScaling error as well but I don't believe it's related, if I hover over the window on my toolbar the game window appears until I move my mouse again image image image image

unusualcrow commented 2 years ago

Neither the game nor tools seems to be launching consistently for me - sometimes it works, sometimes it freezes partway through start. Here's a log from a failed startup (did not run with tools, using protontricks fix)

steam-590830.log

OS: Arch Linux, kernel 5.18.15-arch1-2 GPU: RTX 3080 Driver: nvidia 515.57-11 CPU: AMD Ryzen 3700X

CrezyDud commented 2 years ago

unicycle frenzy (caused by map) (should be same error as construct but may not be) wine crashlog: message(1).txt

Kaydax commented 1 year ago

Game works perfectly fine out of the box using Proton Experimental [bleeding-edge], however not all maps work. When launching a map like flatgrass, the game will work perfectly fine, but when loading into a map like Construct it throws an error of: ../src-wine/dlls/ntdll/unix/virtual.c:1442: create_view: Assertion !((UINT_PTR)base & page_mask)' failed.

I've talked with 2 other people, one with an AMD GPU and one with a RTX 3060, and only the person with the RTX 3060 had the same error. We have a hunch this might be a nvidia only error, but more testing to prove that is needed

Log (Zipped because of size): steam-590830.zip

OS: Manjaro Linux x86_64 Kernel: 6.0.0-1-MANJARO GPU: NVIDIA GeForce GTX 1660 Ti Driver: Nvidia 515.76 CPU: AMD Ryzen 7 5800X

Kaydax commented 1 year ago

Replying to https://github.com/ValveSoftware/Proton/issues/4940#issuecomment-1272434750

I can also confirm that using the fix mentioned in #4690 does not fix the issue, so more testing is needed

alasky17 commented 1 year ago

@Kaydax Could you give explicit instructions on how to get to one of the broken maps?

Kaydax commented 1 year ago

@alasky17 Launch the game, goto any gamemode (like sandbox), create a lobby, goto the lobby settings and change the map to construct or office, and start the gamemode. As soon as it says Ready to play, it will just crash with the error I stated above. I've tested with working maps and it does not give the same error

gwhizoftv commented 1 year ago

Replying to https://github.com/ValveSoftware/Proton/issues/4940#issuecomment-1274771881

This looks like a normal page fault. Based on the other post about a fault in a “reserved area” maybe it is program data instead of alloced.

glitchybunny commented 1 year ago

The tools are working for me when using Proton Hotfix.

Regarding the crash when trying to load construct, I think it might be related to shader issues, since it only occurs on some maps but not others.

Running the sbox tools and using either the material browser or hammer to search for a glass material will crash the game and show the following at the end of the log:

2022/10/24 20:14:59.246 Engine  Shader compilation failed! Reported the following errors:
:1:93: E5000: syntax error, unexpected KW_TEXTURE2DMS   
2022/10/24 20:14:59.246 Engine  error creating resolve shader for 4 sampels 

Here's the full log Log.log

I suspect this material/shader error may be what causes maps like construct to crash, and why maps like flatgrass work fine.

OS: EndeavourOS Linux x86_64 Kernel: 6.0.2-arch1-1 CPU: AMD Ryzen 7 3700X (16) @ 3.600GHz GPU: AMD ATI Radeon RX 5700 XT

Kaydax commented 1 year ago

New issue introduced making the game partially unplayable. S&box recently updated to .net 7, which this change has seem to caused the game to use a different networking system for the main menu and the likes, causing this error to be thrown: The type initializer for 'System.Net.Quic.MsQuicApi' threw an exception.

It seems proton / wine currently doesn't support or has issues with this new .net 7 api

AJuujarvi commented 1 year ago

@Kaydax I definitely experience some sort of issue similar to this, where I cannot join any games or actively search for any. I'm not finding that error be thrown up anywhere however, including in some logs I made. I am not super familiar with this game, are there any particular steps to get that error?

Kaydax commented 1 year ago

@AJuujarvi I just launched the game and it thrown the error in its dev console

Kaydax commented 1 year ago

New issue introduced making the game partially unplayable. S&box recently updated to .net 7, which this change has seem to caused the game to use a different networking system for the main menu and the likes, causing this error to be thrown: The type initializer for 'System.Net.Quic.MsQuicApi' threw an exception.

It seems proton / wine currently doesn't support or has issues with this new .net 7 api

Discovered by someone on the s&box discord: If you delete / rename the file in the games directory: /bin/win64/net/msquic.dll It fixes the issues and gamemodes and servers show up again. Not sure why this happens but from what the person said it is because of HTTP3 support in .net 7's HttpClient

5FB5 commented 1 year ago

Replying to https://github.com/ValveSoftware/Proton/issues/4940#issuecomment-1345467053

Yep, it fixes the problem

LAUAR1 commented 1 year ago

Replying to https://github.com/ValveSoftware/Proton/issues/4940#issuecomment-1272434750

I have the same issue on an AMD GPU. It might be a stack overflow?

BenCantCode commented 1 year ago

As an alternative to deleting msquic.dll, setting the DOTNET_SYSTEM_NET_HTTP_SOCKETSHTTPHANDLER_HTTP3SUPPORT=0 environment variable in launch options fixes network requests.