Nvidia drivers not loading Ubuntu 24.04

For HP ZBook Firefly 16 with Ubuntu 24.04.1 LTS and RTX A500.
I am able to open the nvidia-settings but changing profiles makes no difference.
nvidia-smi tells me it fails because it cannot communicate with the drivers.
Any help?

I have the following:

Secure boot is disabled.

sudo prime-select query
nvidia

--------------------------------------------------------------------
dkms status

nvidia/550.120, 6.8.0-51-generic, x86_64: installed
nvidia/550.120, 6.8.0-52-generic, x86_64: installed

------------------------------------------------------------------
lspci | egrep -i "vga|3d"

00:02.0 VGA compatible controller: Intel Corporation Meteor Lake-P [Intel Arc Graphics] (rev 08)
01:00.0 3D controller: NVIDIA Corporation GA107GLM [RTX A500 Laptop GPU] (rev a1)

----------------------------------------------------------------
nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

------------------------------------------------------------------
nvidia-settings 

ERROR: NVIDIA driver is not loaded


(nvidia-settings:16107): GLib-GObject-CRITICAL **: 09:59:03.452: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

** (nvidia-settings:16107): CRITICAL **: 09:59:03.454: 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.

** Message: 09:59:03.487: PRIME: Requires offloading
** Message: 09:59:03.487: PRIME: is it supported? yes
** Message: 09:59:03.535: PRIME: Usage: /usr/bin/prime-select nvidia|intel|on-demand|query
** Message: 09:59:03.535: PRIME: on-demand mode: "1"
** Message: 09:59:03.535: PRIME: is "on-demand" mode supported? yes

---------------------------------------------------------------------------------------------
grep nvidia /etc/modprobe.d/* /lib/modprobe.d/*

/etc/modprobe.d/blacklist-framebuffer.conf:blacklist nvidiafb
/etc/modprobe.d/nvidia-graphics-drivers-kms.conf:# This file was generated by nvidia-driver-550
/etc/modprobe.d/nvidia-graphics-drivers-kms.conf:options nvidia-drm modeset=1
/lib/modprobe.d/nvidia-kms.conf:# This file was generated by nvidia-prime
/lib/modprobe.d/nvidia-kms.conf:options nvidia-drm modeset=1

--------------------------------------------------------------------------------------------
sudo modprobe nvidia
Gives no output

--------------------------------------------------------------------------------------------

Report log:
nvidia-bug-report.log.gz (345.3 KB)