r/archlinux

Arch + NVidia wake from sleep issues

Hi all,

I'm struggling a bit with issues with my machine not waking properly from sleep once in a while. I'm on Arch updated as of today 4/20/26. I'm on the regular kernel branch 6.19.12-arch1-1 and have an NVidia 5080. My nvidia driver version is Driver Version: 595.58.03 using the nvidia-open package.

I was using KDE at first and had a lot of bugs I'd run into. Some were probably KDE related (mouse would not track but would register clicks when waking up, but occasionally randomly, dual monitor positions would reset with one being inside the other especially after waking up, the lock screen not unlocking properly). I switched to gnome 50 and a lot of the issues seem to have improved. However, I will still about 1 in 5 wake-ups will get a hard freeze requiring me to hit the restart button (a new terminal won't open with ctrl+alt+F2 for example) and even the magic keys don't work. I'm guessing this is an nvidia issue.

I've read through the wiki on nvidia but am honestly a bit confused. It seems a few updates ago the nvidia sleep / suspend systemd services were removed from the driver saying they aren't needed anymore.

I believe DRM mode setting is appropriately installed running cat /sys/module/nvidia_drm/parameters/modesetcat /sys/module/nvidia_drm/parameters/modeset

Produces a Y as per the wiki. There's a line afterwards that's a bit confusing though that says "Officially supported kernels enable simpledrm, while NVIDIA driver requires efifb or vesafb when its own fbdev is disabled (or unavailable, with driver versions older than 545): see BBS#307164 for a possible workaround if you experience issues."

Since I'm experiencing issues, I added the line nvidia_drm.modeset=1 to the kernel options per the forum post to disable simpledrm early.

Under the wiki https://wiki.archlinux.org/title/NVIDIA/Tips_and_tricks#Preserve_video_memory_after_suspend

it mentions that it no longer uses the prior NVreg_PreserveVideoMemoryAllocations and has switched. When running sort /proc/driver/nvidia/params i do see UseKernelSuspendNotifiers: 1 suggesting the new kernel suspend notifiers are correct.

I'm a bit confused about GDM though now that I've switched to gnome. In the wiki box it says "When using the 430-590 series drivers, the nvidia-resume.service is marked as required by NVIDIA, but it can be optional, as its functionality is also provided by a systemd-sleep(8) hook (/usr/lib/systemd/system-sleep/nvidia) and it is invoked automatically. Note that GDM with Wayland however explicitly requires nvidia-resume.service to be enabled."

Does that mean I need to somehow again download the removed nvidia-resume.service from the new driver series? Or is this just outdated on the wiki? Is there some other issue that may be present causing the occasional freeze or resume failure?

reddit.com
u/WhoLovesDonuts — 5 hours ago
▲ 2 r/archlinux+1 crossposts

MY SSD FAILED AFTER A LINUX BLUE SCREEN OF DEATH WHICH WAS CAUSED BY RAM BEING FILLED UP

So i have 16gb ram(also zram), all the time I have a lot of firefox tab open, also had a vm running. So at one point my ram filled up and system got stuck , (I should have restarted immediately) so I just thought maaan, and started doom scrolling without restarting my pc , after 15 minutes when I look at my screen I see the blue screen of death ☠️, and that's when I force off my pc , when I tried to turn it on again my ssd wasn't working.

Has anyone encountered the same situation, did I do anything stupid

Edit: I'm sure my ssd is failing it has i/o error, tried formatting it, which worked, then tried reinstalling arch which doenst work, it shows I/O or smthn between the installion

drive link for log messages

reddit.com
u/Safe_Set_8953 — 12 hours ago

Switched from Windows 11 to Arch Linux as a first distro

Hello everyone. Last week, I made the final decision to abandon Windows 11 for good. I'm not entirely sure why my choice fell on Arch Linux; knowing full well how notoriously difficult it is to install and configure, that fact somehow didn't deter me. I suppose I figured that since I'm a seasoned Windows power user, a trifle like installing Linux would turn out to be a walk in the park.

In my attempts to get it set up, I nearly formatted all of my drives instead of just the one I intended. A couple of times I had to start the whole process from scratch, and the entire ordeal was accompanied by a steady stream of profanity. But, fortunately, I managed to get it installed.

The very first—and probably my least favorite—problem I encountered was Linux itself. At first, it struck me as being as inconvenient as it is humanly possible to imagine. However, after a couple of days, I got used to it and began fully configuring and customizing the system. Good Lord, the sheer volume of issues I ran into just with customizing the terminal alone (that was probably the hardest part)! Thankfully, YouTube was there to help me sort through the vast majority of my headaches.

