Hello,
I started using Linux last year and left windows since then. I've university issued laptop which chnages every year, this we have got Lenovo T-520, with i7 and Nvidia NVS 4200 m graphic car. I installed the ubuntu recently and felt that it was way too laggy and choppy in terms of switching or draging windows and even sometimes watching videos.

Everything was fine, until I installed Nvidia drivers from x-swat/xupdates ppa and changed the bios settings to discrete graphic only. I need Nvidia support for some Matlab related work I have to do, even with choppy performance Matlab seems to run faster.

I the performance gets much much better when I switch to ubuntu 2D but unfortunately there is no window positioning and docking support in 2D. I tried all the hack and tricks posted online but nothing seems to work? Any ideas or help would be appreciated.

Thanks,
Regards
Shivam kalra