← Home ← Back to /g/

Thread 107005640

92 posts 20 images /g/
Anonymous No.107005640 [Report] >>107005707 >>107005722 >>107005830 >>107005954 >>107006227 >>107006318 >>107006391 >>107006497 >>107006511 >>107006573 >>107007020 >>107009522 >>107010496
guys, gentoo is not a meme.
the gentoo guys were right all a long.
i have emerged everything i need with some additional use flags and i can clearly measure a difference. not a single build failure out of 700+ ebuilds.

compiled with -Os and everything is lighter on the memory and programs start up faster.
the gentoo schizos were right all along.
it really makes everything a bit faster. enough to be noticeable.

even wine is a bit faster.
even tried an old 90's civilization-game (alpha centauri) and even that processes the turns faster. (it was already fast before but now its even faster)

my computer uses 320mb when booted into wm, before it used about 530mb with an identical set of programs. i still use the old system's kernel and init system and just start the gentoo xorg from a chroot automatically at boot.
emerge is maximum comfy. put it on your computer today. in a chroot, you don't even have to install gentoo from scratch. you can try out gentoo within the comfort of your current distro.
take your time to compile right and re-compile if you regret any use flags. its worth it!
Anonymous No.107005707 [Report] >>107005787
>>107005640 (OP)
Right, Gentoo's my favorite OS. Others just feel lacking in comparison.
Anonymous No.107005722 [Report] >>107005817 >>107011457
>>107005640 (OP)
I only remember the time when some Gantoo updates broke my system and I couldn't fix it. After 3 days I reinstalled Windows. Been years since. Maybe things are different now.
Anonymous No.107005743 [Report] >>107005824
I'm running Guix system but i use binary substitutes. Maybe I'll away to source only. Running on an old think pad. Wondering if i can get the benefits of gentoo but keep the declarative configuration of guix
Anonymous No.107005787 [Report] >>107005817 >>107005976 >>107005988 >>107006327
>>107005707
its just too different.

after all these years, i now realize there are only two distros out there:
source-first or binaries-first.

with binary-first distros, you will always compromise on features and usually have to jump hoops to compile (on a system-wide scale)
most distros make it way too hard to recompile everything from source. in gentoo, thats just normal.

lets say i want to re-compile everything, in slackware or debian or whatever, there is no straightforward way to do them all in one sitting
its usually on a package by package basis, never at scale like gentoo.

and if you ever got the taste of compiling stuff for efficiency, you know that on anything than gentoo its basically pain in the ass.
Anonymous No.107005817 [Report] >>107005846 >>107010332
>>107005722
>Gantoo updates broke my system and I couldn't fix it.
didn't happen
it was your fault
and things shouldn't change just to accommodate for the lowest common denominator (you)

>>107005787
I mean, this says more about dynamic linking being a gimmick and a hack than about anything else
Anonymous No.107005824 [Report] >>107005967
>>107005743
see if you can add the -Os optimization flag to every build in your guix system and rebuild everything.
-Os optimizes for lower memory usage and its just as safe as -O2 so no worries about unexpected stuff.

also, one can not blame package maintainers for not optimizing anything because they have millions of people to cater to.
thats why you must take the matter in your hands.
Anonymous No.107005830 [Report] >>107005945
>>107005640 (OP)
What's your WM/DE? Post USE flags
Anonymous No.107005846 [Report]
>>107005817
Listen kid, some people here are adults. Let them do the talking.
Anonymous No.107005932 [Report] >>107005974 >>107006014
Things open up 500 microseconds faster but take hours to compile. Its still the meme distro.
>for servers
Most web host providers dont offer gentoo
Anonymous No.107005945 [Report]
>>107005830
fluxbox

COMMON_FLAGS="-Os -pipe -march=native"

USE="elogind X acl amd64 bzip2 cet crypt gdbm iconv ipv6 libtirpc multilib ncurses nls openmp pam pcre readline seccomp ssl test-rust unicode xattr zlib \
jpeg harfbuzz pulseaudio jack alsa truetype xinerama xpm \
postproc apng secure-delete"


