Wasn't exactly sure which dmesg output you wanted, but here are the two I thought were relevant. Thanks a lot for your reply by the way, I appreciate it.
~\ $ : sudo dmesg | grep -i nvidia
[ 2.894202] nvidia: loading out-of-tree module taints kernel.
[ 2.894213] nvidia: module license 'NVIDIA' taints kernel.
[ 2.894218] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 2.894219] nvidia: module license taints kernel.
[ 4.789791] nvidia-nvlink: Nvlink Core is being initialized, major device number 511
[ 4.789802] NVRM: No NVIDIA GPU found.
[ 4.791322] nvidia-nvlink: Unregistered Nvlink Core, major device number 511
~\ $ : sudo dmesg | grep -i nvidia
[ 2.894202] nvidia: loading out-of-tree module taints kernel.
[ 2.894213] nvidia: module license 'NVIDIA' taints kernel.
[ 2.894218] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 2.894219] nvidia: module license taints kernel.
[ 4.789791] nvidia-nvlink: Nvlink Core is being initialized, major device number 511
[ 4.789802] NVRM: No NVIDIA GPU found.
[ 4.791322] nvidia-nvlink: Unregistered Nvlink Core, major device number 511
As you can see the nvidia gpu isn't being recognised.