When I ran nvidia-smi
, I noticed ~1GiB VRAM usage. Out of which Xorg uses ~400MiB. Brave uses around ~400MiB too so I am not sure if this is normal or a memory leak. I did re-install Pop!_OS 20.04 several times and this issue still persists. However, I have not installed any other distro like Ubuntu/Fedora/Arch on this machine as System76 provides CUDA with their PPA and I don’t want to give that up as I need CUDA for AI.
Also, my monitor currently runs at 4K60. I thought high res + relatively high frame rate would be the reason behind this insane VRAM usage so I switched to 1080p60 and rebooted. But nothing changed. I still saw ~1GB VRAM usage.
─┬─[ pts/0 0 21-04-10 12:38:14 ]
├─[ flameboi: atheistd ▶ /home/atheistd ]
╰─> nvidia-smi
Sat Apr 10 12:38:15 2021
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.67 Driver Version: 460.67 CUDA Version: 11.2 |
|-------------------------------+----------------------+----------------------+
| 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 GeForce RTX 3070 Off | 00000000:09:00.0 On | N/A |
| 40% 42C P5 22W / 220W | 1306MiB / 7979MiB | 16% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 2287 G /usr/lib/xorg/Xorg 102MiB |
| 0 N/A N/A 3312 G /usr/lib/xorg/Xorg 642MiB |
| 0 N/A N/A 3869 G /usr/bin/gnome-shell 191MiB |
| 0 N/A N/A 6743 G ...AAAAAAAAA= --shared-files 352MiB |
| 0 N/A N/A 7737 G gnome-control-center 3MiB |
+-----------------------------------------------------------------------------+
─┬─[ pts/0 0 21-04-10 12:38:15 ]
├─[ flameboi: atheistd ▶ /home/atheistd ]
╰─> apt list --installed | grep nvidia | grep driver
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
nvidia-driver-460/focal,now 460.67-1pop0~1616430777~20.04~71e1ad1 amd64 [installed]
─┬─[ pts/0 0 21-04-10 12:38:47 ]
├─[ flameboi: atheistd ▶ /home/atheistd ]
╰─> apt list --installed | grep nvidia | grep xorg
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
xserver-xorg-video-nvidia-460/focal,now 460.67-1pop0~1616430777~20.04~71e1ad1 amd64 [installed,automatic]
─┬─[ pts/0 130 21-04-10 12:39:36 ]
├─[ flameboi: atheistd ▶ /home/atheistd ]
╰─> uname -a
Linux flameboi 5.11.0-7612-generic #13~1617215757~20.04~97a8d1a-Ubuntu SMP Thu Apr 1 21:15:20 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
─┬─[ pts/0 0 21-04-10 12:39:56 ]
├─[ flameboi: atheistd ▶ /home/atheistd ]
╰─> lsb_release -a
No LSB modules are available.
Distributor ID: Pop
Description: Pop!_OS 20.04 LTS
Release: 20.04
Codename: focal
─┬─[ pts/0 0 21-04-10 12:40:15 ]
├─[ flameboi: atheistd ▶ /home/atheistd ]
╰─> apt-cache show xserver-xorg | grep Version
Version: 1:7.7+19ubuntu14