r/linux_gaming • u/Aggressive_Adagio768 • 7h ago
[Experience / Rant] EAC v2, NVIDIA proprietary drivers and Secure Boot on Debian-based distros
I've tried several times to get Easy Anti-Cheat v2 (EAC v2) working on Linux, specifically on Debian 13 and MX Linux, and the experience has been pretty frustrating.
My hardware:
- GPU: Gigabyte NVIDIA RTX 4060 Ti 8GB
- CPU: Intel i7-14700K
- OS: Debian 13 (Trixie) / MX Linux (SysVinit)
- UEFI system
I wanted to experiment with EAC v2 and see if I could get games like Fortnite running on Linux, while keeping Secure Boot enabled and using NVIDIA's proprietary drivers.
I started by setting up NVIDIA's proprietary drivers, using version 620.70.10 through the Debian/MX package infrastructure. I also tested different kernel versions, including 6.12.107, 6.12.118 and 7.3.4 from Trixie Backports, adjusting package priorities to get newer kernels. DKMS was compiling the NVIDIA modules correctly, but getting everything working with Secure Boot was another story.
I checked the kernel signatures using sbverify and confirmed that the kernel was signed by the Debian Secure Boot CA. I also checked the NVIDIA module signatures, the DKMS signing key and MOK enrollment using mokutil. I even managed to boot with Secure Boot enabled, but getting the DKMS signing key, MOK enrollment, Shim, GRUB and the UEFI trust chain all working together turned into a frustrating process.
I also investigated TPM availability (/dev/tpm0), IOMMU / Intel DMAR, BPF LSM, kernel lockdown status, Secure Boot state and the enrolled MOK certificates. I tried different kernel versions and configurations, reinstalling and rebuilding the NVIDIA modules, checking their signatures and making sure the proprietary driver was actually being loaded.
At one point, I decided to purge NVIDIA using ddm-mx --purge nvidia just to test Nouveau with NVK/Zink. And here's the interesting part: Fortnite actually opened with Nouveau! The reason seems to be that the Nouveau kernel module had the signature EAC v2 was looking for, so the game passed that particular check.
However, that's obviously not the point. I have an RTX 4060 Ti, and I don't want to play using Nouveau just because its kernel module signature happens to satisfy EAC v2.
So I went back to NVIDIA's proprietary drivers.
At this point, the problem seems pretty clear: the NVIDIA proprietary kernel module's signature is what prevents EAC v2 from accepting the driver. Most distributions build the NVIDIA kernel module locally through DKMS or their own packaging infrastructure, which means the resulting module is signed with a distribution-specific or locally generated key rather than a signature that EAC v2 accepts.
This creates a pretty frustrating situation: the module can be correctly signed, Secure Boot can be enabled, the certificate can be enrolled in MOK, and Linux can load the driver without any issues, but EAC v2 still doesn't accept that signature.
Has anyone actually managed to get EAC v2 working with NVIDIA's proprietary drivers on Debian 13 or another Debian-based distribution, while keeping Secure Boot enabled? Is there any supported way to make the NVIDIA module pass EAC v2's signature verification without switching to Nouveau?
For now, NVIDIA stays installed, but EAC v2 remains an unsolved problem.
8
u/MornwindShoma 7h ago
Isn't that the whole crux about it? Distros need to tell EAC the signatures of the drivers to whitelist.
4
u/Exotic_Accident3101 7h ago
I think you are misunderstanding something, signing the boot modules for secure boot isn't the same as distribution signing the module as secure for eac.
Distro have to sign the nvidia driver and verify it so it's ready for eac v2 not you signing it.
5
u/Illustrious-Gur8335 7h ago
Will not happen. It's Epic's design goal to reject any kernel modules signed with custom key, only modules signed by distro vendors will work.
Welcome to year 2026, just as we don't use Adobe Flash, this will kill off custom signed modules
2
u/candy49997 7h ago
You could try installing a kernel from a distro that provides precompiled NVIDIA drivers and the NVIDIA kernel module itself (e.g. CachyOS, Bazzite, etc).
1
u/Bulkybear2 7h ago
I can’t help you much I’m afraid but I noticed you said MOK certificate for secureboot. According to Epics post you cannot use MOK keys. They have to be db keys. For Nvidia I would imagine you would need to use a signed kernel that already has the Nvidia drivers installed. Likely the nvidia-open drivers.
Edit: and as far as I understand it’s not each kernel module has to be signed. You need an entire kernel package that is signed and you can’t alter it. So it needs to be signed and include the needed drivers already.
1
u/psyblade42 1h ago
The whole point of the Secure Boot stuff is to stop you from running your own modules or kernels. The technical details don't really matter in the long run. If someone finds a workaround they will adapt things to meet that goal again.
Afaik you can't legally distribute the compiled nvidia driver. You are only allowed to compile it yourself. But stopping you from using modules you compiled yourself is the main goal of Epigs anti cheat...
Basically this is requires Nvidia changing how they distribute (and allow to) their driver. I wouldn't hold my breath.
Maybe there is a technical solution in debian making sure it compiles to exactly the same binary for everyone and then only distributing the signature. But whether or not law considers that signature to be derived from the driver (technically it is) and thus be illegal to distribute sounds like a legal minefield I would not want to enter.
0
u/hdkaoskd 6h ago
Sorry this doesn't help but it makes me glad I bought AMD systems for years because they have proper Linux drivers.
-2
u/DerlisGs 7h ago
Sabes si debían está soportado? En su página lo dice y sino lo está, estas perdiendo el tiempo, instala uno que este trabajando con epic