@kisak-valve I will submit a log report about the execution of the game under Wayland. I think it will be very useful.
Here it is the console execution.
➜ steam
steam.sh[111486]: Running Steam on ubuntu 23.10 64-bit
steam.sh[111486]: STEAM_RUNTIME is enabled automatically
setup.sh[111604]: Steam runtime environment up-to-date!
steam.sh[111486]: Steam client's requirements are satisfied
[2023-12-03 14:40:47] Startup - updater built Nov 29 2023 19:58:56
[2023-12-03 14:40:47] Startup - Steam Client launched with: '/home/mhalano/.local/share/Steam/ubuntu12_32/steam'
[2023-12-03 14:40:47] Opted in to client beta 'publicbeta' via beta file
You are in the 'publicbeta' client beta.
12/03 14:40:47 Init: Installing breakpad exception handler for appid(steam)/version(1701289036)/tid(111669)
[2023-12-03 14:40:47] Loading cached metrics from disk (/home/mhalano/.local/share/Steam/package/steam_client_metrics.bin)
[2023-12-03 14:40:47] Using the following download hosts for Public, Realm steamglobal
[2023-12-03 14:40:47] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
[2023-12-03 14:40:47] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'
[2023-12-03 14:40:47] 3. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2023-12-03 14:40:47] Verifying installation...
[2023-12-03 14:40:47] Verification complete
Steam logging initialized: directory: /home/mhalano/.local/share/Steam/logs
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xf62f69c0
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xf62f51f0
/usr/share/themes/Yaru-dark/gtk-2.0/main.rc:775: error: unexpected identifier 'direction', expected character '}'
/usr/share/themes/Yaru-dark/gtk-2.0/hacks.rc:28: error: invalid string constant "normal_entry", expected valid string constant
steamwebhelper.sh[111811]: Runtime for steamwebhelper: defaulting to /home/mhalano/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
steamwebhelper.sh[111811]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
Steam Runtime Launch Service: starting steam-runtime-launcher-service
Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 111927
bus_name=com.steampowered.PressureVessel.LaunchAlongsideSteam
CAppInfoCacheReadFromDiskThread took 733 milliseconds to initialize
BRefreshApplicationsInLibrary 1: 235ms
BuildCompleteAppOverviewChange: 7265 apps
RegisterForAppOverview 1: 339ms
RegisterForAppOverview 2: 340ms
fsync: up and running.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
/bin/sh\0-c\0PROTON_LOG=1 /home/mhalano/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1172650 -- /home/mhalano/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/mhalano/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper'/_v2-entry-point --verb=waitforexitandrun -- '/home/mhalano/.local/share/Steam/steamapps/common/Proton - Experimental'/proton waitforexitandrun '/home/mhalano/.local/share/Steam/steamapps/common/Industria/Industria.exe' -d3d11\0
chdir "/home/mhalano/.local/share/Steam/steamapps/common/Industria"
ERROR: ld.so: object '/home/mhalano/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/mhalano/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/mhalano/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/mhalano/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/mhalano/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
[2023-12-03 14:42:49] Background update loop checking for update. . .
[2023-12-03 14:42:49] Checking for available updates...
[2023-12-03 14:42:49] Downloading manifest: https://client-update.akamai.steamstatic.com/steam_client_publicbeta_ubuntu12?t=3341543057
[2023-12-03 14:42:49] Manifest download: send request
[2023-12-03 14:42:49] Manifest download: waiting for download to finish
[2023-12-03 14:42:50] Manifest download: finished
[2023-12-03 14:42:50] Download skipped: /steam_client_publicbeta_ubuntu12?t=3341543057 version 1701289036, installed version 1701289036, existing pending version 0
[2023-12-03 14:42:50] Nothing to do
Game 1172650 created interface STEAMAPPS_INTERFACE_VERSION008 /
Game 1172650 created interface STEAMREMOTESTORAGE_INTERFACE_VERSION014 /
Game 1172650 created interface STEAMUSERSTATS_INTERFACE_VERSION012 /
Game 1172650 created interface SteamController008 /
Game 1172650 created interface SteamFriends017 /
Game 1172650 created interface SteamInput002 /
Game 1172650 created interface SteamMatchMaking009 /
Game 1172650 created interface SteamMatchMakingServers002 /
Game 1172650 created interface SteamNetworking006 /
Game 1172650 created interface SteamUser021 /
Game 1172650 created interface SteamUser021 / User
Game 1172650 created interface SteamUtils010 /
Game 1172650 method call count for IClientNetworking::AllowP2PPacketRelay : 1
Game 1172650 method call count for IClientUserStats::RequestCurrentStats : 1
Game 1172650 method call count for IClientUtils::RecordSteamInterfaceCreation : 14
Game 1172650 method call count for IClientUtils::GetAppID : 17
Game 1172650 method call count for IClientUser::BIsSubscribedApp : 1
Game 1172650 method call count for IClientUser::GetSteamID : 1
Uploaded AppInterfaceStats to Steam
^CSteam Runtime Launch Service: steam-runtime-launcher-service pid 111927 exited
Steam Runtime Launch Service: starting steam-runtime-launcher-service
Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 116343
bus_name=com.steampowered.PressureVessel.LaunchAlongsideSteam
[2023-12-03 14:46:43] Shutdown
Here is the Proton log: steam-1172650.log
Hello @mhalano, your runtime diagnostics gist is from the X11 session where there's healthier behavior. Can you share a second Steam runtime diagnostics gist from your wayland based session? I suspect that one or more EGL render paths will change to being unhealthy and libEGL warning: egl: failed to create dri2 screen in your Proton log hints in that direction.
It might be interesting to test if setting the game's launch options to DISABLE_GAMESCOPE_WSI=1 %command% has an effect.
@kisak-valve Done. I added diagnostics for my Wayland session as requested. Also, disabling the Gamescope didn't change a thing.
Thanks, looking over the update runtime diagnostics, there's no usable GPU accelerated render paths at all and Steam is being forced to fallback to llvmpipe (mesa's faster CPU renderer) to run at all.
I'd look for what's setting DRI_PRIME=pci-0000_00_02_0 in that desktop session and try to get it removed. Maybe try completely closing Steam, then run steam from a terminal and see if that has an effect.
@kisak-valve Found the problem: my gnome-shell was using the iGPU instead of the dGPU that is the enabled one on BIOS. When I executed the command __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only glxinfo I got a crash, so that's why iGPU was being used. To solve this I "just" have to came back to NVIDIA 535 not ideal, though.
Compatibility Report
System Information
I confirm:
Symptoms
The game doesn't run under Wayland, just under X11. It open the banner and crash seconds after. For both DX11 and DX12. Under Xorg works well.
Reproduction
Start a Wayland session (I used GNOME on Ubuntu 23.10) and try to run the game.