i didn't change much. the defaults are already slimmed down. i just had to add a few features as i went a long.
picrel are the package.use files. (separate files of course, i just just dumped all of them on screen)
Anonymous No.107005954 [Report]
>>107005640 (OP)
>source-based, yet no reproducible builds
>overlays are just a convenient excuse for the shitty official repos that many users fall for
>users and developers alike in complete denial over the amount of time it takes to compile software
>"customizable" distribution, yet it's getting less and less choice and devs discourage anything but orthodox configs all the time
>circlejerking maintainers who coc competent ones into obvlivion
>use flags and all that other shit ultimately makes no perceivable difference on a desktop
>most bloated distribution of all: needs build-time dependencies by default and keeps all the sources (removing build dependencies is not practical since they are needed for updates anyway)
>hundreds of unsolved bugs that are ignored at best and brushed off as unimportant at worst
>untested, shit breaks even on the stable branch and isn't fixed for months. its "stability" is a complete myth
>openrc sucks. it being the default is basically just a marketing point since it works better with systemd anyway, a lot less people would give a shit about gentoo if it weren't for this
>boasts about supporting many architectures, yet only x86 and amd64 have a non-shit selection of packages
>"unstable" branch is slow as shit, far from being "bleeding edge". even debian sid is better in this regard
>literally won't merge valid prs to fix bugs and deficiencies in the repos even after having been properly audited and approved
>original author doesn't even use it on desktops, he's a macfag

Is Gentoo just an elaborate prank?
Anonymous No.107005967 [Report] >>107005998
>>107005824
>-Os optimizes for lower memory usage
No it doesn't. It optimized for code size.
Anonymous No.107005974 [Report] >>107006016
>>107005932
if you run a server 24/7 and some binary is run every minute, then you definitely notice the improvement.

improvements like these are meant to scale.
if you don't need to scale something then there is less of a point but if you get a gain of 10% and you consider that over 1 year, then the gains are massive.
you need to think bigger
Anonymous No.107005976 [Report] >>107006107 >>107006145 >>107006317
>>107005787
On Gentoo, you compromise your time.