By the way, before installing KDE I had already set up paru and pacman, and I'm using zsh (or something like that) in the terminal.

So, in a way, I regret that my first distribution turned out to be Arch. In another way, I'm actually quite glad it was. But I suspect I still have a great deal to learn and will face a great many more problems with this OS.

Thank you to those who read this far. I'd be happy to hear any advice anyone might have to make life a bit easier (if one can put it that way).

reddit.com
u/Altruistic-Tough-726 — 14 hours ago
▲ 3 r/archlinux+1 crossposts

Home wifi maxing out at 20mbps on linux- multiple distros- other devices fine?

Hey everyone! I made a similar thread like a month ago but it kind of died in the water xd

muh context

I've since tried out wifi connectivity on my framework at a different location, and lo and behold; it worked absolutely fine there!!

I've also contacted my isp (xfinity) and tried changing broadcast channels and broadcast bandwidths- to no luck. My 2.4ghz and 5 are separate, and the issue persists on both.... I'm straight up at my wits end. Anyone got any ideas on where to go from here? Both devices are running arch now.

ethernet was tested using the framework and works great, but I don't have the ability to run a port/wire to where my desk is located 🥀

ty for your time :-)

reddit.com
u/shortcase7202 — 9 hours ago
▲ 0 r/archlinux+1 crossposts

Why is my macbook pro with arch linux on it not working?

The problem specifically is that when it boots up it looks fine with the exception that there is a permanent spinning wheel/gear/loading icon, and when I select the arch linux boot option from grub (ive tried using systemd already) it says loading initramfs, the loading icon freezes, then after about 5 seconds lines appear at the bottom of the screen and then about half a second after that the whole macbook crashes. I've tried reinstalling, I didn't change or do anything except for an arch reinstall with the exact same settings, but I did follow a hallucinating idiotic ai guide off the internet that told me to hit a keyboard combo that didnt exist which is when the loading gear problem and everything else began.

reddit.com
u/reapvxz — 2 hours ago

I installed arch linux!

Hi guyss!!! My name is Anastasis and a few days before(probably 5 days) i decided to get into linux cause i watched a video of a youtuber called bog . I started a research about what are linux and how to download them and i post some questions about what distro to choose and if i should download them. All people said to me to download mint or ubuntu or sth easy and beginner friendly for the start . But i dont know why i wanted to download kali and learn ethical hacking and staff like that. But some people on reddit told me to not do this. So i decided to download mint. But I didn't . The reason was that i watched another video on youtube about arch. And i was impressed. But i didn't understand anything of the installation process on the video. But i wanted to do that. So i set up a virtual machine and tried it. The first time: failure. The second: success. So i got a usb and i started the process of dualbooting it with my windows 10. And i did this. I was so happy. I cant describe it. But now a day after i dont know why but i am not happy. I think that i finished with that and i dont have anything else to do. Why so many people are so happy when they download arch. Tell me more about arch and linux.

reddit.com
u/anastasis7k — 19 hours ago
🔥 Hot ▲ 181 r/archlinux+2 crossposts

Open Source G-Helper alternative for Linux (no asusctl required)

Hi everyone,

I built and maintain a helper utility for Asus devices. It's a direct port of the Windows G-Helper, so it behaves exactly the same way but stays lightweight and standalone.

It handles CPU power modes, RGB, and everything else you'd expect from G-Helper. The only thing missing right now is the LED matrix support (my laptop doesn't have one, so I can't test it), but I might add it if there's interest.

Check it out here: https://github.com/utajum/g-helper-linux

Website: https://g-helper-linux.elevatech.xyz

PRs and issues are welcome.

u/vlandimer — 23 hours ago

hello everybody, im a beginner to arch and there is a few problem that i cant seem to fix

Hello everybody, as the title suggested, im quite new to arch. Im pretty familiar with how a computer work since i code as a hobby, but this is my first time on linux (ik its bad as a first time ios but it already happened). And im just wondering if this is a common issue when installing or i might have broken something?

The issue at hand is:

  1. I cant launch any apps other than a browser i install using sudo post install

  2. I cant seem to connect to my wifi for more than 15 minutes before disconnecting and never working again. I use a tp-link dongle because i install linux on my pc, not on my laptop.

  3. I cant seem to access my second drive? Even though when i do archinstall i make sure to include both my first drive and the second one?

Is there any page in the wiki for this specific issue? Or am i doing something wrong? Should i do a reinstall or is it fixable?

