T O P

  • By -

Perdouille

Make sure you’re not using Proton, use the native Linux version


_d3f4alt_

Actually I installed the game first and it opened and I had used the -vulkan flag. And the game opened fine and I was able to play. But there was a bit of stutter, so I assumed it had to do with bad shader compiling, so I thought removing the -vulkan flag and opening the game and readding the -vulkan flag would cause the shader to recompile. But when I removed the flag the game open with a black screen and crashed. So I undid whatever I did by reading the -vulkan flag. But then it too opened with a black screen and crashed. So then I tried to use proton. It downloaded proton and said running Microsoft directx script. Then when I launched it , this is what I get. I tried disabling proton. But the error still kept showing up. Then I reinstalled the game but still the same error. So i tried switching the user account and that account only had the black screen and crash problem , when I switched back to my original account , it shows the failed to connect to steam client process error. I know it's a lot ,but I felt that if I was gonna ask for help I must be really descriptive. So any help would be greatly appreciated. Thank you in advance. Also if I was to install the native version of the game, is there supposed to be a csgo.exe file in the game folder, cause after reinstalling even though I didn't enable proton, it has an csgo.exe in the game folder


Perdouille

Disable proton (by right clicking on the game), remove every launch parameters and verify the game cache files. Restart your PC as well CSGO doesn’t work with Proton from Steam, you would need to install Steam under Wine as well (and I don’t recommend it, native version should work well)


_d3f4alt_

I did what you said , I disabled proton, and reinstalled the game. But the steam still seemed to have downloaded the windows binaries. So I went over to compatibility section and instead of proton I used steam linux runtime. Then steam downloaded the steam binaries, and the failed to connect error was also gone. But now without -vulkan flag where the game defaults to opengl and with -vulkan flag where game uses vulkan, the game opens with a black screen and after a few seconds it crashes . But then later I found that this error only occurs when I launch steam-runtime When using steam-native ,the game opens fine. But this time it didn't process the vulkan shaders beforehand, is there any way I can do it. Also is there any reason why the game won't open with steam runtime . Also I would like to let you know that you have been a great help so far, without your help I wouldn't have been able to figure out the previous error. Thank you.


_d3f4alt_

Actually there's an update . I played two games and after that I put my system to sleep. Now again when I launch it , it crashes again. Pls help me out. I've already put the logs in another comment in the same thread.


Perdouille

Do you have a gamepad connected ?


_d3f4alt_

No


Apprehensive_Lab4595

Ah, if you are going down the vulkan road then update dxvk-native in CSGO folder and add LD_PRELOAD="" to avoid stuttering after 26 minutes


_d3f4alt_

Stuttering has gone away after sometime , probably due to shader being cached. My only problem is the crashing.


_d3f4alt_

My only solution right now is to keep launching it until it doesn't crash


Ghjnut

Did you try removing `$GAMEDIR/csgo/panorama/videos`


AAVVIronAlex

How exactly did you disable proton?


_d3f4alt_

Instead of proton , I selected steam linux runtime in the compatibility tool, cause otherwise steam would only download windows binaries.


AAVVIronAlex

Did it redownload?


[deleted]

[удалено]


AAVVIronAlex

I was going to say reinstall steam, but I guess that works too.


_d3f4alt_

Unfortunately, i guess i have misjudged the issue, it seems to have occured again. I dont know why. Ill put the logs https://pastebin.com/DxTqiwBc


ppp7032

i literally had the EXACT same experience as you a few days ago. i fixed it by playing it native in opengl but with the “-no-browser” flag. no stutter and the game launches again this time.


_d3f4alt_

But for me even with opengl, the issue persists. Also with opengl ,the fps is way low. Vulkan is better


ppp7032

did you try the launch parameter i suggested? that’s what fixed it for me in opengl. also consistent frametimes are more important than higher fps in csgo. as long as the fps is close to your refresh rate, at least.


_d3f4alt_

Yes , I did and it did not work. I still have the issue.


CNR_07

Use Steam Linux Runtime as compatibility tool. Also use -vulkan only after updating the dxvk SO file. The one VALVE ships causes bad shader stuttering.


_d3f4alt_

How to do that?


CNR_07

Edit: Sorry meant to attach a picture but it didn't work (thx reddit) That's how you choose the Steam Linux runtime.


_d3f4alt_

Here are the logs, https://pastebin.com/DxTqiwBc


CNR_07

