protonscr

winsock: Missing TCP_KEEP{ALIVE,CNT,INTVL} options.

wineclosed
ValveSoftware/wine#225 · opened 2024-03-23 by ProjectSynchro · updated 2026-01-16 · 5 comments · github
PProjectSynchro 2024-03-23 github

Hi,

I understand that this wouldn't effect any Steam games (at least to my knowledge) but in the latest RC for Star Citizen's RSI Launcher, the launcher fails to download files due to some missing IPPROTO_TCP options in winsock.

The particular fixme in the logs is: 00d8:fixme:winsock:setsockopt Unknown IPPROTO_TCP optname 0x00000003

I think the specific missing optname is TCP_KEEPALIVE, but I am unsure.

I found the merge request upstream that implements this: https://gitlab.winehq.org/wine/wine/-/merge_requests/5195

Could these commits get pulled into Valve's wine fork?

Cheers.

LLucyDemooon 2024-05-03 github

pls

BBananaWorks07 2024-05-03 github

Replying to https://github.com/ValveSoftware/wine/issues/225#issue-2203642183

if you know how could you please compile proton-tkg or proton with that patch included and see if it works?

PProjectSynchro 2024-05-03 github

Can confirm that the following merge-request includes all of the needed patches to get the RSI Launcher to work:
https://gitlab.winehq.org/wine/wine/-/merge_requests/5195

Ttimmy31113 2024-07-06 github

This does affect Steam games as well. ZUSI 3 (app ID 1040730) uses TCP sockets to communicate with an external process (that's the app ZusiDisplay mentioned in the merge request) for various rendered computer screens in game. Currently, on Proton 9.0-2 or Proton Experimental, all these screens are just black.

See the game specific issue thread over in the Proton repo:
https://github.com/ValveSoftware/Proton/issues/4462#issuecomment-1992518888

Player Eldomtom2 on ProtonDB reports that a self-compiled Proton using the upstream Wine sources after commit 8dc5242e does indeed fix those screens

PProjectSynchro 2026-01-16 github

This seems to have made it into upstream Wine, I haven't run into needing any patches applied as well. Going to close this unless someone else still needs it open

Proton versions

Upstream links