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:
- KDE Neon x86_64 16.04
- Wine staging-3.12-x86_64
- DXVK 0.61
- NVidia GTX 1080 with driver 390.67
- 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)