Enjoy your youth while it lasts.
Anonymous No.107005977 [Report] >>107005992
i kinda agree but im not going back to gentoo oh no my mpv on arch lacks libcaca output support sigh not recompiling it either
Anonymous No.107005988 [Report]
>>107005787
>most distros make it way too hard to recompile everything from source.
Explain what kind of problem you had compiling from source on anything other than Gentoo.
Anonymous No.107005992 [Report] >>107006366
>>107005977
>lib caca
Who invents these ridiculous names? Linux ecosystem is full of cringe inducing names like that.
Anonymous No.107005998 [Report] >>107006129
>>107005967
what do you think gets loaded into memory?
Anonymous No.107006014 [Report]
>>107005932
> user gets a speedup
> computer compiles to make it happen
As it should be.
Anonymous No.107006016 [Report]
>>107005974
Then compile the binary on ubuntu
Anonymous No.107006078 [Report]
Gentoo is meh, emerge is slow, repos are anemic and full of outdated stuff, overlays are a mess. Nothing beats having your own distro, no more overlays, no more AUR, update when you want. best life.
Anonymous No.107006107 [Report] >>107006143 >>107009815
>>107005976
Cool story, bro. Gentoo's package manager handles compiling for you, and the distro is so stable that it requires less user maintenance than most OSes.
Anonymous No.107006129 [Report] >>107006346
>>107005998
Much more than just the binary, which is why "optimizes for lower memory usage" is at best misleading.
Anonymous No.107006143 [Report]
>>107006107
t. started using gentoo two weeks ago
Anonymous No.107006145 [Report] >>107006190
>>107005976
>Enjoy your youth while it lasts.
nobody forced you to ruin your life at 30 gramps
Anonymous No.107006190 [Report]
>>107006145
I didn't. In no small part thanks to figuring out Gentoo was a meme before it was too late.
Anonymous No.107006200 [Report] >>107006216
Gentoo just works. I use binhost to speed up installs and upgrades.
Anonymous No.107006216 [Report] >>107006240 >>107006247 >>107006287
>>107006200
Just use a binary distro at that point.
Anonymous No.107006227 [Report]
>>107005640 (OP)
from my experience the package conflicts in gentoo are insane
I had to set so many flags in each package just so emerge can continue compiling instead of shitting out errors
Anonymous No.107006240 [Report]
>>107006216
But then their screenfetch wouldn't show the Gentoo logo. How are they supposed to impress the other anti-productive losers in the /wg/ desktop threads?
Anonymous No.107006247 [Report] >>107011398
>>107006216
Well that's one way to say you've never used gentoo.
Anonymous No.107006287 [Report]
>>107006216
Why? There's nothing special about gentoo. Portage is great, you have sets of packages, such as @system or @world - For user-installed programs, you just say to portage "Hey, add this pkg to the @world set, kthx", then when you upgrade the system or whatever portage pulls that package and its dependencies into your system.
Anonymous No.107006317 [Report]
>>107005976
There is no point of youth when women are on strike
Anonymous No.107006318 [Report] >>107006385 >>107006410
>>107005640 (OP)
why do you need to use xorg from chroot?
Anonymous No.107006327 [Report] >>107006370
>>107005787
>there is no straightforward way to do them all in one sitting
>its usually on a package by package basis, never at scale like gentoo.
??
Anonymous No.107006346 [Report]
>>107006129
i might not have been precise but Os sure leads to lower memory usage so i dont know how misleading that is.
people are free to find out what Os does exactly but as far as i'm concerned i get lower memory use.
Anonymous No.107006366 [Report]
>>107005992
i think its based af probably older than you
Anonymous No.107006370 [Report]
>>107006327
how many commands do you need to recompile your whole debian system with -Os gcc option?
will it keep track of everything like gentoo does in the process?

no, its definitely not as straight forward.
of course you can compile where the fuck you want but is it quick and simple? not exactly
Anonymous No.107006385 [Report]
>>107006318
having something like steam a non source binary blob and its games also blobbed, segregated from your secure sysyem?
Anonymous No.107006391 [Report] >>107006406
>>107005640 (OP)
I think nix beats gentoo in terms of source based
because of nix purity it could detect changes to a package flags and recompiles the package and all that depends on it, and it's done much efficiently
the only downside is the lack of USE flag
Anonymous No.107006406 [Report]
>>107006391
>the only downside
But that's a FUCKING HUGE downside, lol.
Anonymous No.107006410 [Report]
>>107006318
because i want as much as possible that i interact with to be compiled a certain way, even x11

also, i have my original distro outputting on tty7 and the chroot on tty8 and i get separate xdm sessions (xdm is extremely light)
Anonymous No.107006422 [Report] >>107006432 >>107006467
gentoo rules. Literally no reason to use anything else as long as I've got a powerful desktop to compile everything when I feel like updating. I could see not liking it if all I had was a broke bitch old thinkpad or something like that though
Anonymous No.107006432 [Report]
>>107006422
>I could see not liking it if all I had was a broke bitch old thinkpad or something like that though
In that case you can just set desktop profile, set FEATURES="getbingpkg" and never set any USE flags.
Anonymous No.107006467 [Report] >>107006491 >>107007798
>>107006422
well i do run it on an old bitch thinkpad and it lets me save ram on that shit so even for old stuff its good.
however, it would be nice to use distcc or something. maybe later... firefox (pgo) took 18 hours.
can't say it was worth it though, the official firefox binary is the fastest i've tried yet.

