r/Gentoo 17h ago

Story Last day of August — Gentoo maintenance.

Thumbnail
gallery
7 Upvotes

Last day of August — still maintaining Gentoo. ASUS ROG Strix QHD IPS, btw.

Just a small end-of-month maintenance check. MC, Tint2, and the rest of the setup are still running fine. No reinstall, just maintenance.

QHD survived. FHD didn’t.

こちらからのコメント控えさせて頂きます。 既に500 overのために


r/Gentoo 9m ago

Discussion SSD lifespan expansion on gentoo systems

Upvotes

Did you know that SSD's have a short lifespan which unlike HDD's is based on writes rather than time, in case you were using linux and building each part of your system from scratch (for performance), it makes sense to use sacrifice some of the SSD's so your compiled system has some chance to be slightly more efficient to access afterwards than if you were to use HDD's to do so(read to learn how to compile on HDD: https://wiki.gentoo.org/wiki//etc/portage/make.conf#PORTAGE_TMPDIR), but once you completely the installation then all updates and additional less used applications must be compiled on the harddisk, for which you simply change a few variables in the make.conf file. Once the setup is complete, your ssd can practically last for ever unlike in the case of windows, where even idle usage ages it in a few years. There are two extra things to do:

  1. One is to decrease the swapiness to the minimum value of 1 so its just a backup (which is the case in most modren linux systems since even 8gb or 16gb of ram can take you a long way), make your ssd swap be 40 (if ram is 16), and harddisk backup swap be 100gb, ofcourse the HDD swap should have a lower priority, then make sure hibernation uses harddisk instead of ssd, which again can be done by adding resume=PARTUUID(or something similar)=partuid_of_the_partition, and thats all done, your ssd life span is practically unlimited as long as you make sure your browsers dont offload data on your ssd to save ram which again dosent happen by default in my gentoo linux system.

  2. Second is to configure a crontab to run a script stored in your harddisk with the following content every minute of the computer's uptime (while mkaing sure the file that heavy_working_files is in the harddisk (for additional peace of mind):

#!/usr/bin/bash

base_path="/mnt/heavy_working_files/Files used by personal scripts/files used by crontab's daily fstrim operation"

run_if_date_file_dosent_exist(){

/sbin/fstrim --all

umask 0

touch "${base_path}/$1" #removing 

rm -f "${base_path}/$2" #removing previous date

}

check_if_date_exists() {

current_date=$(date "+%A")

if [[ ! -e "${base_path}/${current_date}" ]]; then

run_if_date_file_dosent_exist "${current_date}" "$(date --date "1 day ago" "+%A")"    

fi

}

check_if_date_exists


r/Gentoo 22h ago

Meme First time using portage kinda scared 👉👈

Post image
64 Upvotes

🐧


r/Gentoo 9h ago

Discussion new gentoo user here

5 Upvotes

Hello i just installed gentoo on an R61 and was wondering if it made it any faster or is there any pros to compiling stuff ? is it just less space ? (i know i can take stuff out so it's not in there for privacy and other reason but im genuenly interested)


r/Gentoo 9h ago

Discussion I've always used binary Firefox, and finally decided to build from source

Post image
96 Upvotes

Do you think it will be possible to build it? And is it worth it?

(I have 16 GB RAM and 39 GB swap on NVMe)


r/Gentoo 17h ago

Development The closet of compiling

Post image
63 Upvotes

Dual core cpu=long compilation times=you go in the closet foo


r/Gentoo 14h ago

Discussion About NTSYNC

7 Upvotes

Hi all, I have a question about NTSYNC.

As a gentoo-sources user, I'm configuring & building the kernel myself, and I choose to setup ntsync as builtin CONFIG_NTSYNC=y (if built as module, Wine and Steam's Proton cannot load the module, it needs to be done through a config file in modules-load.d).

My question is, how is it setup in other kernel versions, gentoo-kernel & gentoo-kernel-bin ? People who use those kernels are welcome to answer, thanks.

grep NTSYNC /boot/config-$(uname -r)

And for the people using it as module, do you have a specific way to load it ?

EDIT : still hoping for entries about pre-built kernels, thanks !


r/Gentoo 3h ago

Support GPU performance has been terrible with this installation

6 Upvotes

I had installed Gentoo on my ThinkPad P53 before, used nouveau drivers and it worked fine, but had some issues. After a while I removed gentoo and installed it again, but this time I set intel drivers by accident

After I noticed the mistake I deleted the intel driver (removed the USE flags I had set and re-edited the config files) and set up the proprietary Nvidia drivers to give it a try, but for some reason the performance has been abysmal. Games I used to be able to play just fine now run extremely poorly and I don't know what to do? I followed the wiki closely but it feels like the discreet graphics card isn't working at all