boo

  • 28 Posts
  • 37 Comments
Joined 9M ago
cake
Cake day: Feb 07, 2024

help-circle
rss

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.


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.


I completely forgot about AI Anti-Cheat, lol. But yes, this is another form of Ant-Cheat that seems to be very effective. (Although I don’t much like the idea)


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:

  • Hardware level Anti-Cheat (similar to a DMA card. Maybe it requires a certain type firmware that is universally used across all/most major video game companies)

  • Some form of emulated environment. Maybe like a specific kernel that is used for each game.

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.


>CrowdStrike’s Falcon software uses a special driver that allows it to run at a lower level than most apps so it can detect threats across a Windows system. Microsoft tried to restrict third parties from accessing the kernel in Windows Vista in 2006 but was met with pushback from cybersecurity vendors and EU regulators. However, Apple was able to lock down its macOS operating system in 2020 so that developers could no longer get access to the kernel. > >Now, it looks like Microsoft wants to reopen the conversations around restricting kernel-level access inside Windows.
fedilink

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 😅



More information available on [NVIDIA.com](https://www.nvidia.com/download/driverResults.aspx/230225/en-us/)
fedilink

>We’re now at a point where transitioning fully to the open-source GPU kernel modules is the right move, and we’re making that change in the upcoming R560 driver release.
fedilink


>Back in June the developers of Fishards put out a bit of an ultimatum: fight them in-game and win to make the game open source, or they will nuke the game from orbit. > >Thankfully, the community came together, and won. So now Fishards has been made open source, and it's still free to play on Steam too.
fedilink

>Yesterday, July 1st, they announced the Alpha release of this next-generation mod manager and their new Product Manager got in touch to mention they "would be really keen to get feedback from Linux users". So this is your chance to ensure Linux (and Steam Deck) finally become a first-class citizen for game modding.
fedilink


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.



Locked the post due to many, many off-topic comments
fedilink


>The time is finally here. The next big stable update to the NVIDIA proprietary driver for Linux with version 555.58 bringing Wayland Explicit Sync. > >Following on from the initial NVIDIA 555.42.02 Beta and the 555.52.04 Beta, NVIDIA noted some rather vague "Minor bug fixes and improvements" since the last Beta. With this release, you should be truly good to go with Wayland on NVIDIA GPUs now.
fedilink

Sorry for the trouble

No problem! I’m glad I could help :)

Do lutris always download user-made scripts, or is it just if you select it?

Lutris does not automatically download user-made scripts; you have to add them manually.


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.


Happy to help!

It runs at 3–5 fps, and the CPU is maxed

Do you have a GPU or are you running the game on integrated graphics? Running on integrated graphics can definitely be the issue here but It’s more likely that it’s shader compilation however.


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





>Moving forward the plan is to implement more features needed for DXVK and VKD3D-Proton. Eventually the hope is to get to the point of being able to enjoy nice Windows games on Apple Silicon using Wine / Steam Play and an x86 emulator.
fedilink


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.

Source: https://www.amd.com/en/newsroom/press-releases/2024-6-2-amd-unveils-next-gen-zen-5-ryzen-processors-to-p.html


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.


>From what details Intel provided they're claiming "60%" better battery life for these mobile processors in "real-life usages". Impressive if true, but just as exciting is the huge advancement of the graphics side with Xe2 which they claim will bring improved "gaming and graphics performance by 1.5x over the previous generation".
fedilink

>AMD say the new graphics will provide "console-class gaming on the go" and that the "Radeon 890M graphics has the fastest integrated graphics in its class".
fedilink

If you’re only going to pick Pop!_OS or Manjaro, I’d suggest you go with Pop!_OS. The Manjaro team has been very weird, and made some poor decisions in recent years. I’ve had a very good experience messing around with Pop on an Nvidia GPU.


I just hope they don’t update their previous titles to require a PSN account.






Yes. It means we have better compatibility with DirectX shaders on Linux. It enables a unified shader development workflow across platforms. Developers can focus on HLSL without worrying about different shader languages for Windows and Linux.





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.


I would say wait to buy an AMD card (but you do you). Wayland Explicit Sync is out in the 555 driver, and NVK is cooking.



As per your request, PoVoq, I am volunteering to help moderate this community@davel@lemmy.ml


I take pride in being able to represent Linux through a “stupid hardware survey.”


Wow. I’ve gotten quite a few Steam Survey requests throughout the years; from what I can tell, it picks users ‘at random’. I’ve also read very mixed things on whether or not you can do it yourself, eg; go into settings and choose to do it?? Or run some command/dialog on Steam startup??




Lots of people have already forked it. I think it’s even backed up on the Internet Archive too. You could also check the Yuzu subreddit as well.


The Citra team is the same team behind Yuzu, so yes they are both gone. It’s a sad day today.


You should be fine. Yuzu checks the Github repo for updates which is now down. If you’re still worried you could download it via Flathub and disable network access via Flatseal or terminal.


Yuzu and Citra are still available
~~There’s still time!!! Get Yuzu and Citra on Flathub now if you don’t already have it!!!~~ https://flathub.org/apps/org.citra_emu.citra https://flathub.org/apps/org.yuzu_emu.yuzu ~~Just a note: Yuzu’s latest build is mainline-0-1734. The latest build of Yuzu on Flathub is mainline-0-1733.~~ ~~Edit: Flathub has now been updated for the latest build of Yuzu -> mainline-0-1734~~ Also: Thanks to a commenter on another one of my posts for providing a link to a different post that consults preserving/forking Yuzu’s codebase. link: https://lemmy.world/post/12733553 **Edit#2: Yuzu and Citra have now been removed from the Flathub website, but are however still available via their flatpak commands:** `flatpak install flathub org.yuzu_emu.yuzu` `flatpak install flathub org.citra_emu.citra` **For more context, A Flathub admin responded to someone on the Flathub Matrix channel saying that Yuzu won't be removed from Flathub completely until they "understand legal implications better"** Flathub Matrix channel: https://matrix.to/#/#flathub:matrix.org ![](https://lemmy.ml/pictrs/image/f1b92652-47bd-442c-a3cf-1c0a591817c7.png) Thank you to [ObjectiveJellyfish36](https://www.reddit.com/user/ObjectiveJellyfish36/) for providing the image and information about the Flathub Admin's response.
fedilink

As of right now, both Citra and Yuzu are available via Flathub!!! Get them now if you don’t have it!!!


2 Microcenters???😭😭 You menace!!!😭😭


I’m literally in the EXACT same boat. I have a Best Buy (which I never go to), and Fry’s left my area ages ago.


You live close to a microcenter?? Luckyyyyyy