ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.22k stars 174 forks source link

[BUG] Steam crash in KDE plasmas 6 manjaro, Opening loop crash #11018

Closed Milor123 closed 3 months ago

Milor123 commented 3 months ago

Your system information

██████████████ ████ ████████ ------------------------- ██████████████████ ████████ OS: Manjaro Linux x86_64 ██████████████████ ████████ Kernel: 6.6.32-1-MANJARO ████████ ████████ Uptime: 12 hours, 19 mins ████████ ████████ ████████ Packages: 2256 (pacman) ████████ ████████ ████████ Shell: zsh 5.9 ████████ ████████ ████████ Resolution: 1920x1200 ████████ ████████ ████████ DE: Plasma 6.0.5 ████████ ████████ ████████ WM: kwin ████████ ████████ ████████ Theme: [Plasma], Breeze-Dark [GTK2], Breeze [GTK3] ████████ ████████ ████████ Icons: [Plasma], breeze-dark [GTK2/3] ████████ ████████ ████████ Terminal: tilix ████████ ████████ ████████ CPU: Intel i5-14500 (20) @ 5.000GHz GPU: Intel AlderLake-S GT1 GPU: NVIDIA GeForce RTX 4070 Memory: 20324MiB / 47476MiB

Please describe your issue in as much detail as possible:

When I open steam, I can't even see the screen, I see a white box, it loads for a moment and closes, and it becomes an infinite cycle (a loop).

Steps for reproducing this issue:

  1. Open steam
  2. Infinite loop and crash opening

Note, i've delete all steam folder from .local/steam/ and reinstall but dont work :/

fast logs:

steam                      
steam.sh[159649]: Running Steam on manjarolinux 24.0.2 64-bit
steam.sh[159649]: STEAM_RUNTIME is enabled automatically
setup.sh[159722]: Steam runtime environment up-to-date!
steam.sh[159649]: Steam client's requirements are satisfied
[2024-06-25 20:44:26] Startup - updater built Jun 20 2024 17:13:49
[2024-06-25 20:44:26] Startup - Steam Client launched with: '/home/noe/.local/share/Steam/ubuntu12_32/steam' '-srt-logger-opened'
06/25 20:44:26 minidumps folder is set to /tmp/dumps
06/25 20:44:26 Init: Installing breakpad exception handler for appid(steam)/version(1718904662)/tid(159785)
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2024-06-25 20:44:26] Loading cached metrics from disk (/home/noe/.local/share/Steam/package/steam_client_metrics.bin)
[2024-06-25 20:44:26] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2024-06-25 20:44:26] Using the following download hosts for Public, Realm steamglobal
[2024-06-25 20:44:26] 1. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2024-06-25 20:44:26] Checking for update on startup
[2024-06-25 20:44:26] Checking for available updates...
[2024-06-25 20:44:26] Downloading manifest: https://cdn.steamstatic.com/client/steam_client_ubuntu12
[2024-06-25 20:44:26] Manifest download: send request
[2024-06-25 20:44:27] Manifest download: waiting for download to finish
[2024-06-25 20:44:27] Manifest download: finished
[2024-06-25 20:44:27] Download skipped: /client/steam_client_ubuntu12 version 1718904662, installed version 1718904662, existing pending version 0
[2024-06-25 20:44:27] Nothing to do
[2024-06-25 20:44:27] Verifying installation...
[2024-06-25 20:44:27] Performing checksum verification of executable files
[2024-06-25 20:44:28] Verification complete
UpdateUI: skip show logo
Steam logging initialized: directory: /home/noe/.local/share/Steam/logs

