Other News about gaming on Linux
The Cheating Situation on Linux is much worse than we thought
Microphone and headphones do not work at the same time
I bought a headset from AOAS that comes with two inputs; one for the headset and one for the microphone. However, when I connect it to my notebook (which only has one input for headsets), it works fine. However, when I switch the microphone from my notebook to the headset microphone, the headset audio stops working and only the microphone works. What could this be?
(I currently use Linux Mint, and I'll go back to just KDE neon when I buy a RAM memory. I've already tested it in live mode and it gave the same result.)
The headset works on my cell phone, and I already have an adapter so I can use the headset and microphone on the same input, but nothing is working, even with the adapter :(
submitted by /u/AlanDarfin[link] [comments]
Using Secure Boot + TPM + Remote Attestation to Prove Legitimate Players From Cheaters without Kernel-space Anti-cheats
Disclaimer: What I'm about to say could be very wrong. This idea sprang to my head a couple of days ago, and I could be misled by my own research. I'm posting this primarily as a way to be corrected/informed by people more knowledgeable than me.
The single biggest issue with Linux gaming is anti-cheat. While runtimes for Battle-Eye and Easy Anti-cheat do exist, they are fundamentally less secure. As much as people like to throw flack at devs for not enabling Linux support, what they fail to understand (or possibly ignore out of cope) is that allowing Wine/Proton players to run the game with kernel-space anti-cheat disabled, also allows cheaters to do the same by spoofing as a Linux client (irrelevant if they're actually using Linux or not).
So for good reason, those Proton anti-cheat runtimes are opt-in. So what's the solution? Well, to figure that out, we'll need to understand why KAC (kernel anti-cheat) is needed in the first place.
A game is a computer program, and a program's memory is isolated; another process cannot directly read/write the memory of another process. This done using "virtual memory". Instead of programs directly accessing physical RAM, the kernel abstracts memory space for each one.
But why doesn't this make cheating impossible? Because you can run cheats in kernel-space, bypassing this virtual memory isolation. A cheater could simply load a driver that manipulates the memory of a game, then all the anti-cheat can do now is memory obfuscation and other anti-tamper techniques; which results in the infamous "cat and mouse game" between cheaters and game devs.
We need a way to verify that the kernel has not loaded any cheating drivers. KAC does exactly this by also running as a driver, vetting other drivers that might be on a whitelist/blacklist of known safe drivers/cheats.
But, you can bypass this again by using a rootkit. If you load your cheats before the anti-cheat can load, the AC will have a much harder time detecting cheats. Thus, in this arms race of cheat vs anti-cheat, the anti-cheat also needs to run as a rootkit. And now we're at what we are today; anti-cheats like Vanguard that runs with full system access (scary!).
Now for my solution:
You may have heard of secure boot. It's a way of verifying if a booted image is approved by your computer's firmware (UEFI). It basically does this by check-summing your boot image, signing it, and enrolling it in a list of trusted hashes. Then, when you boot your system, it checksums the image you're booting and compares it against the enrolled hashes. This (if properly implemented) helps against OS tampering, but this only verifies the booted image to the UEFI, so this alone isn't sufficient as an anti-cheat measure.
TPM to the rescue! TPM (trust platform module) is a dedicated microprocessor for cryptography. It can generate and store key pairs to be used for encryption and signatures. Signatures specifically are important for what I'm proposing, since they're a way of verifying if a message is coming from a trusted source.
TPM has a feature called "Remote Attestation". This is similar to secure boot, as it's a way of verifying an OS, but the difference is that this can be used to verify the currently booted image by a third party (like a game server).
So how will this verification process work?
- Secure boot and TPM needs to be enabled.
- You must use a unified kernel image (UKI), since we want to verify the actual operating system kernel, and not a bootloader.
- Said UKI's kernel sources need to be vetted by anti-cheat devs, and its binary checksum be added to an approval list. To be approved, a kernel should have no modules/patches that allows for cheating (duh), but also have any out-of-tree module loading support be disabled (dkms, akmod). All hardware support (cough, cough, nvidia, cough) must be compiled in.
With all said and done, only clients running specific kernels – such as the ones provided by a distro's repos – can be allowed to play games.
And guess what? It seems this process is already used by Riot Games' notorious Vanguard anti-cheat. It requires secure boot + TPM as a way of verifying that the booted OS hasn't been tampered with.
So why does Vanguard still need KAC? Because Windows NT is a microkernel; it needs to be able to load drivers out-of-tree for hardware support. Linux's advantage is that it's a monolithic kernel; all drivers can be compiled into the kernel image. That's why vetted kernels need dkms and akmod disabled.
If I haven't misunderstood anything about this whole process, this should be an effective way of curbing cheaters on the Linux platform. This is possibly even more effective on Linux than on Windows, due to Torvalds opting for a monolithic kernel design all those years back.
But as you may have already noticed, there are some downsides:
- Your hardware needs to be supported by one of the vetted kernels, as you cannot load modules nor compile your own kernel.
- No custom kernels; you won't be able to use kernel patches.
- Your hardware needs TPM support. Luckily, this shouldn't affect most people.
- As said before, you'll need to set up secure boot and use a unified kernel image.
Most of the issues above can be remedied by distro maintainers, and the Steam Deck specifically can likely set all this up via an OTA update.
So what do you guys think? Would you go through the effort of setting this up? Do you think distro maintainers, and more importantly, game devs will implement the following system just for us Linux gamers?
I hope so.
submitted by /u/_agooglygooglr_[link] [comments]
Humble Choice for November has Persona 4 Golden, Warhammer Darktide, Cassette Beasts and more
.
Read the full article on GamingOnLinux.
Recommended DAC with driver support for Beyer Dynamic MMX 330 Pro
Hey buddies
I own an Asus x570 viii impact (the small m-dtx) version.
While the audio output is good enough for me on my MMX 330 Pro, the internal audio device is apparently not strong enough for the microphone (doesn’t work well on windows 10 either).
That’s why I am thinking about ordering an external USB DAC with headphone amplifier as a replacement.
My understanding is that the kernel already provides driver support for some DACs. But I’d like to ask for some first hand experience for you guys.
Is a creative sound blasterx g6 / x4 supported? I also think the GC7 “board” looks interesting. Or any other recommendation from your side?
Profile: gaming 90%, music 10% Relevant features: microphone amplifier, very good output
Using endeavorOS in case that’s relevant.
Cheers friends
submitted by /u/epuarlana[link] [comments]
Steam on Linux and using a NAS for game storage (permission problem)
Hello,
the scenario:
- main PC running Zorin (ubuntu/debian based)
- NAS running an SMB share (access as guest because I don't need Security in my home network)
- auto mounting the NAS drives via fstab
I tried for two days now getting steam to use my NAS for storage, but it always complains about no write permissions. Before that I got the issue of the drive not being executable (which I probably solved)
I hope someone here can point me towards the issue, because I don't see it anymore. From what I can tell, I do have full access to it. here is the fstab entry
//<ip-adress> /home/<myname>/fast cifs dir_mode=0777,file_mode=0777,exec,nocase,uid=<myname>,gid=<mygroup> 0 0
the mount works, I can access everything, can copy files, and all folders show as owned by me. Still steam fails downloading as soon as it tries to write anything. I really want to give Linux as a main OS a try, but it is always challenging me.. I also tried to make a new folder and copy in that, which also don't work.
On my NAS side, the new folder shows as owned by "Nobody" and "Nogroup", old folders show as owned by the user account of my NAS, but also with full write permissions for owner, group, and others.
Anyone an idea what else I can try?
submitted by /u/FitzOblong[link] [comments]
What's wrong with my Zenless Zone Zero? It just randomly showed this unity thing mid story so i force quit it and reopened then it showed this again
5 GAMES + | 1080p High | Xeon2630v4 | RX580 | Linux
https://youtu.be/hRpZnAhDMcY?si=EWNeAPrAe8-vsijE
submitted by /u/Ill_Champion_3930[link] [comments]
Lucky Tower Ultimate is an absurdly funny dungeon crawler you need to play
.
Read the full article on GamingOnLinux.
Have you ever used cheats while gaming on Linux?
With the recent accusations about Linux gamers cheating, please answer this curiosity poll about whether you've cheated on Linux.
submitted by /u/ddyess[link] [comments]
Linux games dont work
Hi, I'm having trouble running games on Linux (even native Linux games) and I don't know what to do anymore. Usually the game opens and then closes or gets extremely laggy with the mouse stopping working (eg. Oxygen Not Included).
I have a GTX 1050 Ti, R5 5600x, 16GB RAM, and a single QuadHD 165Hz 10-bit color monitor. I use Arch Linux Wayland Hyprland with the proprietary v565 drivers. I only play on Steam and they are not competitive or online games.
I've tried using Proton (from Steam), I've tried using GameScope, I've tried adding specific windows for games, etc.
I configured it as follows:
https://wiki.archlinux.org/title/NVIDIA
https://wiki.archlinux.org/title/Wayland
https://wiki.archlinux.org/title/Gamescope
https://wiki.hyprland.org/Nvidia/
And several posts on forums and reddit
All parameters, env, etc. were configured but can you tell me the obvious because the error is usually something stupid.
My dotfiles:
https://github.com/GOLD875379/Hyprland
I would be very grateful if you could help/share your settings and what you know about hyprland gaming
submitted by /u/GOLD875379[link] [comments]
RPCS3 Unmapped Memory Error
Hey guys!
I'm relatively new to Linux, about five months of experience so far, and I absolutely love it! That said, I only just decided to try emulation again now that I've fully switched over and I'm getting a really weird issue.
So, I'm trying to play the Game Shadow of the Colossus on RPCS3 and when I boot up the game, I get a toast in the window saying that RPCS3 Has likely crashed. When I looked in the log, I got the following text:
Now, I know for a fact that I was able to emulate this game when I had a Windows installation on my system, but I have no idea what could be causing this specific error. I know it has something to do with trying to read/write to a specific memory address, but I don't know much past that.
There's also another tab that I found that had the following printed in it:
I don't know if this might be helpful, but I'd rather give you guys as much information as I can so I can get this resolved as quickly and (hopefully) painlessly as possible.
One more note: I was able to successfully boot the system's firmware, so that's at least a start.
If anyone can help, that would be fantastic.
submitted by /u/BallisticCryptid[link] [comments]
Check out the spooky new Two Point Museum trailer
.
Read the full article on GamingOnLinux.
Croc Legend of the Gobbos remaster to release in December
.
Read the full article on GamingOnLinux.
How do I make Minecraft use my external nvidia gpu on Zorin OS 17
I'm using an external RTX 3070 with my laptop and I managed to finally make it run all steam games on the egpu, but I still can't make Minecraft do the same. It'll say that it's running the gpu, but there's almost no difference in fps. I already tried this tutorial (https://askubuntu.com/questions/1108043/running-java-minecraft-with-the-nvidia-gpu) but all it did was put my system in something of a boot loop. I'm running Zorin OS 17 with Wayland and Gnome.
submitted by /u/Relievedcorgi67[link] [comments]
Tried Geforce Now - Impressed!
TLDR: 1080p 60hz with 5ms ping on average on Linux. Stream quality is limited by being browser-based but there is a beta Steam Deck "app" so perhaps NVIDIA will have a native app at some point. Picture quality is acceptable. There is some fuzziness in the image but streamed versus native picture quality is like the difference between Netflix and a local Blu-Ray.
I thought I was finally done with Windows on my desktop in 2023 but this past summer Call of Duty drew me back. I set up a dual-boot again with Windows on a PCIE NVME card. With the rollout of Copilot and Recall I quickly found myself back in the "I don't want Windows on here" state of mind. Neither of those services affect me right now as I disabled Copilot, to the extent I could, and Recall won't run on my CPU. But in the future whenever I upgrade they will if I keep having Windows around. So I was thinking of alternatives.
I already knew that consoles weren't going to work for me. I have CoD on the PS5 but it just didn't suite me. I played MW2019 a lot on PC and that spoiled me. I have known of Geforce Now for a while but my first reaction was always "I don't want to stream games I want them on my hardware. And what if the network is down?" A switch flipped for me though the other day when I realized that with the way games like Call of Duty are set up now if the network is down I can't play regardless. I bought one month of the ultimate subscription for Geforce Now and tried it out on my Steam Deck and MacBook.
Steam Deck:
The Geforce Now "app" is browser-based. It uses Chrome and sets itself up to use controllers and appear in your Steam Library.
Due to the browser limitations we get a peak of 1080p and 60hz.
The codec used is H264/8bit.
Latency for games like the Witcher 3 are noticeable on WiFi - like 20-30ms ping for me - but not enough to impair gameplay for me. When wired in latency goes as low as 5ms which, in my opinion, is really good. This applies to multiplayer games as well. Checking the CoD leaderboard the ping reported by Geforce Now is the same as in-game.
MacBook:
The Geforce Now app is native.
I can get a full fat 4K 240hz with the ultimate subscription.
Code is H265/10bit.
Playing CoD at 120hz with both controller and mouse the latency is hardly noticeable. It is to the point where I am more than likely missing shots because I am rusty from not playing for over a month compared to the latency being an issue. I mean 5ms ping is not different from what it's like playing on my desktop. I would have to have both side by side for me to potentially notice when wired in. Obviously WiFi is not recommended for online shooters.
Obviously there are pros and cons to this solution.
Pros:
Your hardware is not an issue. Even on an M1 MacBook Pro I can still play with high/ultra settings and ray-tracing because I am connecting to a 4080.
Picture quality is, in my opinion, more than adequate. For me it is like the difference between watching a Blu-Ray movie on your TV with your Blu-Ray player versus streaming the movie on Netflix or Disney+. The stream may have a bit of fuzz whereas the Blu-Ray is clear. But the fuzz doesn't have an effect on the ability to enjoy the movie/game. Keep in mind I am streaming 1080p to a 1080p display. If I was streaming a higher resolution I expect the image would be sharper.
You can bypass the issues with Linux or macOS for online shooters. Apex Legends, Call of Duty, Fortnite, etc. are all playable.
Cons:
It is a subscription. The ultimate package (4K 240hz)) is, in CAD, $26 a month or $140 every six months. The priority package (1080p 60hz) is less at $14/month or $70/six months.
You still need to buy the games. Quite a bit of my Steam, Ubisoft, Xbox (with GamePass), GOG, EA, and Epic Games libraries are available. But when new games come out that I want to play with Geforce Now I need to buy them separately.
You're streaming so your proximity to the nearest datacenter and internet speeds are variables to consider.
It isn't running on YOUR PC.
No mod support outside of what might be supported in games themselves.
Your sessions are timed. You are not limited by how many sessions you create on a device but your overall session length is either 6 or 8 hours depending on how much you spend. There is also the free-tier which I did not try. It has ads, overall sessions are 1 hour, I don't know what the max FPS or resolution is.
Overall I am impressed because I was expecting Geforce Now to be nearly unusable for online games. But it is quite the opposite. I don't think this is an ideal solution though. I would much rather that I could download and play whatever games I want on my PC. However, as it stands the state of online multiplayer with anti-cheat is a mess on Linux. I haven't played Apex Legends in like 2 years but EA/Respawn stopping the support for Linux with Proton is a big blow for a lot of people here. I also think there is something to not having some of these games running on your hardware. Like on my RX6600 ray tracing is just not something I have touched besides with World of Warcraft. If you live in a region with expensive electricity and half-way decent internet this could be good as well. You aren't pushing those watts on your PC. On Witcher 3 I cranked the ray tracing to the max with all high settings and I was getting a silky smooth 60fps on my Steam Deck. Instead of the Deck struggling to hit 30 fps with low-med settings I was being wowed by the ray tracing.
If the money isn't a barrier to you and you are opposed to dual-booting Windows Geforce Now may be the solution. I know some people will say that if a game isn't playable on Linux then "who cares? Just don't play it." But I don't think some of these people making these arguments are considering that it can have a negative impact on your social life. I'm not too far away from age 30. My friends and I all have jobs. Some of the only times we can hang out is online playing a game like CoD. Being the odd one out using Linux and just not being able to play with my friends meant I wasn't included on most sessions. I don't blame the guys either. They play a handful of games to begin with. Having a way to play with friends and not deal with Microsoft's bullshit is a win win to me.
submitted by /u/DankeBrutus[link] [comments]
My screen wasn't holding its frequency, so I fixed it this way
gamemode software saved my gaming on linux, i tell you... first of all, I'm a LinuxMint user, I also tried fedora with wayland and kde to see if the problem persisted and yes, I identified the problem: gpu optimization, in fact on cinnamon which doesn't have vrr, my monitor was constantly changing its frequency between 152-180hz, I found this very strange so I went to try fedora kde wayland , before realizing that the problem was still there and that freesync wasn't working either, worse my screen had a lot of flickering, the frequency was absolutely not keeping up with fps!!
and that's where gamemode saved me, in the file found here: /usr/share/gamemode/gamemode.ini
I modified 3 lines :
apply_gpu_optimisations=accept-responsibility
amd_performance_level=high
gpu_device=1
to check that everything was working, I checked in the terminal with gamemoded -t and all tests passed
now when I play, the screen stays perfectly at its frequency on linuxmint cinnamon, I haven't tried it again on fedora kde-wayland, but I imagine it could solve this problem in the same way and that the vrr would work, to be checked. but i removed it to reinstall mint so i will try later.
while doing various tests, I noticed that the mesa kisak killed the machine if I tried to update the drivers on linuxmint 22, so I advise you not to do it.
I hope this helps if you're in the same situation!
submitted by /u/Realistic-Resource18[link] [comments]
Hii, I'm making a memory-game roguelike called Pairs & Perils!
WAYDROID
im trying to game on way droid but i can't download the system zip files from anywhere i tried sourceforge github and the official site all of them get to 99% and stop here are some screen shots to help me
now i can't use waydroid and i checked my network and storage everything is fine im on garuda linux
submitted by /u/-_ANDROMEDA-[link] [comments]
Is streaming multiplayer games a possible solution to banning Linux users and other open source platforms?
Cheating in multiplayer games has always been a cat and mouse game with the anti-cheat devs. Even windows kernel-side anti-cheats may be hacked one day as well or already have been hacked unnoticingly.
I think sooner or later big multiplayer games may start to migrate over to a server-to-client game streaming model similar to what stadia intended to do. A big hurdle for this would be the latency. But this is actually the only way to fight cheaters way more effectively. Then only AI based cheating would remain a threat, which are very hard to detect anyway even for the most skilled anti-cheat devs. But at least cheats would boil down to this factor.
So if that happens, meaning more and more windows cheaters are flooding multiplayer games despite kernel side anti-cheat, then its game devs have no choice but to stream their games from their servers, where they have way more control over the hardware.
In my opinion, this would be one of the few scenarios to save Linux gaming as a platform for multiplayer games, as there would no longer be any excuse why these games could not be streamed to other platforms with a browser.
submitted by /u/Matt_Shah[link] [comments]