You are not logged in.
solution: PSU was faulty and failing when NVIDIA drivers were installed. Replaced it.
CPU i7 7700
GPU gtx 1060 6gb
MOBO asus Z270-A
6.18.6-arch1-1
gnome 49
drivers: I've tested nvidia-580xx-dkms & nvidia-535xx-dkms from AUR, with both I experience the same issue.
The issue:
My system will just reboot. Twice after I decrypted, but most of the time after I login at gdm, or before I get to log in.
The wiki says "Starting from nvidia-utils 560.35.03-5, DRM is enabled by default." and that to verify you run "cat /sys/module/nvidia_drm/parameters/modeset" but for me it returns "no such file" after driver installation.
I have tried manually setting the kernel module parameters in systemd-boot & grub (I've reinstalled a few times trying to get this to work, and have switched between systemd-boot & grub between installations. Im on grub now though)
I don't know what to do at all. I'm very lost about this.
Last edited by brout (2026-01-27 14:34:17)
Offline
Okay I'm on a new arch install with grub, 6.18.6-arch1-1, gnome 49
I have done
sudo pacman -S dkms linux-headersand
yay -S nvidia-580xx-dkms$ cat /sys/module/nvidia_drm/parameters/modeset
cat: /sys/module/nvidia_drm/parameters/modeset: No such file or directorybut according to the wiki, it should return Y (https://wiki.archlinux.org/title/NVIDIA … de_setting)
$ dkms status
nvidia/580.126.09, 6.18.6-arch1-1, x86_64: installedCan anyone tell me what to do next? I'll keep my system turned on until then.
Last edited by brout (2026-01-22 03:23:41)
Offline
Run (as root)
# journalctl -b > journal.txt
# lspci -k > lspci.txtDo you have internet access from that system ?
If yes, execute
curl -F 'file=@-' 0x0.st < journal.txt
curl -F 'file=@-' 0x0.st < lspci.txt
curl -F 'file=@-' 0x0.st < /etc/mkinitcpio.confEach of those commands will output a link, post those 3 links.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Run (as root)
# journalctl -b > journal.txt # lspci -k > lspci.txtDo you have internet access from that system ?
If yes, executecurl -F 'file=@-' 0x0.st < journal.txt curl -F 'file=@-' 0x0.st < lspci.txt curl -F 'file=@-' 0x0.st < /etc/mkinitcpio.confEach of those commands will output a link, post those 3 links.
http://0x0.st/PPeM.txt
http://0x0.st/PPeu.txt
http://0x0.st/PPeQ.txt
this is before rebooting, but after installing dkms, linux-headers, and then nvidia-580xx-dkms from aur
Offline
You at least have nouveau in the initramfs, regenerate that to make sure it gets blacklisted.
The kms hook will move the nvidia modules in there instead.
Offline
You at least have nouveau in the initramfs, regenerate that to make sure it gets blacklisted.
The kms hook will move the nvidia modules in there instead.
okay done. What next?
also fyi in case anyone checks the mkinitcpio file again, i reran the command lonewolf provided for uploading my mkinitcpio.conf, and instead of giving me a new link, it seems it might have overwritten the old since it just gave me the same link
Offline
What does an updated journal look like?
Offline
What does an updated journal look like?
Offline
Jan 22 14:41:30 archlinux kernel: NVRM: GPU 0000:01:00.0 is already bound to nouveau.
Jan 22 14:41:30 archlinux kernel: NVRM: The NVIDIA probe routine was not called for 1 device(s).
Jan 22 14:41:30 archlinux kernel: NVRM: This can occur when another driver was loaded and
NVRM: obtained ownership of the NVIDIA device(s).nouveau is obviously still in the initramfs, https://wiki.archlinux.org/title/Mkinitcpio
Offline
Jan 22 14:41:30 archlinux kernel: NVRM: GPU 0000:01:00.0 is already bound to nouveau. Jan 22 14:41:30 archlinux kernel: NVRM: The NVIDIA probe routine was not called for 1 device(s). Jan 22 14:41:30 archlinux kernel: NVRM: This can occur when another driver was loaded and NVRM: obtained ownership of the NVIDIA device(s).nouveau is obviously still in the initramfs, https://wiki.archlinux.org/title/Mkinitcpio
Okay, all I did was
sudo mkinitcpio -PI assumed that
yay -S nvidia-580xx-dkmswould've edited /etc/mkinitcpio.conf accordingly but I guess I have to manually edit it then.
This is my new /etc/mkinitcpio.conf, does it look correct?
http://0x0.st/PP2l.txt
This is the journal after regenerating
http://0x0.st/PP2G.txt
Offline
That journal still starts at
Jan 22 14:05:27 archlinux kernel: Linux version 6.18.6-arch1-1 (linux@archlinux) (gcc (GCC) 15.2.1 20260103, GNU ld (GNU Binutils) 2.45.1) #1 SMP PREEMPT_DYNAMIC Sun, 18 Jan 2026 00:34:07 +0000You'll have to reboot to have the updated initramfs have any effect and hopefully get nouveau out of the kernel.
Edit: you don't need the MODULES entries w/ the kms hook and maybe want to remove the latter altogether (to not bloat the initramfs w/ blacklisted modules)
Last edited by seth (2026-01-22 15:04:06)
Offline
That journal still starts at
Jan 22 14:05:27 archlinux kernel: Linux version 6.18.6-arch1-1 (linux@archlinux) (gcc (GCC) 15.2.1 20260103, GNU ld (GNU Binutils) 2.45.1) #1 SMP PREEMPT_DYNAMIC Sun, 18 Jan 2026 00:34:07 +0000You'll have to reboot to have the updated initramfs have any effect and hopefully get nouveau out of the kernel.
Edit: you don't need the MODULES entries w/ the kms hook and maybe want to remove the latter altogether (to not bloat the initramfs w/ blacklisted modules)
Okay, I'll reboot.
Before that, just to confirm, do I remove the kms hook or the modules entries?
Offline
Editing the file itself won't do anything, but you'd likely want to remove the kms hook and keep the module entries to not accidentally re-add the nouveau module at a later point.
Offline
Editing the file itself won't do anything, but you'd likely want to remove the kms hook and keep the module entries to not accidentally re-add the nouveau module at a later point.
Ok, I removed kms hook, then regenerated.
Rebooted.
Now my system reboots by itself right after
Loading Linux linux ...
Loading initial ramdisk ...Offline
"system reboots itself" means either of
- underpowered
- overheated
- broken cpu
- bad RAM
and is not a software problem.
Can you boot the multi-user.target (2nd link below)?
Did you forget to attach the dedicated power supply to the GPU?
Is the GPU properly seated in a PEG slot?
Offline
Actually, when nvidia-580xx-utils was installed, it should've blacklisted nouveau on it's own, according to the PKGBUILD: https://aur.archlinux.org/cgit/aur.git/ … utils#n286
Mainboard: GIGABYTE B550 AORUS ELITE V2 | CPU: Ryzen 7 5800X | RAM: 32 GB
GPU: GeForce RTX 4060 8 GB (580.119.02 proprietary) | Display: BenQ BL2405 1920x1080
Kernel: 6.18.8 stable | Boot Manager: GRUB2 | DE: KDE Plasma | Login Manager: SDDM | Compositor: KWin
Offline
"system reboots itself" means either of
- underpowered
- overheated
- broken cpu
- bad RAM
and is not a software problem.Can you boot the multi-user.target (2nd link below)?
Did you forget to attach the dedicated power supply to the GPU?
Is the GPU properly seated in a PEG slot?
PSU is 700w
the case has good cooling and the gpu fans spin
cpu - i use it daily without issue on my other installation with igpu instead of the gtx 1060
ram - well its only 2 years old, i guess i could run memtest
yeah the gpu is connected with power & is properly seated. I checked earlier.
Can you boot the multi-user.target (2nd link below)?
I'll get back to you on this. I have to read the manual, because I have no idea what that's about (linux noob)
Offline
Yes, the problem is that the nouveau modules were in the initramfs but the blacklisting entry wasn't.
It's necessary to regenerate the initramfs to at least get the blacklisting config in there as well (or replace nouveau w/ nvidia)
Offline
Can you boot the multi-user.target (2nd link below)?
Okay, not sure if I did this right but I added
systemd.unit=multi-user.targetat the end of the linux line in my grub boot entry, but I get the same issue. It reboots after trying to load initial ramdisk
I still have the installation medium to chroot or reinstall
Offline
You can probably still boot by adding "nomodeset" or "module_blacklist=nvidia" to the kernel parameters, but regardless of that - the immediate reboot most likely is because the GPU starves the CPU when it initializes (the PSU output is pretty irrelevant, what matters is what you end up distributing to the devices. Even kernel panics would not trigger a reboot.
If you keep nvidia installed but add "modprobe.blacklist=nvidia,nvidia_drm" to the kernel paramers can you
1. boot the multi-user.target
2. then there explicitly "modprobe nvidia_drm" w/o crashing the system?
Offline
You can probably still boot by adding "nomodeset" or "module_blacklist=nvidia" to the kernel parameters, but regardless of that - the immediate reboot most likely is because the GPU starves the CPU when it initializes (the PSU output is pretty irrelevant, what matters is what you end up distributing to the devices. Even kernel panics would not trigger a reboot.
If you keep nvidia installed but add "modprobe.blacklist=nvidia,nvidia_drm" to the kernel paramers can you
1. boot the multi-user.target
2. then there explicitly "modprobe nvidia_drm" w/o crashing the system?
I added
modprobe.blacklist=nvidia,nvidia_drm systemd.unit=multi-user.targetand it allowed me to reach the decryption and then user login in tty1
but the moment i ran
sudo modprobe nvidia_drmmy system crashed
Offline
btw after the system crashes and starts to reboot, it reboots like 2-10 times (the fans spinning for 1-3 seconds each reboot) before being able to reach grub again. Not sure if this information helps indicate something
Offline
There's going to be some surge or electric leak or something - does some live distro that ships the nvida drivers work?
Or OtherOS™ (windows)?
Maybe it helps to direct more power to the CPU, do you have control over such in the BIOS/UEFI (do not undervolt or overclock the CPU and disable XMP)?
Does adding
intel_idle.max_cstate=1 i915.enable_dc=0 ahci.mobile_lpm_policy=1 pcie_aspm=offto the kernel parameters have any impact?
Offline
does some live distro that ships the nvida drivers work?
Or OtherOS™ (windows)?
No, actually not. I tested. Same shutdown issue with the nvidia drivers, regardless of OS (tested arch, fedora, windows 11. The crashes kept occuring on windows after I removed the "nvidia graphics driver" & "nvidia hd audio driver" in control panel, and plugged in the hdmi to the motherboard instead of the gpu, and set primary display to IGFX instead of PEG in bios)
Maybe it helps to direct more power to the CPU, do you have control over such in the BIOS/UEFI (do not undervolt or overclock the CPU and disable XMP)?
The cpu is locked, so I don't think so. XMP was & is disabled.
Does adding intel_idle.max_cstate=1 i915.enable_dc=0 ahci.mobile_lpm_policy=1 pcie_aspm=off to the kernel parameters have any impact?
No, without the "modprobe.blacklist=nvidia,nvidia_drm systemd.unit=multi-user.target" or "module_blacklist=nvidia" it currently crashes upon "Loading initial ramdisk" before being able to see the decrypt prompt, even with those parameters. I'm still on the same arch install as earlier.
There's going to be some surge or electric leak or something
I suppose. Really strange though. My PSU should be enough for my system. My system with dGPU running nouveau drivers only draws about 20-30 watts during regular desktop or browsing tasks, i tested it with a power station like a year ago. I find it kinda crazy that the NVIDIA drivers would spike that to the point of crashing the system.
But if I were to look at a new PSU, what would be the thing to look for, if output is pretty irrelevant?
Offline
But if I were to look at a new PSU, what would be the thing to look for, if output is pretty irrelevant?
The crashes kept occuring on windows after I removed the "nvidia graphics driver" & "nvidia hd audio driver" in control panel, and plugged in the hdmi to the motherboard instead of the gpu, and set primary display to IGFX instead of PEG in bios
Can you trigger it w/ https://wiki.archlinux.org/title/Stress_testing#stress ?
Or the script in https://bbs.archlinux.org/viewtopic.php … 9#p2260219 ?
Offline