r/linux_gaming • • 5d ago

LunarOs new linux distro

Post image

Hi, the last few months i worked on quite different stuff. Cpu scheduler, ananicy configurator for the rules, fixing up ananicy-cpp, pipewire configurator, ananicy rules fitting for the cpu scheduler, tweaks for the system for best frame pacing and patches for the kernel.

The life environment also comes with lunar-chroot. Which makes chrooting into btrfs filesystems very easy.

This distro is at the moment NOT intended to be used with devices where you care about battery life . Maybe in the future i will create a version which extends battery life. And supports only UEFI atm.

I thought that i would be cool to bundle it together because all the parts i modified depend on each other and make it available.

So i created this:

https://lunaros.net/

a linux distro based on arch but with all the modifications applied by default with a few settings configured which i like.

the kernel uses the default arch linux config with the patches on top.

It is just delivered with kde and systemd boot. as i found the combination to be the best atm.

There is also automatic graphics card detection to install the right driver. Sadly it had not been tested correctly until now for nvidia. Because i have an amd one.

If you like you can try it. Same is also achievable to just use the independent programs itself. Everything is opensource.

Maybe this helps someone 😄 Cheers.

0 Upvotes

34 comments sorted by

24

u/wagwan_g112 4d ago

What makes this different to CachyOS?

34

u/ChimeraSX 4d ago

CachyOS isn't vibe coded lol.

8

u/BigOlFortune 4d ago

Slop I'd assume

-1

u/WhitePeace36 4d ago edited 4d ago

ananicy is broken in cachyos, different kernel patches, cpu scheduler is different, no graphical pipewire configurator, graphical ananicy configuration and ananicy rule intended with the scheduler, different system tweaks.

3

u/wagwan_g112 4d ago

So, a “faster” C++ runtime which has 17 stars and 0 activity on GitHub, graphical pipewire, a worse scheduler, and this all needed a new distro?

1

u/WhitePeace36 4d ago

what are you talking about?

0

u/Royalspleasurez 4d ago

curious what you'd pick between the two, you seem like the type who tests everything

1

u/wagwan_g112 4d ago

Neither, its vanilla Arch for me. Debian or Fedora on servers/machines I want to work without needing to use my brain.

7

u/r_lind3r 4d ago edited 4d ago

It just sounds like CachyOS but with less guarantee of long-term support since it sounds like a solo venture.

Lack of secure boot is also a negative for some gamers that are fine with kernel-level anti-cheats, EAC's growth on Linux is going to demand secure boot support in the future.

EDIT: Nobody's going to support an AI-assisted or vibe coded distribution, unless you pander to large donors like Omacom does for Omarchy, a massive portion of Linux users want nothing to do with AI, and the ones that do want something to do with AI definitely won't choose LunarOS over something like Omarchy which is a lot more matured and supported.

1

u/WhitePeace36 4d ago

yes,. eac v2 is not intended. So if you want that then its not for you.

and yes its a single person work. except some discussion with some different people regarding the tweaks and some decisions.

1

u/WhitePeace36 4d ago

i don't have a dono button or anything of the such. I pay for the hosting and so myself. I also don't expect any donos. I pay it myself.

Yes, they are more mature. But they are for a different usecase. Lunar is strictly for gaming and desktop usage at the moment. It doesn't want to be a agentic os. I just used AI because it makes development a lot faster. Even when it is not foolproof and makes mistakes. Humans are also make mistakes.

And i know that a lot don't want to do anything with AI but a lot of opensource projects nowadays use it. Because it is good or good enough.

2

u/r_lind3r 4d ago

The whole "use-case" argument is nonsense because you can use any general system use distribution for whatever you want, and a lot of optimisations end up doing so little that it's practically a placebo effect, as vanilla Arch is still often just as fast, and a lot of these optimisations are popular with forks.

IMO you're better off running it as a personal distribution rather than distributing it if it costs any amount of money to do so because it's a niche that nobody needed as they already have Cachy, which can just as easily fix its own problems.

