this post was submitted on 18 Apr 2024
114 points (97.5% liked)

Linux Gaming

15744 readers
177 users here now

Gaming on the GNU/Linux operating system.

Recommended news sources:

Related chat:

Related Communities:

Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.

founded 4 years ago
MODERATORS
 

So after one of my recent comments about if Linux is ready for gaming, I decided to pick-up a new Intel based wifi adapter (old one was broadcom and the drivers on fedora sucked and would drop connection every few minutes).

So far everything is great! Performance wise I can usually run every game about one tier higher graphically (med -> high) with the same or better performance than on Windows. This is on an rx 5700 and an ultrawide.

Bazzite is running great as always. Still getting used to the immutability of the system as I usually use Arch btw, but there are obviously workarounds to that.

Overall I'm still getting used to the Steam "processing vulkan shaders" pretty much every time a game updates, but it's worth it for the extra performance. Now I'm 100% Linux for my gaming between my Steamdeck and PC.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 6 months ago (3 children)

Aah okay that makes sense. I wouldn't mind the extra space.

If that's turned off, do you know if the game generates and caches shaders as you play? If so, does that also apply to games run outside of Steam?

Currently I'm just playing games like Hunt Showdown and Helldivers.

[–] [email protected] 4 points 6 months ago

For Hunt Showdown specifically, I have tried skipping pre-caching before and the load into a level took so long that I got disconnected from the match. I recommend keeping it enabled for multiplayer games for that reason.

[–] [email protected] 2 points 6 months ago* (last edited 6 months ago)

well, I do have this one game I've tried to play, Enshrouded, it does do the shader compilation on it's own, in-game. The compiled shaders seem to persist between launches, reboots, etc, but not driver/game updates. So it stands to reason they are cached somewhere. As for where, not a clue.

And since if it's the game doing the compilation, I would assume non-steam games can do it too. Why wouldn't they?

But, ultimately, I don't know - just saying these are my observations and assumptions based on those. :P

[–] [email protected] 2 points 6 months ago* (last edited 6 months ago)

It's usually disabled outside of steam. However you can use environment variables :

DXVK_ASYNC=1
DXVK_STATE_CACHE=true
DXVK_SHADER_CACHE=true
DXVK_STATE_PATH=
DXVK_STATE_CACHE_PATH=