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

Linux client exits after splash screen #2043

Open stitihaythem opened 2 years ago

stitihaythem commented 2 years ago

Your system information

* System information from steam : ``` Computer Information: Manufacturer: Micro-Star International Co., Ltd. Model: MS-16P5 Form Factor: Laptop No Touch Input Detected Processor Information: CPU Vendor: GenuineIntel CPU Brand: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz CPU Family: 0x6 CPU Model: 0x9e CPU Stepping: 0xa CPU Type: 0x0 Speed: 4100 Mhz 12 logical processors 6 physical processors HyperThreading: Supported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Unsupported SSE41: Supported SSE42: Supported AES: Supported AVX: Supported AVX2: Supported AVX512F: Unsupported AVX512PF: Unsupported AVX512ER: Unsupported AVX512CD: Unsupported AVX512VNNI: Unsupported SHA: Unsupported CMPXCHG16B: Supported LAHF/SAHF: Supported PrefetchW: Unsupported Operating System Version: Ubuntu 22.04 LTS (64 bit) Kernel Name: Linux Kernel Version: 5.15.0-27-generic X Server Vendor: The X.Org Foundation X Server Release: 12101003 X Window Manager: GNOME Shell Steam Runtime Version: steam-runtime_0.20220119.0 Video Card: Driver: NVIDIA Corporation NVIDIA GeForce GTX 1060/PCIe/SSE2 Driver Version: 4.6.0 NVIDIA 510.60.02 OpenGL Version: 4.6 Desktop Color Depth: 24 bits per pixel Monitor Refresh Rate: 60 Hz VendorID: 0x10de DeviceID: 0x1c20 Revision Not Detected Number of Monitors: 3 Number of Logical Video Cards: 2 Primary Display Resolution: 1920 x 1080 Desktop Resolution: 5760 x 1255 Primary Display Size: 18.74" x 10.55" (21.50" diag) 47.6cm x 26.8cm (54.6cm diag) Primary VRAM: 6144 MB Sound card: Audio device: Realtek ALC1220 Memory: RAM: 7794 MB VR Hardware: VR Headset: None detected Miscellaneous: UI Language: English LANG: en_US.UTF-8 Total Hard Disk Space Available: 937795 MB Largest Free Hard Disk Block: 813201 MB Storage: Number of SSDs: 0 Number of HDDs: 0 ```

Please describe your issue in as much detail as possible:

I launch the game from Steam. The valve logo appears afterwards the mouse cursor changes into the game cursor and a black screen appears. Few seconds later, the menu music starts but the game exits automatically and play button is again available on steam.

Steps for reproducing this issue:

  1. Run the game from steam on Ubuntu 22.04
  2. After the valve logo appears, the game exits
stitihaythem commented 2 years ago

How can test the OpenGL fix please?

rpayanm commented 2 years ago

I have the same issue on Pop OS 22.04. I tried with: -opengl -vulkan -autoconfigure -safe None worked.

rpayanm commented 2 years ago

This is the log before the crash:

