我的 Lenovo IdeaPad 320 i5 第 8 代遇到问题,每当我想通过Hibernate
按下电源按钮启动它时,有时会显示黑屏。有时它工作得很好,但当多次尝试后仍不显示屏幕时,这非常烦人。
azizul@deapad:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.10
Release: 18.10
Codename: cosmic
它有 2 个显卡,一个是集成的 Intel UHD 620,另一个是独立的 - NVIDIA GEOFORCE
azizul@deapad:~$ lshw -c display
WARNING: you should run this program as super-user.
*-display
description: VGA compatible controller
product: UHD Graphics 620
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 07
width: 64 bits
clock: 33MHz
capabilities: vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:129 memory:90000000-90ffffff memory:80000000-8fffffff ioport:4000(size=64) memory:c0000-dffff
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
nvidia-smi
显示错误:
azizul@deapad:~$ 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.
没有列出其他驱动程序:
GPU 基准测试:
azizul@deapad:~$ glxgears
310 frames in 5.0 seconds = 61.860 FPS
301 frames in 5.0 seconds = 60.012 FPS
301 frames in 5.0 seconds = 60.020 FPS
301 frames in 5.0 seconds = 60.007 FPS
301 frames in 5.0 seconds = 60.013 FPS
301 frames in 5.0 seconds = 60.014 FPS
301 frames in 5.0 seconds = 60.014 FPS
答案1
您没有 Nvidia 显卡的驱动程序。
打开终端并写入以下命令:
sudo add-apt-repository ppa:graphics-drivers/ppa && sudo apt update
然后您将能够通过其他驱动程序安装驱动程序。您也可以直接使用以下命令安装:
sudo apt-get install nvidia-driver-410
最好dkms
先安装驱动程序,因为每当系统内核更新时,dkms
都会自动为新内核重建 NVIDIA 驱动模块:
sudo apt-get install dkms build-essential
您没有提到您的 Nvidia 显卡型号,但我认为它是 GeForce MX150,并且在受支持的显卡列表中。