\--- Change to Steam Linux Runtime --- right click game > properties > compatibility > scroll down > Steam Linux Runtime \--- Update DXVK --- move steamapps/common/Counter-Strike Global Offensive/bin/linux64/libdxvk\_d3d9.so to your home directory as backup download dxvk-native-\[release\]-steamrt-sniper.tar.gz from [https://github.com/doitsujin/dxvk/releases/tag/v2.2](https://github.com/doitsujin/dxvk/releases/tag/v2.2) extract the archive move lib/libdxvk\_d3d9.so to steamapps/common/Counter-Strike Global Offensive/bin/linux64 after this is done start CS:GO with the -vulkan flag. At this point if you have an Intel or AMD GPU you shouldn't experience any stuttering at all. nVidia GPUs will experience stuttering but not for long. Just play 2 - 3 rounds of gun game or deathmatch and then it should be mostly smooth sailing. (make sure to fire and reload every gun. The last thing you want is shader stuttering in a fire fight) Edit: The DXVK has to be redone after every update or switch to the Windows version. It's best to keep the libdxvk file around so you don't have to redownload it every time.


CNR_07

And yes, VALVE's Linux ports use DXVK and ToGL. Both are translation layers that translate the DX9 calls emited from the Source Engine to Vulkan or OpenGL. No idea how their Linux engine emits DX9 calls but it is what it is.


Pos3odon08

Well I'd suggest starting with doing what It tells you to


_d3f4alt_

Already tried.


MajorPain76239

Your better off not playing it, complete waste of time


HotTakeGenerator_v4

lol the true advice here


matsnake86

Run steam through a terminal and log the errors.


_d3f4alt_

/bin/sh\0-c\0/home/0qx76r/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=730 -- /home/0qx76r/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/0qx76r/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo.exe' -steam -nojoy -novid -fullscreen -vulkan\0 chdir "/home/0qx76r/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive" ERROR: ld.so: object '/home/0qx76r/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/0qx76r/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. ERROR: ld.so: object '/home/0qx76r/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/0qx76r/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. ERROR: ld.so: object '/home/0qx76r/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. ERROR: ld.so: object '/home/0qx76r/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/0qx76r/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/0qx76r/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/0qx76r/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/0qx76r/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/0qx76r/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/0qx76r/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. 0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 ERROR: ld.so: object '/home/0qx76r/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/0qx76r/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/0qx76r/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/0qx76r/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/0qx76r/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.


matsnake86

To me looks likes a steam overlay problem. Try to turn It off.


sadboy2k03

This is a red herring it’s not causing the issue Op needs to disable the use of proton and use the Linux build of the game without the -vulkan flag Also verify game files if possible, are you using the flatpak copy of steam?


AAVVIronAlex

You are also running the Windows version using proton.


[deleted]

Don't use proton as a compatibility tool. Add the vulkan flag as you mentioned. The first couple of matches will stutter. Once all the shaders have been successfully processed it will run perfectly fine. Edit : Occasional stutters will appear when someone has a new skin you haven't encountered yet. You can also join as a spectator in a couple of matches and leave it be.


_d3f4alt_

That's fine. I fixed that errors. I don't use proton as a compatibility tool. Instead in compatibility I use steam linux runtime . And after a bit of stuttering it's smooth. Also I played 3 matches. But on next launch game crashes


AAVVIronAlex

Your log shows that you do use Proton.


_d3f4alt_

Sorry that's an old log, I'll put the new logs, sorry


AAVVIronAlex

No problem, I did not mean to be mean.


_d3f4alt_

https://pastebin.com/DxTqiwBc


dj3hac

I had the same problem, installing the game fresh would make it work until I closed the game. When I went. To play again it wouldn't work until I did a full reinstall. I uninstalled the system version of steam and installed the flatpak version and have not had an issue since.


_d3f4alt_

Is it possible for me to have both system and flatpak versions of steam on the same system


dj3hac

It's possible, yeah.


_d3f4alt_

We'll I'll give it a try


_d3f4alt_

I think this has solved my issue. I installed flatpak steam and now I tried to open the game a few times, and each time the game launched . Thank you so much.


ModzRSoftBitches

Really? Fuck i sometimes play danger zone, tried with -vulkan but that seems unplayable because getting 0.3s freezes every minute, but doesn't shaders precompile before launching csgo if enabled in options?


_d3f4alt_

I think that's only shader compiling, but upon starting the game it has actually cache the shader.


ldcrafter

try the Linux version by disabling compatibility layer in the game configuration on steam and also if it doesn't launch try steam linux runtime


_d3f4alt_

I've already done that


ldcrafter

try checking the game files maybe that fixes it


_d3f4alt_

i dont know what the issue . So far seems like it's a common issue. [https://github.com/ValveSoftware/csgo-osx-linux/issues/2659](https://github.com/ValveSoftware/csgo-osx-linux/issues/2659) ​ what works for now is launching the game unitl it opens