I'm trying to run optirun on my Lenovo G580 with nVidia GeForce 610M on Ubuntu 14.04. Getting the following error
$ optirun glxgears [ 98.457967] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) intel(0): [drm] failed to set drm interface version: Permission denied . [ 98.458061] [ERROR]Aborting because fallback start is disabled.
My .conf file: http://paste.ubuntu.com/7278805/
Please help asap,thanks
EDIT: I also tried to run nvidia-settings to enable the nVidia gpu,but it does not work and gives a blank error/dialog box: