If I don’t alt-tab the game doesn’t break.
It’s likely the 560 driver on Wayland being the culprit here. Specifically resizing XWayland windows. You could try running nvidia-smi
in a terminal and see what specifically is causing this VRAM spike.
Reports of excessive VRAM usage with the 560 driver on Wayland. See this for a potential fix. Hope it helps
But if it is true, it may be more sensible to make an API so software with specific permissions could access information needed to effectively function as antivirus, without being run in kernel mode.
I’ve come to this conclusion as well. I believe Apple has similar functionality with their “kernel-extensions”, I believe it’s called.
You have a point, but if Microsoft completely locks down the kernel, preventing any third party software/driver from running at the kernel-level, Anti-Cheat developers will have to find a new way to implement Anti-Cheat. This may open up the possibility of some newer form of Anti-Cheat being user-space; or at the very least NOT ring 0, which in-turn may open up the possibility of this new form of Anti-Cheat working underneath Linux.
Or maybe we’re all still screwed because this new form of Anti-Cheat will perform on a basis that trusts that there is no third party access to the Windows kernel because of how restricted it is, therefore nullifying the need to be ring 0, but it still might not work under Linux due to the freedom/access users have to the kernel.
But then again, in order to implement any third party driver into the Windows kernel, it has to be signed and/or approved by Microsoft first (IIRC). But cheaters get around this through various means. So maybe nothing changes; but if Microsoft DOES restrict kerne-level access, this leads me to think that Anti-Cheat will have to change in some form or another, which may lead to it working on Linux.
TBH, The only way(s) I see Anti-Cheat moving forward at all, is:
Why do certain security software require access to the kernel? To keep malware from getting to the kernel or something?
Security software doesn’t necessarily NEED access to the kernel, but kernel-level access provides the maximum amount of access and visibility to the rest of the system. The only thing higher then kernel-level is hardware-level.
In the case of CrowdStrike, kernel-level access provides their software to have the highest privileges which yields in the most effective defense against malware (in theory). However third-party, kernel-level access is never a good idea. Software that has kernel-level access can be, and has been, exploited before. In the case of CrowdStrike, it was a faulty update that screwed over Windows systems. The more access you have in a system, the more you screw it over when something fails.
Doesn’t restricting access to the kernel offer more security?
Yes! You are correct. If implemented correctly of course, restricted access to the kernel provides a higher amount of security.
Wouldn’t malware also be unable to access the kernel?
In theory, the more restricted the kernel is, the more difficult it is for malware to access the kernel.
Kernel is what connects software and hardware, correct?
Yes. A function of the kernel is providing a way for software and hardware to communicate with each other.
In the meantime you can use this. Feel free to ask if you need further help.
Edit: I found this guide. Hope it helps!
I was initially going to post just the changelog itself, but included in the changelog are other older fixes before July 22nd. Even though the fixes present on July 22nd are bolded, I decided to use the blog post because it only highlights the fixes for July 22nd. I didn’t think of this previously, but I could have just posted the changelog, and specifically noted the July 22nd fixes 😅
https://www.gamingonlinux.com/ is a wealth of information, of which, I am not willing to let go, as it is a resource of current news that is very relevant to this “Linux Gaming” sub. So no; I will not stop linking https://www.gamingonlinux.com/ to this sub just because you got butt hurt.
The only times I’ve encountered a game or program not launching via Bottles, it had to do with missing dependencies and/or other issues with the installer.
SteamDB has a list of dependencies that are used for Ape Out, of which you can try adding to your Bottle.
However, I would try running the game in Lutris; In Lutris, if you encounter issues with the game, you can click on “show logs” which will (hopefully) help you out a great deal. Lutris uses their own runtime which is primarily pulled from Valve’s Steam runtime (IIRC), saving you from having to hunt for dependencies (if missing dependencies are the issue).
You can check if it’s using the Discrete GPU by going into “Details” in your game’s bottle, then go into “settings”, and make sure that the toggle for “Discrete Graphics” is turned on. You can also set an environment variable; DRI_PRIME=1
. Also might want to check your HDMI or DP cable is plugged into your GPU. You could also try checking GPU usage while the game is running, and seeing if it’s using your GPU at all.
You said you moved to Fedora from Pop_OS; If you are using an Nvidia GPU, you might want to check if you’ve got the Nvidia Proprietary drivers installed or the Nouveau drivers. You can check this by running lsmod | grep nvidia
in a terminal. If you get any output whatsoever then you’re using the Nvidia Proprietary drivers, which is what you want for gaming.
If it is a shader issue; in the same “settings” in bottles make sure DXVK and VKD3D aren’t disabled. There’s no real way to bypass shader compiling. All your games need to compile shaders.
Assuming when you created the bottle, you chose “gaming”, it will use “soda” as it’s default runner, which is based off of proton. Maybe try going into preferences, runners, then click on “Soda”, and try messing around with different versions.
According to the latest ProtonDB reports of Ape Out, Proton 8.0-5 was being used. Looking at my available “Soda” runners in bottles, I see soda-8.0-2
,soda-9.0-1
, and soda-experimental_8.0
as the latest runners available. I would try using those runners as a start.
Also, (I only now just noticed it), under preferences, in General, there is an “Integrations” section. Under that there’s “Steam Proton Prefixes”, which (I assume) allows you to use Proton prefixes.
Here are the following commands, depending on your installation method of Steam to give permissions to Steam’s path if it doesn’t have it already.
Steam non-Flatpak:
flatpak override --user com.usebottles.bottles --filesystem=xdg-data/Steam
Steam Flatpak:
flatpak override --user com.usebottles.bottles --filesystem=~/.var/app/com.valvesoftware.Steam/data/Steam
Alternatively you can use Flatseal and add the path: ~/.var/app/com.valvesoftware.Steam/data/Steam
You can thank AMD for that.
From AMD:
Console-Class Gaming on the Go: Built-in AMD Radeon 800M graphics are the world’s best graphics for gaming8, ensuring top-tier gaming experiences with high frame rates and ultra-low latency.
For those curious about the “Memory on Package”; this isn’t soldered on RAM. The RAM is integrated into the CPU package itself. This can be a good thing; improved performance and power efficiency, increased memory bandwidth which allows the CPU to talk to the RAM at insane speeds due to how close the RAM and CPU are to each other . The downside to all of this, is you can’t upgrade the RAM. Intel’s probably gonna pull an Apple, and charge you an insane amount for more RAM. Also, currently they only support memory capacities of 16GB and 32GB.
The first “2” probably indicates that it’s a sequel. “Ship” probably refers to the developers, “Harbour Masters” who made “Ship of Harkinian”, the PC port of Ocarina of Time. The second “2” (I’m not too sure on this) might again, refer to it being a sequel, and “Harkinian” is likely taken from “King Harkinian” from the old Zelda CD-i games.
Since you have Nvidia you’ll want to use the Nvidia proprietary drivers for the best performance. The open source driver for Nvidia (nouveau) is awful when it comes to gaming performance, unfortunately. (Although this will soon be fixed with NVK)
Depending on your distro of choice, you’ll need to figure out whether you want Secure Boot on or not. I believe Windows 10 doesn’t require Secure Boot to be enabled, but I think Windows 11 does. So depending on how frequent you want to be booting into Windows this might be a bit of an annoyance. You can leave Secure Boot disabled and use the Nvidia Proprietary drivers as-is, but if you want to enable Secure Boot you’ll have to sign the Kernel yourself - it’s a pretty straight forward process.
I recommend you try to keep Secure Boot enabled for the added benefit of security and ease of use when dual-booting, but if you don’t want to go through the hassle of signing your own Kernel, then simply leaving Secure Boot disabled when in Linux will suffice.
I recommend against using Ubuntu because of Canonical’s many poor decisions with Ubuntu. I won’t get into it right now, but if you’re comfortable with Ubuntu don’t let me stop you from using it.
In reality, you can use whatever distro you want. One distro isn’t inherently better at gaming then another. It’s a matter of configuration.
As per your request, PoVoq, I am volunteering to help moderate this community@davel@lemmy.ml
Flatpak’s security and sandbox has gotten much better in recent years. I’ve been using Steam via Flatpak for a while now and haven’t run into any issues yet, other than not being able to make desktop shortcuts of my games.
I use Flatseal (another Flatpak application) to further restrict my Flatpak’s permissions) The default Flatpak permissions for Steam aren’t bad IMO (at least when compared to other Flatpaks) but you can tweak it to your liking using Flatseal.
If you want to take it a step further, I would recommend using Goldberg’s Steam Emulator, which is FOSS, and it will allow you to bypass Steamworks DRM (which is Valve’s very weak DRM) for games which solely use Steamworks DRM.
I find that the overwhelming majority of my games just use the Steamworks DRM if any, but YMMV. Using Goldberg’s Steam Emulator is also a good way of preserving your library if, in the unfortunate case, Valve decides to remove a title from your library for whatever stupid licensing reason they come up with.
After freeing your games using Goldberg’s Steam Emulator you then could use the Flatpak of Lutris and disable network access for Lutris/further restrict permissions it has to the rest of your system using Flatseal.