Having this issue as same as Kes describes. Can be reproduced under Xorg environment running Nvidia 510 drivers and Ubuntu 22.04. Did not have this issue under 20.04.
If I have a youtube video running the chrome window lags and the terminal window lags while moving them. If I have this page open it moves without lag. I tried to disable Desktop Icons NG, it helped the issue a bit, but there is still extreme lag. Using Wayland seems to solve the issue, but there are still programs like OBS that I need to use that can't capture the desktop ( not related to this ). Running glxgears also give me lag while moving the window. Let me know if you need me to try something specific that might help you get more data out. INXI dump: System: Host: XXXXXXXXX Kernel: 5.15.0-27-generic x86_64 bits: 64 Desktop: GNOME 42.0 Distro: Ubuntu 22.04 LTS (Jammy Jellyfish) Machine: Type: Desktop Mobo: ASUSTeK model: ROG STRIX X570-F GAMING v: Rev X.0x serial: <superuser required> UEFI: American Megatrends v: 4021 date: 08/09/2021 CPU: Info: 16-core model: AMD Ryzen 9 5950X bits: 64 type: MT MCP cache: L2: 8 MiB Speed (MHz): avg: 3400 min/max: N/A cores: 1: 3394 2: 3394 3: 3394 4: 3394 5: 3394 6: 3394 7: 3394 8: 3394 9: 3394 10: 3394 11: 3394 12: 3394 13: 3394 14: 3394 15: 3394 16: 3394 17: 3394 18: 3394 19: 3394 20: 3394 21: 3394 22: 3394 23: 3394 24: 3593 25: 3394 26: 3394 27: 3394 28: 3394 29: 3394 30: 3394 31: 3394 32: 3394 Graphics: Device-1: NVIDIA GA102 [GeForce RTX 3080] driver: nvidia v: 510.60.02 Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: nvidia gpu: nvidia resolution: 1: 5120x1440~120Hz OpenGL: renderer: NVIDIA GeForce RTX 3080/PCIe/SSE2 v: 4.6.0 NVIDIA 510.60.02 Sensors: System Temperatures: cpu: 34.5 C mobo: 34.0 C gpu: nvidia temp: 33 C Fan Speeds (RPM): fan-1: 0 fan-2: 1081 fan-3: 1135 fan-4: 1359 fan-5: 4753 fan-6: 1227 gpu: nvidia fan: 0% Info: Processes: 529 Uptime: 1d 4h 23m Memory: 31.26 GiB used: 4.54 GiB (14.5%) Shell: Bash inxi: 3.3.13 -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to nvidia-graphics-drivers-390 in Ubuntu. https://bugs.launchpad.net/bugs/1799679 Title: Nvidia driver causes Xorg to use 100% CPU and huge lag when dragging OpenGL app windows To manage notifications about this bug go to: https://bugs.launchpad.net/mutter/+bug/1799679/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp