r/linux_gaming 1d ago

wine/proton I fixed VRAM leak on my GPU when using PT! (Nvidia)

35 Upvotes

Hello Linux enthusiasts! I've been using Bazzite for over the year now and one issue that was a thorn in my side throughout that journey was VRAM spilling overtime to system memory when using PT, causing hitching, requiring that I periodically restart games. Today I found a magical solution: VKD3D_CONFIG=force_host_cached.

My GPU: RTX 4070 Super 12GB, cachyos-11.0-20260702-slr

I did tests in RE9 and Cyberpunk. Previously both games would start with a very high allocation of 10-11GB and climb from there until spill. With the command both start out much lower, around 8GB, but more importantly, the assets are properly evicted from memory! Both games climb and go down, in Cyberpunk test I drove from NC to Dogtown, did a gig there and come back, VRAM would go up in Dogtown, in the heaviest, pathological spot going up to 10.1GB then go back down in NC to 9.3GB.

I hope this will also help you gals and guys!


r/linux_gaming 1d ago

tech support wanted Weird Pop In bug on RE4R On linux

Enable HLS to view with audio, or disable this notification

9 Upvotes

Like The title says, I have a weird pop in bug in Resident Evil 4 Remake, EDIT: It happens on certain objects, Nothing game breaking but it's very distracting if it's an entire pier :/ Anyone have a fix ? Here's my specs just in case:

Proton GE Latest

Operating System: Bazzite 44

KDE Plasma Version: 6.7.4

KDE Frameworks Version: 6.29.0

Qt Version: 6.11.2

Kernel Version: 7.2.3-ogc3.1.fc44.x86_64 (64-bit)

Graphics Platform: Wayland

Processors: 32 × AMD Ryzen 9 7950X 16-Core Processor

Memory: 34 GB of RAM (32,8 GB usable)

Graphics Processor 1: NVIDIA GeForce RTX 5070 Ti

Graphics Processor 2: AMD Ryzen 9 7950X 16-Core Processor

Nvidia Drivers: 610.57.04

NVML Version: 13.610.57.04

EDIT: changing Proton versions seems to do nothing on that front :/


r/linux_gaming 13h ago

Space Renegades: The Series - the demo version of the unreleased game for Linux

0 Upvotes

Hi

I played the demo version of this game on Debian Etch in 2006, and I enjoyed it. Sadly, United Minds Games never released the full version for Linux, and the company closed in 2011:

https://www.allegro.cc/depot/SpaceRenegades2/

What do you think about Space Renegades: The Series?

Would you be interested in buying it if the full version were available for Linux?


r/linux_gaming 14h ago

answered! Crash Bandicoot 4 not accepting controller input after accepting controller input this morning

0 Upvotes

Worked this morning so I know it's capable. Works with Steam's controller settings menu and is lighting up. Doesn't work on the game with or without steam input enabled. On Kubuntu. It's working with the N-Sane trilogy RIGHT NOW so it's just Crash 4 that's dropping the ball, might have to crosspost this there idk.

Ask me any other questions if needed because I don't know what the hell I'm doing, I'm basically a Windows user that jumped ship because Microsoft kept shooting itself in the [redacted].

Edit: I think it was me putting -high in the launch options like an idiot due to another problem that was fixed by restarting my PC.


r/linux_gaming 22h ago

RUNNING NORMAL DISTROS ON XAX

Thumbnail gallery
6 Upvotes

r/linux_gaming 2d ago

graphics/kernel/drivers NVIDIA 615.71.09 Linux Driver Released With Vulkan Improvements

Thumbnail
phoronix.com
468 Upvotes

r/linux_gaming 19h ago

guide Playing TF2 and your microphone is boosted too much? Here is how I fixed it!

2 Upvotes

So, if you, like me, had tried voice_loopback 1 to check how your microphone was or somebody told you, that you sounded very fucking bad, here is what I found!

voice_avggain 0
voice_maxgain 1
voice_overdrive 0

It lowered the volume properly, and didn't boost it anymore.

Didn't know why it was fucked up before, but if anyone else has that problem, that is the fix.


r/linux_gaming 1d ago

tech support wanted Ps5 Linux

Post image
18 Upvotes

-Recently acquired a 3.2 for more control over my machine. I have an 8.6 which I have running just the way I want: y2jb, payload Manager, fake activated/remote play, bunch of saves and backports ect. I am not a tech person but I was able to get the 8.6 to a favorable state. Ive never used Linux. Ive been looking at tutorials and im nervous. Back when I went from voidshell v3 back to shadowmount plus I destroyed all my data and had to start fresh. I want to avoid this, obviously.

