sudo lshw -C display 显示 Intel 和 Nvidia 显卡均显示 UNCLAIMED。 lsmod | grep nouveau 显示已安装的 nouveau 驱动程序

sudo lshw -C display 显示 Intel 和 Nvidia 显卡均显示 UNCLAIMED。 lsmod | grep nouveau 显示已安装的 nouveau 驱动程序

ph97@ph97-XPS-15-9560:~$ sudo lshw -C 显示

*-display UNCLAIMED       
description: 3D controller
product: GP107M [GeForce GTX 1050 Mobile]
vendor: NVIDIA Corporation
physical id: 0
   bus info: pci@0000:01:00.0
   version: a1
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress bus_master cap_list
   configuration: latency=0
   resources: memory:ec000000-ecffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:ed000000-ed07ffff
*-display UNCLAIMED
   description: VGA compatible controller
   product: Intel Corporation
   vendor: Intel Corporation
   physical id: 2
   bus info: pci@0000:00:02.0
   version: 04
   width: 64 bits
   clock: 33MHz
   capabilities: pciexpress msi pm vga_controller bus_master cap_list
   configuration: latency=0
   resources: memory:eb000000-ebffffff memory:80000000-8fffffff ioport:f000(size=64) memory:c0000-dffff

~$ lsmod | grep 新

nouveau              1716224  0
ttm                   106496  1 nouveau
mxm_wmi                16384  1 nouveau
wmi                    24576  7   
nouveau,dell_smbios_wmi
i2c_algo_bit           16384  2 nouveau,i915
drm_kms_helper        167936  2 nouveau,i915
drm                   401408  4 nouveau,i915,ttm,drm_kms_helper
video                  40960  4 dell_wmi,dell_laptop,nouveau,i915

我已经用这种方法将 Nouveau 驱动程序列入黑名单

cat /etc/modprobe.d/blacklist-nvidia-nouveau.conf

blacklist nouveau
options nouveau modeset=0

我还重新生成了 initramfs 并重新启动

sudo update-initramfs -u

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.

sudo apt install nvidia-390 显示

Reading package lists... Done
Building dependency tree       
Reading state information... Done
nvidia-390 is already the newest version (390.67-0ubuntu0~gpu18.04.1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

除此之外,当我单击它时,我的 nvdia x 服务器没有启动。

我在安装 nvidia 驱动程序的过程中遇到了一些问题,正在寻找可能的解决方案。我是一名新手,正在尝试安装 cuda 和 cudnn 以开始机器学习。任何帮助都将不胜感激。

相关内容