无法在 ASUS Tuf a15(ACPI?)上安装 Ubuntu 20.04

无法在 ASUS Tuf a15(ACPI?)上安装 Ubuntu 20.04

TL;DR:尝试从 U 盘安装 Ubuntu 没问题。安装时,会出现黑屏或功能缺失的情况。

我尝试在我的新笔记本电脑(带有 nvidia rtx2060 的 Asus tuf A15)上安装 ubuntu 大约 23 次,所以一开始,相当沮丧。

当我启动 U 盘并选中“尝试 Ubuntu”时,一切都运行正常。Wifi、触控板、图形驱动程序。但安装后就不行了。

在使用 nvidia 驱动程序时遇到很多问题,并且经常出现内核崩溃(此时我放弃了 nvidia 驱动程序,再见了 Tensorflow)。最接近正常工作的 Ubuntu 是:

安装后,在启动之前,我必须关闭 grub bootloder 选项上的 ACPI(按下eUbuntu 并添加acpi=off

这样,触控板功能或电池电量百分比均不显示,但键盘功能可以dmesg正常使用。这是我在无法使用时可以检索的输出,然后按 fn+f2 登录到某个 tty

尝试了很多 acpi 选项(acpi_osi=linux、acpi=stric、acpi=oldboot 或其他),只有 acpi=off 有效

[    2.404697] ACPI BIOS Error (bug): AE_AML_BUFFER_LIMIT, Field [IIA3] at bit offset/length 96/32 exceeds size of target Buffer (96 bits) (20190816/dsopcode-198)
[    2.404729] No Local Variables are initialized for Method [WMNB]
[    2.404733] Initialized Arguments for Method [WMNB]:  (3 arguments defined for method invocation)
[    2.404735]   Arg0:   000000008e11445c <Obj>           Integer 0000000000000000
[    2.404747]   Arg1:   00000000fce64be6 <Obj>           Integer 0000000054494E49
[    2.404753]   Arg2:   000000000ded1ebb <Obj>           Buffer(12) 00 00 00 00 00 00 00 00
[    2.404769] ACPI Error: Aborting method \_SB.ATKD.WMNB due to previous error (AE_AML_BUFFER_LIMIT) (20190816/psparse-529)
[    2.404854] ACPI BIOS Error (bug): AE_AML_BUFFER_LIMIT, Field [IIA3] at bit offset/length 96/32 exceeds size of target Buffer (96 bits) (20190816/dsopcode-198)
[    2.404865] No Local Variables are initialized for Method [WMNB]
[    2.404868] Initialized Arguments for Method [WMNB]:  (3 arguments defined for method invocation)
[    2.404869]   Arg0:   000000000ded1ebb <Obj>           Integer 0000000000000000
[    2.404876]   Arg1:   00000000fce64be6 <Obj>           Integer 0000000043455053
[    2.404881]   Arg2:   000000008e11445c <Obj>           Buffer(12) 00 00 00 00 09 00 00 00
[    2.404895] ACPI Error: Aborting method \_SB.ATKD.WMNB due to previous error (AE_AML_BUFFER_LIMIT) (20190816/psparse-529)
[    2.404970] ACPI BIOS Error (bug): AE_AML_BUFFER_LIMIT, Field [IIA3] at bit offset/length 96/32 exceeds size of target Buffer (96 bits) (20190816/dsopcode-198)
[    2.404981] No Local Variables are initialized for Method [WMNB]
[    2.404984] Initialized Arguments for Method [WMNB]:  (3 arguments defined for method invocation)
[    2.404985]   Arg0:   000000008e11445c <Obj>           Integer 0000000000000000
[    2.404991]   Arg1:   00000000fce64be6 <Obj>           Integer 000000004E554653
[    2.404997]   Arg2:   000000000ded1ebb <Obj>           Buffer(12) 00 00 00 00 00 00 00 00
[    2.405010] ACPI Error: Aborting method \_SB.ATKD.WMNB due to previous error (AE_AML_BUFFER_LIMIT) (20190816/psparse-529)
[    2.405030] asus-nb-wmi asus-nb-wmi: Detected ATK, not ASUSWMI, use DSTS
[    2.405034] asus-nb-wmi asus-nb-wmi: Detected ATK, enable event queue
[    2.405170] ACPI BIOS Error (bug): AE_AML_BUFFER_LIMIT, Field [IIA3] at bit offset/length 96/32 exceeds size of target Buffer (96 bits) (20190816/dsopcode-198)
[    2.405180] No Local Variables are initialized for Method [WMNB]
[    2.405184] Initialized Arguments for Method [WMNB]:  (3 arguments defined for method invocation)
[    2.405185]   Arg0:   000000000ded1ebb <Obj>           Integer 0000000000000000
[    2.405191]   Arg1:   00000000fce64be6 <Obj>           Integer 0000000053564544
[    2.405197]   Arg2:   000000002a7c2a21 <Obj>           Buffer(12) 03 00 01 00 00 00 00 00
[    2.405210] ACPI Error: Aborting method \_SB.ATKD.WMNB due to previous error (AE_AML_BUFFER_LIMIT) (20190816/psparse-529)
[    2.405285] ACPI BIOS Error (bug): AE_AML_BUFFER_LIMIT, Field [IIA3] at bit offset/length 96/32 exceeds size of target Buffer (96 bits) (20190816/dsopcode-198)
[    2.405295] No Local Variables are initialized for Method [WMNB]
[    2.405298] Initialized Arguments for Method [WMNB]:  (3 arguments defined for method invocation)
[    2.405300]   Arg0:   000000002a7c2a21 <Obj>           Integer 0000000000000000
[    2.405306]   Arg1:   00000000fce64be6 <Obj>           Integer 0000000053545344
[    2.405312]   Arg2:   000000000ded1ebb <Obj>           Buffer(12) 18 00 11 00 00 00 00 00
[    2.405325] ACPI Error: Aborting method \_SB.ATKD.WMNB due to previous error (AE_AML_BUFFER_LIMIT) (20190816/psparse-529)

显然,这是一个糟糕的 ACPI 实现,只兼容 win blablabla。我的 BIOS 是最新的。

尝试输出uname -aLinux ubuntu 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

问题: 为什么试用时可以工作,但安装后却不行?我的意思是,有没有并起作用,是什么破坏了它?

我需要这台新的笔记本来工作,请不要让我在 Windows 上工作!!拯救了 10 年的 ubuntu 用户。

编辑: 在没有 ACPI 的情况下,让它进入工作状态的唯一方法是以兼容模式安装,安装第三方图形和更新。登录 Ubuntu(到处都是故障),进入 tty,清除所有nvidia-* 软件包,然后使用 启动acpi=off。没有触控板、电池百分比、键盘 fn 功能(如增加亮度)。

应该安装一些东西才能工作...它不能仅在“试用 Ubuntu”阶段工作...

答案1

看起来您需要将nomodeset参数传递给 Linux 内核。如果 GRUB 工作正常并且出现菜单,请选择 Ubuntu 的菜单项(可能是第一个)并按e。将出现一个编辑器屏幕,然后找到以 开头的行linux(忽略空格),然后转到行尾并附加到nomodeset行中。现在按Ctrl+xF10启动。它应该可以正常启动。成功启动后,我们需要使这些更改永久生效。为此,打开终端窗口并执行以下操作:

gedit admin:///etc/default/grub

文本编辑器窗口打开后,它会提示您输入密码(可能两次),输入您的密码(不是rootpassword),您将看到文件内容。找到以 开头的行GRUB_CMDLINE_LINUX_DEFAULT=并添加nomodeset到值中,如下所示:

// Taken from my /etc/default/grub file
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"

完成后保存退出,然后在终端中执行以下命令:

sudo update-grub

您可以重新启动电脑,一切都会正常。:)

答案2

试试这个。通过 HDMI 电缆连接电视或其他显示器,看看黑屏时图像是否正常。如果正常,您可以进入显示设置并激活主显示器。

相关内容