Nvidia Optimus 331.13 Dual Screen

Hey ! I recently tried nvidia native optimus support with 331.13 drivers with Xorg 1.3.4 kernel 3.9 and randr 1.4.1. But I was unable to connect to a second monitor with HDMI and also I was unable to change my own screen resolution with both ways ( from terminal with xrandr --output and from system settings ) When I try this It takes me to a blank (black) login screen and I had to restart mdm or lightdm (for both same case). Is there something wrong with me or this isn’t supported yet?

(By the way Nvidia settings does not show a connected monitor)
(I think HDMI output connected to Intel Card)