今天下午我正在使用笔记本电脑,突然发现 Netflix 不再工作,所以关闭了它并切换到另一台电脑。当我再次打开它时,我无法回到 Ubuntu。决定暂时切换回板载英特尔驱动程序以找出发生了什么:
sudo prime-select intel
尝试从 Gnome 切换到 KDE,但并没有什么区别,当我再次选择 nvidia 驱动程序时,它在 Gnome 上登录时会冻结,而在 KDE 上则根本没有登录屏幕,直到再次切换回 Intel 驱动程序。(从 gdm 切换到 ssdm 以防万一,但没有成功)
查看驱动程序,有两个 NVidia 驱动程序和一个 Nouveau 驱动程序,我尝试了所有这三个驱动程序,每次都重新启动,它们每个都完全相同 - 在 Gnome 的情况下登录后系统冻结,或者甚至无法进入 KDE 上的登录屏幕。
接下来我尝试向 grub 添加一些东西:
sudo vim /etc/default/grub
添加nvidia-drm.modeset=1
并运行sudo update-grub
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nvidia-drm.modeset=1"
GRUB_CMDLINE_LINUX="mem_sleep_default=deep nvidia-drm.modeset=1"
然后重新启动,没有任何变化。
不确定我还需要提供什么其他信息,因此这里有一个lspci
转储:
00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Device 3e9b
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 07)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Cannon Lake PCH Thermal Controller (rev 10)
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
00:15.0 Serial bus controller [0c80]: Intel Corporation Device a368 (rev 10)
00:15.1 Serial bus controller [0c80]: Intel Corporation Device a369 (rev 10)
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
00:17.0 SATA controller: Intel Corporation Device a353 (rev 10)
00:1b.0 PCI bridge: Intel Corporation Device a340 (rev f0)
00:1c.0 PCI bridge: Intel Corporation Device a338 (rev f0)
00:1c.4 PCI bridge: Intel Corporation Device a33c (rev f0)
00:1d.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port 9 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Device a30e (rev 10)
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
01:00.0 3D controller: NVIDIA Corporation GP107GLM [Quadro P2000 Mobile] (rev a1)
02:00.0 PCI bridge: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] (rev 02)
03:00.0 PCI bridge: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] (rev 02)
03:01.0 PCI bridge: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] (rev 02)
03:02.0 PCI bridge: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] (rev 02)
3a:00.0 USB controller: Intel Corporation Device 15db (rev 02)
3b:00.0 Network controller: Intel Corporation Wireless-AC 9260 (rev 29)
3c:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
3d:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981
core
我还注意到我的主目录中有一个文件
-rw------- 1 leuser leuser 698M Jul 31 23:42 core
这是 Dell Precision 5530 附带的原版 Ubuntu 18.04,使用时间大约为 2 周。不确定其中一个自动补丁是否会导致此问题,话虽如此,如果我运行apt upgrade
,可能也会发生同样的情况。
知道我还能尝试什么来让 Quadro P2000 重新工作吗?这款英特尔显卡对于基本功能来说还行,但仅此而已。
答案1
在 Ubuntu 19.04 中 100% 正常运行
因此升级解决了这个问题