尝试为ubuntu Desktop 18.04 LTS安装nvidia驱动程序


25

尝试通过此链接为ubuntu Desktop 18.04 LTS安装nvidia驱动程序。遵循了以上链接中的所有提示。

但是,在以下方面有些困惑:我使用的是nvidia驱动程序还是nouveau?我是否使用了正确版本的nvidia?我想使用390版。

我使用Nvidia GTX 1060,并使用Ubuntu Linux Desktop 18.04 LTS。

lspci -k | grep -EA2 'VGA|3D'  
01:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1)
    Subsystem: Dell GP106 [GeForce GTX 1060 6GB]
    Kernel driver in use: nouveau

上面的命令显示我正在使用nouveau

而其他驱动程序显示我正在使用nvidia驱动程序 在此处输入图片说明

不知道该信任什么?

Edit1 感谢Luis的回答。根据您在尝试安装396驱动程序时的评论...我得到以下错误:

sudo apt install nvidia-driver-396
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 nvidia-driver-396 : Depends: nvidia-dkms-396 (= 396.24-0ubuntu0~gpu18.04.1) but it is not going to be installed
                     Depends: nvidia-kernel-source-396 (= 396.24-0ubuntu0~gpu18.04.1) but it is not going to be installed
                     Depends: nvidia-compute-utils-396 (= 396.24-0ubuntu0~gpu18.04.1) but it is not going to be installed
                     Depends: libnvidia-decode-396 (= 396.24-0ubuntu0~gpu18.04.1) but it is not going to be installed
                     Depends: libnvidia-encode-396 (= 396.24-0ubuntu0~gpu18.04.1) but it is not going to be installed
                     Depends: nvidia-utils-396 (= 396.24-0ubuntu0~gpu18.04.1) but it is not going to be installed
                     Depends: xserver-xorg-video-nvidia-396 (= 396.24-0ubuntu0~gpu18.04.1) but it is not going to be installed
                     Depends: libnvidia-cfg1-396 (= 396.24-0ubuntu0~gpu18.04.1) but it is not going to be installed
                     Recommends: libnvidia-decode-396:i386 (= 396.24-0ubuntu0~gpu18.04.1)
                     Recommends: libnvidia-encode-396:i386 (= 396.24-0ubuntu0~gpu18.04.1)
                     Recommends: libnvidia-ifr1-396:i386 (= 396.24-0ubuntu0~gpu18.04.1)
                     Recommends: libnvidia-fbc1-396:i386 (= 396.24-0ubuntu0~gpu18.04.1)
E: Unable to correct problems, you have held broken packages.

然后什么时候

sudo apt install nvidia-settings
Reading package lists... Done
Building dependency tree       
Reading state information... Done
nvidia-settings is already the newest version (396.24-0ubuntu0~gpu18.04.1).
nvidia-settings set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

Edit2 尝试了此链接, 即使从nvidia安装的专有驱动程序也无法正常工作。nouveau非常卡住,即使将其列入黑名单并试图将其删除也不会消失。

编辑3 重新安装没有解决问题...似乎是这里提到的常见错误

编辑4 尝试了这些

sudo apt purge nvidia-390
sudo apt install nvidia-kernel-source-396
sudo apt install nvidia-driver-396

然后(添加了nomodeset条目)

sudo vi /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"

重新启动后,当我发出以下命令时:

lspci -k | grep -EA2 'VGA|3D' 
01:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1)
    Subsystem: Dell GP106 [GeForce GTX 1060 6GB]
    Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia

但是问题是我现在的分辨率低得多-字体更大。如何解决?这行是什么意思:内核模块:nvidiafb,nouveau,nvidia_drm,nvidia是否按显示顺序排列了所有4个模块?当前分辨率为

xdpyinfo | awk '/dimensions/{print $2}'
800x600

进行此更改后,辅助监视器现已停止工作。朗德

xrandr: Failed to get size of gamma for output default
Screen 0: minimum 800 x 600, current 800 x 600, maximum 800 x 600
default connected primary 800x600+0+0 0mm x 0mm
   800x600       75.00* 

看来这是我可以根据上述输出获得的最大分辨率。

Edit5 恢复grub nomodeset条目以具有正常分辨率。重新启动并仔细查看日志文件后,这就是我所发现的(只是相关行)

/var/log# cat gpu-manager.log
can't access /run/u-d-c-nvidia-was-loaded file
can't access /opt/amdgpu-pro/bin/amdgpu-pro-px
Looking for nvidia modules in /lib/modules/4.15.0-20-generic/updates/dkms
Found nvidia module: nvidia.ko
Looking for amdgpu modules in /lib/modules/4.15.0-20-generic/updates/dkms
Is nvidia loaded? no
Was nvidia unloaded? no
Is nvidia blacklisted? no
Is intel loaded? yes
Is nouveau loaded? yes
Is nouveau blacklisted? yes
Is nvidia kernel module available? yes
Is amdgpu kernel module available? no
Vendor/Device Id: 8086:3e92
BusID "PCI:0@0:2:0"
Has amd? no
Has intel? yes
Has nvidia? yes
How many cards? 2
The number of cards has changed!
Has the system changed? Yes
System configuration has changed
Unsupported discrete card vendor: 8086
Nothing to do

Xorg.0.log
[     5.649] (--) PCI:*(0:1:0:0) 10de:1c03:1028:11d7 rev 161, Mem @ 0xeb000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[     5.649] (II) LoadModule: "glx"
[     5.649] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     5.649] (II) Module glx: vendor="X.Org Foundation"
[     5.649]    compiled for 1.19.6, module version = 1.0.0
[     5.649]    ABI class: X.Org Server Extension, version 10.0
[     5.649] (==) Matched nouveau as autoconfigured driver 0
[     5.649] (==) Matched modesetting as autoconfigured driver 1
[     5.649] (==) Matched fbdev as autoconfigured driver 2
[     5.649] (==) Matched vesa as autoconfigured driver 3
[     5.649] (==) Assigned the driver to the xf86ConfigLayout
[     5.649] (II) LoadModule: "nouveau"
[     5.650] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[     5.650] (II) Module nouveau: vendor="X.Org Foundation"
[     5.650]    compiled for 1.19.3, module version = 1.0.15
[     5.650]    Module class: X.Org Video Driver
[     5.650]    ABI class: X.Org Video Driver, version 23.0
[     5.650] (II) LoadModule: "modesetting"
[     5.650] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[     5.650] (II) Module modesetting: vendor="X.Org Foundation"
[     5.650]    compiled for 1.19.6, module version = 1.19.6
[     5.650]    Module class: X.Org Video Driver
[     5.650]    ABI class: X.Org Video Driver, version 23.0
[     5.650] (II) LoadModule: "fbdev"
[     5.650] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[     5.650] (II) Module fbdev: vendor="X.Org Foundation"
[     5.650]    compiled for 1.19.3, module version = 0.4.4
[     5.650]    Module class: X.Org Video Driver
[     5.650]    ABI class: X.Org Video Driver, version 23.0
[     5.650] (II) LoadModule: "vesa"
[     5.650] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[     5.650] (II) Module vesa: vendor="X.Org Foundation"
[     5.650]    ABI class: X.Org Video Driver, version 23.0
[     5.650] (II) NOUVEAU driver Date:   Fri Apr 21 14:41:17 2017 -0400
[     5.650] (II) NOUVEAU driver for NVIDIA chipset families :
[     5.650]    RIVA TNT        (NV04)
[     5.650]    RIVA TNT2       (NV05)
[     5.650]    GeForce 256     (NV10)
[     5.651]    GeForce 2       (NV11, NV15)
[     5.651]    GeForce 4MX     (NV17, NV18)
[     5.651]    GeForce 3       (NV20)
[     5.651]    GeForce 4Ti     (NV25, NV28)
[     5.651]    GeForce FX      (NV3x)
[     5.651]    GeForce 6       (NV4x)
[     5.651]    GeForce 7       (G7x)
[     5.651]    GeForce 8       (G8x)
[     5.651]    GeForce GTX 200 (NVA0)
[     5.651]    GeForce GTX 400 (NVC0)
[     5.651] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[     5.651] (II) FBDEV: driver for framebuffer: fbdev
[     5.651] (II) VESA: driver for VESA chipsets: vesa
[     5.651] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[     5.769] (EE) [drm] Failed to open DRM device for pci:0000:01:00.0: -19
[     5.769] (EE) open /dev/dri/card0: No such file or directory
[     5.769] (WW) Falling back to old probe method for modesetting
[     5.769] (EE) open /dev/dri/card0: No such file or directory
[     5.769] (II) Loading sub module "fbdevhw"
[     5.769] (II) LoadModule: "fbdevhw"
[     5.770] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[     5.770] (II) Module fbdevhw: vendor="X.Org Foundation"
[     5.770]    compiled for 1.19.6, module version = 0.0.2
[     5.770]    ABI class: X.Org Video Driver, version 23.0
[     5.770] (**) FBDEV(1): claimed PCI slot 1@0:0:0
[     5.770] (II) FBDEV(1): using default device
[     5.770] (WW) Falling back to old probe method for vesa
[     5.770] (EE) Screen 0 deleted because of no matching config section.
[     5.770] (II) FBDEV(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[     5.770] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
[     5.770] (==) FBDEV(0): RGB weight 888
[     5.770] (==) FBDEV(0): Default visual is TrueColor
[     5.770] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[     5.770] (II) FBDEV(0): hardware: EFI VGA (video memory: 2400kB)
[     5.770] (II) FBDEV(0): checking modes against framebuffer device...
[     5.770] (II) FBDEV(0): checking modes against monitor...
[     5.770] (--) FBDEV(0): Virtual size is 800x600 (pitch 800)
[     5.770] (**) FBDEV(0):  Built-in mode "current": 48.0 MHz, 46.9 kHz, 75.1 Hz
[     5.770] (II) FBDEV(0): Modeline "current"x0.0   48.00  800 832 928 1024  600 604 608 624 -hsync -vsync -csync (46.9 kHz b)
[     5.770] (==) FBDEV(0): DPI set to (96, 96)
[     5.770] (II) Loading sub module "fb"
[     5.770] (II) LoadModule: "fb"
[     5.770] (II) Loading /usr/lib/xorg/modules/libfb.so
[     5.770] (II) Module fb: vendor="X.Org Foundation"
[     5.770]    compiled for 1.19.6, module version = 1.0.0
[     5.770]    ABI class: X.Org ANSI C Emulation, version 0.4
[     5.770] (**) FBDEV(0): using shadow framebuffer
[     5.770] (II) Loading sub module "shadow"
[     5.770] (II) LoadModule: "shadow"
[     5.770] (II) Loading /usr/lib/xorg/modules/libshadow.so
[     5.772] (II) Module shadow: vendor="X.Org Foundation"
[     5.772]    compiled for 1.19.6, module version = 1.1.0
[     5.772]    ABI class: X.Org ANSI C Emulation, version 0.4
[     5.772] (II) UnloadModule: "vesa"
[     5.772] (II) Unloading vesa
[     5.772] (==) Depth 24 pixmap format is 32 bpp
[     5.772] (II) FBDEV(0): FBIOBLANK: Invalid argument (Screen blanking not supported by kernel - disabling)
[     5.773] (==) FBDEV(0): Backing store enabled
[     5.773] (==) FBDEV(0): DPMS enabled
[     5.773] (==) RandR enabled
[     5.774] (II) SELinux: Disabled on system
[     5.775] (II) AIGLX: Screen 0 is not DRI2 capable
[     5.775] (EE) AIGLX: reverting to software rendering

编辑6 仍然没有为我解决。今天有一个间歇性的延迟。看着dmesg

# dmesg | grep nvidia
[    2.391066] nvidia: loading out-of-tree module taints kernel.
[    2.391070] nvidia: module license 'NVIDIA' taints kernel.
[    2.393241] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[    2.397378] nvidia-nvlink: Nvlink Core is being initialized, major device number 240
[    2.397558] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[    2.398536] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  396.24  Wed Apr 25 23:54:18 PDT 2018
[    2.399519] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[    2.399519] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 0
[    4.259151] nvidia-uvm: Loaded the UVM driver in 8 mode, major device number 238
[    7.067363] nvidia-modeset: Allocated GPU:0 (GPU-2299f1b5-2a33-6f69-67d2-919f812a967a) @ PCI:0000:01:00.0

编辑7 昨天,“有机大理石”发表了一条评论-我想让我在周末尝试一下。但是在作为一个好的实践开始之前,我想记录我的当前状态并发出以下命令:

ashu# lspci -k | grep -EA2 'VGA|3D'
01:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1)
    Subsystem: Dell GP106 [GeForce GTX 1060 6GB]
    Kernel driver in use: nvidia

/etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

/var/log# cat gpu-manager.log
log_file: /var/log/gpu-manager.log
last_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
new_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
can't access /opt/amdgpu-pro/bin/amdgpu-pro-px
Looking for nvidia modules in /lib/modules/4.15.0-22-generic/updates/dkms
Found nvidia module: nvidia.ko
Looking for amdgpu modules in /lib/modules/4.15.0-22-generic/updates/dkms
Is nvidia loaded? yes
Was nvidia unloaded? no
Is nvidia blacklisted? no
Is intel loaded? yes
Is radeon loaded? no
Is radeon blacklisted? no
Is amdgpu loaded? no
Is amdgpu blacklisted? no
Is amdgpu versioned? no
Is amdgpu pro stack? no
Is nouveau loaded? no
Is nouveau blacklisted? yes
Is nvidia kernel module available? yes
Is amdgpu kernel module available? no
Vendor/Device Id: 8086:3e92
BusID "PCI:0@0:2:0"
Is boot vga? no
Vendor/Device Id: 10de:1c03
BusID "PCI:1@0:0:0"
Is boot vga? yes
Skipping "/dev/dri/card0", driven by "i915"
Skipping "/dev/dri/card1", driven by "nvidia-drm"
Skipping "/dev/dri/card0", driven by "i915"
Skipping "/dev/dri/card1", driven by "nvidia-drm"
Skipping "/dev/dri/card0", driven by "i915"
Skipping "/dev/dri/card1", driven by "nvidia-drm"
Found "/dev/dri/card0", driven by "i915"
Number of connected outputs for /dev/dri/card0: 0
Does it require offloading? no
last cards number = 2
Has amd? no
Has intel? yes
Has nvidia? yes
How many cards? 2
Has the system changed? No
Unsupported discrete card vendor: 8086
Nothing to do




 root@ashu-XPS-8930:/var/log# lshw -c video 2>&1 | grep driver
           configuration: driver=nvidia latency=0
           configuration: driver=i915 latency=0

