Nvidia 驱动程序已安装,但不工作!

Nvidia 驱动程序已安装,但不工作!

我正在安装CUDA-8.0对于我的项目并点击此链接,它要求我使用 .run 文件下载 Nvidia 驱动程序:
http://queirozf.com/entries/installing-cuda-tk-and-tensorflow-on-a-clean-ubuntu-16-04-install
以及我列入黑名单的新派驱动程序。
安装是通过执行sudo service lightdm stop并运行 .run 文件来完成的。
最初我遇到了一些困难,例如登录循环和黑屏,但后来解决了这些问题。
现在,当我尝试执行以下命令时:
命令: lspci -vnn | grep -i VGA -A 12,输出:

00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:5916] (rev 02) (prog-if 00 [VGA controller])
    DeviceName:  Onboard IGD
    Subsystem: Dell Device [1028:0782]
    Flags: bus master, fast devsel, latency 0, IRQ 280
    Memory at d4000000 (64-bit, non-prefetchable) [size=16M]
    Memory at b0000000 (64-bit, prefetchable) [size=256M]
    I/O ports at f000 [size=64]
    [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
    Capabilities: <access denied>
    Kernel driver in use: i915
    Kernel modules: i915

命令: glxinfo | grep OpenGL | grep renderer,给出输出:

OpenGL renderer string: Mesa DRI Intel(R) Kabylake GT2  

命令: sudo lshw -c video,给出输出:

  *-display               
       description: VGA compatible controller
       product: Intel Corporation
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 02
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:280 memory:d4000000-d4ffffff memory:b0000000-bfffffff ioport:f000(size=64) memory:c0000-dffff
  *-display
       description: 3D controller
       product: GM108M [GeForce 940MX]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a2
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:16 memory:d2000000-d2ffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:d3000000-d307ffff

命令: lsmod | grep nv,给出输出:

nvidia_uvm            647168  0
nvidia_drm             49152  0
nvidia_modeset        790528  1 nvidia_drm
nvidia              12144640  2 nvidia_modeset,nvidia_uvm
drm_kms_helper        167936  2 i915,nvidia_drm
drm                   368640  6 i915,nvidia_drm,drm_kms_helper

我认为 Nvidia 驱动程序已安装,但仍未作为内核驱动程序激活。
有人能帮我找出问题所在并解决它吗?
如果需要其他信息,请询问。
顺便说一句,驱动程序版本是NVIDIA-Linux-x86_64-375.39Ubuntu 16.04

更新 1:
扭曲窗口的屏幕截图

相关内容