0

我已经使用 Nvidia T4 GPU 创建了 Google Cloud VM,但无法使用它。驱动程序已安装并正常工作,但操作系统仍在使用llvmpipe.

$ prime-select query
nvidia

$ nvidia-smi
Thu Oct 21 05:39:43 2021       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.63.01    Driver Version: 470.63.01    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  Tesla T4            Off  | 00000000:00:04.0 Off |                    0 |
| N/A   41C    P8     9W /  70W |    150MiB / 15109MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      2400      G   /usr/lib/xorg/Xorg                 63MiB |
|    0   N/A  N/A      2447      G   /usr/bin/gnome-shell               85MiB |
+-----------------------------------------------------------------------------+

$ glxinfo -B
name of display: :20
display: :20  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: VMware, Inc. (0xffffffff)
    Device: llvmpipe (LLVM 10.0.0, 256 bits) (0xffffffff)
    Version: 20.0.8
    Accelerated: no
    Video memory: 30097MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 3.3
    Max compat profile version: 3.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.1
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 10.0.0, 256 bits)

特别是,我想运行 CloudCompare,但它也看不到 Nvidia GPU:

[05:41:02] CloudCompare started!
[05:41:02] [3D View 1] Graphics card manufacturer: VMware, Inc.
[05:41:02] [3D View 1] Renderer: llvmpipe (LLVM 10.0.0, 256 bits)
[05:41:02] [3D View 1] GL version: 3.1 Mesa 20.0.8
[05:41:02] [3D View 1] GLSL Version: 1.40
4

0 回答 0