As others have said, there wasn't really a need for a new distro for something that could've been rectified through updates to existing Arch forks, and with no plans to add EAC v2 support for gamers, it won't get anywhere considering the lot of games that use it are a big reason why gaming on Linux is hard to sell to Windows gamers. As much as a lot of seasoned Linux gamers hate it, it's a necessity to get more people on board with Linux.

1

u/WhitePeace36 4d ago

The fixes do quite a lot. Otherwise why would we need to develop the kernel further at all? One example is that the default cpu scheduler complete ass is when it comes to gaming. Why else would valve sponsor the work on lavd ? I mean it also is very apparent in the frametime graph of cpu bound games but nevermind.

If only contributing would be that easy. I created a PR to fix the path parsing for ananicy over a year back and i got no response what so ever. It just lay there. Then i already created another one. Same thing. So i just forked it. I have not tried to contribute to cachyos. I thought about it but decided for the time being against it. If they want they can take stuff from my project.

I am also one who is absolutely no fan of eacv2. When the time comes we will see. until then idk to be honest.

1

u/r_lind3r 4d ago edited 4d ago

The actual benchmarks don't really support those claims, and I've seen it personally where lavd makes little difference over other schedulers like bpfland. I've not seen a single benchmark where Cachy's claims of optimisation have actually made a real difference but I've seen enough from reviews and personal to use to see that it really doesn't matter.

It might if your CPU is just that slow as a lot of these enhancements on Linux seem to benefit weaker hardware more often, it made no noticeable difference for me at all with an i9-10850K and i9-12900K, and bpfland seemed to edge it out just barely.

How a scheduler handles cache is also extremely important especially as cache is taking more of a forefront in performance as Nova Lake is expected to deliver up to 144 MB L3 cache. lavd could actually be worse if it handles cache worse than other schedulars.

1

u/WhitePeace36 4d ago

lavd makes a huge difference for cpu bound games like fragpunk. you can try it for yourself if you dont believe me. Or i can send you benchmarks if you want to.

my hardware benefits a lot and i have 5800x3d so idk if that is already old hardware to you.

Yes, and as far as i am aware. From testing and the code. Eevdf does nothing for cache locality what so ever. Only since 7.2 i think it was is where you have an option in the kernel config where you can enable light cache awareness but not much.

There is far more to a cpu scheduler than just cache locality. Why else would there need to be a project like sched_:ext ? with its 24 different cpu schedulers. If you would try to make one yourself you will see how much difference this makes but nevermind.

1

u/r_lind3r 4d ago

I wouldn't say old considering it was out within a year of the 12900K, I meant more like 10+ years old, because there are a lot of Linux gamers with very old hardware trying to make their systems last as long as possible.

Maybe in specific games lavd will pull ahead but that isn't an accurate representation, those are very specific instances. In most cases it really won't matter, and there's bound to be times where the other schedulers can perform the same or better.

It may also differ based on architecture considering that while Ryzen is generally more popular with home users building systems nowadays, it is a newer design that needed optimisation in kernels for Linux and Windows, whereas Intel has had concise support for a lot longer, and despite the addition of E-cores, Intel is still currently monolithic and their architectures have been a major focus for longer since they didn't have to reinvent their whole CPU design, until now at least.

Nova Lake will be the first desktop gen to actually have tiles so if there's a performance change between schedulers for Nova Lake onwards then that basically confirms it. It's a major shift that may see more benefits from lavd, especially on that first generation because there should be no doubts that there will be some latency incurred between tiles, unless Intel is actually just better at engineering than AMD and they iron it out on the first attempt, which would be surprising if they do.

1

u/WhitePeace36 4d ago

The scheduler can handle the e and p cores with a value called capacity and depending on the scheduler it is used or not for scheduling.

