protonscr

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

protonopen appid 6060Game compatibility
ValveSoftware/Proton#1165 · opened 2018-09-02 by bastafidli · updated 2022-02-18 · 5 comments · github · game page · search this game
Bbastafidli 2018-09-02 github

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$

Kkisak-valve maintainer 2018-09-02 github

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.

Bbastafidli 2018-09-05 github

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

  • This is system used by 4 users.
  • Each user has its own linux account and own steam account.
  • This is system used as a multiseat. It has 3 seats (3 graphics cards, 3 keyboards, 3 mice).
  • The behavior is consistent regardless of seat (it is not seat dependent), The same behavior is consistent for each user regardless of which seat the user logs in.
  • The users have each their own .steam directory but they share the "steamapps" directory to save space on the system as we have more than 600 games with size more than 4TB, so in this case they all share the deployment of the game
    miro@DESKTOP:~$ ls -al ~/.steam/steam
    ...
    lrwxrwxrwx 1 miro miro 15 Apr 27 2016 steamapps -> /game/steamapps
    ...
  • This behaviour also occurs if each user has its own installation of the game in ~/Games/ (it seems that they still share the deployment of Proton
Wwenzler 2018-10-19 github

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:

Pphil294 2022-02-14 github

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.

Pphil294 2022-02-18 github

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.

Nothing extracted yet.