Ubuntu, nvidia, cuda 11.8 installation, cryosparc

(Topic not quite right, not sure how to create topics and tags)
Installing Cryosparc, requires cuda, recommended 11.8, requires NVidia drivers.

Case 1 - Ubuntu 22.04, drivers installed, installed cuda_11.8.0_520.61.05_linux.run but # nvidia-smi
shows cuda driver 12.0, I did something wrong but not seeing where.

Case 2 - Ubuntu 20.04, drivers not installed, unclear what drivers to use, nvidia-smi tells me it can’t talk with the driver no matter what driver I try.
Tried installing cuda_11.8.0_520.61.05_linux.run but three levels of log down, in /var/log/nvidia-installer.log
I find that I think is the cause.

Please see the log entries ‘Kernel module load error’ and ‘Kernel messages’ at the end of the file ‘/var/log/nvidia-installer.log’ for more information.
→ Kernel module load error: Operation not permitted
→ Kernel messages:
exe=“/usr/bin/dbus-daemon” sauid=103 hostname=? addr=? terminal=?’
[ 52.446548] audit: type=1107 audit(1687467881.645:51): pid=2227 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor=“DENIED” operation=“dbus_method_call” bus=“system” path=“/org/freedesktop/ColorManager/devices/cups_Brother_MFC_L8900CDW_series” interface=“org.freedesktop.ColorManager.Device” member=“AddProfile” mask=“send” name=“org.freedesktop.ColorManager” pid=2573 label=“snap.cups.cupsd” peer_pid=2427 peer_label=“unconfined”

Looks like apparmor - but I’ve turned it off, disabled, and rebooted.

Thanks in advance for any guidance on either gpu-enabled ubuntu machine.

case 1:
this may be of interest.

case 2:
get your CUDA toolkit installers here and follow the instructions here.

You may need to disable secure boot.