VGA 控制器显示集成显卡而非 nvidia 卡

VGA 控制器显示集成显卡而非 nvidia 卡

我最近安装了 Cuda,据我所知,它运行正常。

nvcc 返回

/usr/local/cuda-8.0/bin/nvcc

运行 tf.Session() 返回

2017-06-16 16:56:24.119619: W 
tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow 
library wasn't compiled to use SSE4.1 instructions, but these are 
available on your machine and could speed up CPU computations.
2017-06-16 16:56:24.119682: W 
tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow 
library wasn't compiled to use SSE4.2 instructions, but these are 
available on your machine and could speed up CPU computations.
2017-06-16 16:56:24.119698: W 
tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow 
library wasn't compiled to use AVX instructions, but these are 
available on your machine and could speed up CPU computations.
2017-06-16 16:56:24.119711: W 
tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow 
library wasn't compiled to use AVX2 instructions, but these are 
available on your machine and could speed up CPU computations.
2017-06-16 16:56:24.119724: W 
tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow 
library wasn't compiled to use FMA instructions, but these are 
available on your machine and could speed up CPU computations.
2017-06-16 16:56:24.249220: E 
tensorflow/stream_executor/cuda/cuda_driver.cc:406] failed call to 
cuInit: CUDA_ERROR_UNKNOWN
2017-06-16 16:56:24.249294: I 
tensorflow/stream_executor/cuda/cuda_diagnostics.cc:145] kernel driver 
does not appear to be running on this host: /proc/driver/nvidia/version does not exist

dpkg --get-selections | grep nvidia 返回

在此处输入图片描述

然而,nvidia-smi 返回

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. 
Make sure that the latest NVIDIA driver is installed and running.

lspci -v | grep "VGA 控制器" 返回

00:02.0 VGA compatible controller: Intel Corporation Skylake Integrated Graphics (rev 06) (prog-if 00 [VGA controller])

这似乎表明 nvidia 没有被使用?

有人可以给我指出正确的方向来解决这个问题吗?

非常感谢

编辑:重要

nvidia-settings 报告 NVIDIA 驱动程序未加载,并且找不到注册表项文件

答案1

众所周知,nvidia 在 linix 上有很多 bug。你需要专有驱动程序。最常见的 nvidia 驱动程序可以在受限/非免费 repo 中找到。安装驱动程序应该可以解决所有 nvidia 问题。

相关内容