You are not logged in.
Howdy folks. Let me list what I have done so far.
The output of
lspci -k | grep -A 2 -E "(VGA|3D)" for my card is
29:00.0 VGA compatible controller: NVIDIA Corporation TU106 [GeForce RTX 2070] (rev a1)
Subsystem: Gigabyte Technology Co., Ltd TU106 [GeForce RTX 2070]
Kernel driver in use: nouveauRunning
pacman - Qs nvidia prints
local/egl-wayland 2:1.1.13-1
EGLStream-based Wayland external platform
local/libvdpau 1.5-2
Nvidia VDPAU library
local/libxnvctrl 545.29.06-1
NVIDIA NV-CONTROL X extension
local/nvidia 545.29.06-2
NVIDIA drivers for linux
local/nvidia-lts 1:545.29.06-2
NVIDIA drivers for linux-lts
local/nvidia-settings 545.29.06-1
Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 545.29.06-1
NVIDIA drivers utilities
local/opencl-nvidia 545.29.06-1
OpenCL implemention for NVIDIAto the terminal. I have 100% removed kms from the hooks array and regenerated initramfs. The output shown at the top of the post is what I see even after rebooting. The command
pacman -Q linux prints out
linux 6.6.3.arch1-1 to the terminal. I have attempted to run
nvidia-config but after rebooting and using
startxit doesnt load at all. Running
nvidia-settingsresults in an output to the terminal of
ERROR: NVIDIA driver is not loaded
(nvidia-settings:3127): GLib-GObject-CRITICAL **: 06:56:27.583: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** (nvidia-settings:3127): CRITICAL **: 06:56:27.584: ctk_powermode_new: assertion '(ctrl_target != NULL) && (ctrl_target->h != NULL)' failed
ERROR: nvidia-settings could not find the registry key file or the X server is not accessible. This file should have been
installed along with this driver at /usr/share/nvidia/nvidia-application-profiles-key-documentation. The application
profiles will continue to work, but values cannot be prepopulated or validated, and will not be listed in the help text.
Please see the README for possible values and descriptions.I have run a full system upgrade already. I am a bit confused, as I feel like I have tried almost all the other forum posts I can find's suggestions... any ideas on why nothings working out?
Last edited by slithis (2023-12-05 06:02:07)
Offline
nvidia-config
Don't and remove that config again.
What's the output of
uname -a
cat /proc/cmdline
modprobe -v nvidiaBut since nouveau gets blacklisted by nvidia-utils, there's essentially no other explanation as nouveau still residing in the initramfs, pot. because you're not booting kernel and initramfs you're manipulating (forgetten to mount the /boot partition?)
Offline
The outputs of those commands in order are
Linux fishy 6.6.3-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 29 Nov 2023 00:37:40 +0000 x86_64 GNU/Linux
BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=c8044096-9559-4f4a-b8fd-7ff8490f7831 rw loglevel=3 quiet
insmod /lib/modules/6.6.3-arch1-1/extramodules/nvidia.ko.xz
modprobe: ERROR: could not insert 'nvidia': No such deviceI seem to have found another resource that recommended adding to the modules of mkinitcpio.conf "nvidia nvidia_modeset nvidia_drm". Would that perhaps address the nvidia No such device error?
Current mountpoints are
nvme0n1 259:0 0 238.5G 0 disk
├─nvme0n1p1 259:1 0 256M 0 part /boot/efi
│ /boot
└─nvme0n1p2 259:2 0 238.2G 0 part /Last edited by slithis (2023-12-03 22:10:33)
Offline
Offline
The error is because nouveau is loaded.
BOOT_IMAGE=/boot/vmlinuz-linux
You're not booting from nvme0n1p1
umount /boot
ls /boot
lsinitcpio /boot/initramfs-linux.img | grep nouveauOffline
I've gone through and fully made the changes listed here. I now have a "nvidia_drm.conf" file with the following contents:
options nvidia_drm modeset=1 fbdev=1and I have added the modules. I then reran
mkinitcpio -P which successfully created an image. Rebooting yields the same results.
Forgive my ignorance @Seth. Aren't the mountpoints /boot and /boot/efi shown in my post above on nvme0n1p1? Even running
umount /boot results in an error because
umount: /boot:target is busy Offline
Yes are, but that's not where you're booting from.
BOOT_IMAGE=/boot/vmlinuz-linux
is a path relative to the root partition.
sudo lsof | grep /bootBut you could also just remove the fstab entry and reboot
Offline
Okay folks -- the issue is fixed. However, it is worth noting that I did not happen to follow your advice @seth. After a bit of messing around, I took the nuclear option -- realized that I probably messed things up during all the stuff I tried setting up the system in the first place, and completely reinstalled arch. One of the first things I've now done was to set up nvidia following the wiki closely. And the output of
lsmod | grep nvidiais now the lovely set of things I wanted to see. While it may not provide closure (I believe what you were trying to suggest would help, but I'm a bit dense to have fixed it) -- the issue is resolved.
Offline