root@ashu-XPS-8930:/var/log# dmesg | grep nvidia
[    2.438396] nvidia: loading out-of-tree module taints kernel.
[    2.438399] nvidia: module license 'NVIDIA' taints kernel.
[    2.440419] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[    2.444471] nvidia-nvlink: Nvlink Core is being initialized, major device number 240
[    2.444631] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[    2.449781] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  396.24.02  Thu May 24 03:44:56 PDT 2018
[    2.450402] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[    2.450403] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
[    4.272315] nvidia-uvm: Loaded the UVM driver in 8 mode, major device number 238
[    7.201052] nvidia-modeset: Allocated GPU:0 (GPU-2299f1b5-2a33-6f69-67d2-919f812a967a) @ PCI:0000:01:00.0

并且其他驱动程序也说相同

是的,它是固定的,但是如何以及何时?我不知道? 感谢大家的帮助和建议。

编辑8也 能够在我的Dell XPS 9560笔记本电脑上修复。一个人应该检查这个文件:

/etc/modprobe.d/disable-nouveau.conf
blacklist nouveau
blacklist vga16fb
blacklist rivafb
blacklist nvidiafb
blacklist rivatv
blacklist amd76_edac
options nouveau modeset=0

1
要杀死nouveau驱动程序,您可以执行此页面中间的步骤,以sudo su-adufray.com/blog/2018/06/02/nvidia-304-127-on-bionic开头, 然后重新启动。手动安装驱动程序时,此过程对我有用。
有机大理石'18

@OrganicMarble。谢谢,我会尽力而为,让您知道。
阿舒(Ashu)2013年

1
很高兴你把事情解决了!
有机大理石

Ubuntu可能应该更直接地警告用户-如果启用了UEFI安全启动,则无法安装专有的NVIDIA驱动程序。Google UEFI安全启动和mokutil。
瑞安·布德尼

Answers:


19

要解决该错误,请通过以下命令在安装驱动程序之前安装nvidia-kernel-source

 ~$ sudo apt install nvidia-kernel-source-396

然后通过以下命令安装驱动程序:

 ~$ sudo apt install nvidia-driver-396

这个很好,但是我仍然看到nouveau内核驱动程序。lspci -k | grep -EA2'VGA | 3D'01:00.0 VGA兼容控制器:NVIDIA Corporation GP106 [GeForce GTX 1060 6GB](rev a1)子系统:Dell GP106 [GeForce GTX 1060 6GB]使用的内核驱动程序:nouveau。您如何解决?
阿舒(Ashu)

sudo apt install nvidia-kernel-source-396为我解决了问题,谢谢!
亚伦·弗兰克

这种模式也适用418
dannyman

15

对于您的特定情况,请完全按照以下步骤操作,以便能够将最新的nvidia与您的特定Nvidia卡一起使用。我假设您有互联网:

  1. 添加Nvidia PPA

    sudo add-apt-repository ppa:graphics-drivers/ppa
    
  2. 在18.04上,您不需要更新存储库。添加PPA之后,此操作将自动完成。更新完成后,对您的nvidia驱动程序执行以下操作:

对于Nvidia 390

    sudo apt install nvidia-driver-390

对于Nvidia 396(用于1080的那一上午也适用于您的1060)

    sudo apt install nvidia-driver-396

无需安装nvidia-settings软件包,因为自18.04起,默认情况下已安装建议和推荐的软件包(至少据我所知),但是如果nvidia-settings软件包未安装,则执行

    sudo apt install nvidia-settings