If replaying just the application cache, make sure to replay together with the common cache, as application cache can depend on common cache.
Fossilize WARN: Referenced Pipeline layout 9c1715cdaa118249, but it does not exist.
This can be expected when replaying an archive from Steam.
If replaying just the application cache, make sure to replay together with the common cache, as application cache can depend on common cache.
crash_20220428172835_2.dmp[22906]: Uploading dump (out-of-process)
/tmp/dumps/crash_20220428172835_2.dmp
/home/rpm/.local/share/Steam/steamapps/common/dota 2 beta/game/dota.sh: line 109: 22648 Floating point exception(core dumped) ${STEAM_RUNTIME_PREFIX} ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"
crash_20220428172835_2.dmp[22906]: Finished uploading minidump (out-of-process): success = yes
crash_20220428172835_2.dmp[22906]: response: CrashID=bp-848f6f6f-8039-40b3-9658-67f3c2220428
crash_20220428172835_2.dmp[22906]: file ''/tmp/dumps/crash_20220428172835_2.dmp'', upload yes: ''CrashID=bp-848f6f6f-8039-40b3-9658-67f3c2220428''
pid 22906 != 22905, skipping destruction (fork without exec?)
Game process removed: AppID 570 "/home/rpm/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=570 -- '/home/rpm/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/rpm/.local/share/Steam/steamapps/common/SteamLinuxRuntime'/scout-on-soldier-entry-point-v2 --  '/home/rpm/.local/share/Steam/steamapps/common/dota 2 beta/game/dota.sh' +engine_experimental_drop_frame_ticks 1 +@panorama_min_comp_layer_dimension 0 -prewarm_panorama", ProcID 22648 
ThreadGetProcessExitCode: no such process 22905
ThreadGetProcessExitCode: no such process 22650
ThreadGetProcessExitCode: no such process 22649
ThreadGetProcessExitCode: no such process 22648
ThreadGetProcessExitCode: no such process 22647
ThreadGetProcessExitCode: no such process 22596
ThreadGetProcessExitCode: no such process 22438
ThreadGetProcessExitCode: no such process 22437
ThreadGetProcessExitCode: no such process 22436
Game 570 created interface STEAMAPPLIST_INTERFACE_VERSION001 / 
Game 570 created interface STEAMAPPS_INTERFACE_VERSION008 / 
Game 570 created interface STEAMCHAT_INTERFACE_VERSION003 / 
Game 570 created interface STEAMHTMLSURFACE_INTERFACE_VERSION_005 / 
Game 570 created interface STEAMHTTP_INTERFACE_VERSION003 / 
Game 570 created interface STEAMHTTP_INTERFACE_VERSION003 / HTTP
Game 570 created interface STEAMINVENTORY_INTERFACE_V003 / 
Game 570 created interface STEAMMUSICREMOTE_INTERFACE_VERSION001 / 
Game 570 created interface STEAMMUSIC_INTERFACE_VERSION001 / 
Game 570 created interface STEAMPARENTALSETTINGS_INTERFACE_VERSION001 / 
Game 570 created interface STEAMREMOTESTORAGE_INTERFACE_VERSION016 / 
Game 570 created interface STEAMSCREENSHOTS_INTERFACE_VERSION003 / 
Game 570 created interface STEAMUGC_INTERFACE_VERSION016 / 
Game 570 created interface STEAMUSERSTATS_INTERFACE_VERSION012 / 
Game 570 created interface STEAMVIDEO_INTERFACE_V002 / 
Game 570 created interface SteamAppDisableUpdate001 / 
Game 570 created interface SteamController008 / 
Game 570 created interface SteamFriends017 / 
Game 570 created interface SteamGameCoordinator001 / 
Game 570 created interface SteamInput005 / 
Game 570 created interface SteamMatchGameSearch001 / 
Game 570 created interface SteamMatchMaking009 / 
Game 570 created interface SteamMatchMakingServers002 / 
Game 570 created interface SteamNetworking006 / 
Game 570 created interface SteamNetworkingSocketsSerialized005 / 
Game 570 created interface SteamUser021 / 
Game 570 created interface SteamUser021 / User
Game 570 created interface SteamUtils010 / 
Game 570 created interface SteamUtils010 / Utils
Game 570 method call count for IClientNetworkingSocketsSerialized::GetSTUNServer : 2
Game 570 method call count for IClientNetworkingSocketsSerialized::GetCachedRelayTicket : 1
Game 570 method call count for IClientNetworkingSocketsSerialized::GetCachedRelayTicketCount : 1
Game 570 method call count for IClientNetworkingSocketsSerialized::GetCertAsync : 1
Game 570 method call count for IClientAppDisableUpdate::SetAppUpdateDisabledSecondsRemaining : 1
Game 570 method call count for IClientUGC::SetReturnLongDescription : 11
Game 570 method call count for IClientUGC::SetReturnKeyValueTags : 11
Game 570 method call count for IClientUGC::ReleaseQueryUGCRequest : 7
Game 570 method call count for IClientUGC::GetQueryUGCKeyValueTag : 461
Game 570 method call count for IClientUGC::GetQueryUGCNumKeyValueTags : 211
Game 570 method call count for IClientUGC::GetQueryUGCStatistic : 726
Game 570 method call count for IClientUGC::GetQueryUGCPreviewURL : 242
Game 570 method call count for IClientUGC::GetQueryUGCResult : 242
Game 570 method call count for IClientUGC::SendQueryUGCRequest : 11
Game 570 method call count for IClientUGC::CreateQueryUGCDetailsRequest : 4
Game 570 method call count for IClientUGC::CreateQueryUserUGCRequest : 7
Game 570 method call count for IClientHTTP::ReleaseHTTPRequest : 12
Game 570 method call count for IClientHTTP::GetHTTPResponseBodyData : 13
Game 570 method call count for IClientHTTP::GetHTTPResponseBodySize : 12
Game 570 method call count for IClientHTTP::GetHTTPResponseHeaderValue : 10
Game 570 method call count for IClientHTTP::GetHTTPResponseHeaderSize : 10
Game 570 method call count for IClientHTTP::SendHTTPRequest : 13
Game 570 method call count for IClientHTTP::SetHTTPRequestGetOrPostParameter : 1
Game 570 method call count for IClientHTTP::SetHTTPRequestHeaderValue : 1
Game 570 method call count for IClientHTTP::SetHTTPRequestNetworkActivityTimeout : 2
Game 570 method call count for IClientHTTP::SetHTTPRequestContextValue : 10
Game 570 method call count for IClientHTTP::CreateHTTPRequest : 13
Game 570 method call count for IClientGameCoordinator::RetrieveMessage : 116
Game 570 method call count for IClientGameCoordinator::IsMessageAvailable : 233
Game 570 method call count for IClientGameCoordinator::SendMessage : 111
Game 570 method call count for IClientRemoteStorage::UGCRead : 1
Game 570 method call count for IClientRemoteStorage::GetUGCDetails : 1
Game 570 method call count for IClientRemoteStorage::UGCDownload : 1
Game 570 method call count for IClientRemoteStorage::GetFileNameAndSize : 36
Game 570 method call count for IClientRemoteStorage::GetFileCount : 2
Game 570 method call count for IClientRemoteStorage::FileExists : 35
Game 570 method call count for IClientRemoteStorage::GetFileTimestamp : 9
Game 570 method call count for IClientRemoteStorage::GetFileSize : 31
Game 570 method call count for IClientRemoteStorage::FileWriteAsync : 3
Game 570 method call count for IClientRemoteStorage::FileRead : 30
Game 570 method call count for IClientNetworking::GetMaxPacketSize : 1
Game 570 method call count for IClientUserStats::GetNumberOfCurrentPlayers : 1
Game 570 method call count for IClientUserStats::RequestCurrentStats : 1
Game 570 method call count for IClientAppManager::GetCurrentLanguage : 1
Game 570 method call count for IClientAppManager::GetAppStateInfo : 1
Game 570 method call count for IClientUtils::RecordSteamInterfaceCreation : 119
Game 570 method call count for IClientUtils::FilterText : 398
Game 570 method call count for IClientUtils::InitFilterText : 1
Game 570 method call count for IClientUtils::IsSteamChina : 5
Game 570 method call count for IClientUtils::GetLauncherType : 1
Game 570 method call count for IClientUtils::GetSteamUILanguage : 1
Game 570 method call count for IClientUtils::GetAPICallResult : 29
Game 570 method call count for IClientUtils::GetAppID : 126
Game 570 method call count for IClientUtils::GetImageRGBA : 38
Game 570 method call count for IClientUtils::GetImageSize : 38
Game 570 method call count for IClientUtils::GetIPCountry : 1
Game 570 method call count for IClientUtils::GetServerRealTime : 26
Game 570 method call count for IClientUtils::GetConnectedUniverse : 9
Game 570 method call count for IClientFriends::GetPlayerNickname_Public : 1055
Game 570 method call count for IClientFriends::GetFriendPersonaName_Public : 369
Game 570 method call count for IClientFriends::SetListenForFriendsMessages : 3
Game 570 method call count for IClientFriends::GetFriendRichPresence : 1513
Game 570 method call count for IClientFriends::SetRichPresence : 35
Game 570 method call count for IClientFriends::RequestUserInformation : 245
Game 570 method call count for IClientFriends::GetFriendGamePlayed : 94
Game 570 method call count for IClientFriends::GetFriendByIndex : 405
Game 570 method call count for IClientFriends::GetFriendCount : 9
Game 570 method call count for IClientFriends::GetLargeFriendAvatar : 5
Game 570 method call count for IClientFriends::GetMediumFriendAvatar : 33
Game 570 method call count for IClientFriends::GetSmallFriendAvatar : 178
Game 570 method call count for IClientFriends::GetFriendPersonaState : 94
Game 570 method call count for IClientFriends::GetFriendRelationship : 356
Game 570 method call count for IClientFriends::GetPersonaState : 65
Game 570 method call count for IClientFriends::GetPersonaName : 2
Game 570 method call count for IClientUser::RequestSteamGroupChatMessageHistory : 1
Game 570 method call count for IClientUser::RequestSteamGroupChatMessageNotifications : 1
Game 570 method call count for IClientUser::GetDurationControl : 1
Game 570 method call count for IClientUser::BIsPhoneVerified : 353
Game 570 method call count for IClientUser::GetSteamID : 118
Game 570 method call count for IClientUser::BLoggedOn : 4
Uploaded AppInterfaceStats to Steam

