I installed GPU drivers from NVIDIA repository (CUDA Toolkit 11.2 Update 1 Downloads | NVIDIA Developer) by using “sudo zypper install -y cuda” command.
If I run this “NV_PRIME_RENDER_OFFLOAD=1 GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo | grep vendor
” command I get an error:
user@localhost:~> __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOPreformatted textR_LIBRARY_NAME=nvidia glxinfo | grep vendor
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 24 (X_GLXCreateNewContext)
Value in failed request: 0x0
Serial number of failed request: 39
Current serial number in output stream: 40.
But if I run “lsmod | grep nvidia
” command I can see that driver is seems to be running. Output:
user@localhost:~> lsmod | grep nvidia
nvidia_drm 65536 0
nvidia_modeset 1232896 1 nvidia_drm
nvidia_uvm 1155072 0
nvidia 34082816 2 nvidia_uvm,nvidia_modeset
drm_kms_helper 274432 2 amdgpu,nvidia_drm
drm 561152 16 gpu_sched,drm_kms_helper,amdgpu,nvidia_drm,ttm
Also here is the output of the “nvidia-smi” command:
user@localhost:~> nvidia-smi
Mon Feb 22 19:49:01 2021
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.32.03 Driver Version: 460.32.03 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 GTX 1650 Off | 00000000:01:00.0 Off | N/A |
| N/A 49C P0 16W / N/A | 0MiB / 3911MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
nvidia-bug-report.log.gz (1.5 MB)