Steam for Linux

Steam for Linux

. Jun 15, 2023 @ 12:45pm
Vulkan shaders has nothing to do with it
After recent updates CSGO tries to "process Vulcan shaders" for some time before starting, I skipped it, because I already had bad experience with "-vulkan" option. But recently it finally processed it pretty quickly, and here I am.
I used to have 150-200fps on low setting, now I have 60-100 and game feels super laggy (tears and regular freezings).
Is it possible to get rid of this super-advanced and cross-platform peace of technology, so I can enjoy my regular sh*tty linux-gaming experience, instead of suffering with this fabulous improvement?
Last edited by .; Jun 19, 2023 @ 3:18am
Originally posted by Pepe:
I don't know how that Ubuntu package is working to help you much in this direction.

I did a basic test in CS:GO to show you how my old PC is still pretty capable thanks to Vulkan.

Config / Results | Old GTX 970 System | New Intel Arc 750 System -------------------------------------------------------------------------------- Resolution | 3840x2160 | 3840x2160 Global Shadow Quality | Medium | High Model / Texture Detail | High | High Texture Streaming | Disabled | Disabled Effect Detail | Medium | High Shader Detail | Very High | Very High Multicode Rendering | Enabled | Enabled Multisampling Anti-Aliasing Mode | 2X MSAA | 2X MSAA FXAA Anti-Aliasing | Disabled | Disabled Texture Filtering Mode | Anisotropic 8X | Anisotropic 8X Wait for Vertical Sync | Disabled | Disabled Motion Blur | Disabled | Disabled Use Uber Shaders | Auto:Enabled | Auto:Enabled -------------------------------------------------------------------------------- FPS - Menus Start Page | 98 FPS | 119 FPS FPS - Training Ground | | - Start | 127 FPS | 200 FPS - Moving around w/ MP7 in hand | | looking at the target | ~75 FPS | ~ 126 FPS FPS - Dust II practice with bots | | - CT mid with bots around AVG | ~90 FPS | ~120 FPS - CT MID with bots around LOW | ~72 FPS | ~109 FPS - Site A alone | ~120 FPS | ~160 FPS

* Steam Overlay was ON, and it seems the new GUI has a big impact for the first minutes of the game, funny enough it was more visible on the newer system, it crashed CS:GO at boot a few times.

Anyway, this was not a thorough test, I just wanted to show that my old system with the old GPU is pretty capable even in 4K, WITH VULKAN, and I can tune it even more, disabling antialiasing and other bling.
Edit: I did it, set Global Shadow Quality to Low, set Shader Detail to Medium , disabled AA and now I get for the Dust II test ~120/100/155 FPS. That's pretty good, in 4K!

Now looking back on the issues I had starting the game on my new PC, I want to suggest trying to disable Steam Overlay and see if things improve.
< >
Showing 1-15 of 29 comments
Hλde Jun 15, 2023 @ 12:59pm 
add this command to the games launch options

-vulkan_disable_steam_shader_cache
. Jun 15, 2023 @ 1:06pm 
Originally posted by Hλde:
add this command to the games launch options

-vulkan_disable_steam_shader_cache
Thanks, but this doesn't help.
Maybe the problem is with this whole new update, not only Vulkan.
Pepe Jun 15, 2023 @ 1:17pm 
Originally posted by Radoo:
You can't disable this per game, just for your whole Steam library.

1. Go to Steam > Settings > Shader Pre-Caching.
2. Untick Enable Shader Pre-Caching.

You don't need this feature, it's buggy, there are many topics about issues with shader pre-caching. Vulkan shaders will just be compiled at game runtime, when needed.
Originally posted by Radoo:
Originally posted by Radoo:
You can't disable this per game, just for your whole Steam library.

1. Go to Steam > Settings > Shader Pre-Caching.
2. Untick Enable Shader Pre-Caching.

