You are not logged in.

#1 2021-05-06 06:22:48

krsakr
Member
Registered: 2021-05-06
Posts: 6

[SOLVED] nvidia-smi show no running processes found

by the subject, I'm running xorg and nvidia-smi not show xorg in it
so I concern that my gpu is not being used

here is my nvidia-smi

[krsakr@archlinux ~]$ nvidia-smi
Thu May  6 12:43:11 2021
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 465.27       Driver Version: 465.27       CUDA Version: 11.3     |
|-------------------------------+----------------------+----------------------+
| 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:01:00.0 N/A |                  N/A |
| 10%   40C    P5    N/A /  N/A |     74MiB /   978MiB |     N/A      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

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

my .xinitrc

ibus-daemon -drx
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --output HDMI-0 --mode 1920x1080 --rate 144
slstatus &
exec dwm

and I have try some fixing but still not work
here is some file I have edit

[krsakr@archlinux ~]$ ls -lR /etc/X11/
/etc/X11/:
total 12
drwxr-xr-x 3 root root 4096 May  4 09:38 xinit
-rw-r--r-- 1 root root 1211 May  5 00:13 xorg.conf.bak
drwxr-xr-x 2 root root 4096 May  6 11:10 xorg.conf.d

/etc/X11/xinit:
total 12
-rw-r--r-- 1 root root  739 Oct 10  2020 xinitrc
drwxr-xr-x 2 root root 4096 May  4 09:51 xinitrc.d
-rw-r--r-- 1 root root   45 Oct 10  2020 xserverrc

/etc/X11/xinit/xinitrc.d:
total 8
-rwxr-xr-x 1 root root 318 May  8  2020 40-libcanberra-gtk-module.sh
-rwxr-xr-x 1 root root 199 Apr 16 17:32 50-systemd-user.sh

/etc/X11/xorg.conf.d:
total 4
-rw-r--r-- 1 root root 200 May  6 11:06 20-nvidia.conf

my /etc/X11/xorg.conf.d/20-nvidia.conf

Section "Device"
    Identifier     "Nvidia Card"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 650 Ti"
    BusID          "PCI:1:0:0"
EndSection

in /etc/mkinitcpio.conf I add

MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)

then run mkinitcpio -P

in /etc/default/grub I add

GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet nvidia-drm.modeset=1"

then run grub-mkconfig -o /boot/grub/grub.cfg

Last edited by krsakr (2023-10-20 03:03:17)

Offline

#2 2021-05-06 07:30:05

seth
Member
Registered: 2012-09-03
Posts: 51,842

Re: [SOLVED] nvidia-smi show no running processes found

Check your xorg log and esp. the output of "glxinfo"

Offline

#3 2021-05-06 09:08:35

krsakr
Member
Registered: 2021-05-06
Posts: 6

Re: [SOLVED] nvidia-smi show no running processes found

my ~/.local/share/xorg/Xorg.0.log

glxinfo

and I'm not sure what "esp" mean?

Offline

#4 2021-05-06 09:12:41

seth
Member
Registered: 2012-09-03
Posts: 51,842

Re: [SOLVED] nvidia-smi show no running processes found

That I'm too lazy to type "especially" - did you look at the glxinfo? What do you think? Do you use the nvidia chip?

Offline

#5 2021-05-06 09:35:13

krsakr
Member
Registered: 2021-05-06
Posts: 6

Re: [SOLVED] nvidia-smi show no running processes found

I think it's using nvidia (cause I see alot of nvidia name in it) but nvidia-smi is not showing anything. why? I dont get it

Offline

#6 2021-05-06 13:31:33

seth
Member
Registered: 2012-09-03
Posts: 51,842

Re: [SOLVED] nvidia-smi show no running processes found

The X11 server itself is hardly accelerated. Run "glxgears" and check nvidia-smi again.

Offline

#7 2021-05-06 13:46:12

krsakr
Member
Registered: 2021-05-06
Posts: 6

Re: [SOLVED] nvidia-smi show no running processes found

It still say no No running processes found
but I see that the memory-usage is jumping up for like 12 MiB

and I try spawn more terminal and it also increase Memory-usage but It still say no running processes found

even open cs:go also increase memory-usage like 400 MiB but still not show processes

Last edited by krsakr (2021-05-06 13:52:31)

Offline

#8 2021-05-06 13:58:26

seth
Member
Registered: 2012-09-03
Posts: 51,842

Re: [SOLVED] nvidia-smi show no running processes found

OpenGL renderer string: NVIDIA GeForce GTX 650 Ti/PCIe/SSE2

Could simply be because of the slightly older GPU - Fermi on the 390xx drivers will get you a smug "Not supported" - I wouldn't worry about that.

Offline

#9 2021-05-06 14:17:50

krsakr
Member
Registered: 2021-05-06
Posts: 6

Re: [SOLVED] nvidia-smi show no running processes found

so you mean I should try using nvidia-390xx instead of nvidia driver right?

Offline

#10 2021-05-06 14:28:51

seth
Member
Registered: 2012-09-03
Posts: 51,842

Re: [SOLVED] nvidia-smi show no running processes found

No, I mean you should ignore the fact that nvidia-smi doesn't find any processes.
You can test whether 390xx tells you that the feature isn't supported, but your GPU is supported by the current driver so you rather want to use that.
As long as glxinfo tells you that you're using the nvidia chip and glxgears doesn't crash (because you're using the nvidia driver on unsupported HW), there's no reason to assume that you're not using the nvidia GPU.

Offline

#11 2021-05-07 06:46:31

krsakr
Member
Registered: 2021-05-06
Posts: 6

Re: [SOLVED] nvidia-smi show no running processes found

Thank you for the information and your help.

Offline

Board footer

Powered by FluxBB