So I wanted to install Nvidia driver, as me being a novice I decided to download it from the Nvidia site (after selecting the correct one according to my driver). Did “bash nvidia-xxx.run” via remote ssh and was “succesful”. rebooted and was able to see my Gnome desktop, so success?
But then the guide said to run ’nvidia-settings’ which resulted in: ‘Error: unable to load info from any available system’
I started to look around online and ’nvidia-smi’ gave:
Code: Select all
# nvidia-smi
Tue Nov 12 20:31:49 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.31 Driver Version: 440.31 CUDA Version: 10.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 Quadro P620 Off | 00000000:65:00.0 Off | N/A |
| 34% 26C P8 N/A / N/A | 14MiB / 1998MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1986 G /usr/libexec/Xorg 6MiB |
| 0 2807 G /usr/bin/gnome-shell 5MiB |
+-----------------------------------------------------------------------------+
the main reason I wanted to update my driver is so that I could run my simple (for now) python script that uses openGL3.3. the script gave an error
Code: Select all
raise NoOpenGLException("Unable to create an OpenGL 3.3+ context. "
arcade.application.NoOpenGLException: Unable to create an OpenGL 3.3+ context. Check to make sure your system supports OpenGL 3.3 or higher.
After reading some more about installing drivers on centos8 I saw that it is recommended to use ELrepo for driver stuff. So followed the official site and got it but when I want to “yum install nvidia-detect’ I get a “no match for argument: nvidia-detect”…
Code: Select all
# yum install nvidia-detect
Last metadata expiration check: 0:02:43 ago on Tue 12 Nov 2019 20:20:19 CET.
No match for argument: nvidia-detect
Error: Unable to find a match
# yum repolist
Last metadata expiration check: 0:02:49 ago on Tue 12 Nov 2019 20:20:19 CET.
repo id repo name status
AppStream CentOS-8 - AppStream 5,089
BaseOS CentOS-8 - Base 2,843
code Visual Studio Code 73
elrepo ELRepo.org Community Enterprise Linux Repository - el8 25
*epel Extra Packages for Enterprise Linux 8 - x86_64 3,108
extras CentOS-8 - Extras 3
google-chrome google-chrome 3
nux-dextop Nux.Ro RPMs for general desktop use 2,711
Maybe some other useful commands + output for those who would like to help:
Code: Select all
# systemctl get-default
graphical.target
Code: Select all
# lsmod | egrep -i "nvidia|nouveau"
nvidia_drm 49152 3
nvidia_modeset 1110016 5 nvidia_drm
nvidia 19927040 186 nvidia_modeset
ipmi_msghandler 110592 2 ipmi_devintf,nvidia
nouveau 2187264 0
video 45056 2 asus_wmi,nouveau
drm_kms_helper 200704 2 nvidia_drm,nouveau
ttm 131072 1 nouveau
mxm_wmi 16384 1 nouveau
drm 520192 8 drm_kms_helper,nvidia_drm,ttm,nouveau
i2c_algo_bit 16384 2 igb,nouveau
wmi 32768 5 intel_wmi_thunderbolt,asus_wmi,wmi_bmof,mxm_wmi,nouveau
Code: Select all
# rpm -qa | grep -i nvidia
pcp-pmda-nvidia-gpu-4.3.0-3.el8.x86_64