另外,如果您想要Vulkan,则只需:

    sudo apt install vulkan

之后,您可以重新启动计算机,然后完成。这是完美使用1080的步骤截图(包括Vulkan)

在此处输入图片说明


1
谢谢..在安装nvidia-driver-396时得到了错误
Ashu,

嗨,@ Ashu,您提到的错误是因为您先前尝试为nvidia安装另一个软件包或类似的软件包。我的建议是重新从头开始安装Ubuntu,而不是继续研究那里发生的事情(当然,这可以节省您的时间)。
路易斯·阿尔瓦拉多

嗨@Luis-除了nvidia-390以外,我没有尝试过其他任何操作...讨厌再次重新安装Linux ...还有其他提示吗?
阿舒(Ashu)'18年

2
这个问题也发生在我的Dell XPS 15-9560笔记本电脑上(Nvidia 1050),这是Ubuntu 18.04 LTS的全新安装...我尝试重新安装ubuntu 18.04 ...好吧,这不顺利...我删除了手动完成上一个过程,并经历所有痛苦的过程。似乎ubuntu 18.04并不是那么稳定,而对于NVIDIA司机来说,这会带来很多痛苦。
阿舒

1
当我跑步时,sudo apt install nvidia-driver-396我会得到The following packages have unmet dependencies: nvidia-driver-396 : Depends: libnvidia-gl-396 (= 396.54-0ubuntu0~gpu18.04.1) but it is not going to be installed
亚伦·弗兰克

2

根据这个答案:https : //askubuntu.com/a/1044501/254024

sudo apt purge 'nvidia.*'
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt install nvidia-390

对我来说像魅力一样工作。


1
有了18.04,就无需再花apt update时间add-apt
cmak.fr

吹扫车手总是会破坏我的一切。我每次都在4k显示器上被锁定为640x480。
alvarlagerlof '18

sudo apt purge'nvidia。*'<<这不仅会删除驱动程序,还会删除很多东西。例如CUDA等下去
角膜瓦伦丁

0

我有一个类似的问题,可以通过更新系统来解决(不确定是否错过了该问题),修复了几个涉及升级失败的问题(17.10-> 18.04),添加了ppa,然后再次更新,然后尝试安装。

所以:

    sudo apt update
    sudo apt upgrade
    sudo add-apt-repository ppa:graphics-drivers/ppa
    sudo apt update
    sudo apt upgrade
    sudo apt install nvidia-driver-396 libvulkan1

指出问题出在哪里的关键是,软件包应该在那里但拒绝安装。因为我对Red Hat Way(TM)的处理方式更加熟悉,所以我采用了他们的方法,清除了我的apt缓存,重新运行了update&upgrade命令,然后重新运行了驱动程序安装命令,瞧,它确实起作用了。

并清除缓存:

    sudo apt auto-clean

因此,要解决您的问题,我将要做的是:

    sudo apt auto-clean
    sudo apt update
    sudo apt upgrade
    sudo apt install nvidia-driver-396 libvulkan1

如果有问题的话,我可以使用Canonical所赞美的nvidia专有驱动程序(我认为是386)在17.10上完美安装。进行了升级,并且一直在寻找我能找到的几个问题(现在的popos仓库有所不同,我不得不删除很多破旧的软件包,然后重新安装),重新启用ppas等。

不错的升级,但要仔细记录出现问题的原因和正确的解决方案。我确实对dnf / yum更加满意,并且更喜欢它,因为在这种情况下,它会在看到新的回购协议后重建所有元数据。那好吧。体面的释放仍然沙发。我习惯比小打:要糟糕得多:D

祝你好运,
安德鲁。


1
感谢您的回答...不幸的是在我的情况下不起作用。
阿舒(Ashu)

0

昨天,升级到18.04时遇到了同样的问题。

我已经安装了Nvidia 390,但应该安装Nvidia396。我只是通过以下命令删除了Nvidia 390:

sudo apt清除nvidia-390

然后安装推荐的驱动程序(396)。现在,持续了几个月的问题终于解决了。


您可以验证使用哪个驱动程序吗?
阿舒(Ashu)2013年

0

通过运行以下命令确保它不在黑名单中:

sudo grep nvidia /etc/modprobe.d/*
sudo grep nvidia /lib/modprobe.d/*

如果返回带有的行blacklist nvidiafb,则可以,您可以忽略该行。

为我运行此文件显示了一个将nvidia列入黑名单的文件。我删除了它,nvidia驱动程序实际上只工作了一个。这为我解决了。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.