anyway, you can compile when youre afk and just pause the compilation when you need.
Anonymous No.107006491 [Report] >>107006570
>>107006467
Have you looked into other package managers? You could use a second package manager to install prebuilt binary packages.
Anonymous No.107006497 [Report]
>>107005640 (OP)
Thanks, but I'm sticking with Arch (which I use, BTW).
Anonymous No.107006511 [Report] >>107006520 >>107006524
>>107005640 (OP)
I don't use it because I am forced to use initramfs with luks. Installed it many times, it was mostly just painful, I would work on something and I would need a dependency, on Arch it installs instantly but on gentoo it takes a while to the point that I do not even remember where I was in my project kek.

Also since gentoo is source based you would expect there to be source somewhere on the system that you could modify, there have been many programs that I would wanted modified before compilation and installation and the closest thing to modifying it is using keepwork feature flag and then finding the ebuild file and painfully checking the build log to compile it manually. It's just a poorly designed system. Not for me, it's pretty much a meme, you are not expected to modify code, but rather just watch it compile for no reason.
Anonymous No.107006520 [Report] >>107006539
>>107006511
>you are not expected to modify code, but rather just watch it compile for no reason.
have you never heard of /etc/portage/patches?
Anonymous No.107006524 [Report] >>107006539
>>107006511
>I don't use it because I am forced to use initramfs with luks
not by gentoo, so if you are suggesting this is a fault of gentoo you're wrong
Anonymous No.107006539 [Report] >>107006554
>>107006520
I have and I have used them but while this may seem like an elegant way to do things, nobody in reality does it except maintainers. When a user modifies code it's usually a quick hack.

>>107006524
You are right, it's the fault of grub for not supporting argon2 and/ or kernel that doesn't support loading those modules first before entry. But this would be a nice change compared to arch where I am not a huge fan of initramfs.
Anonymous No.107006554 [Report] >>107006594
>>107006539
>When a user modifies code it's usually a quick hack.
which you can then run a diff for against the codebase/tag you're building against and throw into patches for the package manager
if you want to do quick dev hacks then just pull the repo and compile manually like upstream would
Anonymous No.107006570 [Report] >>107006582
>>107006491
i've used a few different ones on top of other systems.
nix, guix, pkgsrc, homebrew, apt in a chroot etc.

anyway, if that was the problem, then i'd just use devuan and get all the packages i need.

i just realized that the whole reason for me using linux from the beginning was to have as much as possible control over what i run.
gentoo is just a natural progression.
there is just too much compromising in binary packages.
Anonymous No.107006573 [Report] >>107006691
>>107005640 (OP)
Welcome home, Anon.
Anonymous No.107006582 [Report] >>107006839
>>107006570
pkgsrc is cool and I like it but sadly the linux ports of the packages aren't the best when you get into compiling desktop software.
Anonymous No.107006594 [Report] >>107006651
>>107006554
Yes I know how to find a way around a problem, but there is always a problem. An operating system is there to provide an abstraction so you can achieve something with it, operating system is not a toy. When it comes to gentoo, I still remember trying to emerge cutebrowser and you had some dependencies for it, one of which used some python library that had to be compiled with some rust library, naturally I masked all rust code in portage and it kept complaining, even after adjusting the use flags it kept going in a loop, demanding that rust code, even though it was for a GTK extensions support on a qt based browser. Pretty silly, it's an optional extra not a hard requirement, and yet it failed to look past that dependency. There are many quirks like this that almost all people are not willing to fiddle around with as the resulting system provides very little reward for all that hard work.
Anonymous No.107006651 [Report]
>>107006594
qutebrowser*
sounds like a user-created issue in this scenario
Anonymous No.107006691 [Report]
>>107006573
i still have my original distro intact.
just making sure its up to date and ready as well. slackware has a nice kernel config defaults so i use that kernel for now. if i ever need a custom kernel i can just mount boot inside the chroot so emerge can work on it. never been this comfy.
Anonymous No.107006839 [Report] >>107006963
>>107006582
pkgsrc is nice to have but it refused to compile about 5 packages ot of 200 or something packages meanwhile gentoo compiled all 700 without a problem.
pkgsrc is nice to have if you run some more exotic stuff like opensolaris forks. gives you instant access to plenty of stuff.

