GPU CheatSheet

GPU related tips and tricks
gpu
linux
Published

April 15, 2022

Xorg uses GPU memory

StackOverFlow answer.

Solution: comment out everything in /usr/share/X11/xorg.conf.d/10-nvidia.conf and then restart the display manager with:

sudo systemctl restart display-manager

nvidia-smi takes too long to load

One of the reasons could be that persistence mode is disabled. To enable it, run:

sudo nvidia-smi -pm 1