You are not logged in.

#1 2022-07-20 01:07:03

rajhlinux
Member
Registered: 2022-07-08
Posts: 58

[Solved] "nvidia-smi" failed couldn't communicate with NVIDIA driver.

Hello,

I am using an Nvidia GeForce GT 710 GPU (rev a1)

I am trying to see the GPU temps and clock usage using the following command:

 $ nvidia-smi 

I get the following error:

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

Here are the details of my PC:

 $ neofetch 


OS: Arch Linux x86_64
Host: MS-7693 3.0
Kernel: 5.18.10-arch1-1
Uptime: 17 mins
Packages: 1132 (pacman)
Shell: bash 5.1.16
Resolution: 1920x1080
Terminal: /dev/pts/0
CPU: AMD FX-8350 (8) @ 4.000GHz
GPU: NVIDIA GeForce GT 710
GPU: AMD ATI Radeon PRO WX 2100
Memory: 577MiB / 23987MiB

$ pacman -Qs nvidia
local/cuda 11.7.0-2
    NVIDIA's GPU programming toolkit
local/cudnn 8.4.1.50-1
    NVIDIA CUDA Deep Neural Network library
local/egl-wayland 2:1.1.10-1
    EGLStream-based Wayland external platform
local/libvdpau 1.5-1
    Nvidia VDPAU library
local/nccl 2.12.12-1
    Library for NVIDIA multi-GPU and multi-node collective communication primitives
local/nvidia-beta 515.57-1
    NVIDIA drivers for Arch's official 'linux' package (beta version)
local/nvidia-utils-beta 515.57-1
    NVIDIA drivers utilities (beta version)
local/opencl-nvidia-beta 515.57-1
    OpenCL implemention for NVIDIA (beta version)
local/python-pycuda 2021.1-10
    Python wrapper for Nvidia CUDA
$ lspci -k | grep -A 2 -E "(VGA|3D)"
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Lexa XT [Radeon PRO WX 2100]
        Subsystem: Dell Device 0b0c
        Kernel driver in use: amdgpu
--
02:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 710] (rev a1)
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device 8c93
        Kernel modules: nouveau, nvidia_drm, nvidia
$ sudo dmesg
[    0.000000] Linux version 5.18.10-arch1-1 (linux@archlinux) (gcc (GCC) 12.1.0, GNU ld (GNU Binutils) 2.38) #1 SMP PREEMPT_DYNAMIC Thu, 07 Jul 2022 17:18:13 +0000
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=0b4aa2c0-6b91-4598-927a-353beda2c5b3 rw quiet loglevel=3 audit=0
[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format.
[    0.000000] signal: max sigframe size: 1776

Thanks.

Last edited by rajhlinux (2022-07-20 01:48:40)

Offline

#2 2022-07-20 01:13:01

loqs
Member
Registered: 2014-03-06
Posts: 18,740

Re: [Solved] "nvidia-smi" failed couldn't communicate with NVIDIA driver.

[    4.322782] NVRM: The NVIDIA GeForce GT 710 GPU installed in this system is
               NVRM:  supported through the NVIDIA 470.xx Legacy drivers. Please
               NVRM:  visit http://www.nvidia.com/object/unix.html for more
               NVRM:  information.  The 515.57 NVIDIA driver will ignore
               NVRM:  this GPU.  Continuing probe...
[    4.324405] NVRM: No NVIDIA GPU found.

Offline

#3 2022-07-20 01:22:20

rajhlinux
Member
Registered: 2022-07-08
Posts: 58

Re: [Solved] "nvidia-smi" failed couldn't communicate with NVIDIA driver.

Thank You I will do this.

Offline

#4 2022-07-20 01:48:13

rajhlinux
Member
Registered: 2022-07-08
Posts: 58

Re: [Solved] "nvidia-smi" failed couldn't communicate with NVIDIA driver.

loqs wrote:
[    4.322782] NVRM: The NVIDIA GeForce GT 710 GPU installed in this system is
               NVRM:  supported through the NVIDIA 470.xx Legacy drivers. Please
               NVRM:  visit http://www.nvidia.com/object/unix.html for more
               NVRM:  information.  The 515.57 NVIDIA driver will ignore
               NVRM:  this GPU.  Continuing probe...
[    4.324405] NVRM: No NVIDIA GPU found.

Thank You mate, I installed driver version "470.129.06" from Nvidia site:

https://www.nvidia.com/Download/driverR … 877/en-us/

Nvidia drivers are working.

nvidia-smi
Tue Jul 19 21:45:20 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.129.06   Driver Version: 470.129.06   CUDA Version: 11.4     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  Off  | 00000000:02:00.0 N/A |                  N/A |
| 50%   49C    P8    N/A /  N/A |      4MiB /  2002MiB |     N/A      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

Offline

#5 2022-07-20 01:58:14

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,665

Re: [Solved] "nvidia-smi" failed couldn't communicate with NVIDIA driver.

Your life will be easier in the future if you look in the AUR instead of installing random downloaded binaries

Offline

Board footer

Powered by FluxBB