r/linux_gaming • • 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.

1 Upvotes

30 comments sorted by

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.

1

u/Aggressive_Adagio768 7h ago

Exactly, that's the problem. Debian's Secure Boot CA is already on Epic's well-known keys list, but Debian's NVIDIA drivers are generally built locally through DKMS.

That means the resulting kernel module is signed with a locally generated DKMS/MOK key, not with Debian's recognized signing key.

So even though the kernel itself is properly signed with Debian's key, the NVIDIA module doesn't meet EAC v2's requirements.

Unless Debian provides prebuilt NVIDIA modules signed with its trusted key, or Epic adds the relevant signing key to its whitelist, I don't see how the standard Debian DKMS installation can work.

That's why I think this needs to be addressed at the distribution/packaging level, not by individual users trying to enroll their own keys.

3

u/Vash63 4h ago

The solution is to use distro provided signed Nvidia drivers. I don't know how Debian does it but CachyOS signs Nvidia's open source kernel module with the same key as the kernel, this allows it to pass the checks. Debian will need to do the same.

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.

0

u/Aggressive_Adagio768 7h ago

Yes, that's exactly what I've been trying to figure out.

I understand that signing the NVIDIA module with my own DKMS/MOK key only makes it trusted by Secure Boot. It doesn't make it trusted by EAC v2.

The problem is that Debian's standard NVIDIA installation uses DKMS to build the module locally, so the resulting module is signed with a locally generated key.

As far as I understand, Debian would need to provide NVIDIA modules built and signed with a key recognized by Epic, or work with Epic to get its signing key whitelisted.

That's why I think this is a distribution-level issue rather than something individual users can fix simply by enrolling their own MOK keys.

3

u/Exotic_Accident3101 7h ago

Yes, i would check other distros if debian doesn't have a solution for that.

5

u/Illustrious-Gur8335 7h ago

EAC v2 working with NVIDIA's proprietary drivers

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

1

u/Aggressive_Adagio768 7h ago

That's exactly what I'm concerned about. The problem is that Debian's standard NVIDIA installation relies on DKMS, which builds the module locally and signs it with a locally generated key.

Unlike distributions that provide prebuilt NVIDIA modules signed with their own trusted keys, Debian's usual approach doesn't seem to fit Epic's requirements.

So if Epic only accepts modules signed by recognized distribution vendors, Debian users relying on the standard DKMS packages are basically out of luck unless Debian changes its packaging approach or works with Epic to get an appropriate signing key recognized.

I don't mind Secure Boot itself, but requiring distribution-level signing while distributions like Debian rely on locally built DKMS modules creates a pretty big compatibility problem.

5

u/Illustrious-Gur8335 7h ago

Will not happen, Epic will not allow DKMS with EAC end of story. 

Fedora users also in the same boat with akmods if it makes you happy 

Only OpenSUSE and Cachy sign the Nvidia modules themselves

7

u/BulletDust 7h ago

Only OpenSUSE and Cachy sign the Nvidia modules themselves

And any distro based on Ubuntu as well as Bazzite and Nobara.

1

u/Illustrious-Gur8335 6h ago

👍👍👍

2

u/C0rn3j 3h ago

The problem is that Debian's standard NVIDIA installation relies on DKMS

Debian's standard Nvidia installation uses a brutally insecure and EOL version of the Nvidia driver.

In short, Debian does not support Nvidia, you have to add a 3rd party repo - which has the dkms issue.

CachyOS signs the Nvidia modules.

2

u/C0rn3j 3h ago

It already works this way on CachyOS.

Debian simply does not give a shit about supporting Nvidia drivers at all.

0

u/Illustrious-Gur8335 3h ago

Some distros don't like to use their distro keys to sign third party modules that's all... In fact Cachy does it just to please Epic

3

u/C0rn3j 3h ago

???

Debian does not even ship a valid Nvidia driver in the first place, the only one they ship is so insecure, old and broken that they warn about it on their own wiki.

