ValveSoftware / csgo-osx-linux

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

[CS2] Game not launching under Wayland, doesn't work on X11 too #3430

Closed Zsobix closed 9 months ago

Zsobix commented 9 months ago

Your system information

Please describe your issue in as much detail as possible:

Describe what you expected should happen and what did happen. Please link any large pastes as a Github Gist.

When I launch CS2 the Game unexpectedly crashes. I tried the launch options in #3402 before and after the 6th (or 7th your depending on timezone) of Oct update but no luck. Tried reinstalling but still no luck. Logs of terminal: logs. Using command /home/zsombi/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=730 -- /home/zsombi/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/run/media/zsombi/1TB/SteamLibrary/steamapps/common/SteamLinuxRuntime_sniper'/_v2-entry-point --verb=waitforexitandrun -- '/run/media/zsombi/1TB/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/cs2.sh' -steam logs

Steps for reproducing this issue:

  1. Install steam from pacman
  2. Run CS2
GermanAizek commented 9 months ago

I completely agree, there is no way to run on X11 server. I tried all launch options from other Issues using Wayland.

soerengrunewald commented 9 months ago

Try: WAYLAND_DISPLAY= %command% or WAYLAND_DISPLAY= %command% -vulkan

Zsobix commented 9 months ago

I tried it again but it wouldn't work. And the-vulkan would do nothing because it's already running with vulkan.

GermanAizek commented 9 months ago

I tried it again but it wouldn't work. And the -vulkan would do nothing because it's already running with vulkan.

I totally agree, nothing helps. It seems Valve is lying again somewhere that CS2 was completely ported to Steam Deck Linux.

leonpano2006 commented 9 months ago

my also crash crash on startup and native linux i am on x11 not wayland

feschber commented 9 months ago

can you check if this works when you remove rm /tmp/source_engine_*.lock ?

zezic commented 9 months ago

can you check if this works when you remove rm /tmp/source_engine_*.lock ?

Worked for me! Thanks.

Zsobix commented 9 months ago

can you check if this works when you remove rm /tmp/source_engine_*.lock ?

i tried it but it didn't work

leonpano2006 commented 9 months ago

i realized all of valve game will crash on startup inculde goldsource source and source2

Zsobix commented 9 months ago

i realized all of valve game will crash on startup inculde goldsource source and source2 really? for me some source games doesn't work like half-life 2 deathmatch

leonpano2006 commented 9 months ago

really? for me some source games doesn't work like half-life 2 deathmatch

I tried almost everything Portal 1/2, Half life 2 and ep1 ep2 (hl1 source) lost Coast cs:s and half life 1 and cs cs:cz And half Alyx cs2

Almost everything is source will crash Anything other then source are ok

Zsobix commented 9 months ago

fixed, i just reinstalled my os and it works now

GermanAizek commented 9 months ago

fixed, i just reinstalled my os and it works now

I install on clean virtual machine, same thing.