Nvidia-smi shows no devices

I updated the Nvidia driver to 535.54. which was the recommended version by ubuntu 20.04 which is installed on my system.
THe GPU is detected as shown below, however nvidia-smi shows no devices. I have gone through several forums to no avail. Any help in this would be much appreciated

Things I have tried

`> Blockquoteashleyubuntu@ashleyubuntu-ROG-Strix-G512LI-G512LI:~$ sudo lshw -C display
*-display
description: VGA compatible controller
product: NVIDIA Corporation
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:16 memory:c3000000-c3ffffff memory:b0000000-bfffffff memory:c0000000-c1ffffff ioport:4000(size=128) memory:c4000000-c407ffff
*-display
description: VGA compatible controller
product: UHD Graphics
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 05
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:162 memory:c2000000-c2ffffff memory:a0000000-afffffff ioport:5000(size=64) memory:c0000-dffff

aubuntu@a-ROG-Strix-G512LI-G512LI:~$ nvidia-smi
No devices were found

a@a-ROG-Strix-G512LI-G512LI:~$ modinfo nvidia
filename: /lib/modules/5.15.0-78-generic/updates/dkms/nvidia.ko
firmware: nvidia/535.54.03/gsp_tu10x.bin
firmware: nvidia/535.54.03/gsp_ga10x.bin
import_ns: DMA_BUF
alias: char-major-195-*
version: 535.54.03
supported: external
license: Dual MIT/GPL
srcversion: 2C39C1B69933A2CD2CAA8F8
alias: pci:v000010DEdsvsdbc06sc80i00
alias: pci:v000010DEdsvsdbc03sc02i00
alias: pci:v000010DEdsvsdbc03sc00i00
depends: drm
retpoline: Y
name: nvidia
vermagic: 5.15.0-78-generic SMP mod_unload modversions
sig_id: PKCS#7
`

My nvidia log is attached
nvidia-bug-report.log.gz (164.3 KB)

Aug 9 15:08:43 ashleyubuntu-ROG-Strix-G512LI-G512LI kernel: [ 8.128354] NVRM: Open nvidia.ko is only ready for use on Data Center GPUs.
Aug 9 15:08:43 ashleyubuntu-ROG-Strix-G512LI-G512LI kernel: [ 8.128356] NVRM: To force use of Open nvidia.ko on other GPUs, see the
Aug 9 15:08:43 ashleyubuntu-ROG-Strix-G512LI-G512LI kernel: [ 8.128357] NVRM: ‘OpenRmEnableUnsupportedGpus’ kernel module parameter described
Aug 9 15:08:43 ashleyubuntu-ROG-Strix-G512LI-G512LI kernel: [ 8.128357] NVRM: in the README.
Aug 9 15:08:43 ashleyubuntu-ROG-Strix-G512LI-G512LI kernel: [ 8.383327] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x62:0x0:1904)
Aug 9 15:08:43 ashleyubuntu-ROG-Strix-G512LI-G512LI kernel: [ 8.383717] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0

The open source driver got installed. As the message says, comsumer cards are not yet officially supported.
You can try to set the above mentioned kernel module parameter, but I’d recommend to purge the -open driver and install the proprietary version.

sudo apt purge nvidia-driver-535-open
sudo apt install nvidia-driver-535