You are not logged in.

#1 2023-05-23 22:33:55

mcnuggetsx20
Member
Registered: 2023-05-23
Posts: 16

ERROR: NVIDIA driver is not loaded

Just finished a fresh install today, but I encountered this kind of error:

 >$ nvidia-settings

ERROR: NVIDIA driver is not loaded


(nvidia-settings:9417): GLib-GObject-CRITICAL **: 00:30:09.655: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

** (nvidia-settings:9417): CRITICAL **: 00:30:09.656: 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.

These are all of my nvidia packages:

 >$ pacman -Q | grep nvidia
lib32-nvidia-utils 530.41.03-1
nvidia-dkms 530.41.03-1
nvidia-settings 530.41.03-1
nvidia-utils 530.41.03-1

And the kernel, I'm running:

 >$ uname -r
6.3.3-arch1-1

Offline

#2 2023-05-23 22:55:57

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

Re: ERROR: NVIDIA driver is not loaded

So you chose the dkms version, did it actually build the module when you installed it? Did you remove the kms hook from the initramfs, rebuild and reboot?

Offline

#3 2023-05-23 23:01:10

mcnuggetsx20
Member
Registered: 2023-05-23
Posts: 16

Re: ERROR: NVIDIA driver is not loaded

Yes it built the module without any errors. The second question - I have no idea what you're talking about. I'm sorry, but I'm not as advanced as I should be. Could you explain to me how to do it?

Offline

#4 2023-05-23 23:02:42

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

Re: ERROR: NVIDIA driver is not loaded

Offline

#5 2023-05-23 23:15:12

mcnuggetsx20
Member
Registered: 2023-05-23
Posts: 16

Re: ERROR: NVIDIA driver is not loaded

Alright, removing kms from the HOOKS array in /etc/mkinitcpio.conf and then rebuilding the intramfs with mkinitcpio -P solved the issue. Thanks a lot!

Last edited by mcnuggetsx20 (2023-05-23 23:16:19)

Offline

Board footer

Powered by FluxBB