Thats all, thank you

reddit.com
u/FarInteraction1710 — 2 hours ago

Running X11 with Gnome49

Hello, I want to keep using Gnome 49 because of its X11 support, with the rest of my system up-to-date, so I created a way to do that. It currently works on my machine (tm). Note that more work will be needed in the future to keep this working.

Enjoy: https://github.com/kandayin/gnome49-on-modern-arch

u/Weaseal — 10 hours ago

At what point would switching to arch be the smartest idea?

I plan to switch to arch... eventually, but im curious how knowledgeable and experienced with linux you should be before you switch?

For example, my current progression with linux is I have played around with a bunch of distro, and personally use Ubuntu (which I do not like.... but I stuck onto it because I didnt feel like swapping everything a third time :P) and Fedora.

I have been on linux for a little over 7 months now, but have been non stop researching linux for a lot of that time. I even got to the point where I installed linux arch onto a test laptop! After playing with arch for a month or two now, I do really like it and think its a super cool distro! I would love to switch to it on my main PC but I do fear that I may be a bit less experienced than I should be, and should hold it off for longer... but how much longer?

I would also say I have had a pretty good grasp on computers, even before using linux, but even now ive delved so much further into it than id ever imagined... and it feels like theres almost infinite knowledge I have to learn!

reddit.com
u/Maybe_A_Zombie — 23 hours ago

Automating efibootmgr

I am currently utilizing kernel-install to create UKIs and am seeking to automate the efibootmgr process via a script, rather than performing it manually.

By default, kernel-install generates UKI filenames that include versioning, which means that each kernel update results in a new filename. Consequently, EFI boot entries might reference outdated paths unless they are updated. My goal is to integrate with `kernel-install` (during both installation and removal) to manage this automatically.

My primary concern lies with the cleanup process. While creating new entries is straightforward, safely removing obsolete ones presents a challenge. The main difficulty arises from reliably parsing `efibootmgr` output to identify and remove entries associated with older UKIs. The output format does not appear to be designed for scripting and seems prone to fragility.

I am trying to determine the following:

- Is it a sensible approach to use efibootmgr within a kernel-install script, or am I perhaps addressing the issue at an inappropriate level?

- Is parsing efibootmgr output the standard method for this task, or are there more suitable interfaces available?

- How can one ensure that valid entries (e.g., for Windows) are not inadvertently affected while still performing a thorough cleanup?

Any guidance, examples, or cautionary advice would be greatly appreciated.

reddit.com
u/abu-aljoj04 — 11 hours ago

Arch vs Mint on very old laptop (i7-2630QM) for thermals + lightweight use?

Hi everyone,

I’ve got an old laptop running an Intel i7-2630QM. It’s currently on Linux Mint (Cinnamon), but it idles around ~50°C even after a full clean and repaste. I’ve also disabled the NVIDIA GT 540M (Optimus, eek!), since it doesn’t really play nicely on Linux and it is not really need (did help with thermals in case anyone also using a RF511 lol).

I mainly just use this machine for light browsing and video playback when I am in bed.

I was wondering if switching to Arch (with a lightweight DE, taking recommendation) would help at all with thermals (and fan noise!), or if I’m better off staying with Mint.

My thinking is Arch might be more minimal and reduce background overhead, but I’m not sure if that actually translates to lower temps in practice.

If Arch is worth trying, what lightweight DE/WM would you recommend for this kind of setup?

Thanks!

reddit.com
u/youfighter — 10 hours ago

Is there a backup program to save and restore configuration?

Hi i backup my files but if i have to reinstall i don't want to have to reconfigure the new install is their a program that can save a configuration and restore it? I know of aconfmgr but i find it slow but if that's the only program that works i will use it.

reddit.com
u/Nate935 — 1 day ago

Grub ignores grub.cfg when booting

It used to work fine and showed all menu entries including zen, lts, and surface kernels, windows 10, and UEFI settings with a custom theme. But I had to reinstall and regenerate the config so I used sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB which worked fine

Then sudo grub-mkconfig -o /boot/grub/grub.cfg gave me this result

Looked fine so I restarted my system but grub only showed "Arch linux, Arch linux, Windows 10, UEFI settings" as the 4 options and didn't load the theme. First entry is for linux-zen and second is for linux-lts, but this doesn't include the linux-surface kernel that grub found while generating the config

