
Ubuntu linux
Currently, you need to open your terminal and enter the commands below.
sudo add-apt-repository ppa:bumblebee/stable
If you are on Ubuntu 11.04 or older and want newer drivers (recommended) than the ones available in the official repos, run:
sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
To install Bumblebee using the proprietary nvidia driver:
sudo apt-get install bumblebee bumblebee-nvidia
Reboot or re-login. More help and information for Ubuntu can be found here.




Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
bbswitch-dkms libturbojpeg libturbojpeg:i386 nvidia-current nvidia-settings
screen-resolution-extra virtualgl virtualgl-libs virtualgl-libs:i386
virtualgl-libs-ia32:i386
Recommended packages:
virtualgl-libs-ia32
The following NEW packages will be installed:
bbswitch-dkms bumblebee bumblebee-nvidia libturbojpeg libturbojpeg:i386
nvidia-current nvidia-settings screen-resolution-extra virtualgl
virtualgl-libs virtualgl-libs:i386 virtualgl-libs-ia32:i386
0 upgraded, 12 newly installed, 0 to remove and 13 not upgraded.
Need to get 61.1 MB of archives.
After this operation, 189 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ppa.launchpad.net/bumblebee/stable/ubuntu/ precise/main virtualgl-libs amd64 2.3.1-2~preciseppa1 [211 kB]
Get:2 http://ppa.launchpad.net/bumblebee/stable/ubuntu/ precise/main virtualgl-libs i386 2.3.1-2~preciseppa1 [201 kB]
Get:3 http://ppa.launchpad.net/bumblebee/stable/ubuntu/ precise/main virtualgl amd64 2.3.1-2~preciseppa1 [846 kB]
Get:4 http://ppa.launchpad.net/bumblebee/stable/ubuntu/ precise/main bbswitch-dkms all 0.4.2-2~preciseppa1 [10.1 kB]
Get:5 http://ppa.launchpad.net/bumblebee/stable/ubuntu/ precise/main bumblebee amd64 3.0-2~preciseppa1 [52.4 kB]
Get:6 http://ppa.launchpad.net/bumblebee/stable/ubuntu/ precise/main bumblebee-nvidia amd64 3.0-2~preciseppa1 [3,200 B]
Get:7 http://ppa.launchpad.net/bumblebee/stable/ubuntu/ precise/main virtualgl-libs-ia32 i386 2.3.1-2~preciseppa1 [2,096 B]
Get:8 http://archive.ubuntu.com/ubuntu/ precise/universe libturbojpeg amd64 1.1.90+svn733-0ubuntu4 [121 kB]
Get:9 http://archive.ubuntu.com/ubuntu/ precise/universe libturbojpeg i386 1.1.90+svn733-0ubuntu4 [127 kB]
Get:10 http://archive.ubuntu.com/ubuntu/ precise/restricted nvidia-current amd64 295.40-0ubuntu1 [58.5 MB]
Get:11 http://archive.ubuntu.com/ubuntu/ precise/main screen-resolution-extra all 0.14ubuntu2 [12.8 kB]
Get:12 http://archive.ubuntu.com/ubuntu/ precise/main nvidia-settings amd64 295.33-0ubuntu1 [931 kB]
Fetched 61.1 MB in 1min 1s (994 kB/s)
Selecting previously unselected package libturbojpeg.
(Reading database ... 149023 files and directories currently installed.)
Unpacking libturbojpeg (from .../libturbojpeg_1.1.90+svn733-0ubuntu4_amd64.deb) ...
Selecting previously unselected package libturbojpeg:i386.
Unpacking libturbojpeg:i386 (from .../libturbojpeg_1.1.90+svn733-0ubuntu4_i386.deb) ...
Selecting previously unselected package virtualgl-libs.
Unpacking virtualgl-libs (from .../virtualgl-libs_2.3.1-2~preciseppa1_amd64.deb) ...
Selecting previously unselected package virtualgl-libs:i386.
Unpacking virtualgl-libs:i386 (from .../virtualgl-libs_2.3.1-2~preciseppa1_i386.deb) ...
Selecting previously unselected package virtualgl.
Unpacking virtualgl (from .../virtualgl_2.3.1-2~preciseppa1_amd64.deb) ...
Selecting previously unselected package bbswitch-dkms.
Unpacking bbswitch-dkms (from .../bbswitch-dkms_0.4.2-2~preciseppa1_all.deb) ...
Selecting previously unselected package bumblebee.
Unpacking bumblebee (from .../bumblebee_3.0-2~preciseppa1_amd64.deb) ...
Selecting previously unselected package nvidia-current.
Unpacking nvidia-current (from .../nvidia-current_295.40-0ubuntu1_amd64.deb) ...
Selecting previously unselected package bumblebee-nvidia.
Unpacking bumblebee-nvidia (from .../bumblebee-nvidia_3.0-2~preciseppa1_amd64.deb) ...
Selecting previously unselected package screen-resolution-extra.
Unpacking screen-resolution-extra (from .../screen-resolution-extra_0.14ubuntu2_all.deb) ...
Selecting previously unselected package nvidia-settings.
Unpacking nvidia-settings (from .../nvidia-settings_295.33-0ubuntu1_amd64.deb) ...
Selecting previously unselected package virtualgl-libs-ia32:i386.
Unpacking virtualgl-libs-ia32:i386 (from .../virtualgl-libs-ia32_2.3.1-2~preciseppa1_i386.deb) ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for man-db ...
Setting up libturbojpeg (1.1.90+svn733-0ubuntu4) ...
Setting up libturbojpeg:i386 (1.1.90+svn733-0ubuntu4) ...
Setting up virtualgl-libs (2.3.1-2~preciseppa1) ...
Setting up virtualgl-libs:i386 (2.3.1-2~preciseppa1) ...
Setting up virtualgl (2.3.1-2~preciseppa1) ...
Setting up bbswitch-dkms (0.4.2-2~preciseppa1) ...
Loading new bbswitch-0.4.2 DKMS files...
First Installation: checking all kernels...
Building only for 3.2.0-23-generic
Building initial module for 3.2.0-23-generic
Done.
bbswitch:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/3.2.0-23-generic/kernel/drivers/acpi/
depmod......
DKMS: install completed.
Setting up bumblebee (3.0-2~preciseppa1) ...
Adding members from group(s) 'adm sudo admin' to 'bumblebee':
kad3t
Adding user kad3t to group bumblebee
update-initramfs: deferring update (trigger activated)
bumblebeed start/running, process 4371
Setting up nvidia-current (295.40-0ubuntu1) ...
update-alternatives: using /usr/lib/nvidia-current/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto mode.
update-alternatives: using /usr/lib/nvidia-current/alt_ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in auto mode.
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia-current
DEBUG:Parsing /usr/share/nvidia-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/nvidia-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/nvidia-common/quirks/put_your_quirks_here
DEBUG:Processing quirk ThinkPad T420s
DEBUG:Failure to match Lenovo IdeaPad Y570 with ThinkPad T420s
DEBUG:Quirk doesn't match
DEBUG:Processing quirk Latitude E6530
DEBUG:Failure to match LENOVO with Dell Inc.
DEBUG:Quirk doesn't match
Loading new nvidia-current-295.40 DKMS files...
First Installation: checking all kernels...
Building only for 3.2.0-23-generic
Building for architecture x86_64
Building initial module for 3.2.0-23-generic
Done.
nvidia_current:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/3.2.0-23-generic/kernel/drivers/char/drm/
depmod....
DKMS: install completed.
Setting up screen-resolution-extra (0.14ubuntu2) ...
Setting up nvidia-settings (295.33-0ubuntu1) ...
update-alternatives: using /usr/lib/nvidia-settings/ld.so.conf to provide /etc/ld.so.conf.d/nvidia_settings.conf (nvidia_settings_conf) in auto mode.
Setting up virtualgl-libs-ia32:i386 (2.3.1-2~preciseppa1) ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Setting up bumblebee-nvidia (3.0-2~preciseppa1) ...
update-alternatives: using /usr/lib/x86_64-linux-gnu/mesa/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in manual mode.
update-alternatives: using /usr/lib/i386-linux-gnu/mesa/ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in manual mode.
bumblebeed stop/waiting
bumblebeed start/running, process 5684
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.2.0-23-generic
Warning: No support for locale: en_US.utf8FATAL: Error inserting bbswitch (/lib/modules/3.2.0-23-generic/kernel/drivers/acpi/bbswitch.ko): No such device



