You are not logged in.
Pages: 1
Hey there!
I'm doing everything as manual says.
My /etc/mkinitcpio.conf
MODULES=(btrfs nvidia nvidia_modeset nvidia_uvm nvidia_drm)
BINARIES=(/usr/bin/btrfs)
FILES=()
HOOKS=(base udev autodetect kms keyboard keymap modconf block filesystems fsck)After:
sudo mkinitcpio -PAfter reboot.
BUT cat /sys/module/nvidia_drm/parameters/modeset returns N.
Help pls(
Offline
...and where did you add nvidia-drm.modeset=1?
Offline
...and where did you add nvidia-drm.modeset=1?
Okay, thx.
I did file
/etc/modprobe.d/nvidia.confwith
options nvidia_drm modeset=1 fbdev=1But it didn't help...
Last edited by AndreyFrantsevich (2024-04-14 14:58:46)
Offline
Set them on the kernel command line instead
Offline
For the modprobe.d you'll still have to rebuild the initramfs afterwards because you've moved the nvidia modules there and the modprobe config outside the initramfs would load too late the be applied.
fbdev=1 should™ also result in the simpledrm device begone, but the feature is new and leads to mixed results. Doing this on the kernel commandline allows you to mend that at the bootloader, if need be.
Online
For the modprobe.d you'll still have to rebuild the initramfs afterwards because you've moved the nvidia modules there and the modprobe config outside the initramfs would load too late the be applied.
fbdev=1 should™ also result in the simpledrm device begone, but the feature is new and leads to mixed results. Doing this on the kernel commandline allows you to mend that at the bootloader, if need be.
Yes, I removed fbdev=1, did sudo mkinitcpio -P.
It works.
Thanks a lot!
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Nb. that w/o fbdev=1 and without using the nvidia_drm.modeset=1 kernel parameter *specifically* you'll still get KMS (as is mandatory for wayland) but you'll not get rid of the simpledrm device which might get in the way and have you unknowinlgy run on that rather than the GPU.
It is highly advisable to prevent that and the easiest way there is to use the nvidia_drm.modeset=1 https://wiki.archlinux.org/title/Kernel_parameters (you can do this in addition to the modprobe config, if that makes you feel better)
Online
Pages: 1