dxvk icon indicating copy to clipboard operation
dxvk copied to clipboard

Elite Dangerous initially uses dGPU, but then tries to use iGPU, preventing the game from launching

Open BOTFerris opened this issue 1 year ago • 2 comments

Please describe your issue as accurately as possible.

When launching the game (via Heroic), the game simply does not open. Using environment variable "VK_ICD_FILENAMES = /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/nvidia_icd.json" or "DXVK_FILTER_DEVICE_NAME=NVIDIA". This is due to DXVK initially using the dGPU, but then (as directly quoted by CommandMC, A contributor to Heroic.) "then for some reason the application creates another device (if that's the right term) and that for some reason uses your iGPU". The variables simply filters the "devices" to only use the dGPU, but that should happen automatically.

Software information

Elite Dangerous

System information

  • GPUs: GPU 0: Name: NVIDIA Corporation GA107M [GeForce RTX 3050 Mobile] IDs: D=25a5 V=10de SD=153a SV=1025 Driver: nvidia GPU 1: Name: Intel Corporation TigerLake-H GT1 [UHD Graphics] IDs: D=9a60 V=8086 SD=1539 SV=1025 Driver: i915
  • Wine version: Wine-GE-Proton8-26
  • DXVK version: v2.3.1

Apitrace file(s)

N/A

For instructions on how to use apitrace, see: https://github.com/doitsujin/dxvk/wiki/Using-Apitrace

Log files

Please attach Proton or Wine logs as a text file:

  • When using Proton, set the Steam launch options for your game to PROTON_LOG=1 %command% and attach the corresponding steam-xxxxx.log file in your home directory.
  • When using regular Wine, use wine game.exe > game.log 2>&1 and attach the resulting game.log file.

[WITHOUT]9c203b6ed35846e8a4a9ff1e314f6593-lastPlay.log [WITH VAR]9c203b6ed35846e8a4a9ff1e314f6593-lastPlay.log

BOTFerris avatar Jul 08 '24 21:07 BOTFerris

Just to make a small clarification. Dxvk just orders the list of GPUs presented to the game so that the dGPU is the first one listed, but a game can choose to use another one if it wants to.

Blisto91 avatar Jul 08 '24 21:07 Blisto91

Maybe this is worth retest on the latest master because of https://github.com/doitsujin/dxvk/pull/4212

artemyto avatar Aug 21 '24 02:08 artemyto

@BOTFerris Friendly ping

Blisto91 avatar Dec 22 '24 15:12 Blisto91

@BOTFerris Friendly ping

Il try again on a fresh install of the game.

BOTFerris avatar Dec 22 '24 15:12 BOTFerris

Same result with dxvk 2.5.2 NO VAR.log WITH VAR.log

BOTFerris avatar Dec 22 '24 15:12 BOTFerris