I’ve been having issues with GTA V on Linux too, with performance being heavily affected by a growing ram consumption that either just slows down the game, creates intense stutters, or just makes it freeze entirely by consuming every ram&swap available.
After trying a lot of different things, I have the following notes:
- Regarding FPS and/or stuttering
Using the Epic Games GTA V version, I’ve had very little success running it through Lutris (using the script for Epic Games available on their website), having severe problems regarding performance from what I assume were shader compiling shenanigans which caused constant heavy stutters, even in areas where shaders were supposedly being compiled/saved and shouldn’t keep causing stutters.
I couldn’t solve it there and instead just made a clean install through Heroic Launcher, which surprised me in not only having better performance for the game, fps-wise, but also not launching the Epic Store everytime you’d launch the game. Also no issues with shader compilation for me.
- Regarding ever-growing RAM usage
It seems to be an issue not only present in Linux, but also many forums I visited and videos on youtube I watched seem to point out that many users were affected by GTA V consuming ram endlessly, even in lowest settings, as if every area loaded is forever kept loaded into ram and swap even if they didn’t need to. This excessive usage of memory lead to slowdowns from swap being used (slower than memory) or complete freezes (not sure if it got this aggressive for other users, but it happened occasionally to me).
To workaround this, I’ve found out that a few videos on the Windows version of the game mentioned using the -memrestrict launch argument to limit how much memory GTA V could work with. Unfortunately, this is either outdated (as it’s no longer mentioned in Rockstar’s support page for the game as it’s available launch arguments) or simply does not apply on Linux.
However, that method make me think of limiting the ram usage of the whole game using some kind of Linux tool, and one exists already and has been working out for me. Using the systemd-run command, I was able to limit the amount of memory used and have a much nicer experience playing the game, even online, without exhausting RAM or SWAP.
In Heroic Games Launcher, I used it as a Wrapper as –scope -p MemoryHigh=4G -p MemorySwapMax=4G (my laptop has 8GB and a APU, so even with shared memory, this seems to work out ok, do try some other values for the limits as you see fit to your specs/situation)
MemorySwapMax works as a limit for swap.
MemoryHigh works as a limit for RAM.
For more information on usage of systemd-run and it’s arguments for resource control, refer to their [page](Specify the throttling limit on memory usage of the executed processes in this unit. Memory usage may go above the limit if unavoidable, but the processes are heavily slowed down and memory is taken away aggressively in such cases. This is the main mechanism to control memory usage of a unit.).
I don’t generally play single-player GTA V, but for Online my results have been an fps range of 38-60, depending on the area (Night clubs, got my eye on you), but mostly it stays in the 48+ range.
If it’s regarding Windows, I haven’t directly tested but found some YouTube videos regarding performance on the game for similar specs to my laptop’s (I play in 720p with FSR on) Example
Yes thank you, that sounds about right. How do I use dkms? Also why did you link xpadneo when I use xone? I feel like I am missing something obvious here.
I agree. Are you installing it from the GitHub repo? It looks like the install script should automatically use dkms. The next issue is making sure that it’s actually being triggered when you install a new kernel, which should already be happening. If not, you can use the archwiki page as a reference for how to rebuild the modules you need.
DKMS is installed and I dont recall seeing any error message when I run the xone install script, but I would have to check when I have time to make sure I didnt miss anything
After checking again I see that I get the error “could not locate dkms.conf” when I run the install script. I am googling solutions but if you have any ideas I would be glad to hear them!
Before you ask “why aren’t you running Starfield with Steam’s Proton Experimental or Proton-GE” let’s say I went out sailing yesterday and met a fellow legitimate sailor who was giving many people a great discount on the game.
In spite of this, before you try working all this out, I do want to make sure that you are aware: you can add Starfield from another vendor as a “Non-Steam Game”, still use Proton, and likely avoid all of it.
Surprised that it still had Denuvo up until now. I’m pretty sure they accidentally released a Denuvo-free executable on the day the game launched so the game was pretty much cracked instantly.
I doubt Denuvo helped their initial sales at all. Doom Eternal is a good game and that’s what actually makes them money, not stopping the pirates out there.
All denuvo has to do is generate more sales than it costs to license. And it seems it does given how popular it is. If it wasn’t a profit generating thing for games companies then absolutely they wouldn’t pay for it.
Because the sales in the first weeks matters the most. A lot of people always want the latest things either for free or in the worst case, they will have to pay . Denuvo has shown that the anti piracy mechanism are effective enough to stop a working cracked version to appear at day one or two. In some cases it took people 2 to 4 days to release a working version without Denuvo. So its an easy gamble for publisher to release a version with Denuvo. www.makeuseof.com/what-is-denuvo/
In some cases it took people 2 to 4 days to release a working version without Denuvo
2 to 4 days? How about months and counting? Not to mention many Denuvo protected games are only playable through Switch emulation, something that might end soon.
Oh, I didn’t know it was this bad. But I already heard that Nintendo wants to start to work with Denuvo. Which will take a toll on the already outdated hardware. Not to mention that you probably wouldn’t be able to play Nintendo exclusives with 60 fps or more on PC anymore.
Of the 127 Denuvo-protected games released since 2020, only half have had their DRM protection successfully cracked, according to a list maintained by the Crackwatch subreddit (this includes some games that officially removed Denuvo after being cracked). And among the half that have been cracked, the median title received a full 175 days of effective DRM before a crack was released, according to that same list. That’s a lot better than the “under a week” Denuvo cracking times that were making headlines in 2017 and means the vast majority of recent Denuvo-protected titles can’t be effectively pirated in their first month of two of sales, “where the bulk of the money is made for a premium game after being made available,” as Huin put it.
It just means Denuvo DRM was removed, which can cause issues with offline setups. Probably won’t affect performance unless it was particularly poorly implemented.
I didn’t realize it had Denuvo. Maybe their claims that Denuvo doesn’t impact performance isn’t as much of a lie as I’d thought. I’m still waiting on them to post benchmarks though.
Looks more like a tricky headline. There’s 2 claims there: Denuvo was removed. The game plays great on the Deck. The headline is just making it look like one lead to the other.
The article actually says “now that it’s removed, maybe it plays even better.” But doesn’t tell us if it does.
Not to say Denuvo doesn’t have a performance impact, this just isn’t a smoking gun.
You’ll be disappointed if you’re looking for “more DOOM 2016”- Eternal is a different beast entirely. Feels much more like a realtime first person puzzle game than a mindless arena shooter. Knowing enemy weak points and what guns do the most damage to that specific enemy + micromanaging ammo, health and armor is a BIG part of Eternal’s gameplay loop. It’s very good, but it’s quite far removed from 2016 in terms of gameplay.
I’m not sure sadly, I don’t use Arch. I would expect there’s a way of uninstalling llvm16 and re-installing llvm15. Again, if you don’t need the hassle you can just use Flatpak steam for these games.
The only programs I know that call llvm during usual non-developer operation is radeon drivers. But in that case entire graphics system would be broken.
linux_gaming
Active
This magazine is from a federated server and may be incomplete. Browse more on the original instance.