FATAL: Error inserting bbswitch (/lib/modules/3.2.0-23-generic/kernel/drivers/acpi/bbswitch.ko): No such device







~ $ optirun glxgears -info
[ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(0): Failed to initialize the display subsystem for the NVIDIA
[ERROR]Aborting because fallback start is disabled.
gksudo gedit /etc/bumblebee/bumblebee.confsudo echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf
sudo update-initramfs -u

Try this:
1. Set Driver=nvidia in /etc/bumblebee/bumblebee.conf
Open as root the file for editing, use a terminal <Ctrl>+<Alt>+T
enter this:
CODE: SELECT ALL
gksudo gedit /etc/bumblebee/bumblebee.conf
where you see "Driver=", just add nvidia to it, so it says Driver=nvidia
also make sure where it says "KernelDriver=" is KernelDriver=nvidia
2. Blacklist nouveau - this is to make sure it will use nvidia, and stop nouveau from interference
enter in terminal:
CODE: SELECT ALL
sudo echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf
sudo update-initramfs -u
be patient the last step takes half a minute to update.
REBOOT
# This file was installed by nvidia-current
# Do not edit this file manually
blacklist nouveau
blacklist lbm-nouveau
alias nouveau off
alias lbm-nouveau off


inxi -xG

I just thought, try the following command in terminal, to see if your system sees both cards:
- Code: Select all
inxi -xG
$ inxi -xG
Graphics: Card: Intel 2nd Generation Core Processor Family Integrated Graphics Controller bus-ID: 00:02.0
X.Org: 1.11.3 drivers: intel (unloaded: vesa,fbdev) Resolution: 1366x768@60.1hz
GLX Renderer: Mesa DRI Intel Sandybridge Mobile GLX Version: 3.0 Mesa 8.0.2 Direct Rendering: Yes
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 3D controller: NVIDIA Corporation GF119 [GeForce GT 520MX] (rev ff)






Users browsing this forum: edward.ij and 7 guests