Hello!
I have installed ubuntu18.04 on my notebook.And the nvidia driver 470.129.6 for the graphics RTX3050 is installed successfully(by Software & Updates → additional drivers). However, when I reboot the system, and the graphics used is still llvmpipe.
I have tried many methods suggested such as upgrade the linux kernel, change nvidia driver to 515, 510 version by manuall installing or apt installing. But these method did not work.I have to use ubuntu18.04 because of software dependency, so I can not using Ubuntu20.04 or higer version.
my computer info:
- CPU: AMD® Ryzen 7 5800h with radeon graphics × 16
- GPU: Nvidia RTX3050
Here is some information about my env:
$ nvidia-smi
Wed Jun 22 12:01:46 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.129.06 Driver Version: 470.129.06 CUDA Version: 11.4 |
|-------------------------------+----------------------+----------------------+
| 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 ... Off | 00000000:01:00.0 Off | N/A |
| N/A 42C P0 8W / N/A | 9MiB / 3913MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1264 G /usr/lib/xorg/Xorg 4MiB |
| 0 N/A N/A 1743 G /usr/lib/xorg/Xorg 4MiB |
+-----------------------------------------------------------------------------+
$ sudo lshw -c video
[sudo] password for linkx:
*-display
description: 3D controller
product: NVIDIA Corporation
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=nvidia latency=0
resources: iomemory:fb0-faf iomemory:fc0-fbf irq:100 memory:d0000000-d0ffffff memory:fb00000000-fbffffffff memory:fc00000000-fc01ffffff ioport:2000(size=128)
*-display UNCLAIMED
description: VGA compatible controller
product: Advanced Micro Devices, Inc. [AMD/ATI]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:05:00.0
version: c5
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi msix vga_controller bus_master cap_list
configuration: latency=0
resources: iomemory:fc0-fbf iomemory:fc0-fbf memory:fc10000000-fc1fffffff memory:fc20000000-fc201fffff ioport:1000(size=256) memory:d1400000-d147ffff
I have add blacklist item to /etc/modprobe.d/blacklist.conf as
blacklist nouveau
options nouveau modeset=0
blacklist nvidiafb
The linux kernel now is:
$ uname -r
5.4.0-120-generic
using prime-select
tool to check the current status as:
$ prime-select query
nvidia
And runnvidia-settings
command, it appears
using xrandr
to check display
$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 2560 x 1600, current 2560 x 1600, maximum 2560 x 1600
default connected primary 2560x1600+0+0 0mm x 0mm
2560x1600 93.00*
It seems something wrong here. But I don’t know how to fix it. This problem has been bothering me for a long time, and I hope someone can help me. Thank you!
Attach is my log.
nvidia-bug-report.log (3.0 MB)