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

Dota 2 in steam stopped working after Oibaf PPA installed in Ubuntu #1878

Open Tdejocks opened 3 years ago

Tdejocks commented 3 years ago

Your system information

Please describe your issue in as much detail as possible:

Hello Community,

I am having issues with Dota 2 not running in steam after I did a PPA graphics driver update in Ubuntu. The error I now get when trying to run Dota 2 in steam is: "Unable to find a valid Direct 3D device! Check that your graphics driver is working properly, and that you satisfy the minspecs pf the game you are playing."

The game was previously working fine in steam until I installed Oibaf PPA to get CS:GO working. I now am able to play CS:GO but Dota 2 stopped. I have tried a lot of different launch command lines and reinstalling Ubuntu's generic graphics driver, reinstalling Dota 2, but I am trying to avoid going down a rabbit hole on this one.

Any help that can be shared would be greatly appreciated!

Steps for reproducing this issue:

  1. Install Obiaf PPA in Ubuntu
  2. Launch Dota 2 in steam
  3. Error Message Appears
kisak-valve commented 3 years ago

Hello @Tdejocks, looking at your system information, it looks like mesa's software renderer, lavapipe, is getting used before your video card for the Vulkan render path. Can you test if temporarily disabling it with sudo mv /usr/share/vulkan/icd.d/lvp_icd.x86_64.json /usr/share/vulkan/icd.d/lvp_icd.x86_64.json.disabled has an effect?

Also, can you check if you're using the radeon or amdgpu kernel module? By default, the radeon kernel module is used, but it's not compatible with Vulkan. You could try following the instructions here for your Southern Island (SI) generation video card.

Tdejocks commented 3 years ago

Hello Kisak

It did work.... sort of.

I am now able to get Dota 2 to launch and there is no error, but right after the game logo comes up the screen stays black and I only have the Dota mouse pointer on the screen. nothing happens from there. any ideas why this would be happening now?

Thanks for all your help so far with this issue!

Tdejocks commented 3 years ago

UPDATE:

After following the instructions @kisak-valve posted and changing the steam compatibility tool setting to "Steam Runtime Linux" in Dota 2 game properties everything is now working.

I also have removed Vulkan with no adverse effect.

@kisak-valve Thank you for your time and expertise in solving this for me!