I am new to ubuntu and NVIDIA graphic card so please help me out.
I was trying to download a software and needed to change permission from the root. However, when I access as root, one of my external monitor went off and I believe it is related to the graphics.
Under my settings >> about >> graphics, it is llvmpipe(LLVM 12.0.0,256 bits) instead of NVIDIA graphic card.
The following output might help to identify the problem:
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
$ dkms status
nvidia, 510.73.05, 5.14.0-1045-oem, x86_64: installed
$grep nvidia /etc/modprobe.d/* /lib/modprobe.d/*
/lib/modprobe.d/nvidia-kms.conf:# This file was generated by nvidia-prime
/lib/modprobe.d/nvidia-kms.conf:options nvidia-drm modeset=1