You don't need this feature, it's buggy, there are many topics about issues with shader pre-caching. Vulkan shaders will just be compiled at game runtime, when needed.
Hi man i have issues with this options long time ago. Now is working great, i already have a lot shader cache includinc CS:GO (256mb shader cache update=no stutters at all) you can expiriment but i highly recommend based on my setup ( arch ,latest mesa installed, flatpak steam, amd_pstate driver, ) to enable it
Pepe Jun 15, 2023 @ 1:26pm 
Originally posted by NightKnight:
Originally posted by Radoo:
Hi man i have issues with this options long time ago. Now is working great, i already have a lot shader cache includinc CS:GO (256mb shader cache update=no stutters at all) you can expiriment but i highly recommend based on my setup ( arch ,latest mesa installed, flatpak steam, amd_pstate driver, ) to enable it
Maybe, it's too beta for my taste, I had issues in Dota 2, I've tried it a few more times, it didn't work nicely, I see every now and then another topic on the same subject for other games. I won't be Valve's guinea pig, if everything works fine without Shader Caching. Really, everything is working fine without HDD/SSD cached shaders.
Originally posted by Radoo:
Originally posted by NightKnight:
Hi man i have issues with this options long time ago. Now is working great, i already have a lot shader cache includinc CS:GO (256mb shader cache update=no stutters at all) you can expiriment but i highly recommend based on my setup ( arch ,latest mesa installed, flatpak steam, amd_pstate driver, ) to enable it
Maybe, it's too beta for my taste, I had issues in Dota 2, I've tried it a few more times, it didn't work nicely, I see every now and then another topic on the same subject for other games. I won't be Valve's guinea pig, if everything works fine without Shader Caching. Really, everything is working fine without HDD/SSD cached shaders.
Lol i am asuming you don't know who Gaben is ? :D
Pepe Jun 15, 2023 @ 1:50pm 
Originally posted by NightKnight:
Originally posted by Radoo:
Maybe, it's too beta for my taste, I had issues in Dota 2, I've tried it a few more times, it didn't work nicely, I see every now and then another topic on the same subject for other games. I won't be Valve's guinea pig, if everything works fine without Shader Caching. Really, everything is working fine without HDD/SSD cached shaders.
Lol i am asuming you don't know who Gaben is ? :D
I don't know on what are you basing this assumption. I know Lord Gaben's biggest weakness, he's afraid of number 3.
✠ NightKnight ✠ Jun 15, 2023 @ 11:52pm 
Originally posted by Radoo:
Originally posted by NightKnight:
Lol i am asuming you don't know who Gaben is ? :D
I don't know on what are you basing this assumption. I know Lord Gaben's biggest weakness, he's afraid of number 3.
:bewilder::coolstar2022:
. Jun 16, 2023 @ 5:53am 
Originally posted by Hλde:
add this command to the games launch options

-vulkan_disable_steam_shader_cache
This does nothing.


Originally posted by Radoo:
Originally posted by Radoo:
You can't disable this per game, just for your whole Steam library.

1. Go to Steam > Settings > Shader Pre-Caching.
2. Untick Enable Shader Pre-Caching.

You don't need this feature, it's buggy, there are many topics about issues with shader pre-caching. Vulkan shaders will just be compiled at game runtime, when needed.
This seems to help in eliminating pre-caching.
But csgo is still unplayable for me.
Any way to disable Vulkan altogether?
Last edited by .; Jun 16, 2023 @ 5:55am
But csgo is still unplayable for me.
Any way to disable Vulkan altogether? [/quote]


Dude listen to me . First check my profile . What do u see =3k hours of cs;go. 2k and more i've played with -vulkan launch option. CS:GO is more than PLAYABLE with DXVK.

Leave shader cache enabled.
Enable DX to Vulkan = -vulkan
use Flatpak version of STeam.
Play a little bit of DM on every map like 10-15 min per map. All the shaders will be cached for less than a couple of matches.

what is ur hardware specs?

If u have older pc , stick with opengl.
. Jun 16, 2023 @ 6:26am 
Originally posted by NightKnight:
Dude listen to me . First check my profile . What do u see =3k hours of cs;go. 2k and more i've played with -vulkan launch option. CS:GO is more than PLAYABLE with DXVK.

Leave shader cache enabled.
Enable DX to Vulkan = -vulkan
use Flatpak version of STeam.
Play a little bit of DM on every map like 10-15 min per map. All the shaders will be cached for less than a couple of matches.

what is ur hardware specs?

If u have older pc , stick with opengl.
I do have old pc with GTX1060. But it was enough to play with high video settings on Windows with 1920x1080, and to play with everything on minimum on Linux with 1280x960 resolution. I believe GTX1060 is not that bad to not be able to handle even this.
Because problem started after the recent update, and because it started to pre-process shaders by default, I have a feeling that this is because Vulkan is now used by default (though I am not 100% sure). And lags seems very familiar with those I got when tried -vulkan by myself couple of month ago.
So, how to stick with OpenGL?
Last edited by .; Jun 16, 2023 @ 6:28am
komasio71 Jun 16, 2023 @ 6:47am 
🔥
Pepe Jun 16, 2023 @ 7:43am 
Originally posted by 🔥:
Originally posted by NightKnight:
Dude listen to me . First check my profile . What do u see =3k hours of cs;go. 2k and more i've played with -vulkan launch option. CS:GO is more than PLAYABLE with DXVK.

