You are not logged in.

#1 2024-08-12 02:14:57

Nuke1999
Member
Registered: 2024-08-12
Posts: 5

Laptop Freezes Completely [SOLVED]

As stated above, my laptop, a Lenovo Yoga Pro 9 16IMH9 keeps freezing, about 15-20 minutes after booting up, while performing regular tasks (messing with System Settings, doing stuff on Chrome, turning on Bluetooth, etc.) Nothing I do will get it out of this freezed state, besides a hard reboot. Interestingly enough, if audio is playing when this happens, it keeps repeating the last 0.5 seconds of the audio, until I perform a hard shutdown.

System Information:

Operating System: Arch Linux
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.6.44-3-lts (64-bit)
Graphics Platform: X11
Processors: 22 × Intel® Core™ Ultra 9 185H
Memory: 31.0 GiB of RAM
Graphics Processor: Mesa Intel® Arc
Manufacturer: LENOVO
Product Name: 83DN
System Version: Yoga Pro 9 16IMH9

Journal logs: https://termbin.com/cjc0

This laptop comes with a dGPU nvidia 4060, for context. I have TLP placing it in a lowe power state when I am not using it.

Last edited by Nuke1999 (2024-08-13 00:21:52)

Offline

#2 2024-08-12 06:01:26

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,355
Website

Re: Laptop Freezes Completely [SOLVED]

Looks like you need the intel-ucode package. Make sure it is applied correctly: https://wiki.archlinux.org/title/Microcode


Para todos todo, para nosotros nada

Offline

#3 2024-08-12 08:20:32

seth
Member
Registered: 2012-09-03
Posts: 59,176

Re: Laptop Freezes Completely [SOLVED]

https://bbs.archlinux.org/viewtopic.php?id=293400&p=4
Next to the suggested 550xx driver or nvidia-open you can test https://aur.archlinux.org/packages/nvidia-535xx-dkms/

If this all doesn't help you out, you need to debug the panic: https://wiki.archlinux.org/title/Kdump
The arch kernels have all the required config options set, you don't have to compile your own kernel for this.

Online

#4 2024-08-12 15:28:03

fish4terrisa-MSDSM
Member
Registered: 2023-08-13
Posts: 20

Re: Laptop Freezes Completely [SOLVED]

Maybe it's caused by the problem noted here: https://forums.developer.nvidia.com/t/n … all-trace/
As mentioned in the forum, try to install nvidia-open-beta[-dkms] in aur, the newer version of nvidia driver contains a fix, and the nvidia driver version in the archlinux repo is too old

Offline

#5 2024-08-12 17:26:47

Nuke1999
Member
Registered: 2024-08-12
Posts: 5

Re: Laptop Freezes Completely [SOLVED]

Head_on_a_Stick wrote:

Looks like you need the intel-ucode package. Make sure it is applied correctly: https://wiki.archlinux.org/title/Microcode

Thanks for the answer; I already had intel-ucode, but updated nonetheless via:

[josh@archlinux ~]$ sudo pacman -S intel-ucode iucode-tool
[sudo] password for josh: 
warning: intel-ucode-20240531-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (2) intel-ucode-20240531-1  iucode-tool-2.3.1-5

Total Download Size:    0.03 MiB
Total Installed Size:  20.15 MiB
Net Upgrade Size:       0.06 MiB

:: Proceed with installation? [Y/n] Y

Then ensure Microcode is Included in the Initramfs via:

[josh@archlinux ~]$ lsinitcpio /boot/initramfs-linux.img | grep microcode
kernel/x86/microcode/
kernel/x86/microcode/GenuineIntel.bin

Then verified GRUB is configured to run the microcode via:

[josh@archlinux ~]$ grep -i "initrd" /boot/grub/grub.cfg
        initrd  /intel-ucode.img /initramfs-linux-lts.img
                initrd  /intel-ucode.img /initramfs-linux-lts.img
                initrd  /intel-ucode.img /initramfs-linux-lts-fallback.img
                initrd  /intel-ucode.img /initramfs-linux.img
                initrd  /intel-ucode.img /initramfs-linux-fallback.img

I am also verifying early loading of microcode via:

[josh@archlinux ~]$ sudo dmesg | grep microcode
[    0.837614] microcode: Microcode Update Driver: v2.2.

Does this meet the intention of your suggestion?

Offline

#6 2024-08-12 18:54:26

Nuke1999
Member
Registered: 2024-08-12
Posts: 5

Re: Laptop Freezes Completely [SOLVED]

seth wrote:

https://bbs.archlinux.org/viewtopic.php?id=293400&p=4
Next to the suggested 550xx driver or nvidia-open you can test https://aur.archlinux.org/packages/nvidia-535xx-dkms/

If this all doesn't help you out, you need to debug the panic: https://wiki.archlinux.org/title/Kdump
The arch kernels have all the required config options set, you don't have to compile your own kernel for this.

Thanks for answering; would the suggestion of these drivers still be relevant if the default graphics are Mesa Intel Arc, from the iGPU? I thought the only way to utilize (and thus, run into problems with) the dGPU was by explicitly calling it, via prime-run. However, I have limited knowledge in this, as I started delving into Arch Linux ~ 3 days ago. Regardless, I have kdumpst setup, and will be sharing once the kernel panics again.

Offline

#7 2024-08-12 19:57:15

seth
Member
Registered: 2012-09-03
Posts: 59,176

Re: Laptop Freezes Completely [SOLVED]

still be relevant if the default graphics are Mesa Intel Arc, from the iGPU?

The nvidia kernel modules are still loaded, so yes.

Online

#8 2024-08-12 20:54:12

Nuke1999
Member
Registered: 2024-08-12
Posts: 5

Re: Laptop Freezes Completely [SOLVED]

seth wrote:

still be relevant if the default graphics are Mesa Intel Arc, from the iGPU?

The nvidia kernel modules are still loaded, so yes.

I see, okay I rolled the drivers back from 555.58.02 and CUDA Version 12.5 (as seen from nvidia-smi) to 535.183.01, CUDA Version 12.2. Regarding the kdump, I have been able to get a vmcore and kdumpst.zip from when the system froze, however, I am not sure how to share it here. I looked at the General guidelines for posting, but don't see anything that talks about uploading big files (the vmcore is ~ 700MB in size). Should I just upload to mediafire, and include the link in a post? I'll only do so if the nvidia driver rollback does not work.

Last edited by Nuke1999 (2024-08-12 20:54:36)

Offline

#9 2024-08-12 21:53:01

seth
Member
Registered: 2012-09-03
Posts: 59,176

Re: Laptop Freezes Completely [SOLVED]

No need to share the kernel memory dump with probably some porn and possibly some passwords cached…
https://wiki.archlinux.org/title/Kdump# … _core_dump
In crash, try "bt"

Online

#10 2024-08-13 00:24:39

Nuke1999
Member
Registered: 2024-08-12
Posts: 5

Re: Laptop Freezes Completely [SOLVED]

seth wrote:

No need to share the kernel memory dump with probably some porn and possibly some passwords cached…
https://wiki.archlinux.org/title/Kdump# … _core_dump
In crash, try "bt"

Thanks to everyone who suggested something, it seems like rolling back the nvidia drivers to 535.183.01 (CUDA Version 12.2) solved my problem. Also, thanks for the warning regarding the memory dump & what it may contain, I was under the impression it was just the most verbose logs possible.

Offline

Board footer

Powered by FluxBB