You are not logged in.
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
Check your xorg log and esp. the output of "glxinfo"
Offline
Offline
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
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
The X11 server itself is hardly accelerated. Run "glxgears" and check nvidia-smi again.
Offline
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
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
so you mean I should try using nvidia-390xx instead of nvidia driver right?
Offline
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
Thank you for the information and your help.
Offline