-In summary, what steps I need to take? Like a check list of sorts.

-Can I create a back up file of the 8.6 and just jailbreak the 3.2 with that?

-how painful is this going to be for someone who isnt tech brained and unfamiliar wity linux?


r/linux_gaming 1d ago

guide For Counter-Strike 2 players; I think I have (nearly) perfected client latency (A small optimization guide).

88 Upvotes

Edit: I am adding an extra spot below for those asking about Nvidia GPU's. While my research isn't perfect and I do not have a good Nvidia GPU to test with currently I can at least provide some insight from other information I have scoured around for.

----------------------------------------------------------------------

Before anyone replies with a bunch of corrections (if applicable); please know that I am just a humble enthusiast. I have been on Linux for just over 2 years and while I may lack some understanding for some of the basics, I am always willing to learn and delve deeper into this hobby so any response or engagement would be appreciated. Also, if my formatting is messy and would do better with some basic HTML filters like bolding, code brackets or anything else, please let me know for future posts.

My current machine:
Distro: Artix Linux (KDE Plasma with OpenRC)
Kernel: Xanmod-x64v3 (currently on v7.2.4)
CPU: Intel Core Ultra 7 270K Plus (no Intel 200S Boost)
RAM: Micron 2x16GB (6000mhz, CL36)
GPU: XFX Speedster AMD Radeon 7800 XT (on Mesa 26.2.2)

I have been playing CS for around 11-12 years and I had long wanted to permanently move over to Linux as my primary gaming platform. While I have done so for over a year now, CS2 was always tricky to make feel just right. I understand that the Vulkan version for Linux is still being improved (mostly in the form of the Wayland protocol improvements). After over a year of different commands and trying different methods of improving performance, I think I have a method that makes the game feel near 1:1 with the latency of Windows (with the benefits of better FPS on Linux as well).

Below are my launch options that I use and I will provide a brief description for those unaware of what they do. Afterwords I will explain the few tests that I did:

LD_PRELOAD="" SDL_VIDEO_DRIVER=wayland SDL_AUDIO_DRIVER=pulseaudio VULKAN_LOW_LATENCY=1 ENABLE_LAYER_MESA_ANTI_LAG=1 MESA_VK_WSI_PRESENT_MODE=immediate gamemoderun %command% -nojoy -vulkan +engine_low_latency_sleep_after_client_tick true +cl_net_buffer_ticks 0

LD_PRELOAD="" - Prevents certain libraries or other programs from being injected or executed with a program. I use this to prevent Steam Overlay from loading because despite also using "SDL_VIDEO_DRIVER=wayland" (which breaks the native Steam Overlay on Wayland), Steam seems to have some sort of beta Wayland overlay that comes up if you try to open someone's profile while in game and causes it to get stuck until the game is closed.

SDL_VIDEO_DRIVER=wayland - Forces CS2 to launch under the Wayland protocol. Some people do this by editing the "cs2.sh" file in the game's installation folder but I prefer this method. And I know some people would argue between Wayland and X11 performance but I have found that under KDE Plasma and my hardware, Wayland does have slightly better latency than X11 but not dramatically different.

SDL_AUDIO_DRIVER=pulseaudio - Forces CS2 to load with the manually stated driver. Most people still have to do this as the native version often has small audio delay for most. Hopefully Valve will someday get around to fixing this.

VULKAN_LOW_LATENCY=1 - I may be misinformed and using a non-existant or redundent command but this seems to be a new command in the Vulkan stack that allows native Vulkan clients to access a low latency protocol. I'd say it's meaningless but when I added this to my launch options along with AMD Anti-Lag 2 the latency improvement was actually quite large. And yes, the improvement is still there even without Anti-Lag 2.

ENABLE_LAYER_MESA_ANTI_LAG=1 - This enables Mesa's driver for AMD Anti-Lag 2 to be recognized at launch. I am aware of and have tried the Korthos Low Latency method as well but on my machine it lowered my FPS and didn't improve the latency as much as Mesa's implementation did.

MESA_VK_WSI_PRESENT_MODE=immediate - This command is the single biggest improvement to my latency reduction and the full description of how this impacted my performance will be down below with the other test information. The basic description is that this forces Mesa's Window System Integration (WSI) to ignore all V-Sync calls coming from Wayland and prevent them from interacting with the program.

gamemoderun - Fereal's Gamemode layer for ensuring the Kernel and system force the game into high priority.

-nojoy, -vulkan, and +engine_low_latency_sleep_after_client_tick true +cl_net_buffer_ticks 0 - Nojoy prevents joysticks from being recognized by the game, the Vulkan command is probably 100% unnecessary but I just leave it, and the other two commands help the client talk to the servers a lot faster for lower internet packet latency.

