I have Debian 10 Buster installed on my Acer Nitro AN515-51 laptop (dual boot with Windows 10). These are the system specs:
Graphics: Nvidia GeForce GTX 1050 ( 4GB VRAM); Intel UHD Graphics 630.
RAM: 8GB SDRAM (DDR4)
lscpu | grep -i model
reports this:
Model: 158
Model name: Intel(R) Core(TM) i5-7300HQ CPU @ 2.50GHz
uname -a
reports this:
Linux rpl-pc 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux
lspci -k | grep -EA3 'VGA|3D|Display'
reports this:
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04)
Subsystem: Acer Incorporated [ALI] HD Graphics 630
Kernel driver in use: i915
Kernel modules: i915
--
01:00.0 VGA compatible controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev a1)
Subsystem: Acer Incorporated [ALI] GP107M [GeForce GTX 1050 Ti Mobile]
Kernel modules: nouveau
02:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
The Problem: When I type
sudo apt-get upgrade
I get the following output into my terminal (I only copy/pasted the last few lines where the error occurs):
Preparing to unpack .../nvidia-legacy-check_418.113-1_amd64.deb ...
Checking for legacy NVIDIA GPUs appears to hang, try rebooting with 'acpi=off'
added to the kernel boot options in the GRUB configuration.
Then the terminal appears to freeze and I can't Ctrl-C
out of it.
The same issue occurs when I try to install a program through the command line (e.g. sudo apt-get install vim
)
Why am I getting these errors?
Is this related to the fact that I was never able to get my computer to reboot properly and it freezes every time I go to the Start Menu to Leave and either Reboot or Shutdown? I have to hold down the power button and manually shut down. I have no other issues with Debian 10 Buster so far.
EDIT:
I was able to execute sudo apt-get upgrade
as well as install vim successfully by turning acpi off temporarily through the GRUB menu. It also reboots/shuts down properly through the GUI. However I still can't figure out how to get my computer to reboot the proper way via the GUI without acpi=off
. I don't want to turn acpi off permanently because according to this post, it's not recommended to do that if you have a laptop. It does lead me to believe it's an ACPI issue though.
I tried the following methods:
Editing
/etc/default/grub
as follows:GRUB_CMDLINE_LINUX_DEFAULT="splash quiet noefi reboot=pci"
then running:
sudo update-grub
/etc/default/grub
:GRUB_CMDLINE_LINUX_DEFAULT="splash quiet acpi=force apm=power_off
and
/etc/modules
:apm power_off=1
then
sudo update-grub
Deleting
splash
andquiet
from the grub fileDisabling nouveau kernel driver as described here: https://askubuntu.com/questions/841876/how-to-disable-nouveau-kernel-driver
However, none of these methods worked. I am booting in UEFI mode. Does anyone have other suggestions I can try?
EDIT 2 After doing a fresh install of Debian Buster, I ran into the same issue. I even updated the Linux kernel. In fact, on top of the rebooting issue, my computer froze whenever I opened Firefox. I ended up fixing these issues by disabling the nouveau kernel drivers. I also installed the proprietary NVIDIA GPU drivers, but as of this update, I have not gotten them to load yet, so disabling the nouveau kernel drivers was enough. Hopefully, this will help someone else out there who experienced the same issues as I did.
acpi=off
before runningapt
? Instructions here.grub
menu ande
to installnvidia-legacy-check_418.113-1_amd64.deb
. Don't know if this works, but may be worth a try.sudo apt-get upgrade
andsudo apt -y install vim
successfully! Also I was able to reboot my laptop via the Start Menu -> Leave -> Reboot. However, since I had only temporarily turned acpi off, when I tried rebooting again through the Start Menu (while acpi was on), it froze as usual. So I'm still not sure how to reboot the proper way without permanently turning acpi off.