[Solved] Help with Subnautica/Epic Store on nvidia optimus (ArchLinux)

Hi everybody
I’m new to the forum, first of all thank you for all the work this project seems very promising

I need some help with running Subnautica (the epic store version) on linux. I have installed it trough lutris and started it but it tells me there is a problem with my GPU:

Screenshot

Screenshot_2019-02-26_11-01-13

That’s what i see in the log:

Log
LogICUInternationalization: Display: ICU TimeZone Detection - Raw Offset: +1:00, Platform Override: ''
LogWindowsTextInputMethodSystem: Error: Initialization failed while advising the profile notification sink to the TSF source.  (0x80004001)
info:  Game: EpicGamesLauncher.exe
info:  DXVK: v1.0
warn:  OpenVR: Failed to locate module
info:  Enabled instance extensions:
info:    VK_KHR_get_physical_device_properties2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
Xlib:  extension "NV-GLX" missing on display ":0.0".
err:   DxvkInstance::createInstance: Failed to create Vulkan instance
err:   D3D11CreateDevice: Failed to create a DXGI factory
LogHttp: Warning: 06A71820: request failed, libcurl error: 27 (Out of memory)
LogHttp: Warning: 06A71820: libcurl info message cache 0 (  Trying 54.85.16.28...)
LogHttp: Warning: 06A71820: libcurl info message cache 1 (TCP_NODELAY set)
LogHttp: Warning: 06A71820: libcurl info message cache 2 (Connected to datarouter.ol.epicgames.com (54.85.16.28) port 443 (#0))
LogHttp: Warning: 06A71820: libcurl info message cache 3 (SSL: couldn't create a context: error:140A90F1:lib(20):func(169):reason(241))
LogHttp: Warning: 06A71820: libcurl info message cache 4 (Closing connection 0)
LogICUInternationalization: Display: ICU TimeZone Detection - Raw Offset: +1:00, Platform Override: ''
ICU TimeZone Detection - Raw Offset: +1:00, Platform Override: ''
Slate User Destroyed.  User Index 0, Is Virtual User: 0
Running /home/wellsaid/.local/share/lutris/runners/wine/tkg-unity-4.1-x86_64/bin/wine /home/wellsaid/Games/subnautica/drive_c/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.exe -SkipBuildPatchPrereq

I think the problem comes from the use of DXVK to run Epic Store Launcher, since i’ve tried to instal it to and the same thing happens.

I am on archlinux with an optimus laptop (Nvidia GeForce 950M and Intel Core i7-6700HQ). I have xfce started with startx or nvidia-xrun based on which GPU i want to use. This error happens in both cases.

Nvidia packages installed:

  • lib32-nvidia-utils 418.43-2
  • nvidia 418.43-3
  • nvidia-settings 418.43-1
  • nvidia-utils 418.43-2
  • nvidia-xrun 0.3-0

Vulkan packages installed:

  • lib32-vulkan-icd-loader 1.1.101-1
  • vulkan-icd-loader 1.1.101-1
  • vulkan-intel 18.3.4-1

Plus i have all dependencies of the wine-staging package installed.

Just noticed that if i disable DXVK in lutris and launch, it starts! After the epic store launches and patches I can re-eanble DXVK and it works…

Trying to download the game and i let you know :wink:

UPDATE: Ok now the game starts even with DXVK enabled :smiley: