kubuntu 24.04 keep freezing randomly

Bug #2071854 reported by Kashad J Turner-Warren
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
New
Undecided
Unassigned

Bug Description

Ever since upgrading from kubuntu 23.10 to 24.04, I have been having problems freezing randomly.
I have reset my laptop three times and it still freeze it.

I reported to askubuntu.com: https://askubuntu.com/questions/1519080/kubuntu-24-04-keep-freezing

Also on acpi package team on launchpad: https://bugs.launchpad.net/ubuntu/+source/acpi/+bug/2071537

No one responded. I need help please.

Here are the outputs:

https://app.warp.dev/block/7d4UrncRzWb729eiBa1cu6
https://app.warp.dev/block/L25W2jITJNb4SATHZv7H8X
https://app.warp.dev/block/7UsgVyxHQtZl9Y7xeMW5xq

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: linux-image-6.8.0-36-generic 6.8.0-36.36
ProcVersionSignature: Ubuntu 6.8.0-36.36-generic 6.8.4
Uname: Linux 6.8.0-36-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/seq: krillavilla 12299 F.... pipewire
 /dev/snd/controlC0: krillavilla 12303 F.... wireplumber
 /dev/snd/controlC1: krillavilla 12303 F.... wireplumber
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Wed Jul 3 13:15:23 2024
InstallationDate: Installed on 2024-07-02 (1 days ago)
InstallationMedia: Kubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240425.1)
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 001 Device 002: ID 05ac:12a8 Apple, Inc. iPhone 5/5C/5S/6/SE/7/8/X/XR
 Bus 001 Device 003: ID 05c8:03ab Cheng Uei Precision Industry Co., Ltd (Foxlink) HP Wide Vision HD Camera
 Bus 001 Device 004: ID 8087:0029 Intel Corp. AX200 Bluetooth
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
MachineType: HP OMEN by HP Laptop
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.8.0-36-generic root=UUID=1726672d-766b-4b36-8ba2-190f8ffaa3d9 ro
RelatedPackageVersions:
 linux-restricted-modules-6.8.0-36-generic N/A
 linux-backports-modules-6.8.0-36-generic N/A
 linux-firmware 20240318.git3b128b60-0ubuntu2.1
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/07/2021
dmi.bios.release: 15.16
dmi.bios.vendor: AMI
dmi.bios.version: F.16
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 8466
dmi.board.vendor: HP
dmi.board.version: 68.22
dmi.chassis.type: 10
dmi.chassis.vendor: HP
dmi.chassis.version: Chassis Version
dmi.ec.firmware.release: 68.22
dmi.modalias: dmi:bvnAMI:bvrF.16:bd07/07/2021:br15.16:efr68.22:svnHP:pnOMENbyHPLaptop:pvr:rvnHP:rn8466:rvr68.22:cvnHP:ct10:cvrChassisVersion:sku4CC49UA#ABA:
dmi.product.family: 103C_5335KV HP OMEN
dmi.product.name: OMEN by HP Laptop
dmi.product.sku: 4CC49UA#ABA
dmi.sys.vendor: HP

Revision history for this message
Kashad J Turner-Warren (krillavilla) wrote :
Revision history for this message
Matthew Ruffell (mruffell) wrote :

Hi Kashad,

Firstly, lets get you a nice stable kernel for you to use in the meantime.
You mentioned 23.10 worked okay right? So let's get you back on that 6.5
kernel.

I don't usually recommend mixing 23.10 and 24.04 packages, but it will be
alright for the kernel.

We are going to release 6.5.0-44-generic next week, but you can have it now:
https://launchpad.net/ubuntu/+source/linux/6.5.0-44.44

$ wget http://launchpadlibrarian.net/734013938/linux-headers-6.5.0-44-generic_6.5.0-44.44_amd64.deb
$ wget http://launchpadlibrarian.net/734013939/linux-headers-6.5.0-44_6.5.0-44.44_all.deb
$ wget http://launchpadlibrarian.net/734580619/linux-image-6.5.0-44-generic_6.5.0-44.44_amd64.deb
$ wget http://launchpadlibrarian.net/734013945/linux-modules-6.5.0-44-generic_6.5.0-44.44_amd64.deb
$ wget http://launchpadlibrarian.net/734013946/linux-modules-extra-6.5.0-44-generic_6.5.0-44.44_amd64.deb
$ sudo dpkg -i ./linux-*
$ sudo rm ./linux-*

$ sudo nano /etc/default/grub
Change
GRUB_TIMEOUT=0 to 30.
GRUB_TIMEOUT_STYLE=hidden to menu

ctrl-o (save) ctrl-x (quit).

$ sudo update-grub
$ sudo reboot

You will get a graphical grub menu. Select Advanced options for Ubuntu, and
the 6.5.0-44-generic kernel and you should be back into 23.10's kernel.
Unplug and plug the charger. Does it work?

If it does, use that till we figure this out for 6.8.

Now, would it be possible for you to try the latest mainline kernel, to see if
it has been fixed upstream?

We seem to have builds for 6.10-rc4, so we are going to have to use that:

https://kernel.ubuntu.com/mainline/v6.10-rc4/

Now, your nvidia driver might not work for this kernel, so just be aware. This
kernel isn't secureboot signed either, so maybe turn that off too.

$ wget https://kernel.ubuntu.com/mainline/v6.10-rc4/amd64/linux-headers-6.10.0-061000rc4-generic_6.10.0-061000rc4.202406161734_amd64.deb
$ wget https://kernel.ubuntu.com/mainline/v6.10-rc4/amd64/linux-headers-6.10.0-061000rc4_6.10.0-061000rc4.202406161734_all.deb
$ wget https://kernel.ubuntu.com/mainline/v6.10-rc4/amd64/linux-image-unsigned-6.10.0-061000rc4-generic_6.10.0-061000rc4.202406161734_amd64.deb
$ wget https://kernel.ubuntu.com/mainline/v6.10-rc4/amd64/linux-modules-6.10.0-061000rc4-generic_6.10.0-061000rc4.202406161734_amd64.deb
$ sudo dpkg -i ./linux-*
$ sudo reboot

Select the 6.10-rc4 kernel this time. Boot. Plug the charger in and remove.
Do you get ACPI errors / crash?

Let me know. If it does, we will need to track down where it gets fixed and
backport to 6.8. If it doesn't we will need to write to the ACPI maintainer
and develop a fix.

Thanks,
Matthew

Revision history for this message
Kashad J Turner-Warren (krillavilla) wrote :

Thank You for your response Matthew

I will be open to trying the new mainline stream 6.10-rc4.
Should I put my Nvidia in X.Org Server mode, or will it still not work?

Revision history for this message
Kashad J Turner-Warren (krillavilla) wrote :

I boot up to the 6.10-rc4 kernel using nvidia X.org configuration. Here are my logs:

https://app.warp.dev/block/jv2ZBzuQS2vyGDkEiz0LLQ
https://app.warp.dev/block/A55ODCqgKZcBz4mpALgCWp
https://app.warp.dev/block/tFVkJTUqYyAxoyPbQnLHJB

I plug my charger into my laptop, which has not frozen.
I have assignments which require me using pycharm so I will keep using 6.10-rc4 kernel and give you updates by tomorrow

Revision history for this message
Matthew Ruffell (mruffell) wrote :

Hi Kashad,

Great to hear so far. Definitely work on your assignment. Let me know how
6.10-rc4 goes over the next day or two.

Thanks,
Matthew

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.