i had explicitly told it to compile its own gcc and use that to compile everything else but it still didn't want to do everything.
i tried it on a debian installation and it worked so i dont know, its probably my fault but i did do everything by the book.
Anonymous No.107006963 [Report] >>107007098
>>107006839
>but it refused to compile about 5 packages ot of 200
AFAIK pkgsrc is meant mainly for BSD's. Probably not many users on linux.
Anonymous No.107007020 [Report] >>107007081
>>107005640 (OP)
>linormie discovers win7 speed
Anonymous No.107007081 [Report] >>107007291
>>107007020
without the deprecated win7 internals
Anonymous No.107007098 [Report]
>>107006963
it originated for netbsd but its advertised as cross-platform. people use it on all kinds of systems, not only bsds
regardless, they do a good job considering its not a giant project.
Anonymous No.107007291 [Report]
>>107007081
meh
Anonymous No.107007720 [Report]
quickpkg, re-generate all installed packages for backup!
>yes, chief!
>*some minutes later*
>done, i put them in /var/cache/binpkgs

emerge, i need you to rebuild gtk with 32 bit support. i just added the flags in package.use/gtk .
>sure thing, boss, first you have to add abi_x86_32 use flags to these dependencies below. after that, we are good to go.
alright, emerge, i did it.
>perfect, here we go.
Anonymous No.107007798 [Report] >>107008095
>>107006467
use another host and chroot into a Gentoo with the portage setup you want and compile the package binaries there, then download them to your laptop so it's a binary only system but you compiled them elsewhere with the use flags you want
Anonymous No.107008095 [Report] >>107008182
>>107007798
if i did this, could i just copy over /etc/portage to the build host and adapt -march to the cpu i want to build for and be ready for building?

gcc already knows how to build for different archs even if its not the host arch right?
Anonymous No.107008182 [Report]
>>107008095
yes, though I suspect if the host and chroot are significantly different enough you should probably use binary build tools in the chroot.
Anonymous No.107008299 [Report] >>107008342
there needs to be a revival in interest in source based distros.
since gaming is becoming so big on linux,
more attention could be put on source based distros for actual and efficient debloating of everything.

this way it could attract more developers too.
i'm not playing anything on my old thinkpad but if i had a powerful computer i'd definitely want to squeeze out even more.
people just need to understand how improvements scale.
its not enough to just rebuild one thing trying to make it faster. you need to rebuild everything because dependencies and all kinds of libraries.

