Update on the issue: Seems like the fallback initramfs is not really a solution after all. There are cases in which it does not work. I want to narrow down the problem and see if it’s nvidia related, cpu related or something else. I wonder: How can I disable nvidia-prime/nvidia and only use intel drivers?
in this case i would just uninstall the nvidia drivers … check with this command what you have installed:
mhwd -li
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime 2021.12.18 false PCI
video-modesetting 2020.01.13 true PCI
video-linux 2018.05.04 true PCI
Warning: No installed USB configs!
Just uninstall video-hybrid-intel-nvidia-prime
?
yes uninstall them with:
sudo mhwd -r pci video-hybrid-intel-nvidia-prime
and you could uninstall also modesetting, just to be sure:
sudo mhwd -r pci video-modesetting
reboot
lsmod | grep nvidia
returns nothing so I guess this removed nvidia completely. However, the issue persists. I test it by suspending and then waking the computer for a couple of times and I know the issue is there if at least one time I can’t return from suspend.
This proves that it isn’t nvidia driver related I guess. What should I test next?
well, you can install them again with:
sudo mhwd -i pci video-hybrid-intel-nvidia-prime
sudo mhwd -i pci video-modesetting
- this dont install yet, if youre going to uninstall the linux drivers
you can try uninstalling the linux drivers:
sudo mhwd -r pci video-linux
It seems like video-modesetting
is required by video-hybrid-intel-nvidia-prime
.
Btw, if the forum gets polluted with the constant pings maybe I could move this discussion to somewhere else e.g. discord?
i dont have a discord… and it doesnt matter that it polutes, this could help others so its better to keep it here… post the output from:
mhwd -l
- to see what drivers are available for you
~ mhwd -l
> 0000:01:00.0 (0302:10de:139a) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime 2021.12.18 false PCI
video-hybrid-intel-nvidia-470xx-prime 2021.12.18 false PCI
video-hybrid-intel-nvidia-390xx-bumblebee 2021.12.18 false PCI
video-nvidia 2021.12.18 false PCI
video-nvidia-470xx 2021.12.18 false PCI
video-nvidia-390xx 2021.12.18 false PCI
video-linux 2018.05.04 true PCI
> 0000:03:00.1 (0200:10ec:8168) Network controller Realtek Semiconductor Co., Ltd.:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
network-r8168 2016.04.20 true PCI
> 0000:00:02.0 (0300:8086:191b) Display controller Intel Corporation:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime 2021.12.18 false PCI
video-hybrid-intel-nvidia-470xx-prime 2021.12.18 false PCI
video-hybrid-intel-nvidia-390xx-bumblebee 2021.12.18 false PCI
video-linux 2018.05.04 true PCI
video-modesetting 2020.01.13 true PCI
video-vesa 2017.03.12 true PCI
Some logs from the last unsuccessful boot. The boot hung at the blinking cursor right before the login screen:
~ journalctl --boot=-1 -p3 | sed "s/$HOSTNAME/HOST/gI" | sed "s/$USER/USER/gI"
Απρ 30 16:07:08 HOST kernel: DMAR: [Firmware Bug]: No firmware reserved region can cover this RMRR [0x0000000078800000-0x000000007affffff], contact BIOS vendor for fixes
Απρ 30 16:07:08 HOST kernel: x86/cpu: SGX disabled by BIOS.
Απρ 30 16:07:09 HOST kernel:
Απρ 30 16:07:09 HOST kernel: tpm_crb MSFT0101:00: [Firmware Bug]: ACPI region does not cover the entire command/response buffer. [mem 0xfed40000-0xfed4087f flags 0x200] vs fed40080 f80
Απρ 30 16:07:09 HOST kernel: tpm_crb MSFT0101:00: [Firmware Bug]: ACPI region does not cover the entire command/response buffer. [mem 0xfed40000-0xfed4087f flags 0x200] vs fed40080 f80
Απρ 30 16:07:10 HOST kernel: Bluetooth: hci0: unexpected event for opcode 0xfc2f
Απρ 30 16:07:42 HOST kernel: ACPI Error: Aborting method \_SB.PCI0.PGON due to previous error (AE_AML_LOOP_TIMEOUT) (20210730/psparse-529)
Απρ 30 16:07:42 HOST kernel: ACPI Error: Aborting method \_SB.PCI0.PEG0.PG00._ON due to previous error (AE_AML_LOOP_TIMEOUT) (20210730/psparse-529)
Απρ 30 16:07:44 HOST kernel: nvidia 0000:01:00.0: can't change power state from D3cold to D0 (config space inaccessible)
Απρ 30 16:09:06 HOST systemd[1]: Failed unmounting /tmp.
so install nvidia drivers:
sudo mhwd -i pci video-nvidia
maybe this could be something: Failed unmounting /tmp.
EDIT: its probably not, since its related to shutdown/reboot not booting
Doesn’t boot at all. Should I try a different driver? Should I install Ubuntu ? I’m on chroot from a live ubuntu usb
dont need to chroot tty would be enough… so uninstall the nvidia drivers:
sudo mhwd -r pci video-nvidia
,
and install again the hybrid with modesetting:
sudo mhwd -i pci video-hybrid-intel-nvidia-prime
sudo mhwd -i pci video-modesetting
dont install again the video linux, lets try only with those 2
edit: i dont know if it would help installing ubuntu, since you had the same issues on previous install…
Tty doesn’t work. I have already tried The combination you suggested. The annoying thing is that I can’t see any logs for my problem. How am I supposed to find a solution?
well at least it looks like its not related to graphics drivers… you searching for logs level 3, try searching for log level 5, maybe there will be something