340 and 331 - can't set primary screen and ugly tearing

I’m on Lenovo Y580 laptop with discrete Nvidia 660m (optimus). Using Dell P2314H as external monitor , but get the same issue with Samsung TV.

I’ve chosen elementary OS as my distro of choice.

After installing nvidia proprietary drivers (331, the same with 340) I can’t set primary monitor. Either nothing happens or i get something along the lines:

" could not set configuration for CRTC 63"

Tried to force it using xrandr:
xrandr --output LVDS1 --pos 1920x0 --output VGA1 --pos 0x0 --primary

But Xrandr gets an error:

X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 140 (RANDR) Minor opcode of failed request: 30 (RRSetOutputPrimary) Serial number of failed request: 41 Current serial number in output stream: 43

Also I’m experiencing some ugly screen tearing which basically makes Linux with Nvidia useless. And I don’t mean videos - sure, there’s tearing in videos too, but in 3D app I use for work (Modo for example) I experience it too.
This happens on both eOS Luna and latest Freya beta.
Your help will be greatly appreciated.