You are not logged in.

#1 Yesterday 20:45:58

ReaperX7
Member
Registered: 2024-05-31
Posts: 14

Thoughts on the Cachy-EACv2 kernel?

With CachyOS distributing a very locked down kernel, namely the EACv2 enabled kernel containing many proprietary and non-GPL modules, especially the nvidia and zfs modules, along with secureboot signed keys, as someone helping to maintain the Install Arch on ZFS Root, this has raised some obvious red flags with me, and raises a question, is it even legal to distribute this kernel at all?

My arguments:

1. The inclusion of a pre-built ZFS kernel module violates the GPL and CDDL licenses both. To get around this with the wiki page I help maintain instructions to pre-build binaries for the custom iso, and then compile on-site packages later via dkms to avoid distribution licensing issues. A warning on the wiki is also provided not to redistribute these images.

2. The Nvidia, Broadcom, and Realtek modules are proprietary. While this is generally accepted as normal, it has been standing practice to use an onsite built package rather than a direct from distribution package due to the fact bugs in drivers can exist requiring updates regularly outside the kernel stream. These drivers are also distributed by their respective providers under their own EULAs, licenses, and terms and conditions.

Could Cachy be forced to take this kernel down if it's found to be violating multiple licenses, and what penalties could they actually face, if any?

Offline

#2 Yesterday 21:24:08

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,729
Website

Re: Thoughts on the Cachy-EACv2 kernel?

Mod note: not an Arch discussion, moving to GNU/Linux Discussion


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 Yesterday 21:50:28

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,440

Re: Thoughts on the Cachy-EACv2 kernel?

Can't comment on the ZFS situation but basically all of the relevant prop drivers you mention have been distributed as prebuilt packages on basically every distribution in some shape or form for forever, IANAL but I'd assume this would have come up at some point.  E.g. https://archlinux.org/packages/extra/x8 … idia-open/ is the prebuilt for the standard "linux" package.

Offline

#4 Yesterday 22:11:45

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,013

Re: Thoughts on the Cachy-EACv2 kernel?

Also according to https://wiki.cachyos.org/configuration/ … quirements the OOT modules are shipped as pre-built and signed but separate packages what's as V1del pointed out not different from how most distros provide them (ie. they've notably not been inlined and are not distributed w/ the kernel)

Could Cachy be forced to take this kernel down if it's found to be violating multiple licenses, and what penalties could they actually face, if any?

Depends on the jurisdiction, what a judge thinks and whether the local officials are gonna do anything to enforce it.

Afaiu the main problem w/ ZFS and why it's kept as dkms or otherwise kernel patches is that it's too integrated w/ the dynamic IO API and needs constant adjustments for the latest kernels which can cause a significant delay (ie. force you to stall an older kernel on a rolling release distro) - maintaining prebuilt OOT modules would be a nightmare.
Not legal issues (since the modules are still loaded only locally and you could side-step any legal concerns "for academic use only, don't load w/o explicit permission" and if the user ignores that, that's their fault)

Offline

#5 Today 04:36:30

cryptearth
Member
Registered: 2024-02-03
Posts: 2,430

Re: Thoughts on the Cachy-EACv2 kernel?

to me the question about anti-cheat is rather: why do we need it in the way its implemented today?
the flaw of most games is: the server trusts the clients input without verifying it properly
or rather: instead of demoting the client to a merely remote set of input the client is trusted to compute game state updates: it's the player that sends the server: "i have moved to x,y,z; broadcast this to all other players" and the server happily does this

the proper way, how it should be implemented: the client can only send updates like "i want to move left - please compute next tick" and then it's the server to calculate the players movement and update it to all others
similar goes for "i headshot enemy X" - no! the correct way would be: "from my current position and angle (which was calculated via previous inputs like "looking up") i fire a shot - do the calculations from where to where i shot and if i hit an enemy"

the server also has to validate if the received input commands make sense and if they're within valid ranges
also the view output has to match what was send to server as rotation input: a common issue are "spinners": to other players such cheater looks down to the ground and spins around rapidly - while on thier screen it looks perfectly fine
why? because there's nothin that enforces a sync between what is sent to the server and what the player should see based on what they told the server they did

signing the kernel and kernel modules just to satisfy some company with some questionable business model will not help anything to lower those numbers - this topic is as old as games themselfs: "the only wining move is not to play"

there're others like BattlEye which depend on wheter the game dev enables it - and looking at Bohemia Interactive and Arma 3 / Reforger: they trust thier players and have enabled it - better yet: there was a statement that the additional native linux port was canceld - but not because they no longer want to deal with linux but rather because they shifted thier main target from windows to proton and kill to birds with one stone that way

on the other side: since rockstar has enable BattlEye for GTA 5 online it did pretty much nothin to limit cheaters because the netcode is so broken it doesn't matter much - they just locked out linux for no actual benefit - and it's quite questionable why it took them 10 years to go this way
(as for gta6: i doubt it will run on linux anytime soon - and if someone get it working it's likely only the story but no multiplayer)

as for zfs: if it's kept as a module and not inlined into the base kernel i don't see it holding back regular users - everyone who uses zfs knows it sometimes can take some time until they catch up with whatever the next kernel update requires - the current delay for 7.3 is nothin new nor special - it happens from time to time - while at other times a new kernel update doesn't touch anyhting zfs depends on and hence a minor version bump can be released within a few hours when the test suites verifies

Offline

#6 Today 11:14:21

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,582

Re: Thoughts on the Cachy-EACv2 kernel?

CachyOS seems to be changing into a commercial company that wants to make money, I wouldn't be surprised if they deviated further from their archlinux roots.




Slightly off-topic

cryptearth wrote:

the proper way, how it should be implemented: the client can only send updates like "i want to move left - please compute next tick" and then it's the server to calculate the players movement and update it to all others
similar goes for "i headshot enemy X" - no! the correct way would be: "from my current position and angle (which was calculated via previous inputs like "looking up") i fire a shot - do the calculations from where to where i shot and if i hit an enemy"

the server also has to validate if the received input commands make sense and if they're within valid ranges
also the view output has to match what was send to server as rotation input: a common issue are "spinners": to other players such cheater looks down to the ground and spins around rapidly - while on thier screen it looks perfectly fine
why? because there's nothin that enforces a sync between what is sent to the server and what the player should see based on what they told the server they did

Sounds reasonable and kinda remins me of stadia , but who will pay for the powerful server hardware needed to perform those calculations for lots of clients in a short amount of time ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#7 Today 11:30:45

Whoracle
Member
Registered: 2010-11-02
Posts: 247

Re: Thoughts on the Cachy-EACv2 kernel?

Not really. Stadia basically sent you the final frame, what cryptearth is saying is "Render the frames locally". Server would more or less only need to do what it does now, which is calculating positions and state between all clients and send the results out. Of course, it's a bit more complicated than that, and would need more compute, but not on the levels of "Your battlefield server needs as many GPUs as it has clients".

Of course, it's not in the interest of the companies to pay for all that when they can make the players pay for that performance. And thus EAC.

Offline

#8 Today 15:04:35

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,013

Re: Thoughts on the Cachy-EACv2 kernel?

That "proper" way will require insanely low roundtrips.

Sometimes the only winning move is not to play.
When I was young…ER! nobody cheated because you were playing with your friends to have fun.

Offline

Board footer

Powered by FluxBB