• 0 Posts
  • 275 Comments
Joined 2 years ago
cake
Cake day: March 22nd, 2024

help-circle


  • I’d be more impressed if they stopped bundling random crap. It’s their unwillingness to use upstream’s dependencies and toolchains that makes Chromium a nightmare to package on Gentoo, and flatpaks are not going to fix that. They bundle clang, rust, and so many additional libraries that the “must keep bundled version to prevent breakage” list is almost 300 items long. This is not the correct way to ensure reproducibility, guys.




  • Traditionally, “freezing” means that the system doesn’t respond at all. More than likely, your system is just swapping heavily and slowing down to a crawl. If that’s what’s happening, the hard drive activity light will be on constantly.

    The best fix for this is more memory, but RAM is currently expensive. If you can’t afford to buy more, you may have to try to cope in software. First, do The Bleeding Obvious: close any programs that you don’t immediately need before you start that Discord call. This includes not leaving unnecessary webpages open, just in case.

    See what your distro has to say about swappiness and how to set it. You probably want a value lower than the default 60, maybe even as low as 0.

    If it gets worse over tme, it’s possible that something you’re running has a memory leak. You may be able to figure out what using top or similar and seeing which programs’ memory use grows over time. Restarting the greedy ones periodically may be able to keep your system from bogging down, at the cost of some inconvenience.

    Moving to a bare compositor rather than the relatively heavyweight KDE might also free up some RAM, but I’m not sure how much that will actually help.









  • Depends on the connector. “Kind of fits” and “isnt usb-c” makes me think you might be dealing with the type of barrel plug that’s very common on pre-USB-C non-Macs.

    Unfortunately, barrel plugs tell you zilch about the power supply they’re connected to. They’re a dumb connector with no data capability whatsoever, and I’ve seen the same size of plug on power supplies with output anywhere from 3V to 24V. You need to look for the data panel on the old power supply and make sure the new one has the same voltage, the same or larger amperage, and the same polarity.

    Polarity on a barrel plug is marked by a symbol that looks like this or this. Make sure the old and new match. Nearly all barrel plug power supplies are center-positive, but better to get it right the first time and avoid any risk of damage to your laptop.






  • I guess at the very least I’ll single out my graphic drivers (Intel)?

    You shouldn’t need to concern yourself about this until you’re looking to install X or wayland (at which time you’ll want to put VIDEO_CARDS="intel i915" or similar in make.conf—read the wiki to see which drivers match your specific chipset; my example stanza is for a Kaby Lake system). The basic drivers should autoload unless you compiled a custom kernel and left them out by mistake.


  • Any advice from people that already use Gentoo? Especially things that they wish they knew before trying for the first time?

    This is more things-about-bootloaders I wished I’d known/remembered when installing more recent systems, but:

    • If you want to use GPT partitions on a system with legacy BIOS boot, remember that you will need an additional unformatted small partition at the beginning of the disk (this tidbit of information used to be in the handbook, but has been removed)
    • If you’re trying to install GRUB on a UEFI system, and it looks like everything should work but the system fails to boot, read the troubleshooting section of the GRUB page in the wiki for information on how to handle defective UEFI implementations.
    • Do not try to enable Secure Boot if this is your first rodeo. Get the rest working first.

    How much time and effort should I put into fine tuning the global USE flags if my initial goal is to get a system up and running?

    Not much, unless there’s something you really want to exclude (-systemd, for instance). Most of the time the default USE flags will give you a workable, feature-rich system (and allow you to use more binary packages).

    What you need to pay attention to is your choice of profile, which sets your default USE flags. Profiles in the desktop series enable a lot of USE flags. For the most basic command-line system, you’re better off picking default/linux/amd64/23.0 (or default/linux/amd64/23.0/split-usr if you want the old FHS setup where /bin and /usr/bin etc. are different directories—if you don’t care about this, stick with the default and ignore split-usr). Avoid no-multilib, hardened, and anything marked “(exp)” or “(dev)” unless you have some specific reason for wanting that profile.

    With systemd, I enable --nowed that which I wanted to “autostart” (iptables and sshd, for instance). Is there an equally intuitive counterpart with OpenRC?

    I think you want the rc-update command, specifically rc-update add [service] default (assuming you want the default runlevel, which you nearly always do). There’s a man page.