My CPU usage is very high and the OS is laggy

Kernel: 5.16.2-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=f4fca995-229a-4dd3-93eb-965d23087a58 rw [email protected]
quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3
Desktop: KDE Plasma 5.23.5 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11
vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Type: Desktop Mobo: Micro-Star model: B450M-A PRO MAX (MS-7C52) v: 1.0
serial: <superuser required> UEFI: American Megatrends LLC. v: 3.C0
date: 05/19/2021
Info: model: AMD Ryzen 5 3600 bits: 64 type: MT MCP arch: Zen 2
family: 0x17 (23) model-id: 0x71 (113) stepping: 0 microcode: 0x8701021
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB
L3: 32 MiB desc: 2x16 MiB
Speed (MHz): avg: 4150 high: 4157 min/max: 2200/4208 boost: enabled
scaling: driver: acpi-cpufreq governor: performance cores: 1: 4151 2: 4145
3: 4157 4: 4153 5: 4146 6: 4148 7: 4152 8: 4156 9: 4150 10: 4150 11: 4148
12: 4150 bogomips: 86398
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
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 AMD retpoline, IBPB: conditional,
STIBP: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Device-1: NVIDIA TU116 [GeForce GTX 1660 SUPER] vendor: Micro-Star MSI
driver: nouveau v: kernel bus-ID: 29:00.0 chip-ID: 10de:21c4 class-ID: 0300
Device-2: KYE Systems (Mouse Systems) Genius Webcam type: USB
driver: snd-usb-audio,uvcvideo bus-ID: 1-5:4 chip-ID: 0458:6006
class-ID: 0102 serial: <filter>
Display: x11 server: X.Org compositor: kwin_x11 driver:
loaded: modesetting,nouveau alternate: fbdev,nv,vesa display-ID: :0
screens: 1
Screen-1: 0 s-res: 3840x2160 s-dpi: 96 s-size: 1015x571mm (40.0x22.5")
s-diag: 1165mm (45.8")
Monitor-1: HDMI-1 res: 3840x2160 hz: 60 dpi: 163
size: 600x340mm (23.6x13.4") diag: 690mm (27.2")
OpenGL: renderer: NV168 v: 4.3 Mesa 21.3.4 direct render: Yes
Device-1: NVIDIA TU116 High Definition Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel bus-ID: 29:00.1 chip-ID: 10de:1aeb
class-ID: 0403
Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel bus-ID: 2b:00.4 chip-ID: 1022:1487
class-ID: 0403
Device-3: Kingston HyperX Cloud Alpha S type: USB
driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-3:3 chip-ID: 0951:16ed
class-ID: 0300 serial: <filter>
Device-4: KYE Systems (Mouse Systems) Genius Webcam type: USB
driver: snd-usb-audio,uvcvideo bus-ID: 1-5:4 chip-ID: 0458:6006
class-ID: 0102 serial: <filter>
Sound Server-1: ALSA v: k5.16.2-zen1-1-zen running: yes
Sound Server-2: PulseAudio v: 15.0 running: no
Sound Server-3: PipeWire v: 0.3.43 running: yes
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Micro-Star MSI driver: r8169 v: kernel port: f000 bus-ID: 25:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: enp37s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Local Storage: total: 931.51 GiB used: 588.64 GiB (63.2%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital
model: WDS100T2B0A-00SM50 size: 931.51 GiB block-size: physical: 512 B
logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 00WD
scheme: GPT
ID-1: / raw-size: 104.49 GiB size: 104.49 GiB (100.00%)
used: 23.16 GiB (22.2%) fs: btrfs dev: /dev/sda6 maj-min: 8:6
ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
used: 32.4 MiB (33.7%) fs: vfat dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 104.49 GiB size: 104.49 GiB (100.00%)
used: 23.16 GiB (22.2%) fs: btrfs dev: /dev/sda6 maj-min: 8:6
ID-4: /var/log raw-size: 104.49 GiB size: 104.49 GiB (100.00%)
used: 23.16 GiB (22.2%) fs: btrfs dev: /dev/sda6 maj-min: 8:6
ID-5: /var/tmp raw-size: 104.49 GiB size: 104.49 GiB (100.00%)
used: 23.16 GiB (22.2%) fs: btrfs dev: /dev/sda6 maj-min: 8:6
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 15.61 GiB used: 2 MiB (0.0%) priority: 100
dev: /dev/zram0
System Temperatures: cpu: N/A mobo: N/A gpu: nouveau temp: 21.0 C
Fan Speeds (RPM): N/A gpu: nouveau fan: 1357
Processes: 318 Uptime: 57m wakeups: 0 Memory: 15.61 GiB
used: 3.25 GiB (20.8%) Init: systemd v: 250 tool: systemctl Compilers:
gcc: 11.1.0 clang: 13.0.0 Packages: pacman: 1875 lib: 545 Shell: fish
v: 3.3.1 default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.12
System install date:     2022-01-27
Last full system update: 2022-01-27
Is partially upgraded:   No
Using TLP:               No
Windows dual boot:       Probably (Run as root to verify)

Hi, my CPU usage is very high. If i have a browser running it s about 20% and the OS is laggy, if I open a wine game on lutris (in which i would normally have 60+fps) the CPU usage goes to 90% and the game loads forever in 2 fps. Ngl but I have no ideea what to do.
I have a gtx 1660 super, AMD ryzen 5 3600, 16 gb 3200mhz RAM.

Hi there, welcome.
I'm usually very flexible about this (and wrong), but why on earth, in a topic about performance issues, did you not follow the requirement to include your garuda-inxi at the topic creation? :wink:
After adding that, when possible, try also to retrieve some information (e.g. with htop) on the processes taking most of your resources during those laggy periods.


The first thing I would say is to install the Nvidia proprietary driver with the HW assistant (Garuda Welcome -> Garuda Settings Manager -> Hardware Configuration).


Thanks for the reply, I installed the proprietary drivers but now I'm getting this when it boots up
Loading Linux linux-zen...
Loading initial ramdisk...

If you noticed currently I have dual boot with windows. I really want to get rid of windows. Previously I had Ubuntu and windows dual boot. I installed garuda because it had better performance.....
Sorry if there are some misspellings...English is not my native language.
Oh, and it just keeps saying that it is partially upgraded and I have to install pipeware-support but if I try to install it it gives me an error that pipeware support cannot be installed because it conflicts with pipeware-something(I can't remember), now I can't boot it so can't send you the error.

Try booting from the live USB, then use the chroot utility (in the Garuda Welcome). This will let you in your installed system from the live USB.
Then enter update in the terminal after chrooting.
This should possibly fix the partial upgrade problem.
From there, you can copy possible error messages here.

PS: Hold on, there must be something going on which is being fixed soon I guess.


Seems ok....?

:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 chaotic-aur                          1758.7 KiB  1784 KiB/s 00:01 [------------------------------------] 100%

--> Refreshing mirrorlists using rate-mirrors, please be patient..
:: Synchronizing package databases...
 core                                  138.5 KiB   882 KiB/s 00:00 [------------------------------------] 100%
 extra                                1555.2 KiB  3.71 MiB/s 00:00 [------------------------------------] 100%
 community                               6.0 MiB  7.14 MiB/s 00:01 [------------------------------------] 100%
 multilib                              148.9 KiB   856 KiB/s 00:00 [------------------------------------] 100%
 chaotic-aur                          1758.7 KiB  1164 KiB/s 00:02 [------------------------------------] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (1) pipewire-support-1-10

Total Download Size:  0.00 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 pipewire-support-1-10-any               3.6 KiB  9.74 KiB/s 00:00 [------------------------------------] 100%
(1/1) checking keys in keyring                                     [------------------------------------] 100%
(1/1) checking package integrity                                   [------------------------------------] 100%
(1/1) loading package files                                        [------------------------------------] 100%
(1/1) checking for file conflicts                                  [------------------------------------] 100%
(1/1) checking available disk space                                [------------------------------------] 100%
:: Running pre-transaction hooks...
(1/1) Performing snapper pre snapshots for the following configurations...
reading failed
IO error (open failed path://.snapshots errno:2 (No such file or directory)).
==> root: 
:: Processing package changes...
(1/1) upgrading pipewire-support                                   [------------------------------------] 100%
Adding user 'razvan' to user-group 'realtime'
Adding user 'guest' to user-group 'realtime'
:: Running post-transaction hooks...
(1/5) Foreign/AUR package notification
=> No foreign/AUR packages found.
(2/5) Orphaned package notification...
celt 0.11.3-4
python-wheel 0.37.1-1
zita-alsa-pcmi 0.4.0-1
zita-resampler 1.8.0-1
(3/5) Checking for .pacnew and .pacsave files...
.pac* files found:
Please check and merge
(4/5) Performing snapper post snapshots for the following configurations...
reading failed
Invalid snapshot '--type'.
==> root: 
(5/5) Syncing all file systems...
Running in chroot, ignoring command 'start'

System updated! 🐧

But still can't boot

Yes, the package problem had just been fixed (see other thread) :slight_smile:
Now, from chroot you could try:

pacman -S nvidia-dkms nvidia-settings linux-zen-headers --needed

(sudo is not needed in chroot) and let's see the error messages.
I'm not a Nvida expert unfortunately, but someone will support for sure :wink:


Ok, I'm trying it now

This is what i got

pacman -S nvidia-dkms nvidia-settings linux-zen-headers --needed
warning: nvidia-dkms-495.46-2 is up to date -- skipping
warning: nvidia-settings-495.46-2 is up to date -- skipping
warning: linux-zen-headers-5.16.2.zen1-1 is up to date -- skipping
 there is nothing to do

Can you

cat /etc/mkinitcpio.conf

and check if the line MODULES= includes nouveau?

# The following modules are loaded before any boot hooks are
# run.  Advanced users may wish to specify all system modules
# in this array.  For instance:
#     MODULES=(crc32c nvidia nvidia_modeset nvidia_uvm nvidia_drm)
MODULES=(crc32c nvidia nvidia_modeset nvidia_uvm nvidia_drm)

That's OK.
Do you have a file /etc/modprobe.d/nvidia.conf that contains blacklist nouveau ?
You can use again cat /etc/modprobe.d/nvidia.conf...
If not, create it with micro /etc/modprobe.d/nvidia.conf, add that contents, ctrl+S, crtl+Q
After that, you could try
dkms autoinstall
and let's see if there are error messages there...


Ok, I ve done that

Sorry, edited in the same moment my post above to avoid you reach the maximum topics (10 I think) in your first day.
dkms autoinstall
and let's see if there are error messages there...

Error! Your kernel headers for kernel 5.15.12-zen1-1-zen cannot be found at /usr/lib/modules/5.15.12-zen1-1-zen/build or /usr/lib/modules/5.15.12-zen1-1-zen/source.
Please install the linux-headers-5.15.12-zen1-1-zen package or use the --kernelsourcedir option to tell DKMS where it's located.

Auch, I'm afraid that's a topic I really know little.
I guess you'll have to remove the modules for that specific old kernel version, and rebuild for the current kenrel version.
But I'm afraid we'll have to wait for someone else :blush:


Ok, thank you so much for your help!!

1 Like

If I can dare, I'd try
dkms remove --no-depmod -m nvidia -v 495.46-2 -k 5.15.12-zen1-1-zen
and then (maybe not even necessary)
dkms install --no-depmod nvidia/495.46-2 -k 5.16.2.zen1-1


Hi, since I had no important files on the PC I reinstalled garuda. Now it works like charm. For me the fastest solution was reinstalling. Thank you again for your help and time!

1 Like