Hello,

I apologize if this bug should have been reported to bugzilla.kernel.org 
instead, and I apologize if I fail to provide the needed info. I will try to 
provide a simple, concise, detailed report, but this is my first time ever 
reporting a bug, so I apologize in advance.

Hardware: MSI laptop with a intel 12700H CPU and a rtx 3060 laptop GPU.

Issue: system hangs on boot, stuck at "loading initial ramdisk...". The system 
shows that screen, then the screen goes black for a second, then goes back to 
that same screen and does not boot. On some instances, it does boot after 
forcing reboot (through the laptop power button), though not always. I couldn't 
determine what exactly made it work some times and not other times.

Kernel(s) the issue happens on: linux 7.1.4; linux 7.1.5 (not compiled, not 
linux-lts or any other variation).

Kernel parameters tried (on /etc/default/grub, running mkinitcpio -P and 
grub-mkconfig -o /boot/grub/grub.cfg): nvidia_drm.modeset=1; pcie_aspm=off; 
nvidia.GSP=0 (though, apparently my system does not support disabling GSP, so 
that is probably useless).

Kernel parameters I have had on: "loglevel=3 quiet apparmor=1 security=apparmor"

Nvidia driver: nvidia-open 610.43.03

Downgrading to 7.1.3-arch2-2 kernel fixed the issue.

Shutting down normally (not through the laptop power button) does not​​ fix the 
issue.

Pressing e while on the grub menu and including 'nomodeset' does make the 
system boot (though, of course, with the performance issues expected 
(especially being on wayland)).

I tried updating back to 7.1.5 without editing the kernel parameters and the 
issue came back, after having been fixed by downgrading to 7.1.3. The issue 
started with kernel 7.1.4 and is still present on kernel 7.1.5. Downgrading 
back to 7.1.3-arch2-2 fixed the issue again, showing that the issue probably 
lies within something related to the kernel, as nothing else (kernel 
parameters, apps, daemons, etc.) was changed.

------------------------------------------------------

Logs:

Output of "sudo dmesg | grep -i "nvidia\|drm\|gsp" | tail -30":

[ 2.825069] i915 0000:00:02.0: [drm] Using Transparent Hugepages
[ 2.827320] i915 0000:00:02.0: [drm] Finished loading DMC firmware 
i915/adlp_dmc.bin (v2.20)
[ 2.839340] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/adlp_guc_70.bin 
version 70.49.4
[ 2.839343] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 
7.9.3
[ 2.854099] i915 0000:00:02.0: [drm] GT0: HuC: authenticated for all workloads
[ 2.855043] i915 0000:00:02.0: [drm] GT0: GUC: submission enabled
[ 2.855045] i915 0000:00:02.0: [drm] GT0: GUC: SLPC enabled
[ 2.855499] i915 0000:00:02.0: [drm] GT0: GUC: RC enabled
[ 2.856042] i915 0000:00:02.0: [drm] Protected Xe Path (PXP) protected content 
support initialized
[ 2.859552] i915 0000:00:02.0: [drm] Registered 4 planes with drm panic
[ 2.869623] [drm] Initialized i915 1.6.0 for 0000:00:02.0 on minor 1
[ 2.873465] fbcon: i915drmfb (fb0) is primary device
[ 2.873478] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[ 8.890617] systemd[1]: Load Kernel Module drm skipped, unmet condition check 
ConditionKernelModuleLoaded=!drm
[ 8.974076] nvidia: loading out-of-tree module taints kernel.
[ 8.974097] nvidia: module verification failed: signature and/or required key 
missing - tainting kernel
[ 9.162752] nvidia: unknown parameter 'NVreg_EnableGSP' ignored
[ 9.162757] nvidia: unknown parameter 'GSP' ignored
[ 9.163219] nvidia-nvlink: Nvlink Core is being initialized, major device 
number 235
[ 9.167730] nvidia 0000:01:00.0: enabling device (0000 -> 0003)
[ 9.167905] nvidia 0000:01:00.0: vgaarb: VGA decodes changed: 
olddecodes=io+mem,decodes=none:owns=none
[ 9.213749] NVRM: loading NVIDIA UNIX Open Kernel Module for x86_64 610.43.03 
Release Build (root@)
[ 10.104390] nvidia-modeset: Loading NVIDIA UNIX Open Kernel Mode Setting 
Driver for x86_64 610.43.03 Release Build (root@)
[ 10.113046] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[ 10.440648] input: HDA NVidia HDMI/DP,pcm=3 as 
/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input30
[ 10.440719] input: HDA NVidia HDMI/DP,pcm=7 as 
/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input31
[ 10.440776] input: HDA NVidia HDMI/DP,pcm=8 as 
/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input32
[ 10.440812] input: HDA NVidia HDMI/DP,pcm=9 as 
/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input33
[ 12.160059] [drm] Initialized nvidia-drm 0.0.0 for 0000:01:00.0 on minor 0
[ 12.160328] nvidia 0000:01:00.0: [drm] Cannot find any crtc or sizes

