Ubuntu 20.04 内核 5.8.0-36 上的 nvidia 问题

Ubuntu 20.04 内核 5.8.0-36 上的 nvidia 问题

几周前,在将内核更新至 5.8.0-36 后,我无法启动笔记本电脑。通过安装 nvidia-driver-460 解决了这个问题。通过安装 linux-modules-extra-5.8.0-36-generic 解决了无线和亮度控制的后续问题。无法识别外接显示器(现在仍然无法识别)。

昨天(重新启动后)我遇到了以下问题:

  1. 系统挂起后无法唤醒(必须关闭电源)
  2. 屏幕亮度控制又消失了
  3. 正常启动后我无法登录(密码无法识别?),如果我启动到恢复模式然后恢复,我就可以登录。

Dmesg 给出

No Local Variables are initialized for Method [BRT6]
[13759.646843] Initialized Arguments for Method [BRT6]:  (2 arguments defined for method invocation)
[13759.646845]   Arg0:   00000000467138d9 <Obj>           Integer 0000000000000001
[13759.646855]   Arg1:   00000000edd7eed7 <Obj>           Integer 0000000000000000
[13759.646870] ACPI Error: Aborting method \_SB.PCI0.PEG0.PEGP.BRT6 due to previous error (AE_NOT_FOUND) (20200528/psparse-529)
[13759.647376] ACPI Error: Aborting method \EV5 due to previous error (AE_NOT_FOUND) (20200528/psparse-529)
[13759.647785] ACPI Error: Aborting method \SMEE due to previous error (AE_NOT_FOUND) (20200528/psparse-529)
[13759.648265] ACPI Error: Aborting method \SMIE due to previous error (AE_NOT_FOUND) (20200528/psparse-529)
[13759.648584] ACPI Error: Aborting method \NEVT due to previous error (AE_NOT_FOUND) (20200528/psparse-529)
[13759.648852] ACPI Error: Aborting method \_SB.PCI0.LPCB.ECDV._Q66 due to previous error (AE_NOT_FOUND) (20200528/psparse-529)
[13759.822652] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.PEG0.PEGP.BRT6.LCD], AE_NOT_FOUND (20200528/psargs-330)

多次...

sudo apt list --installed | grep nvidia 给出

libnvidia-cfg1-460/focal-updates,focal-security,now 460.32.03-0ubuntu0.20.04.1 amd64 [installed,automatic]
libnvidia-common-450/focal-updates,focal-updates,focal-security,focal-security,now 450.102.04-0ubuntu0.20.04.1 all [installed,auto-removable]
libnvidia-common-460/focal-updates,focal-updates,focal-security,focal-security,now 460.32.03-0ubuntu0.20.04.1 all [installed,automatic]
libnvidia-compute-460/focal-updates,focal-security,now 460.32.03-0ubuntu0.20.04.1 amd64 [installed,automatic]
libnvidia-compute-460/focal-updates,focal-security,now 460.32.03-0ubuntu0.20.04.1 i386 [installed,automatic]
libnvidia-decode-460/focal-updates,focal-security,now 460.32.03-0ubuntu0.20.04.1 amd64 [installed,automatic]
libnvidia-decode-460/focal-updates,focal-security,now 460.32.03-0ubuntu0.20.04.1 i386 [installed,automatic]
libnvidia-encode-460/focal-updates,focal-security,now 460.32.03-0ubuntu0.20.04.1 amd64 [installed,automatic]
libnvidia-encode-460/focal-updates,focal-security,now 460.32.03-0ubuntu0.20.04.1 i386 [installed,automatic]
libnvidia-extra-460/focal-updates,focal-security,now 460.32.03-0ubuntu0.20.04.1 amd64 [installed,automatic]
libnvidia-fbc1-460/focal-updates,focal-security,now 460.32.03-0ubuntu0.20.04.1 amd64 [installed,automatic]
libnvidia-fbc1-460/focal-updates,focal-security,now 460.32.03-0ubuntu0.20.04.1 i386 [installed,automatic]
libnvidia-gl-460/focal-updates,focal-security,now 460.32.03-0ubuntu0.20.04.1 amd64 [installed,automatic]
libnvidia-gl-460/focal-updates,focal-security,now 460.32.03-0ubuntu0.20.04.1 i386 [installed,automatic]
libnvidia-ifr1-460/focal-updates,focal-security,now 460.32.03-0ubuntu0.20.04.1 amd64 [installed,automatic]
libnvidia-ifr1-460/focal-updates,focal-security,now 460.32.03-0ubuntu0.20.04.1 i386 [installed,automatic]
linux-modules-nvidia-450-5.8.0-34-generic/focal-updates,focal-security,now 5.8.0-34.37~20.04.2 amd64 [installed,automatic]
linux-modules-nvidia-450-5.8.0-36-generic/focal-updates,focal-security,now 5.8.0-36.40~20.04.1 amd64 [installed,automatic]
nvidia-compute-utils-460/focal-updates,focal-security,now 460.32.03-0ubuntu0.20.04.1 amd64 [installed,automatic]
nvidia-dkms-460/focal-updates,focal-security,now 460.32.03-0ubuntu0.20.04.1 amd64 [installed,automatic]
nvidia-driver-460/focal-updates,focal-security,now 460.32.03-0ubuntu0.20.04.1 amd64 [installed]
nvidia-kernel-common-460/focal-updates,focal-security,now 460.32.03-0ubuntu0.20.04.1 amd64 [installed,automatic]
nvidia-kernel-source-460/focal-updates,focal-security,now 460.32.03-0ubuntu0.20.04.1 amd64 [installed,automatic]
nvidia-prime/focal,focal,now 0.8.14 all [installed,automatic]
nvidia-settings/focal-updates,now 440.82-0ubuntu0.20.04.1 amd64 [installed,automatic]
nvidia-utils-460/focal-updates,focal-security,now 460.32.03-0ubuntu0.20.04.1 amd64 [installed,automatic]
xserver-xorg-video-nvidia-460/focal-updates,focal-security,now 460.32.03-0ubuntu0.20.04.1 amd64 [installed,automatic]

sudo ubuntu-drivers devices 给出:

== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001FB9sv00001028sd00000926bc03sc00i00
vendor   : NVIDIA Corporation
model    : TU117GLM [Quadro T1000 Mobile]
driver   : nvidia-driver-450 - distro non-free
driver   : nvidia-driver-450-server - distro non-free
driver   : nvidia-driver-418-server - distro non-free
driver   : nvidia-driver-440-server - distro non-free
driver   : nvidia-driver-460 - distro non-free recommended
driver   : xserver-xorg-video-nouveau - distro free builtin

任何建议,将不胜感激。

答案1

我对所有这些问题的解决方案是:

sudo dpkg -P $(dpkg -l | grep nvidia-driver | awk '{print $2}')
sudo apt autoremove
sudo apt install xserver-xorg-video-nouveau

开源驱动程序似乎有点慢,但至少我可以登录并且屏幕是亮的!

相关内容