(process:22686): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
src/steamexe/main.cpp (253) : Assertion Failed: reaping pid: 22686 -- gameoverlayui
src/steamexe/main.cpp (253) : Assertion Failed: reaping pid: 22686 -- gameoverlayui
Installing breakpad exception handler for appid(steam)/version(1647446817)
assert_20220428172849_31.dmp[22966]: Uploading dump (out-of-process)
/tmp/dumps/assert_20220428172849_31.dmp
assert_20220428172849_31.dmp[22966]: Finished uploading minidump (out-of-process): success = yes
assert_20220428172849_31.dmp[22966]: response: CrashID=bp-d9fffbea-c012-40e0-9b03-c0b472220428
assert_20220428172849_31.dmp[22966]: file ''/tmp/dumps/assert_20220428172849_31.dmp'', upload yes: ''CrashID=bp-d9fffbea-c012-40e0-9b03-c0b472220428''
stitihaythem commented 2 years ago

So I was looking at other issues and I found this one https://github.com/ValveSoftware/Dota-2/issues/2026 and it seems that one suggestion fixes the crush by adding the command line VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radeon_icd.x86_64.json %command% However the game starts in windowed mode and I when switch to full screen from settings I can no longer click on anything I can,' even exit unless clicking on stop from Steam. Anybody has a better suggestion?

