← Back to team overview

hybrid-graphics-linux team mailing list archive

Re: Testers needed intel/nvidia: bumblebee now with 32bit and 64bit support

 

Hi,

tried it on ubuntu natty 32 bit, after installation there is no optirun script or whatever:

$ optirun glxgears
optirun: command not found

installation log attached.

Ivan


On 05/11/2011 12:42 PM, Albert Vilella wrote:
Hi all,

For all of you with an intel/nvidia hybrid laptop interested in
getting the nvidia card to work and willing to spend a bit of time
testing, please have a try at the latest bumblebee release:

sudo apt-get install git
# type password
git clone https://github.com/MrMEEE/bumblebee.git
cd bumblebee/
sudo ./install.sh
optirun glxgears
# check the speed and compare to running:
glxgears

If you get stuck at any point, generate a bug report with:
sudo sh ./install-files/bumblebee-bugreport

Create a bugreport on github (URL below) and email mj@xxxxxxxxxxxx the
bug report along with the issue number:

https://github.com/MrMEEE/bumblebee/issues

Cheers,

Albert.

_______________________________________________
Mailing list: https://launchpad.net/~hybrid-graphics-linux
Post to     : hybrid-graphics-linux@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~hybrid-graphics-linux
More help   : https://help.launchpad.net/ListHelp
Installing needed packages
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  liblaunchpad-integration1 python-notify xulrunner-1.9.2 liblaunchpad-integration-common
  launchpad-integration gnome-doc-utils librarian0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  nvidia-settings screen-resolution-extra
The following NEW packages will be installed:
  nvidia-current nvidia-settings screen-resolution-extra
0 upgraded, 3 newly installed, 0 to remove and 19 not upgraded.
Need to get 29.4 MB of archives.
After this operation, 85.7 MB of additional disk space will be used.
Get:1 http://fi.archive.ubuntu.com/ubuntu/ natty/restricted nvidia-current i386 270.41.06-0ubuntu1 [28.5 MB]
Get:2 http://fi.archive.ubuntu.com/ubuntu/ natty/main screen-resolution-extra all 0.14build1 [13.3 kB]   
Get:3 http://fi.archive.ubuntu.com/ubuntu/ natty/main nvidia-settings i386 270.29-0ubuntu1 [902 kB]      
Fetched 29.4 MB in 2min 5s (235 kB/s)                                                                    
Selecting previously deselected package nvidia-current.
(Reading database ... 186010 files and directories currently installed.)
Unpacking nvidia-current (from .../nvidia-current_270.41.06-0ubuntu1_i386.deb) ...
Selecting previously deselected package screen-resolution-extra.
Unpacking screen-resolution-extra (from .../screen-resolution-extra_0.14build1_all.deb) ...
Selecting previously deselected package nvidia-settings.
Unpacking nvidia-settings (from .../nvidia-settings_270.29-0ubuntu1_i386.deb) ...
Processing triggers for man-db ...
Setting up nvidia-current (270.41.06-0ubuntu1) ...
update-alternatives: using /usr/lib/nvidia-current/ld.so.conf to provide /etc/ld.so.conf.d/GL.conf (gl_conf) in auto mode.
update-alternatives: warning: skip creation of /usr/lib32/vdpau/libvdpau_nvidia.so.1 because associated file /usr/lib32/nvidia-current/vdpau/libvdpau_nvidia.so.1 (of link group gl_conf) doesn't exist.
update-alternatives: warning: skip creation of /usr/lib32/libvdpau_nvidia.so because associated file /usr/lib32/nvidia-current/vdpau/libvdpau_nvidia.so (of link group gl_conf) doesn't exist.
update-initramfs: deferring update (trigger activated)
Loading new nvidia-current-270.41.06 DKMS files...
First Installation: checking all kernels...
Building only for 2.6.38-8-generic
Building for architecture i686
Building initial module for 2.6.38-8-generic
Done.

nvidia-current.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.38-8-generic/updates/dkms/

depmod.........

DKMS: install Completed.
Setting up screen-resolution-extra (0.14build1) ...
Processing triggers for python-central ...
Setting up nvidia-settings (270.29-0ubuntu1) ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.38-8-generic

Backing up Configuration
cp: cannot stat `/etc/X11/xorg.conf': No such file or directory

Installing Optimus Configuration and files

32-bit system detected

Selecting previously deselected package virtualgl.
(Reading database ... 186219 files and directories currently installed.)
Unpacking virtualgl (from .../VirtualGL_i386.deb) ...
Setting up virtualgl (2.2.2-20110421) ...
update-alternatives: using /usr/lib/mesa/ld.so.conf to provide /etc/ld.so.conf.d/GL.conf (gl_conf) in auto mode.
WARNING: All config files need .conf: /etc/modprobe.d/blacklist.conf.optiorig, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/blacklist.conf.optiorig, it will be ignored in a future release.

Changing Configuration to match your Machine


Select your Laptop:
1) Alienware M11X
2) Dell XPS 15
3) Asus N61Jv (X64Jv)
4) Asus EeePC 1215N
5) Acer Aspire 5745PG
6) Dell Vostro 3300
7) Dell XPS 15 (L502x)
8) Dell Vostro 3400
9) Toshiba Satellite M645-SP4132L
10) Asus U43JC
11) Samsung RF511
12) CLEVO W150HNQ

97) Manually Set Output to CRT-0
98) Manually Set Output to DFP-0
99) Manually Enter Output

4


Setting output device to: DFP-0


Enabling Optimus Service
 Adding system startup for /etc/init.d/xdm-optimus ...
   /etc/rc0.d/K20xdm-optimus -> ../init.d/xdm-optimus
   /etc/rc1.d/K20xdm-optimus -> ../init.d/xdm-optimus
   /etc/rc6.d/K20xdm-optimus -> ../init.d/xdm-optimus
   /etc/rc2.d/S20xdm-optimus -> ../init.d/xdm-optimus
   /etc/rc3.d/S20xdm-optimus -> ../init.d/xdm-optimus
   /etc/rc4.d/S20xdm-optimus -> ../init.d/xdm-optimus
   /etc/rc5.d/S20xdm-optimus -> ../init.d/xdm-optimus

Setting up Enviroment variables




The Image Transport is how the images are transferred from the
nVidia card to the Intel card, people has different experiences of
performance, but just select the default if you are in doubt.

I recently found out that yuv and jpeg both has some lagging
this is only noticable in fast moving games, such as 1st person
shooters and for me, its only good enough with xv, even though
xv sets down performance a little bit.

1) YUV
2) JPEG
3) PROXY
4) XV (default)
5) RGB

4


32-bit system detected - Configuring

 * Starting X display manager xdm-optimus                                                          [ OK ] 



Ok... Installation complete...

Now you need to make sure that the command "vglclient -gl" is run after your Desktop Enviroment is started

In KDE this is done by this script.. Thanks to Peter Liedler..

In GNOME this is done by this script.. Thanks to Peter Liedler..

After that you should be able to start applications with "optirun <application>".

If you have any problems in or after the installation, please try to run the bumblebee-uninstall script and then
rerun this script... if that doesn't work: please run the bumblebee-bugreport tool and send me a bugreport.

Or even better.. create an issue on github... this really makes bugfixing much easier for me and faster for you

Good luck... MrMEEE / Martin Juhl

http://www.martin-juhl.dk, http://twitter.com/martinjuhl, https://github.com/MrMEEE/bumblebee
ivan@igagis-1215N:~/1/2/bumblebee$ 
VirtualGL Client 32-bit v2.2.2 (Build 20110421)
Listening for unencrypted connections on port 4242

Follow ups

References