小编Rod*_*lfo的帖子

NVIDIA-SMI 失败,因为它无法与 NVIDIA 驱动程序通信。确保安装并运行了最新的 NVIDIA 驱动程序

我刚刚在这样的笔记本中安装了 CUDA:

sudo apt-get install cuda
Run Code Online (Sandbox Code Playgroud)

就像这里说的。

编译工作很好,但是当我尝试运行时,我遇到了以下问题:file.cu:128 code=35(cudaErrorInsufficientDriver)“cudaStreamCreate(&(stream[i]))”的CUDA错误

我的 nvcc 版本:

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2016 NVIDIA Corporation
Built on Tue_Jan_10_13:22:03_CST_2017
Cuda compilation tools, release 8.0, V8.0.61
Run Code Online (Sandbox Code Playgroud)

显卡信息:

lspci | egrep 'VGA|3D'
00:02.0 VGA compatible controller: Intel Corporation Skylake Integrated Graphics (rev 06)
02:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev a2)
Run Code Online (Sandbox Code Playgroud)

我还安装了 VirtualGL、bumblebee-nvidia、primus、freeglut3-dev。继

当我尝试在大黄蜂上运行一些东西时,我得到了这个:optirun glxspheres64

[   41.413478] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver …
Run Code Online (Sandbox Code Playgroud)

nvidia cuda nvidia-optimus bumblebee drivers

49
推荐指数
5
解决办法
21万
查看次数

标签 统计

bumblebee ×1

cuda ×1

drivers ×1

nvidia ×1

nvidia-optimus ×1