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
471 stars 38 forks source link

Fedora 34 - Dota2 crashes after logo when Xbox One controller is plugged in #1964

Open frankven2ra opened 3 years ago

frankven2ra commented 3 years ago

System base information

Symptom descripion

In order to produce measurable outputs i did the following

Crash dump: crash_20210721145023_1.zip

I tried adding these launch options: -vulkan, -gl, -novid, -32bit and (edit) -vulkan_disable_steam_shader_cache with the same result. Please tell me if and how I can provide further information.

kisak-valve commented 3 years ago

Hello @frankven2ra, Dota 2 is not intended to be run from outside the runtime environment provided by Steam. If you want to tinker from the command line, please use something like ~/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh ./dota.sh to give Dota 2 a similar environment as when it is launched from Steam.

For reference, the attached minidump is a SIGSEGV in libc-2.33.so coming from libpanorama.so.

frankven2ra commented 3 years ago

Hi @kisak-valve , the tinkering was made after the crash happened launching Dota from Steam as normal. I used your command ~/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh ./dota.sh and it gave a different output but same result. New dump here. crash_20210721151536_1.zip

Regarding your last point, I'm not so savvy so: do I have to fix something on my side?

Quickstick4 commented 3 years ago

EDIT: Disconnecting Xbox controller fixed the issue for me.

I am also having this issue.

Full system info: [No longer needed]

I quickly tested a few other linux native games and they are working as are proton games. On my system, seems specific to Dota 2.

I checked the tmp/dump file and it says the crash log has been uploaded (I assume several have as I tried to open it a few times); Wed Jul 21 16:24:34 2021 GMT: file ''/tmp/dumps/crash_20210721172423_1.dmp'', upload yes: ''CrashID=bp-a0bb97f8-4de2-4fed-8fab-1ef3d2210721''

Quickstick4 commented 3 years ago

Probably not related to OP's issue; But I forgot I had left my Xbox One controller plugged in. Once it was disconnected, Dota 2 started fine.

frankven2ra commented 3 years ago

Probably not related to OP's issue; But I forgot I had left my Xbox One controller plugged in. Once it was disconnected, Dota 2 started fine.

Dude what the flying f**k. I disconnected my Xbox One controller and it worked just like you. @kisak-valve is this a bug? I cannot unplug my controller everytime i want to enjoy a game of Dota... Shall I open a new thread?

grab-a-byte commented 3 years ago

This also happens on Pop!OS and Linux Mint. This may help as it seems to not be a distro specific issue.

broconut123 commented 3 years ago

This happen on latest Arch Linux. I'm just happy someone made this topic otherwise I don't think I would have figured out it was the XBOX controller(latest model) that insta crashed dota 2 after pressing play button. Might consider trying to fix this as it's a normal scenario to have a controller connected with cable to the desktop.

MichaelBurge commented 3 years ago

I also ran into this issue, using a PowerA Model 1506933-01 Xbox controller. DotA 2 crashes when started with it plugged in, on a fresh Ubuntu 21.04 Desktop LTS installation.

Here's my most recent crash log, I have about a dozen before I found this thread and unplugged my controller: crash_20211029024344_2.zip

kisak-valve commented 3 years ago

For reference, the attached minidump is a SIGSEGV in libc-2.31.so coming from libpanorama.so.

JoseEscobarBendezu commented 2 years ago

Any update? I have same problem ( dota2 crashes after logo) with fedora 36 (kde spin) and nacon pro compact ( xbox controller ).