Hello @mikoff, this issue should be reported to your video driver vendor.
Hello @mikoff, this issue should be reported to your video driver vendor.
Hello @kisak-valve, I do not think that it is NVIDIA problem, because all the other apps are uploaded and processed by eGPU just fine. This problem exists only with steam.
And I have arguments supporting my point: if I switch Dota2 to OpenGL mode then Dota2 and steam are successfully uploaded to eGPU and processed here.
Please see the nvidia-smi output using Vulkan:

and compare with nvidia-smi output in OpenGL mode:

In OpenGL everything works as expected (offload to eGPU).
Since now OpenGL is not supported by Dota2, it is impossible to run Dota2 on external GPU if you have internal one.
Dota2 can not be offloaded to eGPU, while steam itself or any other application can
Your system information
Please describe your issue in as much detail as possible:
I have a laptop with:
I can successfully offload all the apps to eGPU (e.g.
glxgears) and see that the process is really processed on this (usingnvidia-smi, I see that the eGPU is actually loaded).However, it is not the case for
Dota2or other steam-games.They, nevertheless, are calculated on internal GPU of the laptop (MX150).
Steps for reproducing this issue:
Prepend the following parameters to the
Dota2or steam client:__NV_PRIME_RENDER_OFFLOAD=1 __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G1 __GLX_VENDOR_LIBRARY_NAME=nvidia %command%By doing so we say that we want our application to be uploaded to eGPU (
NVIDIA-G1in my case).Start
Dota2.Run
nvidia-smi, you will notice that the game is actually processed in "C+G" mode and offloaded to internal dedicated GPU (NVIDIA-G0, orMX150in my case), and not to eGPU.Note: to enable eGPU after driver install add the following line to
/usr/share/X11/xorg.conf.d/10-nvidia.conf: