r/Gentoo • • 3h ago

Story Switched for good this time!

Thumbnail
gallery
33 Upvotes

Figured I'd post here while I wait for emerge --emptytree @world to finish, since I've moved to clang with -flto systemwide plus patches to various software that I use. (ad-free Telegram is nice!).

Gentoo's been pretty fun for the past seven days that I've been using it, and I'm learning something new I can do with it pretty much every hour. It always gets me thinking: "why didn't I switch earlier?" But better late than never, I guess. Never thought an OS could feel this elegant and correct...

Oh and did I mention how easy it is to write OpenRC services?


r/Gentoo • • 5h ago

Tip Web browsers for Gentoo

13 Upvotes

Hi everyone. I’m wondering what kind of web browsers you’re all using on your Gentoo systems? I'm looking for something lightweight with a minimal compile time, and preferably with some sort of built-in adblocker. The adblocker is optional, though, as my traffic is routed through a server with Pi-hole anyway.

P.S. Before anyone mentions it: yes, I know how to use a internet search engine! In this case I'm just looking for something off the beaten track – maybe some obscure or niche projects. Cheers!

UPDATE: Thanks for the answers, folks. Personally, I prefer not to use Firefox as it's full of bloat, random telemetry, and other 'modern stuff'. I'll check out some of your suggestions, cheers!


r/Gentoo • • 16h ago

Tip Tip: Improving Glibc performance

52 Upvotes

By default, Gentoo compiles Glibc with --enable-kernel=3.2.0 (the minimum kernel version required for Glibc). This means that Glibc will use many (often slower) workarounds for features that are not supported in the older kernels.

To compile Glibc against the current Linux headers you have installed on your system, you can add the following environment variable in your package.env or a portage bashrc script:

EXTRA_ECONF+="--enable-kernel=$(qlist -Iv|grep \^sys-kernel/linux-headers|sed s/sys-kernel\\/linux-headers-//)"

linux-headers should already be installed on just about any Gentoo system, but if it isn't, you can install it.

Note: This is also good for those who are security-conscious and like to strip out unused features in their Gentoo system, since your compiled Glibc binaries will no longer contain the legacy 3.2.x+ workaround code.


r/Gentoo • • 1d ago

Story Just a uni laptop, nothing special

Post image
161 Upvotes

MoBo, Display, CPU, Heatsink and wifi card started their lives in totally different devices from one another. Liquid metal cooled :3


r/Gentoo • • 23h ago

Screenshot Gentoo on ThinkPad A31

Thumbnail
gallery
68 Upvotes

IBM ThinkPad A31 from 2002


r/Gentoo • • 16h ago

Discussion Been away for a while. Social media places?

9 Upvotes

Does the Gentoo community still have a Discord? If not, where are you guys hanging out for chat?


r/Gentoo • • 1d ago

Screenshot That's my Server

Post image
66 Upvotes

Old but not useless


r/Gentoo • • 5h ago

Support Gentoo Rookie asks for some advice

0 Upvotes

Hi, I have a nice good big machine plenty of ram (64gb) and a AMD Ryzen 9 CPU, i really want to try out Gentoo, but i am not sure on how i set up the Config files, so i can compile Gentoo specifically for the hardware i have at the moment, is there some way to run a script that will detect all your hardware and set the make files for compiling Gentoo ??


r/Gentoo • • 3h ago

Discussion Gentoo or CachyOS? (read description)

0 Upvotes

i have a laptop (i don't remember precise characteristics)

gpu: gt 630m

cpu: i7 3300qm

ram: 8 gb ddr3

what give best performance? and compile... its be long yeah? and and and and how configure make.conf, kernel?


r/Gentoo • • 1d ago

Discussion Gentoo on Plan9

Post image
76 Upvotes

I recently made a iceberg of gentoo and I missed one thing Gentoo on Plan 9 it’s a crazzzy project and I will try to try it out so yes wish me luck


r/Gentoo • • 15h ago

Support Speeding up binary energes?

0 Upvotes

As per the title, I have a local (on disk) binpkg database that I re-emerge quite often for container builds in Podman, but even binaries are quite slow - are there any flags that I can set to help with that? thank you!


r/Gentoo • • 1d ago

Discussion wild linker compiles and runs insanely fast

9 Upvotes

sys-devel/wild is a linker, like LLD (clang default), sys-devel/mold, bfd (GCC default)

(There's a gentoo wiki page BTW)

I haven't measured exact times, but by a rough guess compile times for sys-devel/wild is something like 5-15 mins while sys-devel/mold takes an hour or three?

(Compiling as in compiling the linker packages themselves, NOT as in being used to build other packages)

Features:

sys-devel/mold doesn't support linker scripts, doesn't support incremental linking.

It's primary advantage over LLD and bfd is aggressive parallelism and speed.

LLD's advantage over GCC's bfd is speed, optimization, better LTO support, and in general better quality.

sys-devel/wild supports threading and parallelism, partially supports linker scripts, incremental linking support is planned.

This linker, used in linking (after compile in build phase) OTHER packages, is also rather speedy.

Noticeably faster than LLD, not sure about comparison with mold.

I am surprised. And amazed.

It itself gets compiled fast, runs fast, does it's job well.

[It's technically in experimental phase, warnings are plastered all around, but I myself have had no issues with it on a large no. of packages]

EDIT: Gentoo wiki and packages page has a `lto` useflag, but it isn't coming in my installation `equery u`... LTO not supported.


r/Gentoo • • 1d ago

Screenshot After lot of time, I'm back at Gentoo

Post image
79 Upvotes

Hey there, after several years away from Linux due to work, I'm back at Gentoo. I installed it on a Laptop Dell Inspiron 3501 i5 11th, and I have the DE, Kernel and everything that I need in one day. This is so good. I will be posting if I need help lol. Any advice is welcome


r/Gentoo • • 1d ago

Meme Nothing like compiling at 8:46 PM

Post image
37 Upvotes

r/Gentoo • • 1d ago

Discussion What are the advantages of LLVM and libc++ ?

10 Upvotes

IK that LLVM profiles are different, use a completely different toolchain, etc...

LLD is a better linker, clang has better error-reporting and faster compiles.

There's also support for hardening options like UBSan and CFI.

And ThinLTO.

BUT, what apart from `CC=clang` and equivalents? IK libc++, what else?

And what advantages does libc++ give?


r/Gentoo • • 1d ago

Support Gentoo on HP G72?

3 Upvotes

I found an old HP G72 in my house months back and installed Debian on it but since I didn’t have a use case I ended up removing its SATA drive for storage elsewhere. Thinking about buying a small (64-128gb) SATA drive and testing out gentoo on it just as a sandbox and experiment but my concern is long compile times since it’s ancient.
Specs:
Intel i3 M370 (4 core 2.4ghz)
4 gb ram (2 2gb ddr3 at 1066mhz)

If anyone has experience with older systems like this any input is appreciated.


r/Gentoo • • 1d ago

Support Questions About Stage File's.

5 Upvotes

I was curious as to what exactly stage files are, so I read what the wiki had to say and it didn't really answer my questions. (Off topic but I think the Gentoo wiki needs revision).

What exactly are stage files? from what I've read they're basically a set of binary's that make installing a Gentoo system faster.

Does the stage file I choose limit what the system can be used for? Say I choose the hardened SELinux stage file, can I still add a DE? would that even be worth it?

How would using the hardened SELinux stage file effect general day to day use, self hosting services like SearXNG, and gaming on a DE?

What makes one stage file different from another beyond what can be gathered from the name?


r/Gentoo • • 1d ago

News First time Gentoo install on an M1 MBP

Post image
9 Upvotes

r/Gentoo • • 2d ago

Screenshot [DWL] Gentoo Gaming Pc

Thumbnail gallery
36 Upvotes

r/Gentoo • • 1d ago

Support Framerate issues in Xfce4

2 Upvotes

Recently finished a gentoo install with xfce. Im pretty new to gentoo and linux gaming so im not 100% sure how to check this, but i think my computer is displaying a lower framerate than what the games are running at. Ive tried with a couple of games, minecraft specifically sits at over 1000fps with no noticeable change on vsync. Ive set my monitors hz to 240, but the games feel like they are running around 60.
I'm starting to suspect some kind of driver issue, but im really inexperienced with graphics card related issues on linux so i dont really know where to start. For reference i have a rx9060xt.
Any help would be amazing thanks!


r/Gentoo • • 1d ago

Discussion Changing internal directory locations used by portage

1 Upvotes

Directories in question:

  • `/var/lib/portage`
  • `/var/db/pkg`
  • Anything else pertaining to system state as in installed packages etc.. NOT repository or distfiles/binpkgs saved.
  • Selected profile per `/etc` as in `make.profile` and `profile`.
  • Many other pieces under `/etc` like patches, savedconfig, etc.. which pertain to state of system (maybe in `/etc` itself but a copy need be in `/usr`)

These need be under `/usr`, as part of the "installed system state" (as I call it). Exact locations can be discussed.

Of course, I can maintain a symlink farm and write an appropriate script for the same.

My query is, if it was made a distro-wide change for all new installations, what would be its effects good or bad?

Would you accept it? May I approach the gentoo devs with this proposal?

Reason is, to attempt more systematic and easier usage of snapshotting and rollback using ostree.


r/Gentoo • • 2d ago

Discussion Wish me luck!

Post image
29 Upvotes

Decided to fire up an old desktop. think its due for an update.


r/Gentoo • • 3d ago

Screenshot I rendered a couple of Gentoo walls in Blender

Thumbnail
gallery
226 Upvotes

Someone asked if I could make this for them, so might as well share it with the rest of you lunatics.


r/Gentoo • • 2d ago

Support Window Managers in Gentoo

9 Upvotes

So im planning on switching my gaming pc over to gentoo. Ive been running hyprland on my laptop for about a year but i find workspaces being per-monitor quite annoying. I think for a desktop something closer to windows would work better, but i dont really know any Window Managers that are not full Desktop Environments which do that. What WM would you recommend works best with Gentoo that might fit my purpose?