Help with Star Citizen

I’m trying to get Star Citizen to work under Linux and if everything goes fine, I’ll release an installer for it. However, I am currently stuck as the error messages are not exactly clear. I’m using:

  1. KDE Neon x86_64 16.04
  2. Wine staging-3.12-x86_64
  3. DXVK 0.61
  4. NVidia GTX 1080 with driver 390.67
  5. Lutris 0.4.18

I followed all the instructions I found and installed the following in the wine prefix using winetricks:

d3dx11_43
corefonts
vulkanrnt
vc2013
vc2017

both d3dx_11_43 and dxgi were set to native. Used DXVK_FAKE_DX10_SUPPORT=1 environment variable. The game window appears for 2 seconds before quitting. I tried to lookup the errors below but I’m kinda lost. Not even sure which one is the cause of the crash, is it 0029:err:hid_report:process_hid_report ? Any help appreciated!

WARNING  2018-07-14 15:49:02,581 [application]:This version of Gtk doesn't support set_option_context_summary
INFO     2018-07-14 15:49:06,689 [lutriswindow]:Connected to lutris.net as knro
DEBUG    2018-07-14 15:49:06,695 [api]:Fetching game library
DEBUG    2018-07-14 15:49:06,785 [steam]:Watching Steam folder /home/jasem/.steam/steam/steamapps
DEBUG    2018-07-14 15:49:06,785 [steam]:Watching Steam folder /games/SteamLibrary/steamapps
DEBUG    2018-07-14 15:49:06,785 [steam]:Watching Steam folder /evo/SteamLibrary/steamapps
gtk-update-icon-cache: The generated cache was invalid.
DEBUG    2018-07-14 15:49:15,101 [lutriswindow]:Updated images for 2 games
DEBUG    2018-07-14 15:49:46,941 [config]:Saving config LutrisConfig(level=game, game_config_id=star-citizen-1531518499, runner=wine)
INFO     2018-07-14 15:49:54,610 [runner]:Runtime disabled by system configuration
INFO     2018-07-14 15:49:55,066 [dxvk]:Replacing /evo/lutris/StartCitizen/drive_c/windows/syswow64/dxgi with DXVK version
INFO     2018-07-14 15:49:55,066 [dxvk]:Copy from /home/jasem/.local/share/lutris/runtime/dxvk/0.61/x32/dxgi.dll to /evo/lutris/StartCitizen/drive_c/windows/syswow64/dxgi.dll
INFO     2018-07-14 15:49:55,068 [dxvk]:Replacing /evo/lutris/StartCitizen/drive_c/windows/syswow64/d3d11 with DXVK version
INFO     2018-07-14 15:49:55,068 [dxvk]:Copy from /home/jasem/.local/share/lutris/runtime/dxvk/0.61/x32/d3d11.dll to /evo/lutris/StartCitizen/drive_c/windows/syswow64/d3d11.dll
INFO     2018-07-14 15:49:55,069 [dxvk]:Replacing /evo/lutris/StartCitizen/drive_c/windows/system32/dxgi with DXVK version
INFO     2018-07-14 15:49:55,069 [dxvk]:Copy from /home/jasem/.local/share/lutris/runtime/dxvk/0.61/x64/dxgi.dll to /evo/lutris/StartCitizen/drive_c/windows/system32/dxgi.dll
INFO     2018-07-14 15:49:55,071 [dxvk]:Replacing /evo/lutris/StartCitizen/drive_c/windows/system32/d3d11 with DXVK version
INFO     2018-07-14 15:49:55,071 [dxvk]:Copy from /home/jasem/.local/share/lutris/runtime/dxvk/0.61/x64/d3d11.dll to /evo/lutris/StartCitizen/drive_c/windows/system32/d3d11.dll
INFO     2018-07-14 15:49:55,072 [runner]:Runtime disabled by system configuration
DEBUG    2018-07-14 15:49:55,073 [game]:Launching Star Citizen: {'command': ['/home/jasem/.local/share/lutris/runners/wine/staging-3.12-x86_64/bin/wine', '/evo/lutris/StartCitizen/drive_c/Program Files/RSI/StarCitizen/LIVE/Bin64/StarCitizen.exe'], 'env': {'': '', 'WINE': '/home/jasem/.local/share/lutris/runners/wine/staging-3.12-x86_64/bin/wine', 'WINEDEBUG': '', 'DXVK_FAKE_DX10_SUPPORT': '1', 'WINEDLLOVERRIDES': 'd3d11,dxgi=n', 'WINEPREFIX': '/evo/lutris/StartCitizen', 'DRI_PRIME': '0', 'WINEARCH': 'win64'}}
DEBUG    2018-07-14 15:49:55,073 [thread]:Command env: SDL_VIDEO_FULLSCREEN_DISPLAY="off" ="" DXVK_FAKE_DX10_SUPPORT="1" DRI_PRIME="0" WINEDLLOVERRIDES="d3d11,dxgi=n" WINE="/home/jasem/.local/share/lutris/runners/wine/staging-3.12-x86_64/bin/wine" WINEDEBUG="" WINEPREFIX="/evo/lutris/StartCitizen" WINEARCH="win64" 
DEBUG    2018-07-14 15:49:55,073 [thread]:Running command: "/home/jasem/.local/share/lutris/runners/wine/staging-3.12-x86_64/bin/wine" "/evo/lutris/StartCitizen/drive_c/Program Files/RSI/StarCitizen/LIVE/Bin64/StarCitizen.exe"
DEBUG    2018-07-14 15:49:55,074 [thread]:Storing environment variable SDL_VIDEO_FULLSCREEN_DISPLAY to off
DEBUG    2018-07-14 15:49:55,074 [thread]:Storing environment variable  to 
DEBUG    2018-07-14 15:49:55,074 [thread]:Storing environment variable DXVK_FAKE_DX10_SUPPORT to 1
DEBUG    2018-07-14 15:49:55,074 [thread]:Storing environment variable DRI_PRIME to 0
DEBUG    2018-07-14 15:49:55,074 [thread]:Storing environment variable WINEDLLOVERRIDES to d3d11,dxgi=n
DEBUG    2018-07-14 15:49:55,074 [thread]:Storing environment variable WINE to /home/jasem/.local/share/lutris/runners/wine/staging-3.12-x86_64/bin/wine
DEBUG    2018-07-14 15:49:55,074 [thread]:Storing environment variable WINEDEBUG to 
DEBUG    2018-07-14 15:49:55,074 [thread]:Storing environment variable WINEPREFIX to /evo/lutris/StartCitizen
DEBUG    2018-07-14 15:49:55,074 [thread]:Storing environment variable WINEARCH to win64
000b:fixme:winediag:start_process Wine Staging 3.12 is a testing version containing experimental patches.
000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
0029:err:hid_report:process_hid_report Device reports coming in too fast, last report not read yet!
0029:err:hid_report:process_hid_report Device reports coming in too fast, last report not read yet!
0029:err:hid_report:process_hid_report Device reports coming in too fast, last report not read yet!
0029:err:hid_report:process_hid_report Device reports coming in too fast, last report not read yet!
0033:fixme:ver:GetCurrentPackageId (0x49e3fda0 (nil)): stub
DEBUG    2018-07-14 15:49:57,353 [thread]:Start process monitoring
DEBUG    2018-07-14 15:49:57,353 [thread]:Processes excluded: wineserver (17469:S)
DEBUG    2018-07-14 15:49:57,353 [thread]:Processes monitored: StarCitizen.exe (17466:R), StarCitizen.exe (17466:R)
0019:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d1400 (device=2d access=0 func=500 method=0)
0019:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d1400 (device=2d access=0 func=500 method=0)
002f:fixme:kerberos:kerberos_SpInstanceInit 65536,0x7fd674ceb7a0,(nil): stub
0051:fixme:win:RegisterDeviceNotificationW (hwnd=0x10066, filter=0x7fd621b9fbc0,flags=0x00000004) returns a fake device notification handle!
DEBUG    2018-07-14 15:49:59,385 [thread]:Processes excluded: wineserver (17469:R)
DEBUG    2018-07-14 15:49:59,386 [thread]:Processes monitored: StarCitizen.exe (17466:S), StarCitizen.exe (17466:S)
DEBUG    2018-07-14 15:50:01,405 [thread]:Processes excluded: wineserver (17469:S)
DEBUG    2018-07-14 15:50:03,377 [thread]:Processes monitored: StarCitizen.exe (17466:Z)
DEBUG    2018-07-14 15:50:05,374 [thread]:Waiting for processes to exit
DEBUG    2018-07-14 15:50:05,374 [thread]:Thread is no longer running
DEBUG    2018-07-14 15:50:05,374 [thread]:Restoring environment
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/lutris/thread.py", line 383, in watch_children
    self.restore_environment()
  File "/usr/lib/python3/dist-packages/lutris/thread.py", line 225, in restore_environment
    del os.environ[key]
  File "/usr/lib/python3.5/os.py", line 736, in __delitem__
    self.unsetenv(encodedkey)
