我使用的是华硕笔记本电脑,具有以下 GPU
$ inxi -Gx
Graphics: Card-1: Intel Device 5917 bus-ID: 00:02.0
Card-2: NVIDIA Device 1d10 bus-ID: 01:00.0
Display Server: X.Org 1.19.2 drivers: modesetting,nvidia,nouveau (unloaded: fbdev,vesa)
Resolution: [email protected]
GLX Renderer: N/A GLX Version: N/A Direct Rendering: N/A
我使用 nvidia 网站上的脚本安装了 nvidia 驱动程序.run
,效果如下:
$ nvidia-smi 139
Mon Apr 8 08:08:14 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 418.56 Driver Version: 418.56 CUDA Version: 10.1 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce MX150 Off | 00000000:01:00.0 Off | N/A |
| N/A 41C P0 N/A / N/A | 0MiB / 2002MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
我还尝试通过 apt 安装驱动程序,但没有产生任何令人满意的结果,因此我更喜欢坚持使用脚本安装驱动程序。
然而,在那之后我有些东西坏了。例如,运行blender
崩溃:
$ blender
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
/build/blender-vcDKFu/blender-2.79.b+dfsg0/intern/ghost/intern/GHOST_WindowX11.cpp:198: X11 glXQueryVersion() failed, verify working openGL system!
initial window could not find the GLX extension
Writing: /tmp/blender.crash.txt
[1] 12703 segmentation fault blender
网上的大多数提示都是“运行nvidia-xconfig
”或“ install libgl
”,但是1)我无法从apt安装任何涉及nvidia的东西,因为它希望我删除通过脚本安装的驱动程序run
2)我不想使用独立GPU为了xorg
我能做些什么吗?