ValveSoftware / Proton

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

ws2_32.dll not found with NTFS involved #6448

Closed Walker-BJ99 closed 1 year ago

Walker-BJ99 commented 1 year ago

I wanted to play a Windows game on Steam, but for some reason it couldn't launch any games, meaning quitting immediately after a few seconds of launching. (Note: I was able to launch the game normally yesterday, but not at other times.) ) My hard drive is in NTFS format and has been set up according to the instructions in the wiki, and I have also tried switching to other Proton versions, but to no avail. System Information:

OS: Manjaro Linux x86_64 
Host: ASUS TUF Gaming F15 FX506HM_FX506HM 1.0 
Kernel: 6.1.1-1-MANJARO 
Uptime: 38 mins 
Packages: 1335 (pacman) 
Shell: zsh 5.9 
Resolution: 1920x1080 
DE: GNOME 43.2 
WM: Mutter 
WM Theme: CustomAccentColors 
Theme: Adw-dark [GTK2/3] 
Icons: Papirus-Dark-Maia [GTK2/3] 
Terminal: gnome-terminal 
CPU: 11th Gen Intel i7-11800H (16) @ 4.600GHz 
GPU: NVIDIA GeForce RTX 3060 Mobile / Max-Q 
GPU: Intel TigerLake-H GT1 [UHD Graphics] 
Memory: 5593MiB / 15737MiB 

Here is the console output and log when I tested Acceleration of SUGURI 2 (390710): Console output:

GameAction [AppID 390710, ActionID 4] : LaunchApp changed task to ProcessingInstallScript with ""
fsync: up and running.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
GameAction [AppID 390710, ActionID 4] : LaunchApp changed task to SynchronizingCloud with ""
GameAction [AppID 390710, ActionID 4] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 390710, ActionID 4] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 390710, ActionID 4] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 390710, ActionID 4] : LaunchApp continues with user response "CreatingProcess"
/bin/sh\0-c\0PROTON_LOG=1 /home/bj99/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=390710 -- /home/bj99/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/run/media/bj99/新加卷/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/run/media/bj99/新加卷/Steam/steamapps/common/Proton - Experimental'/proton waitforexitandrun  '/run/media/bj99/Elements/SteamLibrary/steamapps/common/Acceleration of SUGURI 2/aos2.exe'\0
Game process added : AppID 390710 "PROTON_LOG=1 /home/bj99/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=390710 -- /home/bj99/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/run/media/bj99/新加卷/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/run/media/bj99/新加卷/Steam/steamapps/common/Proton - Experimental'/proton waitforexitandrun  '/run/media/bj99/Elements/SteamLibrary/steamapps/common/Acceleration of SUGURI 2/aos2.exe'", ProcID 11184, IP 0.0.0.0:0
chdir /run/media/bj99/Elements/SteamLibrary/steamapps/common/Acceleration of SUGURI 2
ERROR: ld.so: object '/home/bj99/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/bj99/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/bj99/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/bj99/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/bj99/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/bj99/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 11188 != 11185, skipping destruction (fork without exec?)
GameAction [AppID 390710, ActionID 4] : LaunchApp changed task to WaitingGameWindow with ""
GameAction [AppID 390710, ActionID 4] : LaunchApp changed task to Completed with ""
Game process removed: AppID 390710 "PROTON_LOG=1 /home/bj99/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=390710 -- /home/bj99/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/run/media/bj99/新加卷/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/run/media/bj99/新加卷/Steam/steamapps/common/Proton - Experimental'/proton waitforexitandrun  '/run/media/bj99/Elements/SteamLibrary/steamapps/common/Acceleration of SUGURI 2/aos2.exe'", ProcID 11184 
ThreadGetProcessExitCode: no such process 11316
ThreadGetProcessExitCode: no such process 11313
ThreadGetProcessExitCode: no such process 11312
ThreadGetProcessExitCode: no such process 11311
ThreadGetProcessExitCode: no such process 11309
ThreadGetProcessExitCode: no such process 11308
ThreadGetProcessExitCode: no such process 11307
ThreadGetProcessExitCode: no such process 11186
ThreadGetProcessExitCode: no such process 11185
Uploaded AppInterfaceStats to Steam

