Llvmpipe is used as opengl render instead of nvidia

i have met a problem as the topic and i have struggled for days using many methods but they did not work.
nvidia-smi:
(base) server@server00:~$ nvidia-smi
Thu Apr 7 10:59:29 2022
±----------------------------------------------------------------------------+
| NVIDIA-SMI 510.60.02 Driver Version: 510.60.02 CUDA Version: 11.6 |
|-------------------------------±---------------------±---------------------+
| 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:18:00.0 Off | N/A |
| 50% 31C P8 16W / 250W | 5MiB / 11264MiB | 0% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+
| 1 NVIDIA GeForce … Off | 00000000:3B:00.0 Off | N/A |
| 50% 32C P8 19W / 250W | 5MiB / 11264MiB | 0% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+
| 2 NVIDIA GeForce … Off | 00000000:86:00.0 Off | N/A |
| 51% 32C P8 21W / 250W | 5MiB / 11264MiB | 0% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+
| 3 NVIDIA GeForce … Off | 00000000:AF:00.0 Off | N/A |
| 52% 34C P8 17W / 250W | 5MiB / 11264MiB | 0% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1790 G /usr/lib/xorg/Xorg 4MiB |
| 1 N/A N/A 1790 G /usr/lib/xorg/Xorg 4MiB |
| 2 N/A N/A 1790 G /usr/lib/xorg/Xorg 4MiB |
| 3 N/A N/A 1790 G /usr/lib/xorg/Xorg 4MiB |
±----------------------------------------------------------------------------+
inxi -Gx
Graphics: Card-1: ASPEED ASPEED Graphics Family bus-ID: 04:00.0
Card-2: NVIDIA Device 1e04 bus-ID: 18:00.0
Card-3: NVIDIA Device 1e04 bus-ID: 3b:00.0
Card-4: NVIDIA Device 1e04 bus-ID: 86:00.0
Card-5: NVIDIA Device 1e04 bus-ID: af:00.0
Display Server: x11 (X.Org 1.20.8 )
drivers: (unloaded: fbdev,vesa,nouveau) FAILED: modesetting,nvidia
Resolution: 1440x900@59.90hz
OpenGL: renderer: llvmpipe (LLVM 10.0.0, 256 bits)
version: 3.3 Mesa 20.0.8 Direct Render: Yes
Please tell me if other information is needed.
thanks!!!

The Xserver is running on the Aspeed graphics.

oh that is true, thanks a lot! and could you teach me how to change it to nvidia?

i didnot find how to switch it in my nvidia-settings

You need to create a basic /etc/X11/xorg.conf

Section "Device"
  Identifier "nvidia"
  Driver "nvidia"
  BusID "PCI:24:0:0"
EndSection

and of course connect a monitor to the specific nvidia gpu.