Trying to make any changes to the grub.cfg in /boot/grub/ doesn't make a difference during boot. This config and the theme worked fine earlier but not sure why just reinstalling broke it. I already tried a couple fixes like looking for other grub.cfg files grub might be reading but only one exists. I suspect grub is either reading an internal config (like one embedded during install) or falling back to it's default config instead of using /boot/grub/grub.cfg. For completion, I am running it on a Surface Pro 4 and here's also the /boot/grub/grub.cfg and /etc/default/grub files

reddit.com
u/cotenter — 19 hours ago

switching from Windows shit to Arch Linux

Hello Guys im a self taught dev im using Windows OS but i hate i wanna delete it to switch to Arch Linux as a programmer you know.

the problem is im not pro yet im taking Intro to cs and programing with python _ from MIT;

so what you think about this is it the right time to jump to Arch or keep it later?

reddit.com
u/Empty-Source-4516 — 1 day ago

Black cursor on screen for some reason.

Well so my cursor (white) and then the black cursor stuck there for some reason I wanna remove that black cursor.

I’ve tried a lot of stuff and I really don’t know what to do at this point, stresses me out fr.

I’m on arch with hyprland and hyDE dot files

reddit.com
u/bluunmusic — 15 hours ago

kde plasma or hyprland?

I have always used kde plasma with linux in the past when experimenting. A few days ago i decided to start dualbooting arch and windows, and I installed hyprland on arch. Hyprland is great because i can quickly navigate, keyboard controls, tiling, and it looks amazing, but I also like to game and im not sure if hyprland is the way to go for just casual gaming and watching movies.
Should I go with kde, hyprland, or is there some third option thats best of both worlds? What DE/WM do you guys use?

reddit.com
u/Callen_flynn — 1 day ago
🔥 Hot ▲ 94 r/archlinux

I just manually installed for the first time and it went... surprisingly easily??

The only issues I had were with my pacman keyring and that was pretty easy to fix. Whole install took maybe 20 minutes?? Does this mean I'm officially a REAL Arch Linux user?? Can I say that I use Arch BTW now?? Anyways I'm doing this to curate useful Arch pentesting and ethical hacking tools and make a .iso of my toolkit install so everyone can have some useful tools and not a massive 25GB install (looking at you, BlackArch.)

reddit.com
u/ReferenceNatural87 — 2 days ago

Looking for a distro that doesn't exist - help me prove myself wrong

Long-time Linux user. I've distro-hopped harder than most people change socks. Before you suggest something, assume I've tried it - Arch (2 years daily), Fedora (6 months, best so far), Debian, Ubuntu, Void, Gentoo (2 months), Exherbo, Chimera, NixOS, Alpine, CachyOS, EndeavourOS, Nobara, openSUSE, Artix, Crux, LFS, Kali, BlackArch, KISS, Oasis, and a bunch of forks I don't even remember. I've bootstrapped Fedora with dnf --installroot, I've done Arch pacstrap minimal installs, I've compiled LFS (never again).

What I want:

  1. The install process of something raw. TTY only, live USB, bootstrap from zero, configure every piece myself. No Anaconda, no Calamares, no archinstall. I want to build it up from nothing.
  2. The end result of something polished. Fedora-tier UX - stuff "just works," the package manager is pleasant, the ecosystem is coherent, updates don't explode randomly.
  3. Preferably something I haven't already ragequit.

What I've tried and why it didn't fit:

  • Gentoo: mask hell is unbearable, even with custom scripts to auto-unmask it still breaks, and prebuilt binaries ship with flags I don't want
  • Void: install feels janky (xbps command-not-found on first try, works on second, something cursed with PATH), and the overall feel is off
  • Chimera: nice concept but doesn't scratch the itch
  • Exherbo: dead community, Paludis is cool but I spent more time on IRC than using my system
  • Fedora: love it, but installed via Anaconda feels too handed-to-me; bootstrapping it manually didn't work well either (stuff felt broken/incomplete after)
  • Arch: been there 2 years, know it in my sleep, looking for something that feels fresh

My self-diagnosis:

I might be chasing a feeling that doesn't exist as a shipped product. I've already started writing my own package manager in Go (currently just wraps pacman + yay, want to extend with source-compile capabilities). Maybe the answer is "stop looking, build your own," but before I commit to that rabbit hole I want to hear if there's something obvious I'm missing.

Questions for you:

  1. Is there a distro that matches "raw install / polished result" that I haven't tried?
  2. Has anyone here gone from "I tried everything" to "I built my own" - was it worth it?
  3. Am I just burnt out on distro-hopping and need to commit to one for 12 months no matter what?

Not looking for gaming-focused suggestions (separate machine for that).

Thanks in advance.

reddit.com