obviously there is a certain time investment but the tools are already so mature and easy to use like portage.
there is really no reason not to pick this up. squeezing out more should concern not only those with weaker hardware.
there is a certain elegance to a well-tuned system no matter how new or old it is which is also tangible enough to be worth the trouble.
Anonymous No.107008342 [Report] >>107008374
>>107008299
games are almost exclusively binary
Anonymous No.107008374 [Report]
>>107008342
of course. i'm talking about everything that surrounds them.
display server (even if the driver is proprietary, xorg isn't)
sound libraries, basically all the dependencies
wine also. there is a bunch of stuff.

also, there are some kernel tweaks but anything i did was mostly related to sound. anyway, most distribution kernel configs are pretty heavy these days and could probably be lightened up. also, some scheduler tweaks might be useful.
Anonymous No.107009247 [Report] >>107009432 >>107009495
Os vs Ofast bros
Anonymous No.107009432 [Report]
>>107009247
Ofast should only be applied where it doesnt mess with floating point correctness.
it also includes everything in O3 which is opposite in memory use to Os.
Os is supposed to be best for size,
O3 disregards size in favour of speed

at least thats what i picked up
Anonymous No.107009495 [Report]
>>107009247
but speed can be had in different ways.
by reducing the amount of things to be worked on or by trying to optimize how you work without reducing size.

intuitevly it seems like reducing size would have a better chance of showing improvement. at least for me.

also, compiling with 32 bit pointers greatly reduces ram usage. you first need to enable x32 abi support (not to be confused with old school 32 bit abi)
and then you compile programs for x32.

even running vanilla 32 bit programs nets great memory savings but you don't get the 64 bit advantages of x32

the benefit in ram consumption can be as big as 30%
Anonymous No.107009522 [Report] >>107009558
>>107005640 (OP)
I don't really see the point in running Gentoo when Nix/Guix exist. What are the advantages of Gentoo compared to those? Still I'll probably try Gentoo myself someday for fun.
Anonymous No.107009558 [Report] >>107009565
>>107009522
you don't see the point in running something you know nothing about. nice. brilliant job telling on yourself being a low-iodine low-iq cretin
Anonymous No.107009565 [Report] >>107009625
>>107009558
no need to get so defensive desu
Anonymous No.107009625 [Report] >>107009635
>>107009565
nice way to try and dodge the retardation allegations. didn't work tho
Anonymous No.107009635 [Report] >>107011391
>>107009625
do all gentoo users have an inferiority complex?
Anonymous No.107009700 [Report]
Do you actually know how to program in C OP? Your distribution likely compiled most packages with -O2, which would produce more performant code than -Os. Did you pass -march=native? Did you pass additional optimization flags like -ftree-vectorize? -frunroll-loops? Many/most makefiles, particularly for smaller projects will omit these flags.

Anyway OP, I think this will be a good learning experience.
Anonymous No.107009811 [Report]
Been using the same Gentoo hardened profile installation with a bunch of manually set USE flags for ten years now. It just works and it's comfy. Compiling a new kernel & modules takes five minutes at 19 niceness, dunno what people are kvetching about wasting time compiling so much.
Anonymous No.107009815 [Report] >>107010301 >>107011379
>>107006107
You can't seriously think it's stable? I used gentoo for 3 years on an old thinkpad. Because updates would take so long, I would update at least 2 weeks apart. The amount of breakages I experienced during this time was very high. I had problems with chromium, ruby, ffmpeg, and that's just the ones I can remember. And the migration to the more up-to-date profile was an even bigger pain. On gentoo, you have to actually read and act on the mail the maintainers send you through portage, or you will break the system and have to ask sam_ on liberaIRC's #gentoo channel about fixing your system, again. It's very far from stable. I'm glad someone like you is passionate and is keeping the gentoo userbase alive, but I'd like to warn you that it's very far from stable, and requires x10 maintenance of a stable distribution.
Anonymous No.107010301 [Report] >>107011384
>>107009815
gentoo IS a stable distribution by default. you have to explicitly unmask unstable packages and breakages are basically non existent if you stick to stable and the "mainstream" profiles
Anonymous No.107010332 [Report]
>>107005817
can you statically link everything on a gentoo system? is that something people even do? memory is so cheap and it basically eliminates most of the complexity of a package manager that I feel like it should just be the norm at this point.
Anonymous No.107010496 [Report]
>>107005640 (OP)
Windows 11 IoT LTSC
Mint
Gentoo
BSD’s
Those are really the only options everything else is a meme.
Anonymous No.107011379 [Report]
>>107009815
Almost none of the people praising Gentoo actually use it, they just like the idea.

Even the original author, Daniel Robbins, stopped running it long ago, at least on desktops.
Anonymous No.107011384 [Report]
>>107010301
>it's been in the repo for one month == stable
Anonymous No.107011391 [Report]
>>107009635
Sunk cost fallacy syndrome is one hell of a drug.
Anonymous No.107011398 [Report]
>>107006247
I've used it for long enough to realize it's a waste of time.
Anonymous No.107011457 [Report] >>107011523
>>107005722
this happened to me once because i followed a meme advice of setting

```ACCEPT_KEYWORDS="~amd64"```

If you stay on stable usually nothing happens, and after a while if updating your system fails, probably you need to manually update some libraries first.
Anonymous No.107011523 [Report]
>>107011457
>ACCEPT_KEYWORDS="amd64 ~amd64"
>drwx------ 2 root root 16K Sep 21 2013 lost+found
skill issue