Nvidia issue

HI

please help me with this error in ubuntu20

we have installed latest driver but not working

uidd7623@ozd2085u:~$ sudo 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.

Please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post.

nvidia-bug-report.log.gz (11.3 MB)

Please check this attached file

blacklist the nouveau driver.

how to do that

Actually I just noticed the initramfs update is only in the picture.
So don’t miss out on updating the initramfs after blacklisting:
sudo update-initramfs -u -k $(uname -r)

sudo bash -c “echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf”
sudo bash -c “echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf”

updated intiramfs and rebooted pc

i have checked with nvidia-smi

uidd7623@ozd2085u:~$ sudo nvidia-smi
sudo: nvidia-smi: command not found
uidd7623@ozd2085u:~$

getting command not found

You didn’t get that it your initial post.
What did you do? Did you uninstall the nvidia driver?

no i didnt get that in my initial post

i have followed that link,after that getting command not found

i have not unistalled any nvidia

what does dpkg -l|grep nvidia show?

i have installed driver again,disabled noveau driver.

now getting nvidia smi failed error

idd7623@ozd2085u:~$ dpkg -l|grep nvidia
ri libnvidia-cfg1-460:amd64 460.39-0ubuntu0.20.04.1 amd64 NVIDIA binary OpenGL/GLX configuration library
ri libnvidia-common-460 460.39-0ubuntu0.20.04.1 all Shared files used by the NVIDIA libraries
rc libnvidia-compute-390:amd64 390.141-0ubuntu0.20.04.1 amd64 NVIDIA libcompute package
rc libnvidia-compute-390:i386 390.141-0ubuntu0.20.04.1 i386 NVIDIA libcompute package
ii libnvidia-compute-460:amd64 460.39-0ubuntu0.20.04.1 amd64 NVIDIA libcompute package
ri libnvidia-compute-460:i386 460.39-0ubuntu0.20.04.1 i386 NVIDIA libcompute package
ri libnvidia-decode-460:amd64 460.39-0ubuntu0.20.04.1 amd64 NVIDIA Video Decoding runtime libraries
ri libnvidia-decode-460:i386 460.39-0ubuntu0.20.04.1 i386 NVIDIA Video Decoding runtime libraries
ri libnvidia-encode-460:amd64 460.39-0ubuntu0.20.04.1 amd64 NVENC Video Encoding runtime library
ri libnvidia-encode-460:i386 460.39-0ubuntu0.20.04.1 i386 NVENC Video Encoding runtime library
ri libnvidia-extra-460:amd64 460.39-0ubuntu0.20.04.1 amd64 Extra libraries for the NVIDIA driver
ri libnvidia-fbc1-460:amd64 460.39-0ubuntu0.20.04.1 amd64 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-fbc1-460:i386 460.39-0ubuntu0.20.04.1 i386 NVIDIA OpenGL-based Framebuffer Capture runtime library
ri libnvidia-gl-460:amd64 460.39-0ubuntu0.20.04.1 amd64 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ri libnvidia-gl-460:i386 460.39-0ubuntu0.20.04.1 i386 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ri libnvidia-ifr1-460:amd64 460.39-0ubuntu0.20.04.1 amd64 NVIDIA OpenGL-based Inband Frame Readback runtime library
ii libnvidia-ifr1-460:i386 460.39-0ubuntu0.20.04.1 i386 NVIDIA OpenGL-based Inband Frame Readback runtime library
ii linux-modules-nvidia-460-5.4.0-70-generic 5.4.0-70.78 amd64 Linux kernel nvidia modules for version 5.4.0-70
ii linux-modules-nvidia-460-generic 5.4.0-70.78 amd64 Extra drivers for nvidia-460 for the generic flavour
ii nvidia-compute-utils-460 460.39-0ubuntu0.20.04.1 amd64 NVIDIA compute utilities
rc nvidia-dkms-460 460.39-0ubuntu0.20.04.1 amd64 NVIDIA DKMS package
ii nvidia-driver-460 460.39-0ubuntu0.20.04.1 amd64 NVIDIA driver metapackage
ii nvidia-kernel-common-460 460.39-0ubuntu0.20.04.1 amd64 Shared files used with the kernel module
ii nvidia-kernel-source-460 460.39-0ubuntu0.20.04.1 amd64 NVIDIA kernel source package
ii nvidia-prime 0.8.16~0.20.04.1 all Tools to enable NVIDIA’s Prime
ii nvidia-settings 460.39-0ubuntu0.20.04.1 amd64 Tool for configuring the NVIDIA graphics driver
ii nvidia-utils-460 460.39-0ubuntu0.20.04.1 amd64 NVIDIA driver support binaries
ri screen-resolution-extra 0.18build1 all Extension for the nvidia-settings control panel
ri xserver-xorg-video-nvidia-460 460.39-0ubuntu0.20.04.1 amd64 NVIDIA binary Xorg driver
uidd7623@ozd2085u:~$

so yes installed.
create a new bug report.
Also try to post in a readable way. With line breaks intact. Use the quote formatting in the reply box.

nvidia-bug-report.log.gz (11.3 MB)

is this file unreadable format???

Is this the same file as before?
nouveau is still loaded and the kern.log is full of these:

May 4 11:16:58 ozd2085u kernel: [ 16.944027] nvidia-nvlink: Unregistered the Nvlink Core, major device number 237
May 4 11:16:58 ozd2085u kernel: [ 17.317870] nvidia-nvlink: Nvlink Core is being initialized, major device number 237
May 4 11:16:58 ozd2085u kernel: [ 17.318246] NVRM: The NVIDIA probe routine was not called for 1 device(s).
May 4 11:16:58 ozd2085u kernel: [ 17.318247] NVRM: This can occur when a driver such as:
May 4 11:16:58 ozd2085u kernel: [ 17.318247] NVRM: nouveau, rivafb, nvidiafb or rivatv
May 4 11:16:58 ozd2085u kernel: [ 17.318247] NVRM: was loaded and obtained ownership of the NVIDIA device(s).
May 4 11:16:58 ozd2085u kernel: [ 17.318248] NVRM: Try unloading the conflicting kernel module (and/or
May 4 11:16:58 ozd2085u kernel: [ 17.318248] NVRM: reconfigure your kernel without the conflicting
May 4 11:16:58 ozd2085u kernel: [ 17.318248] NVRM: driver(s)), then try loading the NVIDIA kernel module
May 4 11:16:58 ozd2085u kernel: [ 17.318248] NVRM: again.
May 4 11:16:58 ozd2085u kernel: [ 17.318248] NVRM: No NVIDIA devices probed.

i have generated again that file,after disabling nouveau driver

can you please suggest any other solution

To reduce the log size, pleas remove the kern.log
sudo rm /var/log/kern.log
Then install the nvidia driver
sudo apt install nvidia-driver-460
and reboot. Immediately after reboot, please create a new nvidia-bug-report.log.

Edit: typo in command