ValveSoftware / Proton

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

Star Wars Battlefront 2 (2005) doesnt start from GUI but does from command line (6060) #1165

Open bastafidli opened 6 years ago

bastafidli commented 6 years ago

When I click Play in GUI, the game never starts. When I run it in command line it runs correctly.

miro@DESKTOP:~$ cd /game/steamapps/common/Star\ Wars\ Battlefront\ II/GameData/ miro@DESKTOP:/game/steamapps/common/Star Wars Battlefront II/GameData$ ~/.steam/steam/steamapps/common/Proton\ 3.7/dist/bin/wine BattlefrontII.exe wine: cannot find L"C:\windows\system32\winemenubuilder.exe" 000b:err:wineboot:ProcessRunKeys Error running cmd L"C:\windows\system32\winemenubuilder.exe -a -r" (2) 0025:err:module:load_builtin_dll failed to load .so lib for builtin L"winebus.sys": libudev.so.0: cannot open shared object file: No such file or directory 0025:err:winedevice:async_create_driver failed to create driver L"WineBus": c0000142 000f:fixme:service:scmdatabase_autostart_services Auto-start service L"WineBus" failed to start: 31 0009:err:winediag:gnutls_initialize failed to load libgnutls, no support for encryption 0009:fixme:ver:GetCurrentPackageId (0x23eddb8 (nil)): stub 0009:err:module:load_library somehow failed to load steamclient 0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x166478, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8A8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub! 0009:err:ole:CoGetClassObject class {ef985e71-d5c7-42d4-ba4d-2d073e2e96f4} not registered 0009:err:ole:CoGetClassObject class {ef985e71-d5c7-42d4-ba4d-2d073e2e96f4} not registered 0009:err:ole:CoGetClassObject no class object {ef985e71-d5c7-42d4-ba4d-2d073e2e96f4} could be created for context 0x3 0030:fixme:d3d_shader:print_glsl_info_log Info log received from GLSL shader #6: 0030:fixme:d3d_shader:print_glsl_info_log Vertex info 0030:fixme:d3d_shader:print_glsl_info_log ----------- 0030:fixme:d3d_shader:print_glsl_info_log 0(21) : warning C7050: "vs_out[1]" might be used before being initialized 0030:fixme:d3d_shader:print_glsl_info_log 0(21) : warning C7050: "vs_out[2]" might be used before being initialized 0030:fixme:d3d_shader:print_glsl_info_log 0(21) : warning C7050: "vs_out[3]" might be used before being initialized 0030:fixme:d3d_shader:print_glsl_info_log 0(21) : warning C7050: "vs_out[4]" might be used before being initialized 0030:fixme:d3d_shader:print_glsl_info_log 0(21) : warning C7050: "vs_out[5]" might be used before being initialized 0030:fixme:d3d_shader:print_glsl_info_log 0(21) : warning C7050: "vs_out[6]" might be used before being initialized 0030:fixme:d3d_shader:print_glsl_info_log 0(21) : warning C7050: "vs_out[7]" might be used before being initialized 0030:fixme:d3d_shader:print_glsl_info_log 0(21) : warning C7050: "vs_out[8]" might be used before being initialized 0030:fixme:d3d_shader:print_glsl_info_log 0(21) : warning C7050: "vs_out[9]" might be used before being initialized 0030:fixme:d3d_shader:print_glsl_info_log 0(21) : warning C7050: "vs_out[11]" might be used before being initialized 0009:fixme:msvcrt:__clean_type_info_names_internal (0x1042603c) stub miro@DESKTOP:/game/steamapps/common/Star Wars Battlefront II/GameData$

kisak-valve commented 6 years ago

Hello @bastafidli, 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.

bastafidli commented 6 years ago

The gist is here https://gist.github.com/bastafidli/2814d3388915963997689b2bb658aa19 Couple more information about the system as the gist doesn't reflect it.

wenzler commented 5 years ago

Almost same with 3.7 and 3.16 for me yet menu works and on game join crash with identical messages This used to work fine until 12.10.2018