/home/noe/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_32/libcurl.so.4: version `CURL_OPENSSL_4' not found (required by /usr/lib32/libproxy/libpxbackend-1.0.so)
Failed to load module: /usr/lib32/gio/modules/libgiolibproxy.so
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xebcaadc0
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xebca9500
CAppInfoCacheReadFromDiskThread took 0 milliseconds to initialize
Couldn't initialize SDL: wayland  not available
Steam Runtime Launch Service: starting steam-runtime-launcher-service
Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 159951
bus_name=com.steampowered.PressureVessel.LaunchAlongsideSteam
Couldn't initialize SDL: wayland  not available
kisak-valve commented 3 months ago

Hello @Milor123, this issue is already being tracked at #9383. Closing as a duplicate.

Milor123 commented 3 months ago

Hello @Milor123, this issue is already being tracked at #9383. Closing as a duplicate.

I was reading each and every comment mentioned in this thread last week, I tried thousands of things but none of them worked for me, even the DRI's that are laptop, try that.

Steam has been bugging me for weeks, I used to have to use BETA to get it to work for me, then had to disable it because it didn't work again in BETA, and now it doesn't even work in stable.

Milor123 commented 3 months ago

@kisak-valve

  1. Running Steam from the terminal with the argument -vgui instead of starting it through the desktop shortcut.
  2. Removing or add PrefersNonDefaultGPU=true from the Steam .desktop file.
  3. Setting DRI_PRIME=0 or DRI_PRIME=none. or in 1
  4. Modifying a script to add the -cef-disable-gpu flag when the DRI_PRIME environment variable is set.
  5. Creating a workaround using a modified steam.desktop, which uses a shim script that adds the -cef-disable-gpu flag.
  6. Launching Steam from console with the steam command.
  7. -vgui or try --reset or delete steam folder from .local

These solutions not work for me

kisak-valve commented 3 months ago

Looking a bit more at you logs, Couldn't initialize SDL: wayland not available in console-linux.txt might be an hint worth chasing. I would check if SDL_VIDEO_DRIVER=wayland is getting added to the environment somewhere and if that's true, try running unset SDL_VIDEO_DRIVER; steam in a terminal.

Milor123 commented 3 months ago

Looking a bit more at you logs, Couldn't initialize SDL: wayland not available in console-linux.txt might be an hint worth chasing. I would check if SDL_VIDEO_DRIVER=wayland is getting added to the environment somewhere and if that's true, try running unset SDL_VIDEO_DRIVER; steam in a terminal.

I get the same result using unset SDL_VIDEO_DRIVER; steam, or writing xcb

unset SDL_VIDEO_DRIVER; steam
steam.sh[29166]: Running Steam on manjarolinux 24.0.2 64-bit
steam.sh[29166]: STEAM_RUNTIME is enabled automatically
setup.sh[29239]: Steam runtime environment up-to-date!
steam.sh[29166]: Steam client's requirements are satisfied
[2024-06-26 08:10:37] Startup - updater built Jun 20 2024 17:13:49
[2024-06-26 08:10:37] Startup - Steam Client launched with: '/home/noe/.local/share/Steam/ubuntu12_32/steam' '-srt-logger-opened'
06/26 08:10:37 minidumps folder is set to /tmp/dumps
06/26 08:10:37 Init: Installing breakpad exception handler for appid(steam)/version(1718904662)/tid(29298)
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2024-06-26 08:10:37] Loading cached metrics from disk (/home/noe/.local/share/Steam/package/steam_client_metrics.bin)
[2024-06-26 08:10:37] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2024-06-26 08:10:37] Using the following download hosts for Public, Realm steamglobal
[2024-06-26 08:10:37] 1. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2024-06-26 08:10:37] Checking for update on startup
[2024-06-26 08:10:37] Checking for available updates...
[2024-06-26 08:10:37] Downloading manifest: https://cdn.steamstatic.com/client/steam_client_ubuntu12
[2024-06-26 08:10:37] Manifest download: send request
[2024-06-26 08:10:37] Manifest download: waiting for download to finish
[2024-06-26 08:10:38] Manifest download: finished
[2024-06-26 08:10:38] Download skipped: /client/steam_client_ubuntu12 version 1718904662, installed version 1718904662, existing pending version 0
[2024-06-26 08:10:38] Nothing to do
[2024-06-26 08:10:38] Verifying installation...
[2024-06-26 08:10:38] Performing checksum verification of executable files
[2024-06-26 08:10:38] Verification complete
UpdateUI: skip show logo
Steam logging initialized: directory: /home/noe/.local/share/Steam/logs

/home/noe/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_32/libcurl.so.4: version `CURL_OPENSSL_4' not found (required by /usr/lib32/libproxy/libpxbackend-1.0.so)
Failed to load module: /usr/lib32/gio/modules/libgiolibproxy.so
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xe983ddc0
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xe983c500
CAppInfoCacheReadFromDiskThread took 0 milliseconds to initialize
Couldn't initialize SDL: wayland  not available
Steam Runtime Launch Service: starting steam-runtime-launcher-service
Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 29442
bus_name=com.steampowered.PressureVessel.LaunchAlongsideSteam
Couldn't initialize SDL: wayland  not available

Note: I have iGPU as main render for my KDE desktop, my NVIDIA is secundary GPU (but it was working very well always)

I've tried many things, like QT_QPA_PLATFORM=xcb and others :/

I have this in /etc/enviroment:

SDL_VIDEODRIVER=wayland # Can break some native games
XDG_SESSION_TYPE=wayland
QT_QPA_PLATFORM="wayland;xcb"
MOZ_DBUS_REMOTE=1 # For shared clipboard with Xwayland apps
__GL_THREADED_OPTIMIZATIONS=1
__GL_MaxFramesAllowed=3
__GL_YIELD="USLEEP"
__GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1
MOZ_ENABLE_WAYLAND=1 # Firefox wayland
ICED_BACKEND=tiny-skia #its for software render in ludusavi backup of games
LIBVA_DRIVER_NAME=iHD
VDPAU_DRIVER=iHD
LC_ALL=es_ES.UTF-8
LANG=es_ES.UTF-8
NVIM_APPNAME=nvchad #neovim configuration

Should I change something?

Milor123 commented 3 months ago

This was apparently solved after installing these libraries according this user: https://github.com/ValveSoftware/steam-for-linux/issues/9383#issuecomment-2191913821

pacman -S lib32-fontconfig lib32-freetype2 lib32-gdk-pixbuf2 lib32-gtk2 lib32-libice lib32-libnm lib32-libpulse lib32-sdl2 lib32-libva lib32-libvdpau lib32-libudev0-shim lib32-openal lib32-libsm

but was neccesary for me run steam using it:

env -u SDL_VIDEODRIVER steam

Thank u veruy much guys !