MrMEEE / bumblebee-Old-and-abbandoned

OUTDATED!!!!! - Replaced by "The Bumblebee Project" and "Ironhide"
http://www.martin-juhl.dk/2011/08/ironhide-reporting-for-duty/
469 stars 49 forks source link

Working on Lenovo Thinkpad T420 (Ubuntu) #286

Closed Hoverbear closed 13 years ago

Hoverbear commented 13 years ago

Hi all, Just tested Bumblebee on my Thinkpad T420's wubi Ubuntu test install (Specifically for testing this) and it works!

I ran it with the following settings:

*jpeg

Initial glxgears tests: Intel: ~800 FPS Optirun's Nvidia: ~1500 FPS This is as expected, as the card tends to run just less then twice as fast then the intel.

If you need any addional information it'll have to come from me once I install Arch this weekend.

Thanks so much for all your work!

sudhirkhanger commented 13 years ago

I have a quick question for you. What are your display settings in BIOS? Optimus/discrete/integrated as graphic card and OS detection enabled/disabled. What drivers are you running? Their are two drivers in Ubuntu Nvidia accelerated or Experimental Nouveau or both.

Hoverbear commented 13 years ago

I'm running optimus in my bios, with os detection enabled. I don't think the latter is required though. I am using the default drivers supplied by bumblebee.

On Fri, Jun 10, 2011 at 4:30 PM, donniezazen < reply@reply.github.com>wrote:

I have a quick question for you. What are your display settings in BIOS? Optimus/discrete/integrated as graphic card and OS detection enabled/disabled. What drivers are you running? Their are two drivers in Ubuntu Nvidia accelerated or Experimental Nouveau or both.

Reply to this email directly or view it on GitHub: https://github.com/MrMEEE/bumblebee/issues/286#issuecomment-1345694

sudhirkhanger commented 13 years ago

Thanks i installed it with settings you posted above. How do i test it and what is expected? I ran optirun64 in terminal. Do i have to make modifications to enable card and disable card scripts?

optirun64

Usage: vglrun [options] [--] [OpenGL app arguments]

VirtualGL options (see documentation for a more comprehensive list)

-c : proxy = Send 3D images uncompressed using X11 Transport [default for local X connections] jpeg = Compress 3D images using JPEG/send using VGL Transport [default for remote X connections] rgb = Encode 3D images as RGB/send using VGL Transport xv = Encode 3D images as YUV420P/send using XV Transport yuv = Encode 3D images as YUV420P/send using the VGL Transport and display on the client using X Video [If an image transport plugin is being used, then can be any number >= 0 (default=0).]

-nodl : If an app uses dlopen() to explicitly access libGL.so, don't force it to open VirtualGL instead (see docs)

-d : = the X Display or GLP device to use for 3D rendering [default = :0.0]

-fps : Limit client/server frame rate to frames/sec

-gamma : Set gamma correction factor to (see docs)

-ge : Fool application into thinking that LD_PRELOAD is unset

-ms : Force VirtualGL to use OpenGL multisampling with samples ( = 0 forces multisampling to be disabled)

-np : Use CPUs to perform image compression [default = 1]

+/-pr : Enable/disable performance profiling output [default = disabled]

-q : Compression quality [1 <= <= 100] [default = 95 for JPEG/VGL Transport. Has no effect with X11 Transport]

-samp : Chrominance subsampling factor = gray, 1x, 2x, 4x [default = 1x for JPEG/VGL Transport. Has no effect with X11 Transport or RGB encoding]

+/-s : Enable/disable SSL encryption of VGL Transport or custom image transport, if applicable. [default = disabled. Has no effect on the VGL Transport unless VirtualGL was built with OpenSSL support]

+/-sp : Turn on/off frame spoiling [default = enabled]

-st : left = Send only left eye buffer of stereo application right = Send only right eye buffer of stereo application quad = Use quad-buffered stereo if available, otherwise use red/cyan (anaglyphic) stereo [default] rc = Always use red/cyan (anaglyphic) stereo

+/-sync : Enable/disable strict 2D/3D synchronization [default = disabled]

+/-tr : Enable/disable function call tracing (generates a lot of output) [default = disabled]

-trans : Use transport plugin contained in library libvgltrans_.so

+/-v : Enable/disable verbose VirtualGL messages [default = disabled]

-64 : (Solaris only) Preload VirtualGL only into 64-bit apps -32 : (Solaris only) Preload VirtualGL only into 32-bit apps

  • Stopping Bumblebee X server bumblebee * . * . /usr/local/bin/bumblebee-disablecard: 1: ��: not found
Hoverbear commented 13 years ago

Trying doing "optirun64 glxgears", it expects a launch arguement to be passed in. glxgears can be anything really. If that fails try running just plain "optirun glxgears".

On Fri, Jun 10, 2011 at 7:06 PM, donniezazen < reply@reply.github.com>wrote:

Thanks i installed it with settings you posted above. How do i test it and what is expected? I ran optirun64 in terminal. Do i have to make modifications to enable card and disable card scripts?

optirun64

  • Starting Bumblebee X server bumblebee /usr/local/bin/bumblebee-enablecard: 1: ��: not found [ OK ]

Usage: vglrun [options] [--] [OpenGL app arguments]

VirtualGL options (see documentation for a more comprehensive list)

-c : proxy = Send 3D images uncompressed using X11 Transport [default for local X connections] jpeg = Compress 3D images using JPEG/send using VGL Transport [default for remote X connections] rgb = Encode 3D images as RGB/send using VGL Transport xv = Encode 3D images as YUV420P/send using XV Transport yuv = Encode 3D images as YUV420P/send using the VGL Transport and display on the client using X Video [If an image transport plugin is being used, then can be any number >= 0 (default=0).]

-nodl : If an app uses dlopen() to explicitly access libGL.so, don't force it to open VirtualGL instead (see docs)

-d : = the X Display or GLP device to use for 3D rendering [default = :0.0]

-fps : Limit client/server frame rate to frames/sec

-gamma : Set gamma correction factor to (see docs)

-ge : Fool application into thinking that LD_PRELOAD is unset

-ms : Force VirtualGL to use OpenGL multisampling with samples ( = 0 forces multisampling to be disabled)

-np : Use CPUs to perform image compression [default = 1]

+/-pr : Enable/disable performance profiling output [default = disabled]

-q : Compression quality [1 <= <= 100] [default = 95 for JPEG/VGL Transport. Has no effect with X11 Transport]

-samp : Chrominance subsampling factor = gray, 1x, 2x, 4x [default = 1x for JPEG/VGL Transport. Has no effect with X11 Transport or RGB encoding]

+/-s : Enable/disable SSL encryption of VGL Transport or custom image transport, if applicable. [default = disabled. Has no effect on the VGL Transport unless VirtualGL was built with OpenSSL support]

+/-sp : Turn on/off frame spoiling [default = enabled]

-st : left = Send only left eye buffer of stereo application right = Send only right eye buffer of stereo application quad = Use quad-buffered stereo if available, otherwise use red/cyan (anaglyphic) stereo [default] rc = Always use red/cyan (anaglyphic) stereo

+/-sync : Enable/disable strict 2D/3D synchronization [default = disabled]

+/-tr : Enable/disable function call tracing (generates a lot of output) [default = disabled]

-trans : Use transport plugin contained in library libvgltrans_.so

+/-v : Enable/disable verbose VirtualGL messages [default = disabled]

-64 : (Solaris only) Preload VirtualGL only into 64-bit apps -32 : (Solaris only) Preload VirtualGL only into 32-bit apps

  • Stopping Bumblebee X server bumblebee
    • .
    • . /usr/local/bin/bumblebee-disablecard: 1: ��: not found

Reply to this email directly or view it on GitHub: https://github.com/MrMEEE/bumblebee/issues/286#issuecomment-1346079