You are not logged in.

#1 2025-12-16 00:47:37

Fr3d
Member
Registered: 2025-12-14
Posts: 18

[SOLVED]Can't blacklist nouveau

I did make sure to install the appropriate driver for my GPU, no other GPU is present, I did edit the Blacklist.conf to include nouveau, I didn't forget to regenerate the initramfs and I did remove kms from the HOOK array. Still couldnt get rid of it. What do I do?

Last edited by Fr3d (2025-12-16 23:44:15)

Offline

#2 2025-12-16 01:51:14

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,724

Re: [SOLVED]Can't blacklist nouveau

What, exactly did you install and what, exactly did you edit? There is no file called Blacklist.conf in Arch.

Offline

#3 2025-12-16 01:56:59

Fr3d
Member
Registered: 2025-12-14
Posts: 18

Re: [SOLVED]Can't blacklist nouveau

Scimmia wrote:

What, exactly did you install and what, exactly did you edit? There is no file called Blacklist.conf in Arch.

I was being inprecise. I created the file /etc/modprobe.d/blacklist.conf and wrote blacklist nouveau in it. I tried the nvidia, nvidia-dkms, nvidia-open-dkms and nvidia-open drivers, and none worked (though I know that arch wiki recommends nvidia-open and open-dkms).

Offline

#4 2025-12-16 01:59:45

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,724

Re: [SOLVED]Can't blacklist nouveau

Any of those packages should have pulled in nvidia-utils, do you have this installed? It already blacklists nouveau, so get rid of the file you created.

How did you regenerate the initramfs? Are you using a separate partition at /boot, and if so, was it mounted at the time?

Offline

#5 2025-12-16 02:06:54

Fr3d
Member
Registered: 2025-12-14
Posts: 18

Re: [SOLVED]Can't blacklist nouveau

Scimmia wrote:

Any of those packages should have pulled in nvidia-utils, do you have this installed? It already blacklists nouveau, so get rid of the file you created.

How did you regenerate the initramfs? Are you using a separate partition at /boot, and if so, was it mounted at the time?

Yes, I did install utils, and I created that file in order to try as much as I could. I regenerated initramfs using this command: mkinitcpio -p linux.
/boot is a seperate partition to root, and it was mounted I'm pretty sure.

Offline

#6 2025-12-16 09:05:59

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,082

Re: [SOLVED]Can't blacklist nouveau

Please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

your mkinitcpio.conf, and the outputs of

modprobe -c | grep -v alias | grep nouveau
cat /proc/cmdline
uname -a
pacman -Qs 'kernel|nvidia'

Afterwards  you can add "module_blacklist=nouveau" to the https://wiki.archlinux.org/title/Kernel_parameters

Online

#7 2025-12-16 14:07:15

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,724

Re: [SOLVED]Can't blacklist nouveau

Fr3d wrote:

Yes, I did install utils, and I created that file in order to try as much as I could. I regenerated initramfs using this command: mkinitcpio -p linux.

That works as long as that's the kernel package you're using.

Fr3d wrote:

/boot is a seperate partition to root, and it was mounted I'm pretty sure.

Don't be pretty sure, be sure. Also make sure it was mounted there when you installed and configured grub.

Offline

#8 2025-12-16 18:27:13

Fr3d
Member
Registered: 2025-12-14
Posts: 18

Re: [SOLVED]Can't blacklist nouveau

seth wrote:

Please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

your mkinitcpio.conf, and the outputs of

modprobe -c | grep -v alias | grep nouveau
cat /proc/cmdline
uname -a
pacman -Qs 'kernel|nvidia'

Afterwards  you can add "module_blacklist=nouveau" to the https://wiki.archlinux.org/title/Kernel_parameters

System journal:

http://0x0.st/Pr4x.txt

Can't post the entire, mkinitcpio.conf, 'cause I can't access my Browser due to this issue, but here's the HOOKS array:

HOOKS=(base systemd autodetect microcode modconf keyboard keymap sd-vconsole block filesystems fsck)

And:

nouveau
install nouveau /bin/false

And:

BOOT_IMAGE=/vmlinuz-linux root=UUID=1b43a7a3-dda1-4d21-b490-9cdb106b11da rw loglevel=3 quiet

And:

Linux FredsPC 6.17.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 24 Nov 2025 15:21:09 +0000 x86_64 GNU/Linux

The last output is pretty long, and I'm adding all that manually. Is there a specific line you want me to share?

Offline

#9 2025-12-16 18:38:24

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,724

Re: [SOLVED]Can't blacklist nouveau

So nouveau is loading before /sysroot is mounted in the initramfs. You did *not* regenerate the initramfs being used without the kms hook or you have nouveau in the MODULES array.

As for long output, see what you did in the first command. That works for any commands.

Offline

#10 2025-12-16 19:21:47

Fr3d
Member
Registered: 2025-12-14
Posts: 18

Re: [SOLVED]Can't blacklist nouveau

Scimmia wrote:

So nouveau is loading before /sysroot is mounted in the initramfs. You did *not* regenerate the initramfs being used without the kms hook or you have nouveau in the MODULES array.

