You are not logged in.
Pages: 1
I've just switched to Openbox, and whenever I move a window while GPU usage is high (such as when a game is running), it's extremely slow, and X.Org CPU usage spikes to 100% on one core. I'm not using a compositor, and I never had this issue with KWin (also no compositor). The main reason I want to fix this is that it's stopping Discord (and Discord only, as far as i know) from playing audio while a window is being moved.
journalctl -b: https://pastebin.com/raw/pAKezNY1
Xorg log: https://pastebin.com/raw/0Wi2nYBp
Offline
KWin has a built-in compositor, are you absolutely certain that compositing was disabled during this situation? I'd generally expect this on a non-composited xorg, though there might be some stuff different WMs can do differently during a moving operation.
Offline
I'm 100% sure it was disabled. Being able to disable it was what drew me to Plasma in the first place. Never knew this was the norm, although I had noticed it with Xfwm4. There was an option to not show window contents while dragging which negated the lag, is there maybe something like that for Openbox?
Offline
No and it's generally not required. The exposure events aren't expensive on a local system and the nvidia driver even enables the backing store.
You're not runnin "openbox" but lxqt - try the behavior w/ a plain openbox session.
You're positive that the CPU load is on the server, not the WM?
Are there other processes w/ higher CPU load during the window moving?
Does it matter what's below the window that's being moved?
Offline
The behaviour is the same in plain Openbox. Didn't realize LXQt may have changed things.
Ksysguard shows CPU spikes only on Xorg when dragging windows.
What's below the dragged window doesn't seem to matter, but after further testing, less demanding windows (such as Ksysguard and LXQt settings) seem to move faster than heavier windows (like Steam or OBS). All retain a sort of "solitaire effect", however. This is fixed by using "Force Composition Pipeline" in Nvidia settings, but dragging windows still causes issues with Discord, either with it on or off, and no matter how demanding the window being dragged is.
Offline
Does the same happen w/ eg. fluxbox or icewm?
Does it happen when dragging the window w/ alt+lmb?
You've a multiscreen setup, the composition pipeline should™ be active anyway.
Speaking of which: does it happen w/ a single screen setup?
You could also try
Option "UseNvKmsCompositionPipeline" "false"Offline
Pages: 1