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

Illegal instruction, core dumped #1691

Open DoctorApparatus opened 4 years ago

DoctorApparatus commented 4 years ago

When starting Dota in the newest Ubuntu version I get this in my logs. ERROR: ld.so: object '/home/doctorapparatus/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. crash_20191128140556_1.dmp[4310]: Uploading dump (out-of-process) /tmp/dumps/crash_20191128140556_1.dmp

Adding process 4309 for game ID 570 /home/doctorapparatus/.local/share/Steam/steamapps/common/dota 2 beta/game/dota.sh: line 104: 4260 Illegal instruction (core dumped) ${STEAM_RUNTIME_PREFIX} ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"

Dota 2 logo shows up for a few seconds then it crahes.

kisak-valve commented 4 years ago

Hello @DoctorApparatus, please copy your system information from Steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report.

DoctorApparatus commented 4 years ago

https://gist.github.com/DoctorApparatus/a9328259825d788487c5affed5f4212d

kisak-valve commented 4 years ago

Thanks, VMware, Inc. llvmpipe (LLVM 8.0, 128 bits) in your system info indicates there's a bigger issue to resolve first. It is mesa's faster software renderer and tells us that you're not using any video card to accelerate graphics.

DoctorApparatus commented 4 years ago

https://gist.github.com/DoctorApparatus/0988ac445c1e42382f172dc66e35c3d1

Installed Nvidia Drivers ( The VMWare was just a fragment from some GPU passthrough testing ) and the same issues remains.

DoctorApparatus commented 4 years ago

But have an additional error message now: LoadSystemAndDependencies(): CAppSystemDict:Unable to load module client ( Dependency of application ), error 2

Check the integrity of the local files and did a full reinstall with no change.

Found also this in the error log:

Adding process 8167 for game ID 570 failed to dlopen "/home/doctorapparatus/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so" error=/home/doctorapparatus/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so: cannot open shared object file: No such file or directory failed to dlopen "librendersystemvulkan.so" error=librendersystemvulkan.so: cannot open shared object file: No such file or directory

kisak-valve commented 4 years ago

Maybe the game is trying to use the Vulkan render path without the Vulkan DLC installed? You can override the in-game video setting by adding -gl to the game's launch options.

DoctorApparatus commented 4 years ago

Tried that. Still getting the illegal instruction message

Also this one which I don't know if it's relevant. ERROR: ld.so: object '/home/doctorapparatus/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.

DoctorApparatus commented 4 years ago

Further testing got me this: https://gist.github.com/DoctorApparatus/dca99e8bc534c5da8ff4472f3f69b546

Game file integrity checked multiple times of course.

kisak-valve commented 4 years ago

libudev.so.0 and libpng12.so.0 are libraries that should be provided by the Steam runtime. Are you trying to run the game from outside of Steam? If you are, please use <steam install folder>/ubuntu12_32/steam-runtime/run.sh ./dota2.sh to run the game in a similar environment as when it is launched from Steam.

DoctorApparatus commented 4 years ago

I just used the dota startup script for debugging. libpng12 was missing apparently which got removed from Ubuntu I think after 16.04? But don't quote me on that. Manually installing it didn't help either. Used ldd to find the missing .so files.

When launching from within steam the error messages are beyond unusable to be fair. More verbose error messages would make a lot of things easier.

Got this one now. Can't tell if that's a red herring or not because of all the junk in Steams logs.

Event System loaded 96 events from file: vpk:/home/doctorapparatus/.local/share/Steam/steamapps/common/dota 2 beta/game/core/pak01.vpk:resource/core.gameevents. Event System loaded 245 events from file: vpk:/home/doctorapparatus/.local/share/Steam/steamapps/common/dota 2 beta/game/dota/pak01.vpk:resource/game.gameevents. Event System loaded 1 events from file: vpk:/home/doctorapparatus/.local/share/Steam/steamapps/common/dota 2 beta/game/dota/pak01.vpk:./resource/port.gameevents. Unknown Ability Target Flag Value: DOTA_UNIT_TARGET_FLAG_DEAD! No minidump written, nothing to upload. /home/doctorapparatus/.local/share/Steam/steamapps/common/dota 2 beta/game/dota.sh: line 104: 2425 Illegal instruction (core dumped) ${STEAM_RUNTIME_PREFIX} ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"

DoctorApparatus commented 4 years ago

If needed I can open up a guest ssh session which could make things a lot easier on your side

DoctorApparatus commented 4 years ago

What I noticed when starting the game is that the cursor ( probably a png file ) doesn't get changed to the Dota 2 Cursor Icon which could be in fact a problem with the libpng library or just another red herring.