Leave shader cache enabled.
Enable DX to Vulkan = -vulkan
use Flatpak version of STeam.
Play a little bit of DM on every map like 10-15 min per map. All the shaders will be cached for less than a couple of matches.

what is ur hardware specs?

If u have older pc , stick with opengl.
I do have old pc with GTX1060. But it was enough to play with high video settings on Windows with 1920x1080, and to play with everything on minimum on Linux with 1280x960 resolution. I believe GTX1060 is not that bad to not be able to handle even this.
Because problem started after the recent update, and because it started to pre-process shaders by default, I have a feeling that this is because Vulkan is now used by default (though I am not 100% sure). And lags seems very familiar with those I got when tried -vulkan by myself couple of month ago.
So, how to stick with OpenGL?
Vulkan >>> OpenGL, Valve dropped support for OpenGL on Dota 2, CS will be next, if it isn't dropped already. Just because you have a problem you shouldn't try to revert to a lower performance API.

That's not that old of a PC. I have one older PC with GTX 970, everything works pretty well with Vulkan, actually, on 4K, there's a big difference from OpenGL to Vulkan. I guess it could be a driver issue. Are you sure you are using nvidia-drivers (closed source ones) and not the nouveau ones (open source default)? Did you make any updates of the distro? I had an issue once when the everything ran poorly because, after the drivers installation, the kernel module didn't compile, prolly the new kernel was installed also and nvidia kernel module wasn't recompiled for some reason. I don't know what distro are you using, but, on Fedora, you have to remove nouveau and install the drivers, kernel module and other tools. You should see at one point of the installation or even just after the installation that there's a process related to kmod that is crunching your CPU a bit. If not, try reinstalling the akmod package.

Here's a list of commands that might help. If you're Ubuntu based distro, there should be similar named packages.
# make sure you are not running nouveau drivers - found some commands just searching on the web now (https://askubuntu.com/questions/271613/am-i-using-the-nouveau-driver-or-the-proprietary-nvidia-driver) lsmod | grep nouveau lsmod | grep nvidia # or... lspci -nnk | grep -iA2 vga # or... sudo lshw -class video | grep driver= # if it's nouveau, uninstall sudo dnf remove xorg-x11-drv-nouveau # there are some articles where they force not to use nouveau in grub, but I don't remember how and I don't think I had to use it, this step here is just in case you are stuck with nouveau ... # update the kernel to the latest sudo dnf update kernel # install the nvidia closed sourced drivers repo sudo dnf install fedora-workstation-repositories sudo dnf config-manager --set-enabled rpmfusion-nonfree-nvidia-driver # install nvidia and other components sudo dnf install vdpauinfo libva-vdpau-driver libva-utils sudo dnf install xorg-x11-drv-nvidia akmod-nvidia nvidia-settings sudo dnf install xorg-x11-drv-nvidia-cuda # install vulkan sudo dnf install vulkan vulkan-tools # if driver doesn't work properly, try reinstallung akmod-nvidia package to force the kernel module reinstallation sudo dnf reinstall akmod-nvidia # if this doesn't work, try reinstalling the kernel, and then the akmod-nvidia package just after that sudo dnf reinstall kernel kernel-core kernel-modules sudo dnf reinstall akmod-nvidia # install additional video codec tools like ffmpeg, gstreamer, etc. ...
Last edited by Pepe; Jun 16, 2023 @ 7:45am
. Jun 16, 2023 @ 9:01am 
Originally posted by Radoo:
Originally posted by 🔥:
I do have old pc with GTX1060. But it was enough to play with high video settings on Windows with 1920x1080, and to play with everything on minimum on Linux with 1280x960 resolution. I believe GTX1060 is not that bad to not be able to handle even this.
Because problem started after the recent update, and because it started to pre-process shaders by default, I have a feeling that this is because Vulkan is now used by default (though I am not 100% sure). And lags seems very familiar with those I got when tried -vulkan by myself couple of month ago.
So, how to stick with OpenGL?
Vulkan >>> OpenGL, Valve dropped support for OpenGL on Dota 2, CS will be next, if it isn't dropped already. Just because you have a problem you shouldn't try to revert to a lower performance API.

That's not that old of a PC. I have one older PC with GTX 970, everything works pretty well with Vulkan, actually, on 4K, there's a big difference from OpenGL to Vulkan. I guess it could be a driver issue. Are you sure you are using nvidia-drivers (closed source ones) and not the nouveau ones (open source default)? Did you make any updates of the distro? I had an issue once when the everything ran poorly because, after the drivers installation, the kernel module didn't compile, prolly the new kernel was installed also and nvidia kernel module wasn't recompiled for some reason. I don't know what distro are you using, but, on Fedora, you have to remove nouveau and install the drivers, kernel module and other tools. You should see at one point of the installation or even just after the installation that there's a process related to kmod that is crunching your CPU a bit. If not, try reinstalling the akmod package.

