我在笔记本电脑上安装了 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.
已安装的驱动程序:sudo apt install nvidia-driver-455
核心 :Linux 5.4.0-47-generic
所选 GPU:sudo prime-select nvidia
日志 :
`cat /var/log/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/5.4.0-47-generic/updates/dkms
Found nvidia module: nvidia.ko
Looking for amdgpu modules in /lib/modules/5.4.0-47-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:166 BusID "PCI:0@0:2:0" Is boot vga? yes Vendor/Device Id: 10de:de3 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 "/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-LVDS-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? yes
How many cards? 2
Has the system changed? No
Intel IGP detected Intel hybrid system
Creating /usr/share/X11/xorg.conf.d/11-nvidia-prime.conf
Setting power control to "on" in /sys/bus/pci/devices/0000:01:00.0/power/control
Loading nvidia with "no" parameters`
有什么办法可以解决这个问题吗?
谢谢。