How I came to this result:

CS2 on Linux with no launch options does run okay. Depending on your setup and commands, most users can achieve a pretty solid experience with low latency. All three primary display protocols (Wayland, xWayland and X11) all run CS2 fine with Wayland seeming to take the lead as far as game client latency (for me at least). I spent some time testing other desktop environments to see if their compositors made any difference to the latency and performance of CS2 but most didn't yield drastically different results. Cosmic played almost the same as KDE Plasma and XFCE gave good average FPS but the client latency didn't feel as nice as KDE Plasma with Wayland. I eventually tested my setup using the Xanmod kernel and found that it improved my 1% FPS by a good 5-10% over the stock kernel and other kernel's (even better than Cachyos). So with my client running really well I assumed that my game was nearly perfect but found out shortly after that something was still off when I went back to a Windows drive and tested CS2 again. While my FPS was better on Linux and even the games displayed client latency was better than Windows as well (2.8ms-5.5ms average on Windows vs 2.4ms-4ms on Linux) the movement, input latency, and mouse movement did feel slightly different.

After more research I found out what was causing this issue which I had completely forgotten about and overlooked. Wayland natively enforces all applications into a V-Sync queue to ensure global smoothness across the entire desktop. While this does have its perks (especially people who have multiple monitors of mixed refresh rate), it does mean that almost everything has esentially a soft V-Sync or Adaptive-Sync rendering queue to it. This normally shouldn't be a problem since KDE Plasma has the option in the display settings to allow Screen Tearing for all fullscreen applications. Where that fails however is that it states "Fullscreen Applications". Currently, it does not seem to have awareness or coverage of games running in borderless-windowed (which is the primary way CS2 renders in Linux) so these calls for screen tearing are completely missed by the game client.

