I have the common issue. When I try to run something through optirun, I get the following:
[13395.278406] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) intel(0): [drm] failed to set drm interface version: Permission denied [13].
[13395.278522] [ERROR]Aborting because fallback start is disabled.
Specification:
- Ubuntu 14.04
- NVIDIA Corporation GF108M [GeForce GT 630M](rev a1)
- Nvidia 331 driver
I've tried to reinstall nvidia and bumblebee packages, to remove something related with nvidia within /usr/share/X11/xorg.conf.d, uncomment BudID in the xorg.conf.nvidia file
optirun -vv --debug bush
[13077.093918] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[13077.094673] [DEBUG]optirun version 3.2.1 starting...
[13077.094690] [DEBUG]Active configuration:
[13077.094698] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[13077.094705] [DEBUG] X display: :8
[13077.094711] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-331:/usr/lib32/nvidia-331
[13077.094717] [DEBUG] Socket path: /var/run/bumblebee.socket
[13077.094723] [DEBUG] Accel/display bridge: auto
[13077.094728] [DEBUG] VGL Compression: proxy
[13077.094734] [DEBUG] VGLrun extra options:
[13077.094740] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[13077.094813] [DEBUG]Using auto-detected bridge primus
[13079.358358] [INFO]Response: No - error: XORG intel(0): [drm] failed to set drm interface version: Permission denied [13].
[13079.358418] [ERROR]Cannot access secondary GPU - error: XORG intel(0): [drm] failed to set drm interface version: Permission denied [13].
[13079.358428] [DEBUG]Socket closed.
[13079.358457] [ERROR]Aborting because fallback start is disabled.
[13079.358465] [DEBUG]Killing all remaining processes.
What is wrong?