You are not logged in.

#1 2024-05-05 00:44:00

BlessedLongsword
Member
Registered: 2024-04-30
Posts: 19

Crashes, kernel panics and other issues on HP Victus

Hello,

I have an HP Victus 16-d1033ns since September 2023 which only has had Ubuntu 22.04 and Arch (current distro). The issues I've had have happened on both distributions. Very occasionally, especially after long sessions, when I shtudown my laptop, the screen turns off but the laptop is still powered and its fans running. Once, by mistake, I put my laptop without confirming it was actually off and it stayed there for around an hour and a half and when I realised, the laptop was very hot (after turning it off and rebooting sensor displayed around 80º so I supposed it may have reached 100º for some time).

From that moment, also ocasionally, the laptop does a very weird crash, in which first the screen freezes, then the audio bugs, then the caps lock key starts blinking and, finally, my laptop hard reboots on its own. In this state, I can't REISUB.

The crashes 99% of the time have happened while using Genymotion, but today happened while running a game so I got a little concerned. The journal logs around the time of the crash are the following:

May 05 01:52:47 Antonio rtkit-daemon[1004]: The canary thread is apparently starving. Taking action.
May 05 01:52:39 Antonio baloo_file_extractor[18815]: qt.core.qobject.connect: QObject::connect(KAbstractIdleTimePoller, KIdleTime): invalid nullptr parameter
May 05 01:52:39 Antonio baloo_file_extractor[18815]: qt.core.qobject.connect: QObject::connect(KAbstractIdleTimePoller, KIdleTime): invalid nullptr parameter
May 05 01:52:39 Antonio baloo_file_extractor[18815]: kf.idletime: Could not find any system poller plugin
May 05 01:45:00 Antonio kernel: ACPI Error: Aborting method \_SB.PC00.LPCB.EC0._Q33 due to previous error (AE_NOT_EXIST) (20230628/psparse-529)
May 05 01:45:00 Antonio kernel: ACPI Error: Region SystemCMOS (ID=5) has no handler (20230628/exfldio-261)
May 05 01:45:00 Antonio kernel: ACPI Error: No handler for Region [CMS0] (000000009e117a6d) [SystemCMOS] (20230628/evregion-130)
May 05 01:44:29 Antonio wpa_supplicant[742]: wlp5s0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
May 05 01:39:24 Antonio plasmashell[16591]: [16591:0505/013924.415457:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 196608 times!
May 05 01:33:37 Antonio plasmashell[16545]: legacyModuleUpdater: update-check-finished
May 05 01:33:37 Antonio plasmashell[16545]: 2024-05-04T23:33:37.263Z [Modules] No module updates available.
May 05 01:33:37 Antonio plasmashell[16545]: 2024-05-04T23:33:37.234Z [Modules] Checking for module updates at https://discord.com/api/modules/stable/versions.json
May 05 01:33:37 Antonio plasmashell[16545]: 2024-05-04T23:33:37.234Z [Modules] Host is up to date.
May 05 01:33:37 Antonio plasmashell[16545]: 2024-05-04T23:33:37.060Z [Modules] Checking for host updates.
May 05 01:33:37 Antonio plasmashell[16545]: mainScreen.UpdaterEvents: CHECK_FOR_UPDATES UPDATE_NOT_AVAILABLE
May 05 01:33:37 Antonio plasmashell[16669]: DiscordProcessObserver: Skippin
May 05 01:29:13 Antonio wpa_supplicant[742]: wlp5s0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
May 05 01:24:49 Antonio baloo_file_extractor[18547]: qt.core.qobject.connect: QObject::connect(KAbstractIdleTimePoller, KIdleTime): invalid nullptr parameter
May 05 01:24:49 Antonio baloo_file_extractor[18547]: qt.core.qobject.connect: QObject::connect(KAbstractIdleTimePoller, KIdleTime): invalid nullptr parameter
May 05 01:24:49 Antonio baloo_file_extractor[18547]: kf.idletime: Could not find any system poller plugin
May 05 01:24:37 Antonio baloo_file_extractor[18537]: qt.core.qobject.connect: QObject::connect(KAbstractIdleTimePoller, KIdleTime): invalid nullptr parameter
May 05 01:24:37 Antonio baloo_file_extractor[18537]: qt.core.qobject.connect: QObject::connect(KAbstractIdleTimePoller, KIdleTime): invalid nullptr parameter
May 05 01:24:37 Antonio baloo_file_extractor[18537]: kf.idletime: Could not find any system poller plugin

I have also ran memtests and all passed without issues. HP BIOS's built-in hardware diagnostics passed all tests too after a couple of iterations.

I do not know if this is the best place to ask and I apologize if it is out of place but if you have any tips on how to troubleshoot this, properly test if it is a hardware issue (and which specifically), or how to manage the situation in general, could you share them with me?

Also, is there any reason why the pc would not shut down completely sometimes?

Offline

#2 2024-05-05 13:28:19

seth
Member
Registered: 2012-09-03
Posts: 52,581

Re: Crashes, kernel panics and other issues on HP Victus

in which first the screen freezes, then the audio bugs, then the caps lock key starts blinking

That's a kernel panic

finally, my laptop hard reboots on its own

Does it go hot again?

AMD GPU?
https://bbs.archlinux.org/viewtopic.php?id=295199&p=3
https://bbs.archlinux.org/viewtopic.php … 8#p2167928
https://bbs.archlinux.org/viewtopic.php?id=295171

Offline

#3 2024-05-05 17:31:11

BlessedLongsword
Member
Registered: 2024-04-30
Posts: 19

Re: Crashes, kernel panics and other issues on HP Victus

Does it go hot again?

I am not entirely sure of what you mean by going hot. If you are referring to the temperature of the device components they were stable (~40 degrees, before the crash happens and ~35 after it). 

AMD GPU?

No, nvidia. I've had the crash happen when using both gpus (intel integrated + nvidia dedicated) and when using only nvidia.

Edit:
I am using the latest drivers:

+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.78                 Driver Version: 550.78         CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 3060 ...    Off |   00000000:01:00.0  On |                  N/A |
| N/A   33C    P8             15W /   80W |      96MiB /   6144MiB |     23%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A       740      G   /usr/lib/Xorg                                  83MiB |
+-----------------------------------------------------------------------------------------+

Last edited by BlessedLongsword (2024-05-05 17:33:38)

Offline

#5 2024-05-05 20:55:34

BlessedLongsword
Member
Registered: 2024-04-30
Posts: 19

Re: Crashes, kernel panics and other issues on HP Victus

It does not seem to be working, my external monitors' screens are black when I set optimus-manager to run hybrid, I can only use built-in right now.

These are the steps I followed, I'm rather new here so I may have missed something:

- sudo pacman -S dkms
- sudo pacman -S linux*-headers (lts, zen and hardened, base ones were already installed)
- sudo pacman -S
- sudo pacman -Rdd nvidia-utils
- yay -S nvidia-535xx-utils

I noticed in the AUR page that the package has conflicts with nvidia and nvidia-dkms. Should I have removed them before installing too?

Offline

#6 2024-05-05 21:25:36

seth
Member
Registered: 2012-09-03
Posts: 52,581

Re: Crashes, kernel panics and other issues on HP Victus

What's the output of

dkms status
pacman -Qs 'kernel|nvidia'

Offline

#7 2024-05-05 21:35:28

BlessedLongsword
Member
Registered: 2024-04-30
Posts: 19

Re: Crashes, kernel panics and other issues on HP Victus

[antonio@Antonio ~]$ dkms status
nvidia/550.78, 6.8.9-arch1-1, x86_64: installed
[antonio@Antonio ~]$ pacman -Qs 'kernel|nvidia'
local/dkms 3.0.12-1
    Dynamic Kernel Modules System
local/egl-wayland 2:1.1.13-1
    EGLStream-based Wayland external platform
local/fuse3 3.16.2-1
    Interface for userspace programs to export a filesystem to the Linux kernel
local/iptables 1:1.8.10-1
    Linux kernel packet control tool (using legacy interface)
local/kmod 32-1
    Linux kernel module management tools and library
local/lib32-libdrm 2.4.120-1
    Userspace interface to kernel DRM services (32-bit)
local/lib32-nvidia-utils 550.78-1
    NVIDIA drivers utilities (32-bit)
local/libdrm 2.4.120-1
    Userspace interface to kernel DRM services
local/libnetfilter_conntrack 1.0.9-2
    Library providing an API to the in-kernel connection tracking state table
local/libnfnetlink 1.0.2-2
    Low-level library for netfilter related kernel/userspace communication
local/libsysprof-capture 46.0-2
    Kernel based performance profiler - capture library
local/libvdpau 1.5-2
    Nvidia VDPAU library
local/libxnvctrl 550.78-1
    NVIDIA NV-CONTROL X extension
local/linux 6.8.9.arch1-1
    The Linux kernel and modules
local/linux-api-headers 6.7-1
    Kernel headers sanitized for use in userspace
local/linux-hardened-headers 6.8.9.hardened1-1
    Headers and scripts for building modules for the Security-Hardened Linux kernel
local/linux-headers 6.8.9.arch1-1
    Headers and scripts for building modules for the Linux kernel
local/linux-lts-headers 6.6.30-1
    Headers and scripts for building modules for the LTS Linux kernel
local/linux-zen-headers 6.8.9.zen1-1
    Headers and scripts for building modules for the Linux ZEN kernel
local/mtdev 1.1.6-2
    A stand-alone library which transforms all variants of kernel MT events to the slotted type B protocol
local/nvidia-535xx-utils 535.171.04-1
    NVIDIA drivers utilities, 535 branch
local/nvidia-dkms 550.78-1
    NVIDIA drivers - module sources
local/nvidia-settings 550.78-1
    Tool for configuring the NVIDIA graphics driver

Offline

#8 2024-05-05 21:43:56

seth
Member
Registered: 2012-09-03
Posts: 52,581

Re: Crashes, kernel panics and other issues on HP Victus

local/lib32-nvidia-utils 550.78-1
local/nvidia-535xx-utils 535.171.04-1
local/nvidia-dkms 550.78-1
local/nvidia-settings 550.78-1
local/libxnvctrl 550.78-1

You've nvidia-535xx-utils but the dkms and all other packages are (still) 550.78

yay -S nvidia-535xx-dkms

Or just

dkms remove nvidia/nvidia/550.78 --all
git clone https://aur.archlinux.org/nvidia-535xx-utils.git
cd nvidia-535xx-utils
makepkg -i
dkms autoinstall # if the 535-dkms package installation didn't trigger that anyway

Offline

#9 2024-05-05 22:01:20

BlessedLongsword
Member
Registered: 2024-04-30
Posts: 19

Re: Crashes, kernel panics and other issues on HP Victus

Perfect! Thank you as always seth!

I won't know in a while if this solved the crashes in my case. Should I mark as solved for now and change it in the future if the issue persists?

Offline

#10 2024-05-07 11:35:46

BlessedLongsword
Member
Registered: 2024-04-30
Posts: 19

Re: Crashes, kernel panics and other issues on HP Victus

I can confirm that I am still getting kernel panics. I didn't get any yesterday but today I got twice while using Genymotion. Will try to see if I get them in other apps and if it depends wether I am using hybrid or nvidia only. Is there anything else that I should share?

Offline

#11 2024-05-07 13:38:50

seth
Member
Registered: 2012-09-03
Posts: 52,581

Re: Crashes, kernel panics and other issues on HP Victus

If we can't pin the cause you'll have to employ https://wiki.archlinux.org/title/Kdump to catch the halting kernel.
Reboot into your normal session.
Run

lsmod > ~/lsmod.good

Start genymotion as you'd do usually

lsmod > ~/lsmod.bad
diff -u1 lsmod.good lsmod.bad

Offline

#12 2024-05-07 13:48:27

BlessedLongsword
Member
Registered: 2024-04-30
Posts: 19

Re: Crashes, kernel panics and other issues on HP Victus

--- lsmod.good  2024-05-07 15:45:25.273334727 +0200
+++ lsmod.bad   2024-05-07 15:46:40.706669472 +0200
@@ -9,3 +9,3 @@
 ledtrig_audio          12288  1 snd_ctl_led
-snd_soc_skl_hda_dsp    24576  4
+snd_soc_skl_hda_dsp    24576  6
 snd_soc_hdac_hdmi      45056  1 snd_soc_skl_hda_dsp
@@ -32,3 +32,3 @@
 intel_uncore_frequency_common    16384  1 intel_uncore_frequency
-snd_sof_pci_intel_tgl    12288  0
+snd_sof_pci_intel_tgl    12288  4
 snd_sof_intel_hda_common   249856  1 snd_sof_pci_intel_tgl
@@ -46,3 +46,3 @@
 snd_soc_hdac_hda       28672  1 snd_sof_intel_hda_common
-kvm_intel             425984  0
+kvm_intel             425984  10
 snd_hda_ext_core       36864  5 snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_sof_intel_hda_mlink,snd_sof_intel_hda
@@ -89,3 +89,3 @@
 videobuf2_memops       16384  1 videobuf2_vmalloc
-i915                 4227072  42
+i915                 4227072  80
 btbcm                  24576  1 btusb
@@ -104,3 +104,3 @@
 drm_buddy              20480  2 xe,i915
-snd_pcm               212992  12 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_compress,snd_soc_core,snd_sof_utils,snd_hda_core,snd_pcm_dmaengine
+snd_pcm               212992  14 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_compress,snd_soc_core,snd_sof_utils,snd_hda_core,snd_pcm_dmaengine
 r8169                 114688  0
@@ -139,3 +139,3 @@
 processor_thermal_power_floor    12288  2 processor_thermal_device_pci,processor_thermal_device
-snd                   159744  27 snd_ctl_led,snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_soc_hdac_hdmi,snd_compress,snd_soc_core,snd_pcm
+snd                   159744  29 snd_ctl_led,snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_soc_hdac_hdmi,snd_compress,snd_soc_core,snd_pcm
 platform_profile       12288  1 hp_wmi

Offline

#13 2024-05-07 14:18:12

seth
Member
Registered: 2012-09-03
Posts: 52,581

Re: Crashes, kernel panics and other issues on HP Victus

So it's unfortunately not loading any new modules we could blame sad
When you're running genymotion, do you typically attach an andoid USB device?

Offline

#14 2024-05-07 14:32:04

BlessedLongsword
Member
Registered: 2024-04-30
Posts: 19

Re: Crashes, kernel panics and other issues on HP Victus

No, the crashes happen with absolutely nothing plugged in my device. No external monitors, no bluetooth devices no usb, nothing. I will install and set up kdumpst and crash. Whenever this happens again I will try and provide the dump.

Unfortunately these crashes are very inconsistant and hard to reproduce. It's just launch Genymotion and pray. When it comes to other things like games or normal browsing I've had the crash happen, but it is extremely rare (highest frequency outside genymotion is once a day, assuming long sessions).

Offline

#15 2024-05-07 14:34:55

seth
Member
Registered: 2012-09-03
Posts: 52,581

Re: Crashes, kernel panics and other issues on HP Victus

Is genymotion particularly RAM hungry?
Do you use
- zram
- zswap
- regular-ass swap?

Offline

#16 2024-05-07 15:09:16

BlessedLongsword
Member
Registered: 2024-04-30
Posts: 19

Re: Crashes, kernel panics and other issues on HP Victus

It is quite RAM hungry but it should not exceed reasonable numbers. It usually sits between 2.5 and 3.5 GB (my device has 16GB of memory). It does use a garbage collector dependant on a VM Heap size though, I don't know if it has to do with anything, but I have it set up to 256MB per application, perhaps it's too small for RAM hungry apps?

Pretty sure I use regular-ass swap as I didn't perform any complicated steps during arch install. I just made a 8GB partition and swapon on it.

Offline

#17 2024-05-07 15:30:42

seth
Member
Registered: 2012-09-03
Posts: 52,581

Re: Crashes, kernel panics and other issues on HP Victus

zswap is default, try to disable it.
https://wiki.archlinux.org/title/Zswap

Offline

Board footer

Powered by FluxBB