Thanks for your answer Remanator, but I’ve done that befor and there is no xorg.conf file like you said.
linux-09lp:/home/Alejandro # ls /etc/X11/ -l -atotal 80
drwxr-xr-x 11 root root 4096 Oct 15 23:00 .
drwxr-xr-x 125 root root 12288 Oct 19 16:20 ..
drwxr-xr-x 2 root root 4096 Mar 6 2013 fs
drwxr-xr-x 2 root root 4096 Mar 6 2013 lbxproxy
drwxr-xr-x 2 root root 4096 Mar 6 2013 proxymngr
-rw-r--r-- 1 root root 954 Jan 27 2013 qtrc
drwxr-xr-x 4 root root 4096 Mar 6 2013 rstart
drwxr-xr-x 2 root root 4096 Oct 16 19:43 xdm
-rw-r--r-- 1 root root 5708 Jan 26 2013 xim
drwxr-xr-x 2 root root 4096 Mar 6 2013 xim.d
drwxr-xr-x 3 root root 4096 Oct 16 00:07 xinit
-rw-r--r-- 1 root root 1353 Jan 26 2013 Xmodmap
-rw-r--r-- 1 root root 1049 Jan 26 2013 Xmodmap.remote
drwxr-xr-x 2 root root 4096 Oct 16 00:42 xorg.conf.d
-rw-r--r-- 1 root root 874 Oct 7 23:30 xorg.conf.install
-rw-r--r-- 1 root root 4017 Apr 22 2009 Xresources
drwxr-xr-x 2 root root 4096 Mar 6 2013 xsm
Instead of xorg.conf I think it is using the files inside xorg.conf.d/
linux-09lp:/home/Alejandro # ls /etc/X11/xorg.conf.d/ -l -atotal 48
drwxr-xr-x 2 root root 4096 Oct 16 00:42 .
drwxr-xr-x 11 root root 4096 Oct 15 23:00 ..
-rw-r--r-- 1 root root 61 Mar 1 2013 05-glamor.conf
-rw-r--r-- 1 root root 1099 Jul 15 09:25 10-evdev.conf
-rw-r--r-- 1 root root 3640 Jan 27 2013 11-mouse.conf
-rw-r--r-- 1 root root 524 Oct 16 00:20 50-device.conf
-rw-r--r-- 1 root root 527 Jul 1 2011 50-monitor.conf
-rw-r--r-- 1 root root 491 Jul 1 2011 50-screen.conf
-rw-r--r-- 1 root root 1918 Feb 4 2013 50-synaptics.conf
-rw-r--r-- 1 root root 115 Jan 28 2013 50-vmmouse.conf
-rw-r--r-- 1 root root 835 Jan 28 2013 50-wacom.conf
but the device, monitor and screen files are all commented.
The bumblebee project has these files
linux-09lp:/home/Alejandro # ls /etc/bumblebee/ -l -a
total 32
drwxr-xr-x 3 root root 4096 Oct 17 20:03 .
drwxr-xr-x 125 root root 12288 Oct 19 16:20 ..
-rw-r--r-- 1 root root 2896 Oct 16 20:09 bumblebee.conf
drwxr-xr-x 2 root root 4096 Oct 15 23:52 xorg.conf.d
-rw-r--r-- 1 root root 513 Sep 6 11:32 xorg.conf.nouveau
-rw-r--r-- 1 root root 1380 Sep 6 11:32 xorg.conf.nvidia
and the bumblebee.conf is selecting the xorg.conf.nvidia file to load the drivers. But I don’t understand why it is not loading them at boot
Also, if I write:
linux-09lp:/home/Alejandro # lspci -v
...
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1058 (rev a1) (prog-if 00 [VGA controller])
Subsystem: Lenovo Device 3903
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at ea000000 (32-bit, non-prefetchable) [size=16]
Memory at e0000000 (64-bit, prefetchable) [size=128]
Memory at e8000000 (64-bit, prefetchable) [size=32]
I/O ports at 3000 [size=128]
Expansion ROM at <ignored> [disabled]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [b4] Vendor Specific Information: Len=14 <?>
Capabilities: [100] Virtual Channel
Capabilities: [128] Power Budgeting <?>
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
Kernel driver in use: nvidia
...
So the kernel recognized the graphic card and drives, but then the bumblebee doesnt work correctly and
linux-09lp:/home/Alejandro # optirun glxspheres
Polygons in scene: 62464Xlib: extension "GLX" missing on display ":8".
ERROR (593): Could not obtain RGB visual with requested properties
[/size][/size][/size][/size]