r/archlinux • • 18h ago

DISCUSSION What is the worst supported computer you have installed Arch Linux on?

5 Upvotes

If I had to pick, it wouldn't be the crappy old 2015 MacBook Pro I smashed last summer holiday because CPU is faulty with the solder, but Arch Linux runs great on this thing out of the box, it would be the Toshiba Satellite L855-B511, while it has all the drivers the AMD ATI Radeon 7670M SUCKED on Arch Linux, KDE nor any modern app couldn't work stabily even if I try

But what is the worst supported computer you have installed Arch Linux on?


r/archlinux • • 12h ago

SUPPORT Arch Linux brightness stuck at maximum on HP Victus (Ryzen 5 5600H + RTX 3050) — brightnessctl doesn't work

4 Upvotes
OS  Arch Linux x86_64
KERNEL  Linux 7.3.6-arch1-2
WM  niri 26.04 (Wayland)
SHELL  bash 5.3.20
TERM  ghostty 1.4.0-arch2
CPU: AMD Ryzen 5 5600H (12) @ 4.28 GHz
GPU 1: NVIDIA GeForce RTX 3050 Mobile [Discrete]
GPU 2: AMD Radeon Vega Series / Radeon Vega Mobile Series [Integrated]    

The brightness of my laptop's screen is stuck at the maximum setting and I can't change it using brightnessctl. I have already tried installing the NVIDIA drivers and verifying the AMDGPU backlight interface settings, but to no avail. Currently, my GRUB kernel parameters are GRUB_CMDLINE_LINUX_DEFAULT="quiet splash loglevel=3 amdgpu.backlight=0 nvidia-drm.modeset=1". The backlight device of my system is amdgpu_bl1. Has anybody faced a similar problem with the screen of the HP Victus laptop or another laptop that supports both AMD and NVIDIA graphics cards? Thank you for any suggestions!

r/archlinux • • 13h ago

QUESTION NBFC > [Bug]: GPU never SUSPEND!

Thumbnail github.com
4 Upvotes

I use Arch Linux, and the Nvidia driver has finally been updated. Device: i5-12500H, RTX 3050 Ti, Acer Nitro 5 AN515-58

Before, there was a "Runtime D3 status: Disabled" problem, which was fixed by the Nvidia driver update. Now the problem is that the GPU never suspends! It doesn't sleep at all.

I use the @GPU sensor, which always checks the temperature via nvidia-smi, and this keeps the GPU active!

When i use this command sudo systemctl stop nbfc_service after 15 seconds,

File: /sys/bus/pci/devices/0000:01:00.0/power/runtime_status -> suspended

So I created a sensor script, but I haven't used it yet. Instead, I want a script for the @GPU sensor that doesn't constantly use nvidia-smi, because that always wakes up the GPU.

Could you please help me create a flawless GPU sensor script? What do you think about below script?

#!/usr/bin/env bash

STATUS_FILE="/sys/bus/pci/devices/0000:01:00.0/power/runtime_status"
CACHE_FILE="/tmp/nbfc_gpu_temp.cache"
COOLDOWN=15

# 1. Kart uykudaysa önbelleği temizle ve sabit 38 döndür
if [[ -f "$STATUS_FILE" ]] && [[ "$(<"$STATUS_FILE")" == "suspended" ]]; then
    rm -f "$CACHE_FILE"
    echo 38
    exit 0
fi

NOW=$(date +%s)

# 2. Kart aktifse: Son okumadan bu yana 15 saniye geçmediyse nvidia-smi ÇALIŞTIRMA
# (Bu süre, oyun kapandıktan sonra GPU'nun uykuya dalabilmesi için gerekli boşluğu sağlar)
if [[ -f "$CACHE_FILE" ]]; then
    read -r LAST_TIME LAST_TEMP < "$CACHE_FILE"
    if (( NOW - LAST_TIME < COOLDOWN )); then
        echo "$LAST_TEMP"
        exit 0
    fi
fi

# 3. 15 saniye dolduysa ve kart hâlâ aktifse gerçek sıcaklığı oku ve önbelleğe yaz
TEMP=$(nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader,nounits 2>/dev/null)

if [[ "$TEMP" =~ ^[0-9]+$ ]]; then
    echo "$NOW $TEMP" > "$CACHE_FILE"
    echo "$TEMP"
else
    echo 40
fi

r/archlinux • • 2h ago

SUPPORT ArchLinux KDE Wayland on Lenovo Legion 5 16IRX9 (i5 13450HX/RTX4060m)

2 Upvotes

Am I the only one who gets ~3 hours of battery life, even though the dGPU is suspended? I tried to configure with TLP, change cpu governor and so on, but maximum I get ~3.2 hours of battery life on 80Wh battery.


r/archlinux • • 20h ago

DISCUSSION How to keep a tinkering setup...

2 Upvotes

I have been using arch for over a year now, it's great and I love it, but now i want to create my own Arch setup with hand picked pakages D.E's configs! and work environment... but tinkering on the setup i daily drive burns a lot of time, and I am really busy with things, so how do I make a separate archlinux from baremetal to experiment with, MY machine is not capable enough for VMs I don't want to boot into another setup each time i want to configure things

IF it's possible please show me how... (and should i use github so as to add things from that set up to my main?? is it even possible?)


r/archlinux • • 23h ago

QUESTION Should I buy a separate ssd to put arch Linux on it to keep windows

0 Upvotes

While i have put arch Linux on both my laptops (a cromebook and a dumb hp one), I have kept windows 11 on my main pc. It was mainly due to me not being very skilled or confident in my ability to not screw up my new pc. But after having it for a year now they is a lot of data on it that I'm not sure how to store it all. My idea is to buy a SSD or a SATA drive to copy it onto, that way I have my data, and a copy of windows if I ever need it. Is this a good idea?