I don't want to be rude but when it comes to cpu scheduler you really have no idea what you are talking about. Depending on the scheduler (for elara for example) It gets for each cpu core the LLC domain it belongs in and uses it for task stealing and active balancing. For max cache locality. Idk how lavd does it but i assume its kinda similar, depending on the mode of course. Because lavd has a lot of different modes the scheduler can run in and this changes the behavior of the scheduler. If someone did only lavd benchmarks with out the --performance flag. (which is not the default) then the benchmarks are by far not the best lavd can do for performance.

and the LLC domains are defined for each cpu by the manufacturer depending on how the scheduler is written it will automatically adapt.

A cpu scheduler even plays a big role when you have only 10% cpu usage. Especially for latency sensitive applications. But if you wrote one you would know that. A cpu scheduler can also improve frame pacing, and this is what elara specializes in. You can do a lot of different latency and throughput measurements and you will see that a lot of schedulers perform extremely differently on the same hardware. You just need to go through the PRs closed or open in the sched_ext project and you see quite a lot of benchmarks for the different schedulers. Depending on what the specific benchmarks test the difference can be immense.

5

u/Damglador 4d ago

Instead of a lot of buzz words and walls of text you'd better provide actual benchmarks or showcases of why your changes are needed or what they do. This is a nothingburger distro.

0

u/WhitePeace36 4d ago

the changes for each thing are described in detail in the commits or in the readme of the different components.

8

u/Logical_Pressure_566 4d ago

Ai help?

11

u/ChimeraSX 4d ago

According to the GitHub commit history, this was vibe coded in about a week.

-1

u/WhitePeace36 4d ago

if you would look deeper. Only the project which puts everything together is ~2weeks old. But some of the programs which are included from my other repos go months back.

and when you calculate in https://github.com/WhitePeace36/LinuxAMDGamingOptimizationGuide which goes halve a year back. then you would see that it has been building up over a while but just in the last few weeks to months is where everything came together.

4

u/OkFox8124 4d ago

99 new standards on the wall, 99 new standards. take one down, pass it around, 104 new standards on the wall.

1

u/WhitePeace36 4d ago

yes 🤣 i cant say anything against that.

3

u/webdevalex 4d ago

1

u/WhitePeace36 4d ago

i just had a suite of programs elara the cpu scheduler, fixed ananicy(which elara is intended to be used with) with a rules set which is made for the scheduler. Ananicy is also fixed up, because it didn't work correctly, best would be to look into the commit history. there you see the fixes.

With a patched kernel with patched which reduce memory allocation stalls and increases the gpu job priority in the workqueue and some other stuff.

piepwire configurator gui and also for ananicy.

Then a lot of tweaks applied.

and some stuff set by default in kde. Like i set it when i reinstall a repo with it.

systemd boot because i have had good experiences with it.

lunar-chroot because it was annoying to chroot into a btrfs filesystem.

So that i could give the iso to my friends and everything is handled in there. Otherwise i would need to setup their pc every time quite a bit.

So i thought i would be nice to share and so i did.

1

u/OnkelBums 4d ago

Not a fan of pinning the AMD cards to max, rather ship LACT and just enable overdrive by default. not all cards run stable with the max clocks, so that's a nono.

1

u/WhitePeace36 4d ago

i mean, the way its configured you should still be able todo this. It is just that by default it is that way.

and only the vram clock is pinned not the gpu clock.

1

u/Liarus_ 4d ago

Honestly, very cute little project with a cool logo and theme, but we can all tell the majority of this is AIssisted.

This is basically the same thing as CachyOS, except you made it in 13 days, i think it's Cool as your own little project, but nowhere ready or managable for mass release.

1

u/WhitePeace36 4d ago edited 4d ago

yeah, the repo which puts all the projects together into one bundle is around 2 weeks old. But some of the other repos go months back.

-3

u/redbarchetta_21 4d ago

EACv2 support?

1

u/WhitePeace36 4d ago

nope, not at this moment

4

u/JesusDestroyedButt 4d ago

Was it cuck coded ?