ValveSoftware / csgo-osx-linux

Counter-Strike: Global Offensive
http://counter-strike.net
777 stars 69 forks source link

CS2 not working in ubuntu #3618

Closed eneshamza closed 9 months ago

eneshamza commented 9 months ago

Your system information

Please describe your issue in as much detail as possible:

CS2 is not working in Ubuntu. The last time there was a problem and the computer gave an error, the game has not started since then. I tried to reinstall the game, but it did not work. I formatted the computer (I did not delete the partition where CS2 was installed) but the game still does not start. It used to work fine.

Steps for reproducing this issue:

  1. Start the game
  2. Does not start
Simon2822 commented 9 months ago

Same issue, minus the error.

Game says Launching.. then Running and then nothing [so Not Running]

Verified game files, did not help.

stderr:

Loaded /home/username/Downloads/steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libengine2.so, got 0x55da724c2220
Loaded libSDL3.so.0, got 0x55da727a4bb0
Loaded /home/username/Downloads/steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libtier0.so, got 0x55da724ab850
Loaded /home/username/Downloads/steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libfilesystem_stdio.so, got 0x55da727ed180
Loaded /home/username/Downloads/steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libinputsystem.so, got 0x55da727ef0b0
Loaded /home/username/Downloads/steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/liblocalize.so, got 0x55da72878670
Loaded /home/username/Downloads/steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/librendersystemvulkan.so, got 0x55da7284ca70
Loaded /home/username/Downloads/steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libresourcesystem.so, got 0x55da72892cc0
Loaded /home/username/Downloads/steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libschemasystem.so, got 0x55da72857090
uldall commented 9 months ago

I also can't launch on Ubuntu. I get this error:

/bin/sh\0-c\0/home/cup/snap/steam/common/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=730 -- /home/cup/snap/steam/common/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/cup/snap/steam/common/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper'/_v2-entry-point --verb=waitforexitandrun --  '/home/cup/snap/steam/common/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/cs2.sh' -steam -novid -high -tickrate 128 -full\0
chdir "/home/cup/snap/steam/common/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive"

(steam:8245): GLib-GIO-CRITICAL **: g_settings_schema_source_lookup: assertion `source != NULL' failed
ERROR: ld.so: object '/home/cup/snap/steam/common/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/cup/snap/steam/common/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/cup/snap/steam/common/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/cup/snap/steam/common/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/cup/snap/steam/common/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.

(steam:8245): GLib-GIO-CRITICAL **: g_settings_schema_source_lookup: assertion `source != NULL' failed
pressure-vessel-wrap[8809]: W: Failed to load Vulkan ICD #0 from /var/lib/snapd/lib/vulkan/icd.d/nvidia_icd.json: openat(/var/lib/snapd/lib/vulkan/icd.d/nvidia_icd.json): No such file or directory
pressure-vessel-wrap[8809]: W: "snap/steam/171/graphics/usr/share/libdrm" is unlikely to appear in "/run/host"
pressure-vessel-wrap[8809]: W: "snap/steam/171/graphics/usr/share/libdrm" is unlikely to appear in "/run/host"
pressure-vessel-wrap[8809]: W: "snap/steam/171/graphics/usr/share/drirc.d" is unlikely to appear in "/run/host"
bwrap: Can't mount tmpfs on /newroot/var/pressure-vessel/ldso: Permission denied
Uploaded AppInterfaceStats to Steam

(steam:8245): GLib-GIO-CRITICAL **: g_settings_schema_source_lookup: assertion `source != NULL' failed

(steam:8245): GLib-GIO-CRITICAL **: g_settings_schema_source_lookup: assertion `source != NULL' failed

(steam:8245): GLib-GIO-CRITICAL **: g_settings_schema_source_lookup: assertion `source != NULL' failed
kisak-valve commented 9 months ago

Hello @uldall, pressure-vessel-wrap[8809]: W: Failed to load Vulkan ICD #0 from /var/lib/snapd/lib/vulkan/icd.d/nvidia_icd.json: openat(/var/lib/snapd/lib/vulkan/icd.d/nvidia_icd.json): No such file or directory and bwrap: Can't mount tmpfs on /newroot/var/pressure-vessel/ldso: Permission denied makes the issue you're seeing https://github.com/ValveSoftware/steam-runtime/issues/640 instead of this issue report.

reevestrife commented 9 months ago

same issue on my counterstrike and dota2 which uses same engine. I am on ubuntu 23.10

eneshamza commented 9 months ago

I formatted the computer and installed Ubuntu 22.04 LTS and my problem was solved, I hope it will not happen again.