output of "journactl -b -1 | grep -i "nvidia\|drm\|gsp" | tail -30":

Jul 26 15:35:01 archlinux systemd[1]: Load Kernel Module fuse skipped, unmet 
condition check ConditionKernelModuleLoaded=!fuse
--
Jul 26 15:35:01 archlinux systemd[1]: proc-sys-fs-binfmt_misc.automount: Got 
automount request for /proc/sys/fs/binfmt_misc, triggered by 445 
((systemd-userd))
Jul 26 15:35:01 archlinux kernel: nvidia: loading out-of-tree module taints 
kernel.
Jul 26 15:35:01 archlinux systemd[1]: Finished Load/Save OS Random Seed.
Jul 26 15:35:01 archlinux kernel: nvidia: module verification failed: signature 
and/or required key missing - tainting kernel
Jul 26 15:35:01 archlinux systemd[1]: Finished Flush Journal to Persistent 
Storage.
Jul 26 15:35:01 archlinux kernel: nvidia: unknown parameter 'NVreg_EnableGSP' 
ignored
Jul 26 15:35:01 archlinux kernel: nvidia: unknown parameter 'GSP' ignored
Jul 26 15:35:01 archlinux kernel: nvidia-nvlink: Nvlink Core is being 
initialized, major device number 235
Jul 26 15:35:01 archlinux kernel:
Jul 26 15:35:01 archlinux kernel: nvidia 0000:01:00.0: enabling device (0000 -> 
0003)
Jul 26 15:35:01 archlinux kernel: nvidia 0000:01:00.0: vgaarb: VGA decodes 
changed: olddecodes=io+mem,decodes=none:owns=none
Jul 26 15:35:01 archlinux systemd[1]: Finished Coldplug All udev Devices.
Jul 26 15:35:01 archlinux kernel: NVRM: loading NVIDIA UNIX Open Kernel Module 
for x86_64 610.43.03 Release Build (root@)
Jul 26 15:35:01 archlinux systemd-modules-load[375]: Inserted module 
'nvidia_uvm'
Jul 26 15:35:01 archlinux systemd[1]: Finished Load Kernel Modules.
--
Jul 26 15:35:02 archlinux kernel: input: Intel HID events as 
/devices/platform/INTC1070:00/input/input19
Jul 26 15:35:02 archlinux kernel: nvidia-modeset: Loading NVIDIA UNIX Open 
Kernel Mode Setting Driver for x86_64 610.43.03 Release Build (root@)
Jul 26 15:35:02 archlinux kernel: mei_me 0000:00:16.0: enabling device (0000 -> 
0002)
--
Jul 26 15:35:02 archlinux kernel: i801_smbus 0000:00:1f.4: enabling device 
(0000 -> 0003)
Jul 26 15:35:02 archlinux kernel: [drm] [nvidia-drm] [GPU ID 0x00000100] 
Loading driver
Jul 26 15:35:02 archlinux kernel: i801_smbus 0000:00:1f.4: SPD Write Disable is 
set
--
Jul 26 15:35:04 archlinux systemd-logind[832]: New session '1' of user 'sddm' 
with class 'manager-early' and type 'unspecified'.
Jul 26 15:35:04 archlinux kernel: [drm] Initialized nvidia-drm 0.0.0 for 
0000:01:00.0 on minor 0
Jul 26 15:35:04 archlinux kernel: nvidia 0000:01:00.0: [drm] Cannot find any 
crtc or sizes
Jul 26 15:35:04 archlinux systemd[984]: Queued start job for default target 
Main User Target.

Apparmor does not seem to have any interference (no denied messages at all when 
booting shown by neither "dmesg | grep -i apparmor | tail -30", nor by 
"journalctl -b -1 | grep -i apparmor | tail -30")

-------------------------------

I don't know if I have forgotten or missed any important info. If there's any 
other info needed (or any other tests that I could do) and that I may be able 
to provide, please, feel free to ask!

Thank you!

Reply via email to