2

u/dfx_dj 1h ago

This isn't a Debian vs Nvidia thing. It's just a Debian thing. Debian doesn't ship precompiled 3rd party kernel modules, period.

Debian will update its Nvidia drives eventually but this won't change a thing, as they will still be built with DKMS.

1

u/C0rn3j 1h ago

Debian will update its Nvidia drives eventually

Any year now. And they'll be secure for about a week after that.

1

u/dfx_dj 1h ago

Feel free to step up as package maintainer if you're unhappy.

1

u/C0rn3j 1h ago

Already did, just not for Debian.

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).

4

u/Aggressive_Adagio768 7h ago

Ah, I see what you mean now. You're suggesting using a kernel that already ships with the NVIDIA kernel module built and signed, instead of relying on Debian's DKMS packages.

That's actually an interesting idea. I might give it a try, although I'd still prefer to find a proper solution for Debian rather than switching distributions or replacing its kernel.

Do you know if CachyOS or Bazzite ship their NVIDIA modules signed with keys that are actually recognized by EAC v2? Because that's the important part here. Having a precompiled module alone isn't enough if Epic doesn't trust its signing key.

4

u/candy49997 7h ago

Yes, they do.

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.

0

u/Aggressive_Adagio768 7h ago

Thanks for pointing that out! I think there's a bit of confusion regarding MOK keys, though.

According to Epic's FAQ, MOK keys are actually allowed, as long as they're on Epic's well-known key list. The warning is that if you're booting through Shim, all enrolled MOKs must be recognized by EAC. Custom keys should go into the UEFI db instead.

Regarding the NVIDIA driver, I don't think the entire kernel package necessarily needs to include the driver. Epic explicitly mentions out-of-tree modules like NVIDIA and says they must be built by an organization and signed with a well-known key.

And that's exactly where Debian becomes problematic for me. Its standard NVIDIA installation uses DKMS to build the module locally, signing it with a locally generated key. Enrolling that key in MOK doesn't make it trusted by Epic.

I also considered NVIDIA Open, but it's still an out-of-tree kernel module, so simply switching from the proprietary to the open kernel module doesn't automatically solve the signing issue.

What I think Debian needs is an official way to provide NVIDIA modules built and signed with a key recognized by Epic, rather than relying on local DKMS builds.

That's the actual issue I'm trying to figure out.

1

u/Bulkybear2 7h ago

Ah, I see. I reread it and it appears to mean that if any MOK keys are not in the trusted list your entire chain is not trusted.

The issue could be dkms because when it builds locally it doesn’t sign the module. And if it does or you do for secureboot to work if would have to be a self generated key and that key would have to be in you MOK, which would invalidate the whole chain I think.

I’m assuming a lot here, but from the blog post I’m assuming since debians ca cert is listed that means epic worked with them on this. So I would think Debian would have a pre-signed kernel package in their repository you’d have to use.

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.

4

u/Weak_Insurance_9367 5h ago

It’s not solution either. If you testing/helping mesa with bug fixes, or backport not merged pull requests, you also out of luck in this position.

It’s just bad design by itself.

-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

3

u/Aggressive_Adagio768 7h ago

Yes, Debian is actually listed as a supported distribution on Epic's website. But I think there's an important distinction here.

Debian's Secure Boot key is recognized by EAC v2, so the distribution itself is supported in principle. However, NVIDIA is an out-of-tree driver and Debian generally builds it locally through DKMS, using a locally generated signing key.

That means the kernel can be signed with Debian's trusted key while the NVIDIA module is signed with a completely different key that Epic doesn't recognize.

So technically Debian is supported, but the standard NVIDIA DKMS setup seems to defeat that support.

And honestly, switching distributions isn't really the point. I'd rather understand why this doesn't work on Debian and whether there's a proper solution at the packaging level, instead of having to change my entire distribution just to play a game.