Hi
I have a Lenovo Ideapad Pro 5 with a Ryzen 7 CPU and a Nvidia RTX 3050 (laptop) with Ubuntu 20.04 installed as a dual boot with Windows. BitLocker/hard drive encryption is disabled, and secure boot is also disabled.
I have installed the Nvidia 535 driver via the “Additional Drivers” menu in Software and Updates. I am able to open nvidia-smi in the terminal, and the Nvidia X server software also seems to work ok. However, whenever I run anything that should use my GPU, such as glxgears, my GPU is not utilized. Nvidia-smi has the following output:
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.113.01 Driver Version: 535.113.01 CUDA Version: 12.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 NVIDIA GeForce RTX 3050 ... Off | 00000000:01:00.0 Off | N/A |
| N/A 40C P0 N/A / 60W | 14MiB / 6144MiB | 0% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+
+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 961 G /usr/lib/xorg/Xorg 4MiB |
| 0 N/A N/A 1640 G /usr/lib/xorg/Xorg 4MiB |
+---------------------------------------------------------------------------------------+
Where it shows that the GPU is barely used. Furthermore, when I run glxinfo, it says that it is using llvmpipe and not my Nvidia GPU. How can I solve this issue so that I can use my GPU with Ubuntu?
I have attached the bug report if needed.
Thanks in advance.
nvidia-bug-report.log.gz (361.5 KB)