export LD_LIBRARY_PATH=/home/wenzler/.local/share/Steam/ubuntu12_32
wenzler@oberon:/games/Steam/steamapps/common/Star Wars Battlefront II/GameData$ /games/Steam/steamapps/common/Proton\ 3.16/dist/bin/wine BattlefrontII.exe
wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
000b:err:wineboot:ProcessRunKeys Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2)
0021:err:module:load_builtin_dll failed to load .so lib for builtin L"winebus.sys": libudev.so.0: cannot open shared object file: No such file or directory
0021:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\WineBus": c0000142
0014:err:service:process_send_command service protocol error - failed to write pipe!
000f:fixme:service:scmdatabase_autostart_services Auto-start service L"WineBus" failed to start: 1114
0009:err:winediag:gnutls_initialize failed to load libgnutls, no support for encryption
0009:fixme:ver:GetCurrentPackageId (0x23eddb8 (nil)): stub
0009:err:module:load_library somehow failed to load steamclient
0009:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x167eb8, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8A8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0009:err:ole:CoGetClassObject class {ef985e71-d5c7-42d4-ba4d-2d073e2e96f4} not registered
0009:err:ole:CoGetClassObject class {ef985e71-d5c7-42d4-ba4d-2d073e2e96f4} not registered
0009:err:ole:CoGetClassObject no class object {ef985e71-d5c7-42d4-ba4d-2d073e2e96f4} could be created for context 0x3
002c:fixme:d3d_shader:print_glsl_info_log Info log received from GLSL shader #6:
002c:fixme:d3d_shader:print_glsl_info_log     Vertex info
002c:fixme:d3d_shader:print_glsl_info_log     -----------
002c:fixme:d3d_shader:print_glsl_info_log     0(23) : warning C7050: "vs_out[1]" might be used before being initialized
002c:fixme:d3d_shader:print_glsl_info_log     0(23) : warning C7050: "vs_out[2]" might be used before being initialized
002c:fixme:d3d_shader:print_glsl_info_log     0(23) : warning C7050: "vs_out[3]" might be used before being initialized
002c:fixme:d3d_shader:print_glsl_info_log     0(23) : warning C7050: "vs_out[4]" might be used before being initialized
002c:fixme:d3d_shader:print_glsl_info_log     0(23) : warning C7050: "vs_out[5]" might be used before being initialized
002c:fixme:d3d_shader:print_glsl_info_log     0(23) : warning C7050: "vs_out[6]" might be used before being initialized
002c:fixme:d3d_shader:print_glsl_info_log     0(23) : warning C7050: "vs_out[7]" might be used before being initialized
002c:fixme:d3d_shader:print_glsl_info_log     0(23) : warning C7050: "vs_out[8]" might be used before being initialized
002c:fixme:d3d_shader:print_glsl_info_log     0(23) : warning C7050: "vs_out[9]" might be used before being initialized
002c:fixme:d3d_shader:print_glsl_info_log     0(23) : warning C7050: "vs_out[11]" might be used before being initialized
0009:err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found: width=1280 height=960 bpp=32 (NoRes)
0009:fixme:msvcrt:__clean_type_info_names_internal (0x1042603c) stub

sysinfo

Computer Information:
    Manufacturer:  Unknown
    Model:  Unknown
    Form Factor: Desktop
    No Touch Input Detected

Processor Information:
    CPU Vendor:  AuthenticAMD
    CPU Brand:  AMD Ryzen 7 1800X Eight-Core Processor         
    CPU Family:  0x17
    CPU Model:  0x1
    CPU Stepping:  0x1
    CPU Type:  0x0
    Speed:  4000 Mhz
    16 logical processors
    8 physical processors
    HyperThreading:  Supported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Supported
    SSE41:  Supported
    SSE42:  Supported
    AES:  Supported
    AVX:  Supported
    CMPXCHG16B:  Supported
    LAHF/SAHF:  Supported
    PrefetchW:  Unsupported

Operating System Version:
    Ubuntu 18.04.1 LTS (64 bit)
    Kernel Name:  Linux
    Kernel Version:  4.15.0-36-generic
    X Server Vendor:  The X.Org Foundation
    X Server Release:  11906000
    X Window Manager:  Openbox
    Steam Runtime Version:  steam-runtime-beta-release_2018-09-03

Video Card:
    Driver:  NVIDIA Corporation GeForce GTX 1080 Ti/PCIe/SSE2
    Driver Version:  4.6.0 NVIDIA 396.54
    OpenGL Version: 4.6
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 59 Hz
    VendorID:  0x10de
    DeviceID:  0x1b06
    Revision Not Detected
    Number of Monitors:  1
    Number of Logical Video Cards:  1
    Primary Display Resolution:  2560 x 1600
    Desktop Resolution: 2560 x 1600
    Primary Display Size: 25.24" x 15.75" (29.72" diag)
                                            64.1cm x 40.0cm (75.5cm diag)
    Primary Bus: PCI Express 16x
    Primary VRAM: 11264 MB
    Supported MSAA Modes:  2x 4x 8x 16x 

Sound card:
    Audio device: Nvidia GPU 82 HDMI/DP

Memory:
    RAM:  16038 Mb

Miscellaneous:
    UI Language:  English
    LANG:  en_US.UTF-8
    Total Hard Disk Space Available:  984054 Mb
    Largest Free Hard Disk Block:  535768 Mb
    VR Headset: None detected

Recent Failure Reports:
phil294 commented 2 years ago

If it helps solving, I am experiencing the same issue with NVIDIA GeForce GTX 950M/PCIe/SSE2 / linux54-nvidia-510.47.03-1, but it does not crash (it starts from Gui!) with Intel integrated GPU! (I am switching between those using optimus-manager / bbswitch). I am also pretty sure this already worked with the Nvidia GPU in earlier times. Starting via command line always works, but then the profile is not synced, you're not logged in and cannot join online servers. But if you also set wine dll paths etc. as described in https://www.reddit.com/r/SteamPlay/comments/9atr2r/comment/e4ylykd/?utm_source=reddit&utm_medium=web2x&context=3, even launching via command line will fail as in gui.

phil294 commented 2 years ago

I now somehow got to the point where Steam spins up a wineserver that eats up the entire ram available, eventually crashing the system (#5218). This is with Proton version experimental, but it happens even without ever starting any game, simply by opening up steam. Steam also never closes again, it always needs to be SIGKILLed. Really weird stuff. I now have to wait a bit, do pkill wineserver and pkill explorer.exe on steam startup.

About the game / this issue itself again, I (after the above) tried out the other avialable proton versions and can confirm it used to work up to 4.11-13. Starting with 5.0, not anymore.