← Back to team overview

hybrid-graphics-linux team mailing list archive

Re: bumblebee v1.0 has been released... updated script and new name...

 

Can you please try: 

LD_LIBRARY_PATH=/usr/lib/nvidia-current/ DISPLAY=:1 glxgears 




	Med venlig hilsen 

Martin Juhl 
IT-konsulent 
T: (+45) 70 20 10 63 
M: (+45) 27 52 46 58 
	
CASALOGIC A/S 



	Besøg os på 
www.casalogic.dk 
	



Fra: "Gaspo" <martin@xxxxxxxx> 
Til: "Martin Juhl" <mj@xxxxxxxxxxxx> 
Cc: hybrid-graphics-linux@xxxxxxxxxxxxxxxxxxx 
Sendt: tirsdag, 10. maj 2011 09:55:48 
Emne: Re: [Hybrid-graphics-linux] bumblebee v1.0 has been released... updated script and new name... 

Hi, 

Im sorry, I forgot.. 

I've done these changes before, and the test I did was actualy with them 
applied. 

Any other ideas? 

Gaspo 

On 10/05/11 09:29, Martin Juhl wrote: 
> Hi.. 
> 
> Thanks for the info.. 
> 
> Try to change the following to things: 
> 
> /etc/init.d/xdm-optimus line 64: 
> 
> change: 
> 
> LD_LIBRARY_PATH=/usr/lib64/nvidia-current start-stop-daemon --start 
> --quiet $SSD_START_ARGS -- -config /etc/X11/xdm-optimus/xdm-config\ to 
> 
> LD_LIBRARY_PATH=/usr/lib/nvidia-current start-stop-daemon --start 
> --quiet $SSD_START_ARGS -- -config /etc/X11/xdm-optimus/xdm-config\ 
> 
> 
> and 
> 
> /usr/local/bin/optimusXserver line 2: 
> 
> LD_LIBRARY_PATH=/usr/lib64/nvidia-current /usr/bin/X $@ 
> 
> to 
> 
> LD_LIBRARY_PATH=/usr/lib/nvidia-current /usr/bin/X $@ 
> 
> I think that should do it... let me know how it goes... 
> 
> /Martin 
> 
> 
> 
> ------------------------------------------------------------------------ 
> *Fra: *"Gaspo" <martin@xxxxxxxx> 
> *Til: *hybrid-graphics-linux@xxxxxxxxxxxxxxxxxxx 
> *Sendt: *tirsdag, 10. maj 2011 09:22:30 
> *Emne: *Re: [Hybrid-graphics-linux] bumblebee v1.0 has been released... 
> updated script and new name... 
> 
> Hi Martin, 
> 
> Im trying to make it work on my 32bit ubuntu. I have customized your 
> install script. There were only few changes: 
> 
> dpkg -i install-files/VirtualGL_i386.deb 
> instead of 64bit version. 
> 
> and 
> 
> echo "VGL_DISPLAY=:1 
> export VGL_DISPLAY 
> VGL_COMPRESS=$IMAGETRANSPORT 
> export VGL_COMPRESS 
> VGL_READBACK=fbo 
> export VGL_READBACK 
> 
> alias optirun='vglrun -ld /usr/lib/nvidia-current'" >> /etc/bash.bashrc 
> 
> instead of 
> 
> alias optirun32='vglrun -ld /usr/lib32/nvidia-current' 
> alias optirun64='vglrun -ld /usr/lib64/nvidia-current'" >> /etc/bash.bashrc 
> 
> 
> but when I run 
> $ optirun glxgears 
> 
> I get a black window and low fps with this output: 
> 
> Xlib: extension "NV-GLX" missing on display ":1". 
> Xlib: extension "NV-GLX" missing on display ":1". 
> [VGL] WARNING: The OpenGL rendering context obtained on X display 
> [VGL] :1 is indirect, which may cause performance to suffer. 
> [VGL] If :1 is a local X display, then the framebuffer device 
> [VGL] permissions may be set incorrectly. 
> 195 frames in 5.0 seconds = 38.994 FPS 
> 174 frames in 5.0 seconds = 34.514 FPS 
> 196 frames in 5.0 seconds = 39.157 FPS 
> 182 frames in 5.0 seconds = 36.312 FPS 
> 
> Could you please direct me, where sould I look to solve this? 
> 
> Gaspo 
> 
> On 10/05/11 00:02, Martin Juhl wrote: 
> > The script should take care of any pci setup... 
> > 
> > 
> > Please provide the logs: 
> > /var/log/Xorg.1.log and /var/log/xdm-optimus.log... 
> > 
> > 
> > 
> > 
> > ------------------------------------------------------------------------ 
> > *Fra: *"Eric Bechet" <bechet@xxxxxxxxxx> 
> > *Til: *hybrid-graphics-linux@xxxxxxxxxxxxxxxxxxx 
> > *Sendt: *mandag, 9. maj 2011 19:19:41 
> > *Emne: *Re: [Hybrid-graphics-linux] bumblebee v1.0 has been released... 
> > updated script and new name... 
> > 
> > Hi, 
> > 
> > Nice job. 
> > 
> > I've tested this on an asus eeepc1215N running ubuntu 10.04 (LTS) 
> > 
> > First, there seem to be at least two variants of the same laptop, one 
> > with nvidia card at PCI 4:0:0 (at least one member of the list reported 
> > this port number) and another at 5:0:0 (mine) 
> > 
> > For now it is not working on my configuration. Installation is without 
> > trouble, but when using optirun64 (with glxgears for instance), nothing 
> > displays and a message says that it cannot open the display. 
> > 
> > running glxgears from command line is ok (uses the intel graphic card) 
> > 
> > What can I do to help ? 
> > 
> > Eric 
> > 
> > Le 08/05/2011 23:19, Martin Juhl a écrit : 
> > > Hi all 
> > > 
> > > The prime-ng project has, for several reasons, been renamed to 
> > bumblebee.. 
> > > 
> > > The script has now also been updated... thanks to all for your great 
> > > feedback.. keep it comming... 
> > > 
> > > bumblebee is Optimus support for Linux, with real offloading, and not 
> > > switchable graphics.. More important.. it works on Optimus Laptops 
> > without a 
> > > graphical multiplexer.. 
> > > 
> > > Version 1.0 of the bumblebee project has been release!!! (version 
> > number has 
> > > been reset from the prime-ng project) 
> > > 
> > > The Installation should now be completely automatic... 
> > > 
> > > 
> > > Now 3D is enabled on both the Intel and the nVidia at the same time.. 
> > > 
> > > 
> > > 
> > > Status available here: http://www.martin-juhl.dk 
> > > 
> > > Code @GitHub: https://github.com/MrMEEE/bumblebee 
> > > 
> > > Twitter here: http://twitter.com/martinjuhl 
> > > 
> > > 
> > > Martin Juhl/MrMEEE 
> > > 
> > > 
> > > 
> > > _______________________________________________ 
> > > 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 
> > 
> > 
> > _______________________________________________ 
> > 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 
> > 
> > 
> > 
> > _______________________________________________ 
> > 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 
> 
> _______________________________________________ 
> 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 

References