It only lags when resizing chromium, firefox libreoffice never for emacs and xterm for example.
The thing is that it only lags when moving the windows not resizing and when I say lag I really mean it.
The xorg process goes up to 50% and the window is something like a couple of inches behind the cursor.
I have just installed arch on my new work laptop ThinkPad T540p with Nvidia optimus lspci output below
➜ ~ lspci | grep VGA 00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06) 01:00.0 VGA compatible controller: NVIDIA Corporation GK208M [GeForce GT 730M] (rev ff)
Bumblebee is installed and enabled and the glxgears info test seems to work as expected.
I don't know what to look for so if anyone has any ideas i am willing to try them.