(steam:8610): LIBDBUSMENU-GLIB-WARNING **: 15:07:26.590: Trying to remove a child that doesn't believe we're it's parent.

(steam:8610): LIBDBUSMENU-GLIB-WARNING **: 15:07:26.590: Trying to remove a child that doesn't believe we're it's parent.

(steam:8610): LIBDBUSMENU-GLIB-WARNING **: 15:07:26.591: Trying to remove a child that doesn't believe we're it's parent.

(steam:8610): LIBDBUSMENU-GLIB-WARNING **: 15:07:26.591: Trying to remove a child that doesn't believe we're it's parent.

(steam:8610): LIBDBUSMENU-GLIB-WARNING **: 15:07:26.591: Trying to remove a child that doesn't believe we're it's parent.

(steam:8610): LIBDBUSMENU-GLIB-WARNING **: 15:07:26.591: Trying to remove a child that doesn't believe we're it's parent.

(steam:8610): LIBDBUSMENU-GLIB-WARNING **: 15:07:26.591: Trying to remove a child that doesn't believe we're it's parent.

(steam:8610): LIBDBUSMENU-GLIB-WARNING **: 15:07:26.591: Trying to remove a child that doesn't believe we're it's parent.

(steam:8610): LIBDBUSMENU-GLIB-WARNING **: 15:07:26.591: Trying to remove a child that doesn't believe we're it's parent.

(steam:8610): LIBDBUSMENU-GLIB-WARNING **: 15:07:26.591: Trying to remove a child that doesn't believe we're it's parent.

(steam:8610): LIBDBUSMENU-GLIB-WARNING **: 15:07:26.591: Trying to remove a child that doesn't believe we're it's parent.

(steam:8610): LIBDBUSMENU-GLIB-WARNING **: 15:07:26.591: Trying to remove a child that doesn't believe we're it's parent.

(steam:8610): LIBDBUSMENU-GLIB-WARNING **: 15:07:26.591: Trying to remove a child that doesn't believe we're it's parent.

(steam:8610): LIBDBUSMENU-GLIB-WARNING **: 15:07:26.591: Trying to remove a child that doesn't believe we're it's parent.

(steam:8610): LIBDBUSMENU-GLIB-WARNING **: 15:07:26.591: Trying to remove a child that doesn't believe we're it's parent.

Log:

