ValveSoftware / Dota-2

Tracker for issues specific to Linux and Mac in the Reborn client. If you have a general issue or non-system-specific feature request please go to dev.dota2.com
470 stars 38 forks source link

[Linux]: Game doesn't launch using primusrun %command% after last system update #1737

Open erfoon opened 4 years ago

erfoon commented 4 years ago

Your system information

Please describe your issue in as much detail as possible:

I always run Dota 2 using bumblebee by putting primusrun %command% in lunch options of the game. However, after last system update Dota doesn't launch anymore. If I remove the primusrun it does but with FPS 10 which is almost unplayable.

I tried to open the whole steam with primusrun but I get the famous fatal error: failed to load steamui.so manjaro

Steps for reproducing this issue:

  1. Update Manjaro
  2. Use Primus for launching Dota
  3. Game won't open
kisak-valve commented 4 years ago

Hello @erfoon, what video card / driver version are you using? If you're using an nVidia card that is supported by the 435+ driver series, then nVidia's prime render offloading is an option you could try with __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia %command% in the game's launch options.

erfoon commented 4 years ago

@kisak-valve thanks for response, I have a GM108M [GeForce 840M] graphic card with intel-nvidia-430xx-bumblebee driver. I set your suggestion in launch option and the result was this error: Failed to create an OpenGL context. Your graphics card must support at least OpenGL v3.1.

kisak-valve commented 4 years ago

Right, and the 430.xx driver series predates the newer method of render offloading.

erfoon commented 4 years ago

@kisak-valve So you don't have any workaround for that?