thomas992 commented 2 years ago

How can test the OpenGL fix please?

the command is -gl

I tried both radeon and K_ICD_FILENAMES=/usr/share/vulkan/icd.d/intel_icd.x86_64.json %command% and neither fix Survival Chaos loading for me my regular has been working maybe because I got it working with openGL before?

stitihaythem commented 2 years ago

I tried OpenGl using -gl instead of K_ICD_FILENAMES=/usr/share/vulkan/icd.d/intel_icd.x86_64.json %command% now the game starts in full screen mode but when in main menu I can't click on anything same as the other command line.

rpayanm commented 2 years ago

Try Wayland. Open /etc/gdm3/custom.conf with sudo WaylandEnable=true log out and select the wayland environment

I did it, it happed again :-(

steakscience commented 2 years ago

Using opengl "fixes" it but I would prefer not to use it.

Vulkan issue seems to be with processing shaders, if you want to use Vulkan, you can disable it for now:

stitihaythem commented 2 years ago

/home/rpm/.local/share/Steam/steamapps/common/dota 2 beta/game/dota.sh: how did you install steam? Are you using something instead of the official?

I installed it from Ubuntu software. The source is : ubuntu-jammy-multiverse.

stitihaythem commented 2 years ago

Try Wayland. Open /etc/gdm3/custom.conf with sudo WaylandEnable=true log out and select the wayland environment I don't know what wayland is, what's the impact of wayland use overall, should I expect something different with other apps or commands?

steakscience commented 2 years ago

Looks like this has been fixed. You can play without -vulkan_disable_steam_shader_cache and Dota will not crash

thomas992 commented 2 years ago

Using Clear Linux on a flatpak runs DoTA without error except that the shaders do not cache at start, had to adjust some video settings I was going to adjust anyways to get it not glitching or maybe it was just buffering the shaders

highon10kyears commented 2 years ago

I am also having this issue on Manjaro Linux.

thomas992 commented 2 years ago

The shaders compiled and now it crashes. If I am using the Flatpak technology precompiled shaders should it not be just part of the download?