OS freez when opening an app/applet


I use Garuda KDE Dr460nized, and sometimes, when I try to launch an application (discord, firefox, ... anything like that) or an applet in the dock, the os just completely freez (even the mouse cursor), and if I have audio running, it loops the last second constantly.

When it happen, I have to manually reboot the laptop, which makes me loose time, progress on what I'm currently doing, and the last time it even corrupted some files.

I genuenly don't know why It's happening.
Do you have any idea on why It's doing that ?

I know that what I just might not be enough information, so feel free to ask !

So we don't waste time, post your inxi -Faz as requested in the template you just deleted.

Sorry, here it is :

System:    Kernel: 5.15.7-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=6ab2cc16-055e-40a7-9f7a-c866f1f90432
rw [email protected] quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1 loglevel=3
Desktop: KDE Plasma 5.23.4 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 1 dm: SDDM
Distro: Garuda Linux base: Arch Linux
Machine:   Type: Laptop System: ASUSTeK product: X555UB v: 1.0 serial: <superuser required>
Mobo: ASUSTeK model: X555UB v: 1.0 serial: <superuser required> UEFI: American Megatrends
v: X555UB.304 date: 04/24/2019
Battery:   ID-1: BAT0 charge: 18.2 Wh (100.0%) condition: 18.2/37.3 Wh (48.7%) volts: 7.6 min: 7.6
model: ASUSTeK ASUS Battery type: Li-ion serial: N/A status: Not charging cycles: 155
CPU:       Info: Dual Core model: Intel Core i5-6200U bits: 64 type: MT MCP arch: Skylake family: 6
model-id: 4E (78) stepping: 3 microcode: EA cache: L1: 128 KiB L2: 512 KiB L3: 3 MiB
flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19200
Speed: 2701 MHz min/max: 400/2800 MHz Core speeds (MHz): 1: 2701 2: 2706 3: 2712 4: 2747
Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2
mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:  Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: ASUSTeK driver: i915 v: kernel
bus-ID: 00:02.0 chip-ID: 8086:1916 class-ID: 0300
Device-2: NVIDIA GM108M [GeForce 940M] vendor: ASUSTeK driver: nvidia v: 495.46
alternate: nouveau,nvidia_drm bus-ID: 01:00.0 chip-ID: 10de:1347 class-ID: 0302
Device-3: Realtek USB2.0 VGA UVC WebCam type: USB driver: uvcvideo bus-ID: 1-6:5
chip-ID: 0bda:57de class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org compositor: kwin_x11 driver: loaded: modesetting,nvidia
display-ID: :0 screens: 1
Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1015x285mm (40.0x11.2") s-diag: 1054mm (41.5")
Monitor-1: eDP-1 res: 1920x1080 hz: 60 dpi: 142 size: 344x194mm (13.5x7.6") diag: 395mm (15.5")
Monitor-2: HDMI-2 res: 1920x1080 hz: 120 dpi: 92 size: 531x299mm (20.9x11.8") diag: 609mm (24")
Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:     Device-1: Intel Sunrise Point-LP HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
alternate: snd_soc_skl bus-ID: 00:1f.3 chip-ID: 8086:9d70 class-ID: 0403
Sound Server-1: ALSA v: k5.15.7-zen1-1-zen running: yes
Sound Server-2: JACK v: 1.9.19 running: no
Sound Server-3: PulseAudio v: 15.0 running: no
Sound Server-4: PipeWire v: 0.3.41 running: yes
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK driver: r8169
v: kernel port: d000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-2: Realtek RTL8723BE PCIe Wireless Network Adapter vendor: Lite-On driver: rtl8723be
v: kernel port: c000 bus-ID: 03:00.0 chip-ID: 10ec:b723 class-ID: 0280
IF: wlp3s0 state: down mac: <filter>
Bluetooth: Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8 bus-ID: 1-8:6
chip-ID: 0bda:b721 class-ID: e001 serial: <filter>
Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:    Local Storage: total: 931.51 GiB used: 37.09 GiB (4.0%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 EVO 1TB size: 931.51 GiB block-size:
physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 4B6Q scheme: GPT
Partition: ID-1: / raw-size: 50 GiB size: 50 GiB (100.00%) used: 37.07 GiB (74.1%) fs: btrfs
dev: /dev/sda5 maj-min: 8:5
ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%) used: 25.5 MiB (26.6%) fs: vfat
dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 50 GiB size: 50 GiB (100.00%) used: 37.07 GiB (74.1%) fs: btrfs
dev: /dev/sda5 maj-min: 8:5
ID-4: /var/log raw-size: 50 GiB size: 50 GiB (100.00%) used: 37.07 GiB (74.1%) fs: btrfs
dev: /dev/sda5 maj-min: 8:5
ID-5: /var/tmp raw-size: 50 GiB size: 50 GiB (100.00%) used: 37.07 GiB (74.1%) fs: btrfs
dev: /dev/sda5 maj-min: 8:5
Swap:      Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 11.59 GiB used: 108 MiB (0.9%) priority: 100 dev: /dev/zram0
Sensors:   System Temperatures: cpu: 47.0 C pch: 45.0 C mobo: N/A
Fan Speeds (RPM): cpu: 2900
Info:      Processes: 254 Uptime: 3h 57m wakeups: 1 Memory: 11.59 GiB used: 8.91 GiB (76.9%) Init: systemd
v: 249 tool: systemctl Compilers: gcc: 11.1.0 clang: 13.0.0 Packages: pacman: 1657 lib: 524
Shell: fish v: 3.3.1 default: Bash v: 5.1.12 running-in: konsole inxi: 3.3.09

Check in terminal top/htop which software freeze the laptop.

I'll get a terminal with htop open on the screen just in case, but that's the thing : It's not just an application which do that. Sometimes, I use it all the day and it does not happen, some time I just booted in, open every thing I usualy use, and at one point, it freez (only when I click on it, if it open correctly, it won't freez this time). And it can happen each time I open an app or applet it seems.

I just don't know if or how I can replicate this behavior.

As far as I'm concerned, recently (I think since the update to 5.15.7-zen1-1-zen) I started experiencing frequent freezes (but not always) when launching Firefox from Latte dock.
They never occurred since I started (re)using the linux-lts, so you could give it a try...
I'm kind of at the window, waiting for the next zen update and/or firefox update, etc...
I don't want to spend time to investigate it, since I use firefox rarely (when I need my synched open pages in the mobile) and the lts has always worked fine for me...


Ill try that then !

Should I select your answer as a solution now and create a new post if it happen again, or wait a few days to see if it continues to freez randomly wahen I launcha an app or not, and then select it as answer if it's stable ?

No no, try it and wait a few days.
Quite frankly there are little chances that it is the same problem.
But you never can say... :slight_smile: