I have an issue with XFWM window manager's performance on Manjaro XFCE – it seems to work laggy or buggy, depending on settings of the compositor. I tried set that to fix my framerate:
turning off shadows – no effect or framerate gain and the OS still seems laggy;
turning off compositor – seems faster, but really buggy when fast moving or resizing windows, especially those "heavier" (windows move slower than cursor and have "ghost" effect);
hiding windows content when moving and resizing windows with turned on compositor – no effect compared to a setting with compositor;
hiding windows content when moving and resizing windows with turned off compositor – most stable and reliable option now, seems to work fine as it should;
turning on compositor and changing
glxis default) – seems "the fastest" option and the closest to the one working fine, but for now it's really buggy (windows are often flickering/tearing when it's content/position/size changes);
turning on compositor and setting
off– has similar effect to turning off compositor but without annoying "ghost" effect; however hiding window content isn't here a solution and doesn't change much with performance (or at least I can't feel it). Also, in my opinion, this is one of the options I would set on my Raspberry Pi.
So it seems that the problem itself is with
vblank_mode setting. Also, I don't think it's performance issue with CPU, it might be however GPU performance issue. However please note I don't have any issues with XFWM on Raspbian, which seems to be older, but works more stable and faster.
As for my settings, I've only added this entry in my cmdline.txt:
usbhid.mousepoll=0, but I don't think that's an issue – it fixes an issue with my mouse on most OSes on Raspberry Pi (even on NOOBS or PINN), so I rather would like to have it set. Also I didn't overvoltaged on my Pi, but I overclocked it's processor frequency 1600 MHz (I know it doesn't change much with performance, but it's free so why not use it), but this problem persist without any overclocking options set. I also didn't overclocked my GPU, but I set my
gpu_mem value to 512MB (I've got a version of Pi with 4GB in total of random-access memory).
Is there any option I could try to make my XFWM yet faster/stable/glitchless? Am I only encountering this problem?