As for long output, see what you did in the first command. That works for any commands.

Weird, but I also used

mkinitcpio -P

to regenerate. Is there a different command I should try? Is the MODULES array in the same file as HOOKS was?

Offline

#11 2025-12-16 19:36:23

Fr3d
Member
Registered: 2025-12-14
Posts: 18

Re: [SOLVED]Can't blacklist nouveau

Scimmia wrote:

As for long output, see what you did in the first command. That works for any commands.

You mean posting it to a server? How do I do that?

Offline

#12 2025-12-16 21:11:46

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,082

Re: [SOLVED]Can't blacklist nouveau

cat /etc/mkinitcpio.conf | curl -F 'file=@-' 0x0.st
pacman -Qs 'kernel|nvidia'  | curl -F 'file=@-' 0x0.st

"curl -F 'file=@-' 0x0.st" uploads the stdin to 0x0.st and the "|" connects the stdout of one process w/ the stdin on another process.
Welcome to unix.

You can add the ouput of

lsblk -f

to the above.

Online

#13 2025-12-16 21:24:37

Fr3d
Member
Registered: 2025-12-14
Posts: 18

Re: [SOLVED]Can't blacklist nouveau

Fr3d wrote:
Scimmia wrote:

As for long output, see what you did in the first command. That works for any commands.

You mean posting it to a server? How do I do that?

http://0x0.st/PryL.txt
http://0x0.st/Pryf.txt
http://0x0.st/PryV.txt

Offline

#14 2025-12-16 21:33:40

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,724

Re: [SOLVED]Can't blacklist nouveau

So now we're back to:

Scimmia wrote:
Fr3d wrote:

/boot is a seperate partition to root, and it was mounted I'm pretty sure.

Don't be pretty sure, be sure. Also make sure it was mounted there when you installed and configured grub.

because that lsblk output shows that it's not.

Offline

#15 2025-12-16 22:05:05

Fr3d
Member
Registered: 2025-12-14
Posts: 18

Re: [SOLVED]Can't blacklist nouveau

Scimmia wrote:

So now we're back to:

Scimmia wrote:
Fr3d wrote:

/boot is a seperate partition to root, and it was mounted I'm pretty sure.

Don't be pretty sure, be sure. Also make sure it was mounted there when you installed and configured grub.

because that lsblk output shows that it's not.

Weird, when I reboot my system, boot partition changes from /mnt/boot to /efi... when I mount it to /mn/boot/ its then mounted to both /efi and /mnt/boot. That's probably the issue. How do I fix this?

Offline

#16 2025-12-16 22:09:00

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,082

Re: [SOLVED]Can't blacklist nouveau

Mount nvme0n1p1 into /boot and regenerate the initramfs.
You probably also want to clean up the mount point (/boot when nothing's mounted there).
Then fix your fstab (though technically you don't need to mount /boot unless you're updating initramfs or kernel)
Also

changes from /mnt/boot to /efi

nothing's mounted in either locations in that lsblk.

Online

#17 2025-12-16 22:09:50

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,724

Re: [SOLVED]Can't blacklist nouveau

Put it in fstab. The installation guide tells you to mount everything before you do anything else, when people don't do that, they get into trouble. genfstab would have picked it up if it was mounted correctly.

Offline

#18 2025-12-16 22:28:43

Fr3d
Member
Registered: 2025-12-14
Posts: 18

Re: [SOLVED]Can't blacklist nouveau

Scimmia wrote:

Put it in fstab. The installation guide tells you to mount everything before you do anything else, when people don't do that, they get into trouble. genfstab would have picked it up if it was mounted correctly.

Yeah I messed up. So the issue now is that the root partition mounts itself to

/

instead of /mnt and boot to /efi instead of /mnt/boot. Though apperantly root shouldn't be at /mnt after install, but how can then the boot directory mount to /mnt/boot?

Offline

#19 2025-12-16 22:32:33

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,082

Re: [SOLVED]Can't blacklist nouveau

Wtf are you talking about?
Are you operating from a chroot?
Nothing "mounts itself" anywhere - please post your fstab.

Online

#20 2025-12-16 22:48:37

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,724

Re: [SOLVED]Can't blacklist nouveau

/mnt is just where you were staging the new system.

Offline

#21 2025-12-16 22:50:57

Fr3d
Member
Registered: 2025-12-14
Posts: 18

Re: [SOLVED]Can't blacklist nouveau

seth wrote:

Wtf are you talking about?
Are you operating from a chroot?
Nothing "mounts itself" anywhere - please post your fstab.

http:// 0x0.st/Prt4.txt

So to fix my fstab, do I just use this command?:

genfstab -U /mnt >> /mnt/etc/fstab

Offline

#22 2025-12-16 22:53:21

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,724

Re: [SOLVED]Can't blacklist nouveau

No, you open it in a text editor and add it. That command would create duplicate entries.

Offline

#23 2025-12-16 23:43:19

Fr3d
Member
Registered: 2025-12-14
Posts: 18

Re: [SOLVED]Can't blacklist nouveau

Ok its working now! Thank you very much for your Help! I appreciate it a lot smile

Offline

Board footer

Powered by FluxBB