After I installed fresh Ubuntu 18.04 with GNOME desktop and It had opensource driver I experienced very bad lag.
I Installed Nvidia 390 Driver and the lag was so bad. Changing the driver to Nvidia 340.106 didn't help.
I thought this is about Ubuntu 18.04, so I installed Fedora 28. on Wayland everything was smooth with open source driver but after Installing the 390 driver and switch to X11 lag started (but not as bad as Ubuntu).
I installed GNOME Impatience extension to reduce the lag but it didn't help that much.
I also tried Ubuntu Mate 18.04 with COMPIZ. On Mate, I had much more heavier Effects but those effects were so smooth.
Another Ubuntu 18.04 that I've tried was Budige that is based on the same GNOME. It didn't have any lag at all.
Also installed Nvidia 396 (opensource) from "ppa:graphics-drivers/ppa" repository. It just lags more.
Edit:
Installing sudo ubuntu-drivers autoinstall
didn't solve the problem.
It just install Nvidia 390 driver which I tried before as I mentioned.
I don't have any high CPU usage issue:
nvidia-smi
result:
+------------------------------------------------------+
| NVIDIA-SMI 340.106 Driver Version: 340.106 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 660 Ti Off | 0000:03:00.0 N/A | N/A |
| 10% 32C P8 N/A / N/A | 273MiB / 2047MiB | N/A Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Compute processes: GPU Memory |
| GPU PID Process name Usage |
|=============================================================================|
| 0 Not Supported |
+-----------------------------------------------------------------------------+
My System
- CPU: Intel i7 920
- GPU: Nvidia Geforce 660 ti
- RAM: 6GB
Is there anyway that I can solve this lag?