======================
Proton: 1672857942 experimental-7.0-20230104
SteamGameId: 390710
Command: ['/run/media/bj99/Elements/SteamLibrary/steamapps/common/Acceleration of SUGURI 2/aos2.exe']
Options: {'forcelgadd'}
depot: 0.20221018.74
pressure-vessel: 0.20221014.0
scripts: v0.20220823.0-0-gcc4e44f
soldier: 0.20221017.1 soldier 0.20221017.1
Kernel: Linux 6.1.1-1-MANJARO #1 SMP PREEMPT_DYNAMIC Wed Dec 21 23:21:50 UTC 2022 x86_64
======================
fsync: up and running.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
2021.611:0028:002c:trace:seh:install_bpf Installing seccomp filters.
2021.611:0028:002c:trace:seh:check_bpf_jit_enable enabled 0x31.
2021.612:0028:002c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\wineboot.exe" at 0000000140000000: builtin
2021.614:0028:002c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\kernelbase.dll" at 000000007B000000: builtin
2021.614:0028:002c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\kernel32.dll" at 000000007B600000: builtin
2021.616:0028:002c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\msvcrt.dll" at 00000001C8DB0000: builtin
2021.617:0028:002c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\ucrtbase.dll" at 00000003AF670000: builtin
2021.617:0028:002c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\sechost.dll" at 000000032A700000: builtin
2021.617:0028:002c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\advapi32.dll" at 0000000330260000: builtin
2021.619:0028:002c:err:module:import_dll Library ws2_32.dll (which is needed by L"C:\\windows\\system32\\wineboot.exe") not found
2021.619:0028:002c:err:module:LdrInitializeThunk Importing dlls for L"C:\\windows\\system32\\wineboot.exe" failed, status c0000135
2021.623:0020:0024:trace:seh:install_bpf Installing seccomp filters.
2021.623:0020:0024:trace:seh:check_bpf_jit_enable enabled 0x31.
2021.623:0020:0024:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\start.exe" at 0000000140000000: builtin
2021.625:0020:0024:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\kernelbase.dll" at 000000007B000000: builtin
2021.625:0020:0024:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\kernel32.dll" at 000000007B600000: builtin
2021.627:0020:0024:err:module:import_dll Library shell32.dll (which is needed by L"C:\\windows\\system32\\start.exe") not found
2021.628:0020:0024:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\ucrtbase.dll" at 00000003AF670000: builtin
2021.630:0020:0024:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\msvcrt.dll" at 00000001C8DB0000: builtin
2021.631:0020:0024:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\sechost.dll" at 000000032A700000: builtin
2021.631:0020:0024:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\advapi32.dll" at 0000000330260000: builtin
2021.632:0020:0024:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\gdi32.dll" at 000000026B4C0000: builtin
2021.634:0020:0024:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\rpcrt4.dll" at 0000000231AE0000: builtin
2021.635:0020:0024:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\version.dll" at 00000002F1FA0000: builtin
2021.635:0020:0024:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\setupapi.dll" at 000000021A7E0000: builtin
2021.635:0020:0024:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\user32.dll" at 000000023D820000: builtin
2021.635:0020:0024:err:module:LdrInitializeThunk Importing dlls for L"C:\\windows\\system32\\start.exe" failed, status c0000135
pid 11314 != 11313, skipping destruction (fork without exec?)
kisak-valve commented 1 year ago

Hello @Walker-BJ99, Proton interacting with NTFS is known to be finicky and the general recommendation is to use a Linux native filesystem with it. Blind guess that the default wineprefix is damaged from Proton being installed on a NTFS formatted Steam library folder.

Walker-BJ99 commented 1 year ago

Hello @Walker-BJ99, Proton interacting with NTFS is known to be finicky and the general recommendation is to use a Linux native filesystem with it. Blind guess that the default wineprefix is damaged from Proton being installed on a NTFS formatted Steam library folder.

What should I do? Move Proton to Linux native filesystem or another way?

rboxeur commented 1 year ago

Avoid to store your game you want to play on NTFS. Put it on a Linux

Remove entry your entered through Steam to launch your game Copy your Game on a Linux native filesystem ( the filesystem on which your Linux/Proton is installed should fine). "Acceleration of SUGURI 2" is only 2-3 GB to copy Then re-add your game into your Steam Games list

Walker-BJ99 commented 1 year ago

Remove entry your entered through Steam to launch your game Copy your Game on a Linux native filesystem ( the filesystem on which your Linux/Proton is installed should fine). "Acceleration of SUGURI 2" is only 2-3 GB to copy Then re-add your game into your Steam Games list

But I want to play same game on Linux and Windows,So I can't move game to Linux

Walker-BJ99 commented 1 year ago

@kisak-valve ,When I move Proton to Linux, The log no longer shows the above problem, but the game still won't start, and I find two Chinese at the end of the log (probably because my system language is Chinese):

无法启动程序,或者没有为指定文件关联应用程序。
ShellExecuteEx 失败: 找不到文件。

(Application could not be started, or no application associated with the specified file. ShellExecuteEx failed: File not found.)

Walker-BJ99 commented 1 year ago

Update: The game started normally after I tried reinstalling Proton, but I wasn't going to close the issue because I'm not quite sure if the issue was actually resolved.

Walker-BJ99 commented 1 year ago

Update: After a few days of testing, I was sure the issue was resolved and I decided to close the issue.