- 服务器型号:超云 R5210 ,无显示器,显卡型号:RTX 2080Ti ,Ubuntu22.04LTS ,gnome 桌面
- 显卡驱动已正常安装,nvidia-smi 输出:
```
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 555.58.02 Driver Version: 555.58.02 CUDA Version: 12.5 |
|-----------------------------------------+------------------------+----------------------+
| 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 2080 Ti Off | 00000000:D8:00.0 Off | N/A |
| 29% 23C P8 4W / 250W | 23MiB / 11264MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 2415 G /usr/lib/xorg/Xorg 16MiB |
| 0 N/A N/A 2540 G /usr/bin/gnome-shell 4MiB |
+-----------------------------------------------------------------------------------------+
```
- 尝试过 tigerVNC 、xrdp 、nomachine ,连上后使用 matlab -nosoftwareopengl 启动,或者在 matlab 中设置 opengl("save","hardware"),opengl info 输出始终为:
```
Version: '4.5 (Compatibility Profile) Mesa 23.2.1-1ubuntu3.1~22.04.2'
Vendor: 'Mesa'
Renderer: 'llvmpipe (LLVM 15.0.7, 256 bits)'
MaxTextureSize: 16384
Visual: '视觉效果 0x3d1 ,(RGBA 32 位(8 8 8 8)、Z 深度 16 位、硬件加速、双缓冲区、消除锯齿 4 次采样)'
Software: 'true'
HardwareSupportLevel: 'full'
SupportsGraphicsSmoothing: 1
SupportsDepthPeelTransparency: 1
SupportsAlignVertexCenters: 1
Extensions: {304×1 cell}
MaxFrameBufferSize: 16384
```
- 尝试过网上说的方案:`export MESA_LOADER_DRIVER_OVERRIDE=i965`,没有作用
- 按 nomachine 的[说明]( https://forum.nomachine.com/topic/hardware-acceleration-support),远程连接的时候是可以使用硬件加速的,我在 nomachine 服务端勾选了`Use acceleration for display processing`选项,不起作用
- 这个问题折腾两天了,,各位有经验的大佬们救救小弟吧。。。 |
|