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

46 comments sorted by

17

u/MornwindShoma 1d ago

Isn't that the whole crux about it? Distros need to tell EAC the signatures of the drivers to whitelist.

3

u/Aggressive_Adagio768 1d 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.

7

u/Vash63 1d 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.

3

u/FlukyS 1d ago

The other way around, the distro can configure to sign specific modules with certs they trust like this https://wiki.archlinux.org/title/Signed_kernel_modules

1

u/MornwindShoma 1d ago

Ah I see. That makes a lot of sense lol.

13

u/Exotic_Accident3101 1d 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.

3

u/FlukyS 1d ago

> Distro have to sign the nvidia driver and verify it so it's ready for eac v2 not you signing it.

This is correct, other commenters have been trying to suggest that distros will have to get in contact with Epic for permission, if a module is signed and accepted by the kernel it'll work. Epic can't and shouldn't be interested in what graphics driver is installed

2

u/Exotic_Accident3101 1d ago

Thanks for confirming this, glad to know it does match my understanding.

I'm still gonna do my pc when I'm free but i know cachyos have support for that.

0

u/Aggressive_Adagio768 1d 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 1d ago

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

2

u/candy49997 1d 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 1d 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 1d ago

Yes, they do.

4

u/Illustrious-Gur8335 1d 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

9

u/C0rn3j 1d ago

It already works this way on CachyOS.

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

-3

u/Illustrious-Gur8335 1d 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

9

u/C0rn3j 1d 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.

7

u/dfx_dj 1d 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 1d ago

Debian will update its Nvidia drives eventually

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

3

u/dfx_dj 1d ago

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

2

u/C0rn3j 1d ago

Already did, just not for Debian.

1

u/Aggressive_Adagio768 1d 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.

8

u/Illustrious-Gur8335 1d 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

10

u/BulletDust 1d ago

Only OpenSUSE and Cachy sign the Nvidia modules themselves

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

2

u/Illustrious-Gur8335 1d ago

👍👍👍

4

u/C0rn3j 1d 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.

1

u/Bulkybear2 1d 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 1d 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.

2

u/Bulkybear2 1d 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.

3

u/FortHell 21h ago

I'm on Debian 13 (6.12.118) as well. It seems to have an issue with the NVIDIA drivers, if you built it using DKMS in particular, which Debian does. So, for the time being, it is basically impossible to play Fortnite on Debian + NVIDIA. For context, I have a 5060 Ti 16G.

Now, I did try it on my laptop, which has Debian 13 (7.3.4), and uses the kernel Intel xe drivers (Arc 140V). After making sure Secure Boot was working fine, the game booted, and I played a couple of games. So Debian seems to be supported if you're using an AMD / Intel GPU.

1

u/SpecialistSail8396 17h ago

Yes, no DKMS modules are allowed since the kernel is in lockdown mode. You can only use drivers that are directly loaded into the kernel, and which have been signed by a trusted key (so you can't make your own key and sign whatever you want, obviously)

1

u/pilkyton 20h ago edited 4h ago

Yep. Self-signing and self-compiling our own kernel driver is obviously not allowed because that means we could put kernel-level CHEATS on our machines.

We need a distro that pre-compiles and signs the NVIDIA driver, and whose distro is trusted by EAC. Bazzite is the easiest one. I may have seen that CachyOS also has trust. Distros can apply to be trusted.

In a few years this will all be built into every distro though, when the Nova driver is in the kernel. Then there is no more need for any proprietary kernel NVIDIA driver. NVIDIA has many engineers working on Nova and is all-in on making that their final Linux driver (including full support for all proprietary tech like CUDA). Then it will be as easy as AMD.

For now, we suffer.

Edit: Work is going on at https://gitlab.freedesktop.org/drm/rust/kernel/-/commits/drm-rust-next

1

u/CelDaemon 5h ago

This is stupid. There will always be a need for custom kernel modules, and the user should be allowed to install whatever modules they please.

Normalising this shit is short sighted.

1

u/pilkyton 4h ago

The user is allowed to do anything they want.

2

u/SpecialistSail8396 17h ago

EACv2 doesn't require you to have any specific Nvidia Module installed, it doesn't care about that. It just cares that the installed modules are signed by a verified key.

Either way, nowadays you really, really should be using nvidia-open as your driver, the proprietary drivers are strongly discouraged, especially for your GPU

2

u/psyblade42 1d 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.

2

u/BashfulMelon 1d ago

Afaik you can't legally distribute the compiled nvidia driver.

Nvidia's current kernel module is open source now, there's no legal issue anymore.

https://github.com/NVIDIA/open-gpu-kernel-modules

2

u/hdkaoskd 1d 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 1d 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.

5

u/WildCard65 1d ago

For the average user, it’s a solution.

4

u/gokufire 1d ago edited 1d ago

The path of less friction is a solution for some. In the scenario that the OP brought if they were using an AMD GPU they would probably be in a better spot. 

I share the same feeling from the person that made the comment above. I had the benefit to decide when I was going to Linux which GPU to buy and gladly I didn't pick a Nvidia one despite all the users comments saying that was fine. It is not fine, or fine isn't enough. 

1

u/Weak_Insurance_9367 1d ago

It’s not only about Nvidia. Mesa also shifting always, new fixes need to be tested/reported.

Same as Linux kernel. I write small fix for wooting keyboards, where if you have enabled joystick emulator, dmesg will be flooded with error about -32 signal. I guess I’ll try to upstream fix, but point stand - this “approved only approach” hinders development also. How mesa developers can test performance regression in Fortnite, if EAC not allow legally?

Less friction is already there: win 10/win11. You have nothing to choose, no DE, no kernel, nothing. Everything was decided for end user for sake of end user of course. Some like that. Some not.

4

u/gokufire 23h ago

I understand that, the point that I tried to make is that the OP would be probably playing Fortnite now if they were using an AMD GPU instead.

-3

u/DerlisGs 1d 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 1d 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.

1

u/Navarrog_01R 1d ago

Não é questão de trabalhar com a Epic. A epic está aceitando as assinaturas de qualquer grande distro que assine seus próprios kernels. Até Rhel funcionaria