doitsujin / dxvk

Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
zlib License
12.43k stars 800 forks source link

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

Open BOTFerris opened 2 weeks ago

BOTFerris commented 2 weeks ago

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

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:

Blisto91 commented 2 weeks ago

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.