OSError: [Errno 22] Invalid argument
DEBUG    2018-07-14 15:50:07,079 [game]:Game thread stopped
DEBUG    2018-07-14 15:50:07,080 [game]:Game thread still running, stopping it (state: running)
DEBUG    2018-07-14 15:50:07,081 [game]:Star Citizen stopped at Sat, 14 Jul 2018 15:50:07
INFO     2018-07-14 15:50:07,082 [runner]:Runtime disabled by system configuration
DEBUG    2018-07-14 15:50:07,354 [wine]:Killing all wine processes: ['/home/jasem/.local/share/lutris/runners/wine/staging-3.12-x86_64/bin/wineserver', '-k']
DEBUG    2018-07-14 15:50:07,354 [wine]:        Wine prefix: /evo/lutris/StartCitizen
DEBUG    2018-07-14 15:50:07,355 [wine]:        Wine arch: win64
DEBUG    2018-07-14 15:50:07,357 [wine]:Waiting for wine processes to terminate
DEBUG    2018-07-14 15:50:07,357 [thread]:Restoring environment
ERROR    2018-07-14 15:50:07,357 [jobs]:Error while completing task <bound method LutrisThread.stop of <LutrisThread(Thread-8, stopped daemon 140007022286592)>>: [Errno 22] Invalid argument
<class 'OSError'> [Errno 22] Invalid argument
  File "/usr/lib/python3/dist-packages/lutris/util/jobs.py", line 29, in target
    result = self.function(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/lutris/thread.py", line 242, in stop
    self.restore_environment()
  File "/usr/lib/python3/dist-packages/lutris/thread.py", line 225, in restore_environment
    del os.environ[key]
  File "/usr/lib/python3.5/os.py", line 736, in __delitem__
    self.unsetenv(encodedkey)

Just a couple insights from my previous problems.

  • Your NVidia drivers are incompatible with the newest release of DXVK. From their page:

Recommended driver version: 396.24.10 (396.24.0 will not work)

Please take a look at this first because, although some games may work under that version, I solved the problems of two other users with 1050ti and 1060ti just by helping them update their video drivers to that or superior

  • There’s a lot of PYTHON errors in your log. Usually, Python erros come from Lutris itself. There’s a lot of threading errors inside. For debugging’s sake, try running the game in single core mode and see if you get more errors
  • Instead of using that environment variable for a fake DX10 environment, take a look at DXUP. As far as I know, it’s a way to “upgrade” DX10 to DX11 and then apply DXVK.
  • Lastly, does your game run with no DXVK at all, firstly? I know some 64-bit clients simply DON’T work without DXVK, but I think you should try building things one by one and try fixing problems with these workarounds, instead of throwing them right away because “they’re good”.
1 Like

Thanks for the suggestions. I was trying to run the game directly without the launcher which would not have been possible anyway. So I went with the launcher and it runs fine and was able to download the first patch of the game. When the launcher tries to download more, it failed. Here is the error log:

004f:warn:winsock:wsaErrno errno 101, (Network is unreachable).
004f:warn:winsock:WS2_recv_base  -> ERROR 10035
004f:warn:winsock:WS2_recv_base  -> ERROR 10035
004f:warn:winsock:WS2_recv_base  -> ERROR 10035
[18:38:03.954] [info] Installing Star Citizen LIVE 3.2.0-live.796019 at C:\Program Files\Roberts Space Industries\StarCitizen
[18:38:03.957] [info] FORCING PATCHER DOWNLOAD: false
[18:38:03.958] [info] Starting delta update (SC (LIVE 3.2.0-live.796019) in C:\Program Files\Roberts Space Industries\StarCitizen
00ac:fixme:file:SetFileInformationByHandle 0x500, 12, 0x2296d340, 4
[18:38:03.972] [info] Error installing at C:\Program Files\Roberts Space Industries\StarCitizen\LIVE: Error: ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������X
004f:warn:winsock:WS2_recv_base  -> ERROR 10035
004f:warn:winsock:WS2_recv_base  -> ERROR 10035
0039:warn:winsock:wsaErrno errno 115, (Operation now in progress).
0039:warn:winsock:wsaErrno errno 115, (Operation now in progress).
0039:warn:winsock:wsaErrno errno 115, (Operation now in progress).
0039:warn:winsock:wsaErrno errno 115, (Operation now in progress).
0075:warn:ntdll:NtQueryFullAttributesFile L"\\??\\C:\\users\\jasem\\Application Data\\rsilauncher\\Cookies-wal" not found (c0000034)

Looks like it’s making specific NTFS calls while I have this installed on an ext4 partition, so is this an issue? What’s with the L"\?? paths ?

Funny that that ONE part bugged you most. What bugged me most was :

[info] Error installing at C:\Program Files\Roberts Space Industries\StarCitizen\LIVE: Error: ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������X

First things first. Network is unreachable seems like one problem, since ou’re trying to run a launcher. I also don’t get

FORCING PATCHER DOWNLOAD: false

is that ok?
It would also be good to understood those ERROR 10035 messages…

The L"?? lines may be wine workarounds. L"path" is usually meant to identify "L"ibraries paths in compilers…

I couldn’t identify your said “NTFS calls while in ext4 partition” errors, because I’d suppose Wine shouldn’t care about your filesystem, as long as it’s readable by your OS.

I checked this issue on APPDB and your reports point to the Patcher being a nuisance. That was also a problem with Warframe, and somehow this person could bypass the patcher with his own script, calling the provided game tools.

Please check this other person’s reports on APPDB to see if you can replicate their progress! They have a twitch link there, so maybe you can find more contacts there.