Here's a list of commands that might help. If you're Ubuntu based distro, there should be similar named packages.
# make sure you are not running nouveau drivers - found some commands just searching on the web now (https://askubuntu.com/questions/271613/am-i-using-the-nouveau-driver-or-the-proprietary-nvidia-driver) lsmod | grep nouveau lsmod | grep nvidia # or... lspci -nnk | grep -iA2 vga # or... sudo lshw -class video | grep driver= # if it's nouveau, uninstall sudo dnf remove xorg-x11-drv-nouveau # there are some articles where they force not to use nouveau in grub, but I don't remember how and I don't think I had to use it, this step here is just in case you are stuck with nouveau ... # update the kernel to the latest sudo dnf update kernel # install the nvidia closed sourced drivers repo sudo dnf install fedora-workstation-repositories sudo dnf config-manager --set-enabled rpmfusion-nonfree-nvidia-driver # install nvidia and other components sudo dnf install vdpauinfo libva-vdpau-driver libva-utils sudo dnf install xorg-x11-drv-nvidia akmod-nvidia nvidia-settings sudo dnf install xorg-x11-drv-nvidia-cuda # install vulkan sudo dnf install vulkan vulkan-tools # if driver doesn't work properly, try reinstallung akmod-nvidia package to force the kernel module reinstallation sudo dnf reinstall akmod-nvidia # if this doesn't work, try reinstalling the kernel, and then the akmod-nvidia package just after that sudo dnf reinstall kernel kernel-core kernel-modules sudo dnf reinstall akmod-nvidia # install additional video codec tools like ffmpeg, gstreamer, etc. ...
First of all, thanks for trying to help me.
I am running Kubuntu, everything fully updated, and it uses proprietary nvidia-driver-470. vulkan-tools is already the newest version (1.3.204.0+dfsg1-1).
I tried to change drivers to nvidia-driver-530, but is says some dependencies are not installable for some reason. Same with other drivers newer than 470.
The author of this thread has indicated that this post answers the original topic.
Pepe Jun 16, 2023 @ 9:49am 
I don't know how that Ubuntu package is working to help you much in this direction.

I did a basic test in CS:GO to show you how my old PC is still pretty capable thanks to Vulkan.

Config / Results | Old GTX 970 System | New Intel Arc 750 System -------------------------------------------------------------------------------- Resolution | 3840x2160 | 3840x2160 Global Shadow Quality | Medium | High Model / Texture Detail | High | High Texture Streaming | Disabled | Disabled Effect Detail | Medium | High Shader Detail | Very High | Very High Multicode Rendering | Enabled | Enabled Multisampling Anti-Aliasing Mode | 2X MSAA | 2X MSAA FXAA Anti-Aliasing | Disabled | Disabled Texture Filtering Mode | Anisotropic 8X | Anisotropic 8X Wait for Vertical Sync | Disabled | Disabled Motion Blur | Disabled | Disabled Use Uber Shaders | Auto:Enabled | Auto:Enabled -------------------------------------------------------------------------------- FPS - Menus Start Page | 98 FPS | 119 FPS FPS - Training Ground | | - Start | 127 FPS | 200 FPS - Moving around w/ MP7 in hand | | looking at the target | ~75 FPS | ~ 126 FPS FPS - Dust II practice with bots | | - CT mid with bots around AVG | ~90 FPS | ~120 FPS - CT MID with bots around LOW | ~72 FPS | ~109 FPS - Site A alone | ~120 FPS | ~160 FPS

* Steam Overlay was ON, and it seems the new GUI has a big impact for the first minutes of the game, funny enough it was more visible on the newer system, it crashed CS:GO at boot a few times.

Anyway, this was not a thorough test, I just wanted to show that my old system with the old GPU is pretty capable even in 4K, WITH VULKAN, and I can tune it even more, disabling antialiasing and other bling.
Edit: I did it, set Global Shadow Quality to Low, set Shader Detail to Medium , disabled AA and now I get for the Dust II test ~120/100/155 FPS. That's pretty good, in 4K!

Now looking back on the issues I had starting the game on my new PC, I want to suggest trying to disable Steam Overlay and see if things improve.
Last edited by Pepe; Jun 16, 2023 @ 10:13am
< >
Showing 1-15 of 29 comments
Per page: 1530 50

Date Posted: Jun 15, 2023 @ 12:45pm
Posts: 29