Manjaro i3wm feels extremely laggy

I’m running Manjaro i3 on dual-monitor display configuration (configured with arandr). The only changes I’ve made to config is changing dmenu to rofi. Problem is, GUIs are extremely slow. Things like Telegram client, or even mouse movement seem kinda slow, even though not freezing to death. I’m running video-hybrid-intel-nvidia-450xx-prime driver, but when I run nvidia-smi the only thing using my GPU is Xorg, and it uses like 40mb of video ram, which is strange, considering there are a lot of apps running, from Zoom to Firefox.

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A       761      G   /usr/lib/Xorg                      41MiB |
+-----------------------------------------------------------------------------+

What might cause those performance issues and how do I fix it?

Inxi output: gist.github(dot)com/keddad/c127b768ecc11843ef0513fec97d6bb0
Some dmesg errors (pcieport errors look scary, but I see them on every Linux distro I use, so they are hardly a problem): gist.github(dot)com/keddad/4a0c8ae321ac2d129009a85281b74bda

I wanted to just paste those here instead of using Gist, but apparently they contained something forum thinks is a link, and for some reason I can’t post links

Hello,

You have to use
prime-run command/application in order so that command/application is using the dGPU. Examples:
prime-run firefox
prime-run nvidia-smi

1 Like

Even when I do so, apps don’t show up in nvidia-smi. Should it work that way? For example, I’ve started Telegram with
prime-run telegram-desktop
and it is working, but my nvidia-smi still looks like this:

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A       761      G   /usr/lib/Xorg                      41MiB |
+-----------------------------------------------------------------------------+

Also, it didn’t really help: even if, say, Telegram is started with prime-run it is still laggy.

The your drivers might not be properly installed, you are using an EOL kernel, or your compositor (compron/picom) is also not well configured.
You should provide more information about your system, as described here:

I’ve added details to the post. My kernel is more or less fresh, drivers were automatically installed by mhwd and compositor settings were not changed since installation.

I’m not sure on what compositor is used, but there is picom.conf in ~/.config, so I guess it is picom. Here is it’s config as well:
gist.github(dot)com/keddad/bab3252382851e291c73920fff315d88