我在使用 Nouveau 时遇到了麻烦。一旦我暂停并恢复笔记本电脑,我的日志就会充满这些错误,这些文件在几分钟内占用了 GB 的空间,然后我不得不重新启动笔记本电脑来解决这个问题。我安装了 Nvidia 驱动程序,问题解决了,但后来我将其更改为集成英特尔卡以获得更好的电池。现在运行后我无法打开 Nvidia 设置ubuntu-drivers devices
,它给了我一个No Nvidia drivers loaded
错误。我将 Nouveau 列入黑名单,希望修复错误,但这没有任何效果。
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 520 (rev 07)
Subsystem: ASUSTeK Computer Inc. Skylake GT2 [HD Graphics 520]
Kernel driver in use: i915
Kernel modules: i915
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 950M] (rev a2)
Subsystem: ASUSTeK Computer Inc. GM107M [GeForce GTX 950M]
Kernel driver in use: nouveau
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
lsmod | grep "nvidia" 没有返回任何内容。我不是 Ubuntu 专家,我真的很感激有人能帮我,我使用的是 Ubuntu 18.04,我有一块集成的 Intel GFX 卡和一块 Nvidia GTX 950M
sudo modprobe nvidia
返回以下内容:
modprobe: ERROR: ../libkmod/libkmod-module.c:832 kmod_module_insert_module() could not find module by name='off'
modprobe: ERROR: could not insert 'off': Unknown symbol in module, or unknown parameter (see dmesg)
gpu日志
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 /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-29-generic/updates/dkms
Found nvidia module: nvidia-modeset.ko
Looking for amdgpu modules in /lib/modules/4.15.0-29-generic/updates/dkms
Is nvidia loaded? no
Was nvidia unloaded? no
Is nvidia blacklisted? yes
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:1916
BusID "PCI:0@0:2:0"
Is boot vga? yes
Vendor/Device Id: 10de:139a
BusID "PCI:1@0:0:0"
Is boot vga? no
Error: can't access /sys/bus/pci/devices/0000:01:00.0/driver
The device is not bound to any driver. Skipping...
Skipping "/dev/dri/card0", driven by "i915"
Skipping "/dev/dri/card0", driven by "i915"
Skipping "/dev/dri/card0", driven by "i915"
Found "/dev/dri/card0", driven by "i915"
output 0:
card0-eDP-1
Number of connected outputs for /dev/dri/card0: 1
Does it require offloading? yes
last cards number = 2
Has amd? no
Has intel? yes
Has nvidia? no
How many cards? 1
The number of cards has changed!
Has the system changed? Yes
System configuration has changed
Single card detected
Nothing to do