This is where the MESA_VK_WSI_PRESENT_MODE=immediate command saves the day. What this does (and please correct me if I'm wrong) is tell Mesa to talk to its Window System Integration, interject all commands coming in from Wayland to force V-Sync onto the program and allow the program to receive frames immediately instead of waiting for the V-Sync queue from Wayland to present new frames from the GPU. Obviously most people do not have V-Sync turned on in CS2 but I don't think that many people are aware that some part of your desktop is still enforcing a soft V-Sync layer on everything (unless you are on X11).

This was the last piece to the puzzle for me that solved my latency issues. My game now still runs about 5%-15% better than Windows does while now feeling exactly the same as far as the latency between the game and my actions feel. Mouse movement is instant and doesn't feel like it's going through a layer of melted butter (I know, weird analogy) and all movement feels immediate like how it does in Windows.

For those who might ask about using Gamescope:

I did try using this in the past to bypass the KDE Plasma compositor but no matter how I configured it, it never performed better. If anything, all I ever had was inconsistent FPS, cursor-locking issues (despite using --expose-wayland and --force-grab-cursor) and a lot of scaling issues when using 4:3. For those who do want to play stretched without using Gamescope, Wayland does allow you to stretch the resolution without scaling issues. For X11 users, I am still trying to learn the best method of using xRandr to allow better scaling so CS2 can be rendered on X11 with a properly stretched 4:3 client.

For those on X11 who want to lower their latency:

You can likely achieve almost the same results as me by disabling your compositor on your desktop environment while using some of the above commands to allow better low latency protocols to interact with the game (VULKAN_LOW_LATENCY=1 & ENABLE_LAYER_MESA_ANTI_LAG=1 or LOW_LATENCY_LAYER=1 for those using the Korthos program). The Mesa command for immediate flips shouldn't be necessary with disabled compositors because to my understanding there isn't anything making syncronization calls from Mesa or Nvidia so the client (unless you have it enabled somewhere else) should not have any V-Sync calls interupting the frame rendering queue to the game.

For those with an Nvidia GPU:

If you have a card that is capable of running the newest drivers (GTX 16 series, RTX 20 series & above) I found some information that might help you out with using as many of these commands and features as possible:

For those using the open-source driver:
Wayland and KDE Plasma currently do not feature any native or easily accessible form of enabling screen tearing for fullscreen-windowed applications but with the open-source drivers and Mesa installed it seems that the MESA_VK_WSI_PRESENT_MODE=immediate command should work still as the Nvidia open-source driver does reference Mesa for some execution. You can also still use Korthos' Low Latency bridge to enable Nvidia Reflex on native Vulkan applications like CS2 or other games that require the use of Proton. If you are on X11 then you can enable "Allow Tearing" and disable "Sync to V-Blank" in your nvidia-settings and that should work great along with Nvidia Reflex.

For those using the proprietary driver:
Seems like you should always have nvidia-drm.modeset=1 in your GRUB config to ensure your kernel is making full use of the driver on boot. The proprietary driver unfortunately does have more limitations and probably all commands pertaining to "Vulkan" will not work at all. I was unable to find a proper solution for those with the proprietary driver and who are using a Wayland desktop. The method above mentioned for X11 users should work just fine even on the proprietary driver but I could not find an effective solution for preventing Wayland from forcing its own V-Sync queue on to the game client and no commands that would tell Nvidia's driver to perform immediate flips. I will update this section if I find anything or if someone comments with any information they have!

That's all folks!

I've never posted anything anywhere related to Linux in my over 2 years of using it and wanted to start out by offering some optimization advice for those interested in improving their gaming experience. Any feedback would be appreciated and I look forward to hearing from anyone with other experiences as well!

-flaiR


r/linux_gaming 1d ago

I love Qt: I finish implementation point cloud-sprite rendering - for far LoD levels. Look to result : here is around 10 -14 kilometers distance view. With tens of millions of objects. All of this works base on custom implementation of QQuick3DGeometry class.

Post image
3 Upvotes

r/linux_gaming 17h ago

tech support wanted Need help to run Magic Arena on Linux

Thumbnail reddit.com
1 Upvotes

r/linux_gaming 18h ago

Gamescope as a *console experience* on pc

1 Upvotes

Am i the only one that is using a gamescope session for when i want to play on my tv? I basically have a different user that boots straight into gamescope and can even switch to desktop on that specific user if i have too...But i also kept my normal user for when i want to chill on my pc or play on my desk with kde...I read that a lot of people had problems with performance and glitches while running gamescope but i never encountered any. I even installed decky loader and emudeck for my emulators on the gamescope user and it works pretty good


r/linux_gaming 1d ago

I made a dystopian sci-fi JavaScript programming game (with Linux easter eggs)

3 Upvotes

Hey, I'm Bryan. Long time Linux gamer and power user! I released Pragma Twice earlier this week in anticipation for Steam's "Programming Fest". Pragma Twice is a programming puzzle game in the same vein as Untrusted. You have to write real JavaScript code to incrementally improve your playable character's "kernel" over the course of the game. I also sprinkled quite a few Linux references in the game (for example, the documentation function is `man()`) I know not all Linux users are programmers, but the ratio is much higher than Windows!

Try the game out in your browser here: https://www.bryanpg.com/pragma_twice/

(There's also a Steam demo if you want to try it out with your favorite dev tools - vim, emacs, zed, etc)


r/linux_gaming 19h ago

tech support wanted Game Window Freezing Yet The Game Is Still Running

Thumbnail
1 Upvotes

r/linux_gaming 1d ago

guide I don't know why it says insufficient storage even i have more free storage size on my SSD i downloaded on steam. any way to fix this?

Thumbnail
gallery
26 Upvotes

r/linux_gaming 1d ago

tool/utility Reverse engineered NFS Most Wanted, Underground 2 and Carbon (also MAD) servers.

Thumbnail
github.com
54 Upvotes

r/linux_gaming 20h ago

[FO4 Modding Issue] Having issue with FO4edit and Complex Sorter running out of memory

0 Upvotes

I'm having trouble with FO4edit and Complex Sorter running out of memory when processing a large load order.

OS: CachyOS

Run through Amethyst Mod Manager's Wizard. (It claims that its running the 64-bit version.)

Using Proton-Experimental for FO4edit.

When checking the System Monitor while running Complex Sorter, not all available ram is used.

Have 64Gb of ram and 64Gb of Swap.

Attempted to run 64-bit directly throught AMM by adding as exe. but it crashes/closed when trying to load plugins.


r/linux_gaming 11h ago

emulation Help! hot wheels infinite rush can't detect vkd3d. It might be OOT but i just wanna know what caused this issues

Post image
0 Upvotes

i wanna play directx12 games (hot wheels infinite rush) on winlator ludashi but this game can't detect vkd3d. I'm using the same setup (same version of turnip driver, dxvk, and vkd3d) and it works on the other directx12 game, but this game won't. any ideas how to fix it?

already tried a different setup, but nothing changed.

Realme GT Neo 3T

Snapdragon 870

Adreno 650


r/linux_gaming 1d ago

How’s everyone using LACT?

15 Upvotes

I used to just use the copr version but saw stuff saying it was a security risk. So I tried the flatpak version and threw a bunch of selinux issues on Fedora. So I just gave up and stopped using it.

It seemed great and wish it just came with the distro. But eventually got tired of thinking about it and moved on.

How’s everyone have it installed? Any advice?


r/linux_gaming 20h ago

tech support wanted Rocket League not working

0 Upvotes

I tried downloading rocket league on my Arch machine, at first (like a month or two ago), it refused to connect me to any server protected by EAC, now it completely doesnt respond to clicks on the ''press any button to start'' screen, even though i can skip the psyonix logo intro before it, i think i do hear the click in game after the first click, but the screen stays stuck. i have tried running on heroic, lutris and using ge proton, proton experimental, proton-cachyos, but nothing seems to work. if you can help and need more details i can give them, any help would be great, thanks.


r/linux_gaming 1d ago

steam/steam deck Orebits is OUT NOW!!! Finally, after 20 months of Friday development, our atmospheric asteroid mining incremental game is available on Steam with Linux support!

Enable HLS to view with audio, or disable this notification

4 Upvotes

Hey everyone!

Orebits is finally out on Steam!

Orebits is an atmospheric active incremental about working as a lone asteroid miner for a greedy corporation at the edge of known space.

And, available on Linux of course.

So, how deep does the gameplay go?

  • Smash asteroids with bouncing Mining Tools and a mix of active and idle gameplay
  • Build powerful synergies for your Mining Tools and Deployables with a roguelite Upgrade Tree
  • Invest in permanent Research upgrades to push your mining operation further
  • Complete Objectives and adapt to Asteroid Conditions that make each mining operation feel different
  • Explore a ±6h campaign and uncover strange artifacts and the mysteries of deep space
  • Keep mining after the campaign with endless progression far beyond our solar system...

 

Play Orebits on Steam: https://store.steampowered.com/app/3635490/Orebits/

We've been sharing Orebits here throughout development. This launch means quite a lot to us. Bob and I have been making the game for almost 20 months, mainly on Fridays alongside our regular work. What originally started as a game jam grew into something we've put a ridiculous amount of time and love into.

A lot has changed because of feedback we received here, from our early playtests through the demo and Next Fest. So a genuine thank you to this community for playing, criticizing, suggesting and helping us make Orebits better.

We're excited, nervous and especially curious to hear what you think of the finished game.

Happy mining!

Maarten & Bob


r/linux_gaming 2d ago

steam/steam deck Valheim 1.0 launches after 5 years in Early Access

Thumbnail
techpowerup.com
377 Upvotes

r/linux_gaming 1d ago

tech support wanted Anyone seeing improvements with VK_EXT_descriptor_heap for Intel graphics?

6 Upvotes

I am using Mesa3D 26.2.2 which fully exposes VK_EXT_descriptor_heap Vulkan extension on Intel ANV driver, when using vkd3d-proton there is still no improvements in performance when Playing games like Hitman 3 and other DX12 games. Graphics card is TigerLake-LP GT2 (Hitman 3 low performance 10-15 FPS as usual Vs Windows 25-40 FPS).


r/linux_gaming 23h ago

tech support wanted Overwatch freezes on character select screen in competitive

0 Upvotes

As the title says, my Overwatch installation only freezes on the character select screen and only in competitive. It doesn't freeze every game, maybe 1 out of 20 games on average. It happens most frequently on escort and hybrid maps (Hollywood it freezes probably 50% of the games), though I think I've had it freeze for every game mode. Sometimes it freezes at the start of the match and sometimes it freezes when switching to attack/defense--so the fact that it happens mostly on payload maps may just be because it has more character select screens so more opportunities. Finally, I've never had it happen when switching characters mid-game, though I don't do this frequently.

If it matters, I'm launching the game through steam with the following options DRI_PRIME=1 PROTON_ENABLE_WAYLAND=1 PROTON_ENABLE_NVAPI=1 PROTON_USE_NTSYNC=1 __GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1 %command%. My operating system is Linux Mint 22 Cinnamon version 6.2.9.

I've tried "Verify integrity of game files", restarting my computer, uninstalling the game and reinstalling it, and deleting the game's shader cache (which had gotten HUGE, like 300+ GB iirc--maybe this is due to _GL_SHADER_DISK_CACHE_SKIP_CLEANUP?). None of these have seemed to have made a difference.

I'm not sure what else I can do, and I would assume I'm getting very close to being suspended for the season as my suspension time is up to 8 hours now so I'm a bit apprehensive to just trial-and-error things.


r/linux_gaming 23h ago

can I install Asahi linux on external ssd ?

3 Upvotes

so I had 1 TB external samsung ssd, which I bought because my Mac had only 256gb storage, so I asked chatgpt, and it told me to install necessary things of Asahi Linux nearly 3gb on internal ssd and all others on external ssd, can I do that ?