Hybrid Graphics Tutorial - NVidia Optimus with the GeForce GT650M on Linux


*This is not the normal way to install Bumblebee!* Please try the official methods first, and if they don't work, reinstall your operating system and try this method.

Check out this newer tutorial if you have more recent hardware and you want to see how it's done on Debian Wheezy.

If you're going to try running Linux on your new laptop that has NVidia Optimus technology, you may be in for a surprise, as the proprietary NVidia display drivers won't work out-of-the-box. Optimus is a fairly new type of technology, but it looks like it's here to stay. It typically involves having a primary display chipset (usually integrated Intel) and a secondary high-power video card (usually a really good dedicated NVidia or ATI card, ATI has their own version of this kind of technology). This all seems fine and good, except there's a technicality in how the two video devices are put together, making your computer require some dedicated software to be able to use the better video card. That's right, there are usually no BIOS settings or any other built-in means to switch between video devices or to even use the secondary (a.k.a. "discrete") video card at all. For Windows, the video card manufacturers write device drivers that automatically utilize both cards and probably allow some configuration, however, as far as I know the manufacturers have no plans to ever support this type of technology on Linux. This is where the developers of the Bumblebee Project come to the rescue, at least for NVidia Optimus cards.

Bumblebee is a free software project made to address the need for support of NVidia Optimus on Linux, and it's currently in active development. Using bumblebee and some related software, you can have a setup where your power-hungry secondary video card gets shut off when you're not using it, saving hugely on power consumption. When you need to use the secondary card for a game or what-have-you, simply start the program with the "optirun" command. Your better video card will spring to life and do all the rendering for your program. The result of the rendering is then passed back to the primary display device, who shows the program's output on-screen using software called virtualgl.

It took me several days to figure out a good way to get the bumblebee setup to work with a Clevo W150ERM laptop containing an Optimus Intel / NVidia GeForce GT650M combination, and it was complicated by the fact that I wanted to keep the stock free OpenGL implementation working as a fallback when not using the NVidia card. It took a lot of tinkering to figure out how to get the NVidia proprietary driver onto the machine without it overwriting all the original driver's stuff, and after doing that, how to get bumblebee configured to be able to find all the NVidia libraries. The NVidia driver even tries to "proactively" search your entire system and remove anything related to OpenGL. I couldn't find much online about having two parallel OpenGL installations with the proprietary drivers coexisting nicely next to some free stock OpenGL drivers, and having it all work with bumblebee... So once again, I wrote a recipe for others who want to do the same.

This tutorial teaches you how to install a version of the official NVidia Linux proprietary video driver that works with the GeForce GT650M, in a non-standard location, without removing all your original OpenGL stuff. It goes on to explain how to install a newer version of Bumblebee using git that's needed to support the GT650M.

To be clear, the GT650M I'm talking about is the 1GB GDDR5 one that shows up with the lspci command as this:
01:00.0 VGA compatible controller: NVIDIA Corporation Device 0fd1 (rev ff)

running lspci with the optirun command shows the card as this:
01:00.0 VGA compatible controller: NVIDIA Corporation Device 0fd1 (rev a1)

The tutorial has only been tested on Linux Mint 13 Cinnamon 64-bit, but probably works without modification on similar versions of Ubuntu, and with minor changes it should work with any version of Linux. I was especially inclined to keep the original OpenGL drivers because a working hardware OpenGL driver for the primary video device is required to run the Mint 13 Cinnamon desktop.

Please only follow these steps on a freshly installed operating system and make sure any important data on the system is backed up to a different piece of hardware before starting, as any mistakes may only be fixable by reinstalling your operating system.

By following this tutorial, you formally acknowledge that you do so at your own risk, without any guarantees implied or otherwise, and knowing full well that these steps may completely and irreversibly break your computer and destroy everything on it. This may not be the best or "correct" way to do these things, but it's the only way I could figure out, so if you know of a better way or have any suggestions or feedback, please feel free to leave a comment below.

Let's get started!


Enjoy!

Was this tutorial helpful? Please send thanks to the Bumblebee Project for their great work (they don't currently accept donations), and toss me a few bucks if you're feeling generous. I have no affiliation with the Bumblebee Project.


Comments

Display Name: Ivan Posted On:
2012-08-01 10:51:00 EST
Subject: GREATTTTTTTTTTTTTTTTT!!!!!!!!!!!!!11!!!!!!!
Comment:

Finally, the only tutorial that has worked for me..

Thank you very much and congratulations on an excellent post

:D

Display Name: Defcronyke Posted On:
2012-08-01 11:19:52 EST
Subject: Re: GREATTTTTTTTTTTTTTTTT!!!!!!!!!!!!!11!!!!!!!
Comment:
Hey Ivan, I'm glad my recipe worked for you! I'm wondering, were you using Ubuntu, Mint, or something else?
Display Name: Ivan Posted On:
2012-08-01 21:24:48 EST
Subject: RE:
Comment:
Lasts almost 2 days trying and nothing, until I read your post. I'm using Ubuntu 12.04 on an MSI laptop GE-60 with an Nvidia video card GTX 660m.
Again thank you very much..

Regards from Venezuela :)

Display Name: Jared Posted On:
2012-08-01 23:11:22 EST
Subject: Excellent!
Comment:
Hi, thank you for this tutorial. I've ordered the Clevo W150ER and will be receiving it in about a week. I'll try your steps on Linux Mint to make sure they work, but I really want to get Arch Linux working on it instead. I'll report back any changes that need to be made for Arch users.

Thank you again!

Display Name: Defcronyke Posted On:
2012-08-01 23:39:01 EST
Subject: Re: Excellent!
Comment:
You're welcome Jared. I welcome more distribution-specific information, and if it works well, I'll incorporate it into the next update of this tutorial (with proper credit given of course).

If the system was my own, I'd have been figuring out this setup for Gentoo and Debian, and the tutorial would have been for those distros instead, but it was for someone else. It was a really nice looking system though, and I want one!

Display Name: executor Posted On:
2012-08-07 13:16:23 EST
Subject: optirun
Comment:
hello

i use ubuntu 12.04 32bit

this is the result i get when running optirun glxspheres

andreas@laptop:~$ optirun glxspheres
[ 29.675070] [ERROR]Cannot access secondary GPU - error: [XORG] (EE)
NVIDIA(0): Failed to initialize the NVIDIA kernel module. Please see
the

[ 29.675096] [ERROR]Aborting because fallback start is disabled.
andreas@laptop:~$

what did i do wrong :)

Display Name: Defcronyke Posted On:
2012-08-07 18:12:53 EST
Subject: Re: optirun
Comment:
Hi executor,

I can't tell what's wrong except that the nvidia module wasn't able to start. Did you follow these instructions on a completely new install of Ubuntu?

If you did, you could post the contents of your /var/log/Xorg.8.log to one of those pastebin-like sites, and provide a link to it on a comment here. I may be able to help pinpoint the problem.

Display Name: kudlata Posted On:
2012-08-11 06:42:26 EST
Subject: optirun
Comment:
I have the same problem which 'executor' has.
This is Xorg.8.log file:
http://pastebin.com/GnFzaJcD

Display Name: Defcronyke Posted On:
2012-08-11 11:40:56 EST
Subject: Re: optirun
Comment:
Hi kudlata,

Nothing obvious seems to be showing up in your X server log... Are you trying this on a 32-bit distro as well?

I was getting a similar error on my 64-bit install when I didn't have all the right paths in my ./configure line (before compiling bumblebee). I can't help much more because I don't have access to the system anymore, but you could try messing with the paths and maybe adding more if I missed some.

Let me know if your distro is 32-bit, and if this isn't working for anyone with a 32-bit OS, I'll mention that in the tutorial (maybe someone will come along and fix it for us by leaving instructions in a comment :) ).

If you can't get this to work on 32-bit and you have access to a 64-bit OS, try the instructions on that, as it's worked for me and others.

Display Name: kudlata Posted On:
2012-08-11 14:06:22 EST
Subject: Re: Re: optirun
Comment:
Hi!

My distro IS 64-bit and I've found a solution, which works for me.

$ sudo gedit /etc/bumblebee/xorg.conf.nvidia

And I've changed >> Option "ConnectedMonitor" << to >> "CRT" <<.

BIG THANKS FOR THIS TUTORIAL! :-)

Display Name: Defcronyke Posted On:
2012-08-12 14:20:23 EST
Subject: Re: Re: Re: optirun
Comment:
Hey kudlata,

Thank you for sharing your fix! I just wanted to verify that "ConnectedMonitor" should be set to "CRT" and not in fact "CRT-0"? I've added your fix to a new troubleshooting section at the bottom of the tutorial. Thanks again!

Display Name: rfsx Posted On:
2012-08-12 16:59:58 EST
Subject: awesome tuts!
Comment:
it simply works on Asus K45VM/A45VM!!

alot of thanks to the author for the awesome tutorial! :)

Display Name: rfsx Posted On:
2012-08-12 17:15:37 EST
Subject: addition
Comment:
i'm using linuxmint 13 (maya) 64bit :)
Display Name: Tophoune Posted On:
2012-08-16 13:18:12 EST
Subject: in one word.....
Comment:
MANY THANKS FOR THAT HOW TO!!!!
i googled many hours to find out a way to install nvidia drivers without crashing my system... U the only one who provide me a secure way with your precious procedure
It clean, clear and well documented. i wholeheartedly thank u !

My Alienware M14xR2 is running perfectly . Your procedure worked very well the first time

Thank U... Thank U..... very very great job

C.

Display Name: day Posted On:
2012-08-16 17:59:29 EST
Subject: YEAHHHHHH
Comment:
I am so happy, this also worked for me :) finallyyyyyyy :)
Display Name: ad6969 Posted On:
2012-08-18 11:52:07 EST
Subject: Clevo W150ER with Nvidia Optimus GeForce GT650M
Comment:
After two days of googling and searching in vain I found this tutorial.
Everything works just perfect!
Thank you sooooo much!!!
I have already considered sending the above notebook back or giving up on
Linux altogether...

Display Name: sarosh Posted On:
2012-08-19 04:30:27 EST
Subject: dell n5110 with Nvidia Optimus GeForce GT 525M
Comment:
awesome tutorial :D
worked like a charm even for GeForce GT 525M :D
:D

I am on Ubuntu 12.04(64 bit)

one problem i encountered was when i ran:
sudo cp -a sudo cp -a /emul/ia32-linux/usr/lib/*
/usr/nvidia/lib32 /usr/nvidia/lib32

it gave error that
/emul/ia32-linux/usr/lib/* no such directory found.

i skipped this and continued with the instructions and it worked :D

Display Name: Avatar Zhang Posted On:
2012-08-23 21:44:54 EST
Subject: Cannot access secondary GPU - error: Could not load GPU driver
Comment:
optirun glxspheres
[ 120.201085] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver

[ 120.201142] [ERROR]Aborting because fallback start is disabled.

Display Name: Defcronyke Posted On:
2012-08-24 00:12:32 EST
Subject: Re: Cannot access secondary GPU - error: Could not load GPU driver
Comment:
Hi Avatar Zhang,

I might be able to help if you post the contents of your /var/log/Xorg.8.log to one of those pastebin-like sites, and provide a link to it in a comment here.

Display Name: Elephantasy Posted On:
2012-08-26 20:49:41 EST
Subject: Intel drivers
Comment:
How about will I go about if I want to install Intel drivers instead of OpenGL? My laptop is Clevo W110ER, Intel HD 4000,& Nvidia 650M. Will it work? I tried installing Intel drivers once and the screen was shifted all the way right (the right side of the desktop was on the left side of the screen), but it recognized my screen's native resolution.
Display Name: Defcronyke Posted On:
2012-08-26 20:53:42 EST
Subject: Re: Intel drivers
Comment:
This is a tutorial about how to install the NVidia drivers, and use the stock free ones as a fallback for the less-powerful Intel video chipset. It's not the place for getting information about installing Intel drivers.

The point is the stock free drivers work with the Intel chipset fine for most things out-of-the-box, and only when that's not powerful enough do you switch on the NVidia card (by running a program with the "optirun" command). This method saves big time on power
consumption.

Also, every video driver regardless of vendor will most likely have some kind of OpenGL implementation, whether it be one that uses the video hardware(fast) or one that's done mostly through software(slow)... So I don't know what you mean that you want to install the Intel drivers instead of OpenGL.

I don't understand the problem you're trying to solve by installing some Intel video driver.

Display Name: Elephantasy Posted On:
2012-08-27 13:50:20 EST
Subject: Re: Intel drivers
Comment:
Sorry I'm totally new at using linux, so I don't really understand how this whole thing works. (How I understand it: Nvidia Optimus has 2 GPUs - and Intel one and an Nvidia, the Intel side uses OpenGL as its stock driver and Nvidia 650M uses nouveau or nvidia).

Anyway... my laptop runs Nvidia Optimus (Intel HD 4000 w/ Nvidia 650M) but the stock driver (OpenGL) doesn't recognize my laptop's native resolution (1366x768) - from a fresh install the resolution defaults to 1368x768. 1366x768 is selectable but the settings won't be permanent (changes back to 1368x768 after a reboot) and xrandr doesn't recognize it at all.

So, I installed the Intel driver (through "sudo apt-get install xserver-xorg-video-intel"), thinking that maybe after install Nvidia through Bumblebee. And Bumblebee can work out the whole process of switching the 2 GPUs.

Note: I'm using BackTrack 5R3 (which is based on Ubuntu 10.4)


Display Name: Defcronyke Posted On:
2012-08-27 14:13:10 EST
Subject: Re: Intel drivers
Comment:
Well it sounds like the Intel driver you're trying to install is giving you even worse problems than the stock driver. My suggestion would be to stick with the stock one and try making a custom /etc/X11/xorg.conf file. You may need to find some specs for your screen online (or in your computer's docs) somewhere, so you know what values to put in it.

It's a bit of a dark art, and there are a few settings where if you put the wrong values you risk damaging your screen. Anyway, check here for some hints: http://ubuntuforums.org/showthread.php?t=83973

Note that the first step listed at that link is to "Backup your configuration file", but you most likely won't have an xorg.conf to back up yet so that command will probably fail, which is fine.
Good luck!

Display Name: hidrargyro Posted On:
2012-08-28 15:01:59 EST
Subject: problem with X11
Comment:
Hi, I have problems when try to configure bumblebee, at this point:
./configure --prefix=/usr --sysconfdir=/etc CONF_DRIVER=nvidia
CONF_DRIVER_MODULE_NVIDIA=nvidia CONF_LDPATH_NVIDIA=/usr/nvidia/lib:/usr/nvidia/lib32:/usr/lib/xorg/nvidia/modules/drivers:/usr/lib/xorg/nvidia/modules/extensions:/usr/lib/xorg/nvidia/modules:/usr/lib/xorg/modules:/usr/lib/xorg/modules/drivers:/usr/lib/xorg/modules/extensions CONF_MODPATH_NVIDIA=/usr/lib/xorg/nvidia/modules/drivers,/usr/lib/xorg/nvidia/modules,/usr/lib/xorg/modules

I see the next message:

checking for x11... no
configure: error:
Package requirements (x11) were not met:

No package 'x11' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables x11_CFLAGS
and x11_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

And can't going on with the next step :(

Note: I am on Ubuntu 12.04 64bit

thanks!

Display Name: Defcronyke Posted On:
2012-08-28 16:20:36 EST
Subject: Re: problem with X11
Comment:
Hey hidrargyro,

Try this:
sudo apt-get install libx11-dev

If that doesn't fix your problem, I don't know what to tell you... Let me know how it goes.

Display Name: hidrargyro Posted On:
2012-08-29 09:46:04 EST
Subject: Re: problem with X11
Comment:
thanks Defcronyke! I was afraid to install something that is not included in the tutorial :)
I finish all the steps but i have the same problem that others:

[ 24.644626] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please

[ 24.644654] [ERROR]Aborting because fallback start is disabled.

I post my /var/log/Xorg.8.log here:
http://pastebin.com/nPwwDkZC

note: i made the change to CRT

thanks!


Display Name: Defcronyke Posted On:
2012-08-29 09:45:34 EST
Subject: Re: problem with X11
Comment:
The only error I see showing up in your /var/log/Xorg.8.log is:
(EE) Failed to load module "kbd" (module does not exist, 0)

I'm not sure if that's really a problem, but I'd like to see a pastebin of the output of the dmesg command if you don't mind. It may point out what the problem is.

Display Name: hidrargyro Posted On:
2012-08-29 13:47:21 EST
Subject: Re: problem with X11
Comment:
Sure, any help will be apreciated! :)
Here is:


http://pastebin.com/1kNwsXp4

Display Name: Defcronyke Posted On:
2012-08-29 14:14:09 EST
Subject: Re: problem with X11
Comment:
From the dmesg output, it looks like you're experiencing a problem that many Lenovo and Toshiba users are facing. If your system is one of those brands (or if nothing else works), you might want to consider trying the steps outlined here:
https://github.com/Bumblebee-Project/bbswitch/tree/hack-lenovo#lenovo-ideapad-y470y570-and-toshiba-satellite-p870

Display Name: hidrargyro Posted On:
2012-08-29 15:42:42 EST
Subject: Re: problem with X11
Comment:
yeah!! at least!! this hack and your tutorial works perfect!!
If somebody else have the Lenovo y580 with geforce gtx 660m, the solution is follow this tutorial and then make the hack, and one more thing, you need to blacklist all this:

blacklist amd76x_edac
blacklist nouveau
blacklist vga16fb
blacklist rivafb
blacklist nvidiafb
blacklist rivatv

and then its work, manually on off but works!!

Thanks Defcronyke
I will donate :)

Display Name: Defcronyke Posted On:
2012-08-29 18:27:49 EST
Subject: Re: problem with X11
Comment:
Glad you got it working. Thanks for the donation (and thanks to the other person who donated anonymously a couple weeks ago)!
Display Name: Avatas Posted On:
2012-08-31 01:55:16 EST
Subject: Amazing work!
Comment:
I've been trying to get this to run in Backtrack 5R2&R3 64bit KDE for over a month. Your tutorial was spot on. I had to reset some dependencies but otherwise seamless. Thank you!
Display Name: Elephantasy Posted On:
2012-08-31 12:33:18 EST
Subject: Thanks for the tutorial
Comment:
I removed my BackTrack partition and replaced it with Linux Mint 13, to try out your solution. It works great, I can finally use my nVidia on Linux.

Let me just add a few things:
For those getting the error
[ERROR]Cannot access secondary GPU - error: [XORG] (EE)
NVIDIA(0): Failed to initialize the NVIDIA kernel module.

Change the whole line (in /etc/bumblebee/xorg.conf.nvidia), and not just "ConnectedMonitor" > "CRT"
like this:

Option "ConnectedMonitor" "DFP"
to
Option "ConnectedMonitor" "CRT"


Display Name: Defcronyke Posted On:
2012-08-31 13:01:56 EST
Subject: Re: Thanks for the tutorial
Comment:
I'm glad it worked for you Elephantasy (at least on Mint),
thanks for clarifying the troubleshooting instruction. I've updated the section to make it easier to understand.

Display Name: Sky Posted On:
2012-09-01 15:50:19 EST
Subject: Thanks, and issues
Comment:
Thank you very much for this tutorial, it worked for me.

I had the same problem than sarosh (not found), but it worked without this. I also had the issue pointed by kudlata, which was finely corrected by the solution given in the troubleshooting section ("ConnectedMonitor" > "CRT")

For information, I am running Kubuntu 12.04 64 bit. My computer is a Dell Inspiron 17R special edition (7720)

Display Name: Avatas Posted On:
2012-09-04 17:21:10 EST
Subject: Bumblebee & CUDA support
Comment:
For those interested, installation of the CUDA 5 dev drivers directly from NVIDIA and then following the instructions at http://www.backtrack-linux.org/forums/showthread.php?t=48510 will setup both Bumblebee and CUDA support
Display Name: sleepdead Posted On:
2012-09-12 07:03:14 EST
Subject: frame rates.. is this right?
Comment:
Hello man,

Great post! I was getting a compiler error, and doing export CC=/usr/bin/gcc-4.6 fixed it.

though, When I run the spheres stuff my frame rates are quite similar. Is that right?

I'm running Debian wheezy

lol@lol:~$ optirun glxspheres
Polygons in scene: 62464
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: GeForce GT 650M/PCIe/SSE2
65.645518 frames/sec - 73.260398 Mpixels/sec
63.313199 frames/sec - 70.657530 Mpixels/sec
62.815021 frames/sec - 70.101563 Mpixels/sec
62.332440 frames/sec - 69.563003 Mpixels/sec
62.303285 frames/sec - 69.530466 Mpixels/sec
lol@lol:~$ glxspheres
Polygons in scene: 62464
Visual ID of window: 0x9d
Context is Direct
OpenGL Renderer: Mesa DRI Intel(R) Ivybridge Mobile
60.006485 frames/sec - 66.967237 Mpixels/sec
59.721505 frames/sec - 66.649200 Mpixels/sec
59.874286 frames/sec - 66.819703 Mpixels/sec
59.850904 frames/sec - 66.793609 Mpixels/sec
59.841454 frames/sec - 66.783063 Mpixels/sec


Display Name: Defcronyke Posted On:
2012-09-12 11:00:51 EST
Subject: Re: frame rates.. is this right?
Comment:
Looks fine to me...
Display Name: Ni Posted On:
2012-09-18 11:40:38 EST
Subject: Frame rates
Comment:
Hello

Thanks for the tutorial, it work great after changing the Option "ConnectedMonitor" "CRT".
For comparison here are my frame rates:

Polygons in scene: 62464
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: GeForce GT 650M/PCIe/SSE2
105.291065 frames/sec - 117.504828 Mpixels/sec
111.411387 frames/sec - 124.335108 Mpixels/sec
112.392479 frames/sec - 125.430007 Mpixels/sec
117.714477 frames/sec - 131.369357 Mpixels/sec
110.979018 frames/sec - 123.852584 Mpixels/sec
115.475237 frames/sec - 128.870364 Mpixels/sec
ni@ni-700Z7C:~$ glxspheres
Polygons in scene: 62464
Visual ID of window: 0xa0
Context is Direct
OpenGL Renderer: Mesa DRI Intel(R) Ivybridge Mobile
59.465923 frames/sec - 66.363970 Mpixels/sec
59.882236 frames/sec - 66.828575 Mpixels/sec
59.870112 frames/sec - 66.815045 Mpixels/sec
59.905449 frames/sec - 66.854481 Mpixels/sec


Display Name: Defcronyke Posted On:
2012-09-18 21:47:41 EST
Subject: Re: Frame rates
Comment:
Hey Ni,

Could you tell us which system those framerates are from so we have something to compare with?

Display Name: trollogue Posted On:
2012-10-07 08:54:49 EST
Subject: World of Warcraft
Comment:
Hi
Thanks, it worked for me as well. (had to do the "CRT" trick)! Because of this great tutorial I finally made the decision to replace my 4 year old notebook to a Samsung 700Z7C-S02 with a GT 650M. I have super high framerates running optirun glxgears or glxspheres and decent battery life :-)

I had though the same problem as "sarosh" no /emul/ia32-linux/usr/lib/ files found, but everything seemed to work just fine.

Though when trying World Of Warcraft I get this and thought this must be because I am missing some 32 bit OpenGL files for the graphics card. What am I missing ? (Same result adding the -opengl flag as last parameter)

optirun wine c:\Program Files (x86)\World of Warcraft\Wow.exe
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:win:EnumDisplayDevicesW ((null),0,0x180ed28,0x00000000), stub!
err:wgl:X11DRV_WineGL_InitOpenglInfo couldn't initialize OpenGL, expect problems
Direct3D9 is not available without OpenGL.
Direct3D9 is not available without OpenGL.
Direct3D9 is not available without OpenGL.

Display Name: Defcronyke Posted On:
2012-10-07 13:56:24 EST
Subject: Re: World of Warcraft
Comment:
Hey trollogue,

Your problem seems to be unrelated to my tutorial and bumblebee, but a quick google search turns up this page, which provides instructions that may fix your issue:
http://askubuntu.com/questions/127848/wine-cant-find-gnome-keyring-pkcs11-so

Display Name: trollogue Posted On:
2012-10-08 05:17:43 EST
Subject: World of Warcraft
Comment:
Hi thanks for your quick reply.

I do not know why but all my 32 bit nvidia/OpenGL stuff were not in /emul/ia32-linux but instead in /usr/lib32. I copied all files related to nvidia and opengl to /usr/nvidia/lib32 as you described then everything worked just fine :-).

optirun bash
wine c:\Program Files (x86)\World of Warcraft\Wow.exe

It still complains about gnome-keyring but the game rocks !!

Display Name: sleepdead Posted On:
2012-11-13 07:17:54 EST
Subject: Frame rates
Comment:
Hey Defcronyke,

Ni also posted framerates, and well, as I thought there is something wrong with my configuration.

The frame rates for processor graphic card looks almost the same. But for the 650M mine are around half of what Ni got. My laptop is a Clevo W150ER.

Mine framerates for gforce card are just a bit higher than the intel one!

Do you have any ideas why that happens?

Thanks a lot!

Display Name: deus_ex77 Posted On:
2012-11-15 15:45:32 EST
Subject: Preventing nvidia driver install to break existing opengl installation - without bumblebee
Comment:
Hi there,

I must concur that this is a truly unique tutorial, great work and priceless information. My problem is similar, but requires less demanding solution, I hope you can help. My desktop computer has an Ivy Bridge IGP and a discrete Nvidia GTX 660 Ti card, which I intend to use explicitely for CUDA programming. When I install the proprietary nvidia driver, it breaks the existing mesa installation used by IGP. I can then run CUDA samples but only the ones that do not require opening a window, at which point the IGP should render OpenGL stuff and it terminates with an error:

Xlib: extension "GLX" missing on display ":0".
Error: couldn't get an RGB, Double-buffered visual

I get the same error if running e.g. glxgears after installing nvidia driver.

What is interesting is that even if I skip installing any OpenGL related files, the proprietary nvidia driver installation still somehow messes things up. I was hoping you could explain which path arguments above I should use when running the nvidia installer to circumvent this.

I do not intend to switch between two graphics chips but only use the dedicated card for CUDA and IGP for (possibly OpenGL accelerated) display, therefore I believe the bumblebee part is not necessary for me (or could it be helpfull?).

Thanks in advance.

Display Name: Defcronyke Posted On:
2012-11-15 17:22:28 EST
Subject: Re: Frame rates
Comment:
Hi sleepdead,

Ni never told us what system their framerates were from, so there's no way to compare. As long as you're getting 60 FPS or higher on the glxspheres though, you shouldn't have any problems. There are many factors that may affect framerate, including airflow and other system specs.

Display Name: Defcronyke Posted On:
2012-11-15 17:33:00 EST
Subject: Re: Preventing nvidia driver install to break existing opengl installation - without bumblebee
Comment:
Hey deus_ex77,

Bumblebee is probably what you want if you need to keep the Mesa stuff working, but also want to run stuff (CUDA or other) on the discrete card. Following this tutorial might give you the setup you need, but to answer your question directly: The Nvidia installer searches your filesystem looking for other vendors' OpenGL implementations, and cripples them on purpose, unless you use the flags: --no-recursion -e

This isn't tested, so you still might need to follow the tutorial exactly to get the desired results, but I think those flags might work. Good luck and let me know if you have any more questions.

Display Name: deus_ex77 Posted On:
2012-11-16 07:11:31 EST
Subject: Re: Preventing nvidia driver install to break existing opengl installation - without bumblebee
Comment:
Hi again,

I haven't tried with bumblebee yet, but before I go and mess up what I have working now, could you please give me a hint on what to expect? Assume I have a CUDA based app that also renders something into a window (e.g. many of the CUDA samples). If I set up the system according to the tutorial above and run such application with optirun, my prediction is that the discrete card takes over all of rendering/computing, in which case it is limited to few secs of execution time (because it is used for X and the IGP is essentially disabled). But if I run the app without optirun, it still uses discrete card for CUDA computation (because the device is selected by the app itself), while the rendering is done on the IGP. In the latter case the app execution time should not be limited. Or will bumblebee completely obscure the CUDA card in that case?
Thanks again, I shall get back with my report on how it went (without bumblebee first) later today.

Display Name: Defcronyke Posted On:
2012-11-16 13:00:16 EST
Subject: Re: Preventing nvidia driver install to break existing opengl installation - without bumblebee
Comment:
I've never used CUDA, and have only briefly dabbled in OpenCL, but not on an Optimus machine.

However, with bumblebee X will not be run using the discrete card, only the rendering for the window of your app that you launch with the optirun command will be run on the discrete card. Furthermore, I believe the IGP will do the actual displaying of the window using virtualgl. The point of bumblebee is to never use the discrete card for anything until you "opt-in" by launching something with optirun.

I'm not convinced that your CUDA app will even be able to select the card for use unless your app is first launched with optirun, but if it can, that's pretty cool! Let me know how it goes, and sorry I don't have all the answers.

Display Name: deus_ex77 Posted On:
2012-11-16 13:24:49 EST
Subject: Re: Preventing nvidia driver install to break existing opengl installation - without bumblebee Commen
Comment:
Hi,

I successfully installed nvidia opengl side-by-side with mesa and glxgears runs ok. Also console CUDA apps run ok, but the CUDA/OpenGL interop doesn't, presumably because mesa libGL is always invoked where nvidia one should be. This sounds like something bumblebee could resolve and I shall try it out. As you said, it would be very nice if I could actually run CUDA kernels on the discrete card and connect its CUDA context with the OpenGL context on the IGP. I have no idea if such cross-driver interop is even viable. If the nvidia module is loaded, the device should be accessible by my app, even though I don't launch it with optirun. But I read somewhere that nvidia is not shown by lsmod unless you use optirun.

Display Name: Defcronyke Posted On:
2012-11-16 16:21:02 EST
Subject: Re: Preventing nvidia driver install to break existing opengl installation - without bumblebee
Comment:
As far as I know, when bumblebee is working, it keeps the nvidia module unloaded (and the discrete card powered off) when nothing is being run with the optirun command. As soon as you try to launch a program with optirun, the card gets switched on and the nvidia module gets loaded.
Display Name: deus_ex77 Posted On:
2012-11-17 03:34:22 EST
Subject: Re: Preventing nvidia driver install to break existing opengl installation - without bumblebee Commen
Comment:
Hi,

I installed bumblebee according to the tutorial today and EVERYTHING WORKS!!! Nvidia module seems to load from the start and even if I launch the CUDA deviceQuery example first off, it detects my card. Running glxgears with and without optirun shows difference. Running simpleGL CUDA sample without optirun gives me error as expected but running it with optirun works.
Thanks again for this indispensable tutorial. Could you please check if nvidia module loads on your system even before using optirun? I wouldn't want to be in surprise the first time something goes updated.

Display Name: Defcronyke Posted On:
2012-11-17 22:14:54 EST
Subject: Re: Preventing nvidia driver install to break existing opengl installation - without bumblebee
Comment:
Hey,

I don't have access to the Optimus system anymore, so I can't say for sure if the nvidia module normally starts automatically, however this line from the tutorial explicitly stops the module from loading on boot (if in fact it was going to load):
echo "blacklist nvidia" >> /etc/modprobe.d/blacklist.conf

You could try removing that line from your /etc/modprobe.d/blacklist.conf, and maybe the module will be loaded on boot, but I suspect bbswitch (which works along side bumblebee) will probably unload the module automatically and power the card off during boot anyway. I haven't tested this, so it's possible it could really mess things up for you, so only try if you're prepared for disaster.

Display Name: deus_ex77 Posted On:
2012-11-18 14:59:58 EST
Subject: Preventing nvidia driver install to break existing opengl installation - without bumblebee
Comment:
Right, I guess I forgot to blacklist nvidia module in the first place, but obviously that works for me. It seems like bbswitch doesn't unload the module in my case, but since it's main purpose is power saving, I could actually uninstall it, right?
Display Name: Defcronyke Posted On:
2012-11-19 10:04:38 EST
Subject: Re: Preventing nvidia driver install to break existing opengl installation - without bumblebee
Comment:
I haven't tried a bumblebee setup with bbswitch not installed, but as it's a separate module, bumblebee might work without it. Again, not tested though.
Display Name: technofreak08 Posted On:
2012-11-28 23:44:07 EST
Subject: "Cannot access secondary GPU"
Comment:
Fantastic work on the tutorial! Usually installing bumblebee gives me all sorts of problems... this gets me the farthest. I am having one issue not sure if anybody has seen it or not. I have a Lenovo Y580, installed hack and all.

When running optirun I get "Cannot Access secondary GPU - error: [XORG] (EE)" This part seems fairly common.. but after that I get "NVIDIA: use the -ignoreABI option to override this check." then after that you get the typical "aborting because fallback start is disabled." Anybody see this one before? Seems like this is the last thing and it would work.. I changed the DFP to CRT in the .conf file, which didn't do anything.

Thanks

Display Name: Raphael Posted On:
2012-11-30 21:58:14 EST
Subject: Unknown
Comment:
Thank you. It works as intended. However, my GPU is still listed as "Unknown" as per the Details window and hardinfo. And I am getting this when I do

$ lspci -v | less

01:00.0 VGA compatible controller: NVIDIA Corporation Device 0fd1 (rev ff) (prog-if ff)
!!! Unknown header type 7f

Any idea how to fix it?

Display Name: Defcronyke Posted On:
2012-12-01 11:54:18 EST
Subject: Re: Unknown
Comment:
Hey Raphael,

Good question... I have no idea.

Display Name: Defcronyke Posted On:
2012-12-01 11:57:57 EST
Subject: Re: "Cannot access secondary GPU"
Comment:
Hey technofreak08,

I haven't seen that problem, but then I haven't tried this on a Lenovo. Hopefully someone else will reply here, and if you manage to figure it out in the mean time, let me know what's up and I'll probably add your solution to the Troubleshooting section.

Display Name: Raphael Posted On:
2012-12-01 17:54:37 EST
Subject: none
Comment:
Defcronyke ---

sudo apt-get install mesa-utils

was required to display the Graphics info.

Display Name: Raphael Posted On:
2012-12-01 18:13:34 EST
Subject: none
Comment:
I installed the CUDA 5 toolkit (newer driver + toolkit + samples) and now I am no longer able to run glxspheres without optirun.

$ glxspheres
Polygons in scene: 62464
Xlib: extension "GLX" missing on display ":0".
ERROR (593): Could not obtain RGB visual with requested properties

also:

$ glxinfo | grep render
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Error: couldn't find RGB GLX visual or fbconfig
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".

Do you know any fix for that? I had to reinstall my OS 8 times already, I think I will return this laptop (ASUS N56VZ-RH71) and get one without optimus.

Feel free to contact me by email if you can help me.

Thanks!

Display Name: Raphael Posted On:
2012-12-01 20:57:27 EST
Subject: none
Comment:
Here I am again.

After my 10th reinstall I have finally found the solution. This is for ASUS N56VZ-RH71, which I believe has optimus. Ubuntu 12.04.

I followed this page's tutorial exactly as it is written except that I used the latest driver from NVIDIA's website (310.19).

Then (from googling all the errors I got, I found out that these libraries are required if you don't have them already):

$ sudo apt-get install freeglut3
$ sudo apt-get install freeglut3-dev
$ sudo ln -s /usr/lib/nvidia-current/libcuda.so /usr/lib/libcuda.so

Then I ran the CUDA 5 toolkit for Ubuntu 11.10 (https://developer.nvidia.com/cuda-downloads) WITHOUT installing the driver they provide. I think installing their driver via the toolkit was the biggest mistake I was making.

reboot

Once that was finished (more required libraries):

$ sudo apt-get install libxmu-dev libxmu6 libXi-dev
$ sudo ln -s /usr/nvidia/lib/libcuda.so /usr/lib/libcuda.so

Then added this to /home/.bashrc

$ export PATH=/usr/local/cuda/bin:$PATH
$ export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
$ export LD_LIBRARY_PATH=/usr/lib/nvidia-current:$LD_LIBRARY_PATH
$ export CUDA_ROOT=/usr/local/cuda/bin

restart terminal for it to take effect.

make -k the CUDA samples. google any errors you find (put the error message inside " "), though I think I have covered all.

go to the CUDA samples directory, once there:

$ cd bin/linux/release
$ optirun ./particles

Should see the animation.

Now I have the Intel GPU running, compiz works, and I am able to run stuff with optirun.

I hope this helps some poor soul out there. I am far form an expert but at least it "worked" on mine. No guarantees. Be ready to have to reinstall your OS in case you encounter problems. It's good to have a backup USB with the installation stuff ready.

Thanks for this tutorial.

Display Name: Raphael Posted On:
2012-12-01 20:59:34 EST
Subject: ^^^^^^^^^^^^^^^^^^^^^^^
Comment:
"Then added this to /home/.bashrc" ......

Sorry, I made a mistake - add the export stuff without the $. :)

Display Name: Defcronyke Posted On:
2012-12-02 12:22:29 EST
Subject: Re: none
Comment:
Hey Raphael,

Thanks for sharing your method of getting CUDA working. I'm sure it will help people who are wondering how.

Display Name: Sharjeel Posted On:
2012-12-10 09:51:56 EST
Subject: Dynamic Switching
Comment:
hi,

im on a samsung np550p5c with a i5 3210m and a gt650m running linuxmint 14 Nadia....

followed the procedure, all is now working after i changed xorg.conf monitor to crt......


one question i had though, how can i get it to switch between cards dynamically, ie when the hd4000 is on 90% load, it switches it to nvidia card automatically???

Display Name: René Michel Posted On:
2012-12-10 21:24:03 EST
Subject: with an ASUS K45VM and ubuntu 12.10 64 bits
Comment:
I followed the steps but in the end the folder "/emul/" does not exist and the screen gets only the pointer with no session at all. So I've got an idea to download via synpatic the nvidia-experiental driver and the bumblebee together and after that moving again the libwfb.so, and works great!!

rene@K45VM:~$ glxspheres
Polygons in scene: 62464
Visual ID of window: 0xae
Context is Direct
OpenGL Renderer: Mesa DRI Intel(R) Ivybridge Mobile
60.203376 frames/sec - 67.186967 Mpixels/sec
59.866018 frames/sec - 66.810476 Mpixels/sec
59.886974 frames/sec - 66.833863 Mpixels/sec
59.846727 frames/sec - 66.788947 Mpixels/sec
59.935182 frames/sec - 66.887663 Mpixels/sec
59.886112 frames/sec - 66.832901 Mpixels/sec

rene@K45VM:~$ optirun glxspheres
Polygons in scene: 62464
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: GeForce GT 630M/PCIe/SSE2
127.682355 frames/sec - 142.493508 Mpixels/sec
132.875039 frames/sec - 148.288543 Mpixels/sec
132.037336 frames/sec - 147.353667 Mpixels/sec
133.625754 frames/sec - 149.126341 Mpixels/sec
128.497947 frames/sec - 143.403709 Mpixels/sec
133.641514 frames/sec - 149.143929 Mpixels/sec
130.877962 frames/sec - 146.059806 Mpixels/sec
132.741594 frames/sec - 148.139618 Mpixels/sec
129.623057 frames/sec - 144.659332 Mpixels/sec

Display Name: Defcronyke Posted On:
2012-12-11 16:27:01 EST
Subject: Re: Dynamic Switching
Comment:
Hey Sharjeel,

I have no idea how to switch gpus while a program is running. You might have to work at Nvidia or talk to the Bumblebee devs to figure that one out (it may not be possible).

Display Name: Defcronyke Posted On:
2012-12-11 16:29:23 EST
Subject: Re: with an ASUS K45VM and ubuntu 12.10 64 bits
Comment:
Hey René,

Thanks for sharing your method of getting Bumblebee working. It may help others who come here looking for a solution.

Display Name: Michel Posted On:
2012-12-12 00:46:40 EST
Subject: Pb with bumblebee daemon
Comment:
Hey,

Thanks very much for this tuto. I have a laptop with Nvidia 630 and I applied all the procedure but when I want to run optirun, I get the following message:

[ 1031.165507] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[ 1031.165542] [ERROR]Could not connect to bumblebee daemon - is it running?

If I try to start myself bumblebeed (sudo service bumblebeed start), I have no answer et it doesn't fix the problem.

I have you some idea about it ?

Thanks

Michel

Display Name: Defcronyke Posted On:
2012-12-12 08:51:14 EST
Subject: Re: Pb with bumblebee daemon
Comment:
Hi Michel,

Does this same error occur when bumblebee is being started during boot? If not, you may just need to have it starting itself automatically during boot, and just not try to start or stop it manually... Does running things with the optirun command work?

Display Name: Mauro Posted On:
2012-12-23 05:42:14 EST
Subject: Thanks, it works
Comment:
Thank you! After the last troubleshooting change it works like a charm with my Nvidia 650m on the Samsung NP700Z7C. Glfspheres goes at more or less 200 frames per sec.

Cheers!

Display Name: Mauro Posted On:
2012-12-23 05:48:50 EST
Subject: Side note
Comment:
Sorry, I've forgot to add a side note (I can't edit the last comment so I re-post).
I've skipped the bumblebee installation part, 'cause I had already installed it with:
- sudo add-apt-repository ppa:bumblebee/stable then sudo apt-get update
- sudo apt-get install bumblebee bumblebee-nvidia

Cheers again and happy holydays

Display Name: Poncije Posted On:
2012-12-25 21:11:36 EST
Subject: re:
Comment:
Hey technofreak08,

I have a lenovo G580 running Ubuntu 12.10 64bit and seem to be having the exact same problem as you do. Did you maybe find a solution to your problem?

I also did exactly what the tutorial said, and made the "CRT" changes, and applied the lenovo hack.

NOTE: after applying the tutorial described above my error message changed from

Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0

to

Cannot access secondary GPU - error: [XORG] (EE) NVIDIA: Use the -ignoreABI option to override this check.


Display Name: technofreak08 Posted On:
2012-12-25 21:40:19 EST
Subject: re Poncije
Comment:
Hey Poncije... Actually working on doing this whole setup again to see if I can get it running. Didn't have time after the first time due to finals for college.
If I remember right the second error you were getting is exactly the same as I was getting. If I get it running I'll let you know. As of right now I can't seem to install the newer Nvidia drivers.. so I am going to try the older ones again and see if it works at all.

Display Name: Poncije Posted On:
2012-12-25 21:54:23 EST
Subject: re technofreak08
Comment:
I just solved my problem by repeating the steps from "blacklist nvidia" but with the newest nvidia driver the 3.10.x

Here is my output:

optirun glxspheres
Polygons in scene: 62464
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: GeForce GT 635M/PCIe/SSE2
112.815820 frames/sec - 125.902455 Mpixels/sec
114.461290 frames/sec - 127.738799 Mpixels/sec

Good luck and Marry Christmas! :-)

Display Name: technofreak08 Posted On:
2012-12-25 22:17:14 EST
Subject: re Poncije
Comment:
Merry Christmas to you also!

I fixed my problem with the nvidia drivers not wanting to install. So I got the 310.19 ones installed. Though I am still getting an error... curse optimus...

[ 42.242588] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0

[ 42.242621] [ERROR]Aborting because fallback start is disabled.

This one is new...

Display Name: technofreak08 Posted On:
2012-12-25 22:20:06 EST
Subject: Woo!!
Comment:
Never mind, just changed "DFP" to "CRT" and it fixed the problem!! Sweetness!! Now to only download a demanding game to check out how the graphics work.. here I come Nexuiz.
Display Name: Poncije Posted On:
2012-12-25 22:24:14 EST
Subject: re technofreak08
Comment:
I see that I DIDN'T change the line from "DFP" to "CRT". Maybe that's why mine works...

xorg.conf.nvidia

Section "ServerLayout"
Identifier "Layout0"
Option "AutoAddDevices" "false"
EndSection

Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "NoLogo" "true"
Option "UseEDID" "false"
Option "ConnectedMonitor" "DFP"
EndSection


Display Name: Poncije Posted On:
2012-12-25 22:26:22 EST
Subject: re technofreak08
Comment:
Ha ha ha! I guess great minds DO think alike. :-)
Have fun playing!

Display Name: rex Posted On:
2012-12-27 01:13:55 EST
Subject: prob with optirun glxspheres
Comment:
Run ubuntu 12.10 on toshiba p870 NVIDIA GeForce GT 630M with Optimus + Intel HD Graphics 4000? I've done everything step by step to make my nvidia GT 630m work!! but it didn't, even I did the Hack method, I get this error when I do optirun glxspheres : [ 436.225615] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please

[ 436.225715] [ERROR]Aborting because fallback start is disabled.
I changed ConnectedMonitor" "DFP" to "CRT" but no luck:((
Her is my Xorg.8.log http://pastebin.com/2jahBQzb
Can I find any help form you
Thank you and happy holidays

Display Name: Defcronyke Posted On:
2012-12-27 13:28:08 EST
Subject: Re: prob with optirun glxspheres
Comment:
Hi rex,

Could you post a pastebin of the output of the "dmesg" command after trying to run optirun glxspheres. The real problem is probably listed in there somewhere.

Display Name: rex Posted On:
2012-12-27 23:09:24 EST
Subject: Re: prob with optirun glxspheres
Comment:
Hi Defcronyke
I had reinstall my ubuntu and again walked step by step to install nvidia but no luck same error with optirun, the reason I reinstall ubuntu was getting error on boot telling ACPI doesn't need hack 2 and taking log time to allow me to login,
I didn't do the lenovo hack this time
My Xorg.8.log http://pastebin.com/UNN6kiZ3
my dmesg http://pastebin.com/CY5EScUQ
I really appreciate your help
Thanks

Display Name: OlDrunk Posted On:
2012-12-29 22:15:42 EST
Subject: Thank you
Comment:
Just installed and got Bumblebee working with this tut on a MSI GE70 laptop running ultimate edition 3.4 64bit(12.04 based distro), had to run the blacklist commands twice before it took and skipped /emul/ia32-linux due to no such dir error but it all works the turbo light on my laptop goes on and off when optirun is used.
Display Name: Crash Posted On:
2012-12-30 18:16:25 EST
Subject: prob with gpu
Comment:
[ 484.414481] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please

[ 484.414567] [ERROR]Aborting because fallback start is disabled.
how can i fix this?

Display Name: crash Posted On:
2012-12-31 17:29:40 EST
Subject: hack isnt working
Comment:
crash@JARVIS:~$ cd bbswitch
crash@JARVIS:~/bbswitch$ mkdir /usr/src/acpi-handle-hack-0.0.2
mkdir: cannot create directory `/usr/src/acpi-handle-hack-0.0.2': Permission denied
crash@JARVIS:~/bbswitch$ cp Makefile acpi-handle-hack.c /usr/src/acpi-handle-hack-0.0.2
cp: target `/usr/src/acpi-handle-hack-0.0.2' is not a directory
crash@JARVIS:~/bbswitch$ cp dkms/acpi-handle-hack.conf /usr/src/acpi-handle-hack-0.0.2/dkms.conf
cp: cannot create regular file `/usr/src/acpi-handle-hack-0.0.2/dkms.conf': No such file or directory
crash@JARVIS:~/bbswitch$ dkms install -m acpi-handle-hack -v 0.0.2
Error! You must be root to use this command.
not sure what to do

Display Name: rex Posted On:
2012-12-31 18:09:32 EST
Subject: re:hack isnt working
Comment:
You have be root to do the hack
Just put sudo and your password like this:
sudo /usr/src/acpi-handle-hack-0.0.2
and then type your password

Display Name: Defcronyke Posted On:
2013-01-10 11:50:36 EST
Subject: Re: prob with optirun glxspheres
Comment:
Hey rex,

I looked through your dmesg output and I couldn't find anything helpful in there. You might have to talk to the Bumblebee devs and try whatever methods they prescribe. They seem to close a lot of bug reports prematurely though, so try to give them all the information early on, or they might not help very much.

Display Name: doubleyouseepot Posted On:
2013-01-14 09:42:11 EST
Subject: OMG
Comment:
Thanks so much! Ran this routine on my new Series 5 Samsung (i5, GT630M, Linux Mint 14 Nadia) and worked perfectly - nothing else I'd tried over the last 2 days did!!

Thanks again!

Display Name: Stef Posted On:
2013-01-14 14:45:52 EST
Subject: Some problems with instalation
Comment:
Hi everyone,
i tried to install drivers using this tutorial, but it fails, below i add link where i posted logs when after i tried to execute
$optirun glxspheres.
i had the same problem in both settings "DFP" and "CRT" in xorg.conf.nvidia file.
maybe i did something wrong, did anybody meet the same problem????
i have nvidia GeForce GT 650M videocard

http://pastebin.com/yHFnSUae

Display Name: Jamie Burgess Posted On:
2013-01-24 02:18:36 EST
Subject: Error Message when I try to start a program
Comment:
jamie@jamie ~ $ optirun glxspheres
[ 150.180461] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA: Use the -ignoreABI option to override this check.

[ 150.180519] [ERROR]Aborting because fallback start is disabled.


http://pastebin.com/ecZtUeaE

Can anyone help with this? THANKS !


Display Name: Jamie Burgess Posted On:
2013-01-24 02:41:08 EST
Subject: Actually nevermind
Comment:
This is why I hate linux everytime i've tried it. I'll just go back to windows.
Display Name: Vladimir Posted On:
2013-02-02 20:37:22 EST
Subject: HDMI output?
Comment:
Hi,
I followed your tutorial with succes, I can run application with optirun.
What I hoped would also enable to use secondary display over hdmi?

What needs to be done to enable hdmi output on ubuntu 12.06 64-bit (Asus N56VZ)?
many thanks
regards, Vladimir

Display Name: fpinto Posted On:
2013-02-03 14:00:49 EST
Subject: optirun not working
Comment:
i installed and it didnt give any errors, but after installation i could not run optirun glxspheres, it sayd command not found, i used the glxgears, but with optirun glxgears i got:

[ 36.461610] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0

[ 36.461639] [ERROR]Aborting because fallback start is disabled.

i treid with DFP and CRT but they both give me this error.

this is my conf file:
Section "ServerLayout"
Identifier "Layout0"
Option "AutoAddDevices" "false"
EndSection

Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "NoLogo" "true"
Option "UseEDID" "false"
Option "ConnectedMonitor" "CRT"
EndSection

i have a nvidia 650m with 4gb ram, and a intel HD 4000.
if it helps, the computer is a asus n76vz v4g


thanks in advance, fpintot

Display Name: fpinto Posted On:
2013-02-03 14:06:54 EST
Subject: forgot to mention something
Comment:
sorry i forgot to mention something, that error only hapens with the CRT, if i put DFP the error is this:

[ 89.542946] [ERROR]Error running "vglrun": No such file or directory


btw, alt tab is not working, i m not sure if its related

Display Name: Defcronyke Posted On:
2013-02-03 18:22:54 EST
Subject: Re: HDMI output?
Comment:
Hi Vladimir,

I haven't tested HDMI output, but you might be able to configure it with nvidia-settings.

To run nvidia-settings under a bumblebee config, you have to run this command in the terminal:
optirun nvidia-settings -c :8

Good luck!

Display Name: Defcronyke Posted On:
2013-02-03 18:27:52 EST
Subject: Re: optirun not working
Comment:
Hi fpinto,

First of all, for your system it seems you need to use the DFP setting, and secondly, it seems you didn't install virtualgl. Make sure you do:

sudo apt-get install virtualgl virtualgl-libs virtualgl-libs-ia32

Then you might need to reboot, then try running: optirun glxspheres

Display Name: fpinto Posted On:
2013-02-03 19:17:31 EST
Subject: thanks!
Comment:
it worked! thanks. can i use apt-get dist-upgrade normaly or it will fuck up the graphics?

THANKS!

Display Name: Defcronyke Posted On:
2013-02-03 19:18:35 EST
Subject: Re: Some problems with instalation
Comment:
Hi Stef,

If you post a pastebin of the output of the "dmesg" command, I might be able to help.

Display Name: Defcronyke Posted On:
2013-02-03 19:22:58 EST
Subject: Re: thanks!
Comment:
Just make sure you don't install the distribution's packaged version of the nvidia driver with apt-get. So never do apt-get install nvidia or nvidia-current or whatever, and if it's showing up in your list of packages to be upgraded, get it out of there before upgrading.
Display Name: Ashfallen0 Posted On:
2013-02-05 15:34:42 EST
Subject: THANK YOU!
Comment:
I was having the lamest time getting wine to work this weekend, only to find that my games could only use the intel 4k card in my laptop. I couldn't for the life of me figure out why the nvidia options weren't working. A saintly user on the LinuxMint forums directed me to this.

100% success, no errors.
Linux Mint 14 64bit Cinnamon edition, on a Sony Vaio S15 (SVS1511CFXB) with Intel 4000 and Nvidia GeForce GT 640M LE/PCIe/SSE2.

Easy directions, copy/paste ease of use, fixed everything. I can't thank you enough for solving one hell of a headache!

Display Name: Jackalope Posted On:
2013-02-07 19:03:22 EST
Subject: CUDA/OpenGL Interop under Bumblebee
Comment:
Deus_ex77 said: As you said, it would be very nice if I could actually run CUDA kernels on the discrete card and connect its CUDA context with the OpenGL context on the IGP. I have no idea if such cross-driver interop is even viable.

I'm looking into CUDA/OpenGL Interop too, but have yet to prove it possible. One thing I do know is that the description you give is *not* viable. The primary strength of CUDA/OpenGL interop (or any GPGPU/CGI interop, for that matter,) is that both processes are being executed on the *same processor*. With the data being transferred between the discrete GPU & the IGP, which (please correct me if I'm wrong,) is on the CPU, you lose all the advantages of CUDA/OpenGL interop. In fact, this is *not* "interop" in the sense that you are using the word.

I will update this comment if I am able to prove true interop (650M-CUDA / 650M-OpenGL) is possible under Bumblebee 2.0 (Tumbleweed).

Display Name: Jackalope Posted On:
2013-02-08 12:13:46 EST
Subject: CUDA/OpenGL Interop under Bumblebee
Comment:
Ok, after doing a bit more research, I have concluded that running the graphical examples from the CUDA SDK toolkit is, in fact, proof of CUDA/OpenGL interoperability under Bumblebee. CUDA is doing calculations & OpenGL is rendering images using the same data (*without* moving it *anywhere*, the primary advantage of interop,) to render the images to the framebuffer. This is followed, if I understand correctly, by the framebuffer being piped out the the integrated GPU vi Bumblebee.
Display Name: Ricardo Cardona Posted On:
2013-02-13 14:24:41 EST
Subject: Thanks Man !!!!! worked like a charm !!!
Comment:
Just would like to let you know, your tutorial ROCKS !!!!

I had the same issue DFT X CRT , just changed on xorg.conf.nvidia and worked !

Just to help on your statistics , I am running Mint 14 on a MSI GT70 wih kernel 3.8.0-030800rc7-generic #201302081635 SMP

Also I performed the install using the latest Nvidia driver :
NVIDIA-Linux-x86_64-310.32.run


Once again , big THANKS

Display Name: Patricio Posted On:
2013-02-17 17:24:02 EST
Subject: thanks
Comment:
thanks men you help alot installing optimus in my ubuntu!!!
Display Name: Eugen Posted On:
2013-02-19 16:04:45 EST
Subject: I cannot add my user name to group.
Comment:



I cannot add my user name to group. It says user name not found
How can I found out my current user name?

I use linux mint 14 on a dell 5110 machine. By the way I am a newbie.

Thank you

Says the user does not exist (These are some of my trys_
What I should do. Start the process from the beginig?

sudo groupadd bumblebee
[sudo] password for eugen:
groupadd: group 'bumblebee' already exists
sudo addgroup _eugen_Inspiron_N5110_ bumblebee
addgroup: The user `_eugen_Inspiron_N5110_' does not exist.
eugen@eugen-Inspiron-N5110 ~ $ sudo addgroup _eugen-Inspiron-N5110_ bumblebee
addgroup: The user `_eugen-Inspiron-N5110_' does not exist.
eugen@eugen-Inspiron-N5110 ~ $ sudo addgroup _'eugen'_ bumblebee
addgroup: The user `_eugen_' does not exist.
eugen@eugen-Inspiron-N5110 ~ $ sudo addgroup _@eugen_ bumblebee
addgroup: The user `_@eugen_' does not exist.
eugen@eugen-Inspiron-N5110 ~ $ sudo addgroup _eugen_ bumblebee
addgroup: The user `_eugen_' does not exist.




Display Name: Defcronyke Posted On:
2013-02-19 16:30:05 EST
Subject: Re: I cannot add my user name to group.
Comment:
Hi Eugen,

Your username is the part before the @, but you don't need any underscores:

sudo addgroup eugen bumblebee

Display Name: eugen Posted On:
2013-02-20 12:44:16 EST
Subject: Another problem
Comment:
I install Ubuntu 12.10 and do again everything. I have some problems on installing Nvidia driver but I install linux-headers and then it worked

I sKip the step sudo cp -a /emul/ia32-linux/usr/lib/* /usr/nvidia/lib32 because it says no such file or directory and then it worked.

I cannot run optirun glxspheres it says: [ 128.355537] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA: Use the -ignoreABI option to override this check.

[ 128.355633] [ERROR]Aborting because fallback start is disabled.
eugen@eugen-Inspiron-N5110:~$ glxspheres


But I can run glxspheres:
Polygons in scene: 62464
Visual ID of window: 0xa0
Context is Direct
OpenGL Renderer: Mesa DRI Intel(R) Sandybridge Mobile
59.577815 frames/sec - 66.488842 Mpixels/sec
59.540300 frames/sec - 66.446974 Mpixels/sec
59.854186 frames/sec - 66.797271 Mpixels/sec
59.164210 frames/sec - 62.588142 Mpixels/sec
59.688027 frames/sec - 60.661180 Mpixels/sec
59.683914 frames/sec - 60.657001 Mpixels/sec
59.684559 frames/sec - 60.657656 Mpixels/sec
59.684665 frames/sec - 60.657763 Mpixels/sec
59.536003 frames/sec - 60.506678 Mpixels/sec

It says it worked the Intel video

Can you help me with that?

Display Name: Defcronyke Posted On:
2013-02-20 13:50:05 EST
Subject: Re: Another problem
Comment:
I might be able to help if you give me more information.

Could you post a link to a pastebin of the output of these two commands:

sudo cat /var/log/Xorg.8.log
sudo dmesg

Display Name: eugen Posted On:
2013-02-20 14:44:47 EST
Subject: Another problem
Comment:
This is my pastebin at your request:
http://pastebin.com/4fce5cGy

The two commands are separated by three dashed lines.


Thank you!

Display Name: Defcronyke Posted On:
2013-02-20 16:43:22 EST
Subject: Re: Another problem
Comment:
It looks like you need to use a newer Nvidia driver than the one linked on this page. You should try downloading the newest one from the Nvidia website and installing it in the same way as mentioned in my tutorial.
Display Name: eugen Posted On:
2013-02-21 04:21:22 EST
Subject: Another problem
Comment:
With the new driver I have to reinstall the OS again?
I already installled 5 times in 2 days untill now.


Thank you!

Display Name: Defcronyke Posted On:
2013-02-21 13:46:02 EST
Subject: Re: Another problem
Comment:
Try just installing it the way I mention above, and then rebooting.
Display Name: Stef Posted On:
2013-02-24 12:19:48 EST
Subject: Re: Re: Some problems with instalation
Comment:
Hi Defcronyke ,
Unfortunatelly i had a lot of work and couldn't answer early.
I've tried to find solution.
Finally i find solution here:
http://askubuntu.com/questions/178517/how-do-i-get-bumblebee-working-with-a-gtx-660m
and the solution is:
in terminal run:
sudo gedit /etc/bumblebee/xorg.conf.nvidia
and change the line
Option "ConnectedMonitor" "DFP"
to
Option "UseDisplayDevice" "none"


before i fixed this problem after execute
optirun -vv glxgears
i had such errors in terminal
[ 521.610609] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 521.781322] [DEBUG]optirun version 3.0.1 starting...
[ 521.781390] [DEBUG]Active configuration:
[ 521.781412] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 521.781437] [DEBUG] X display: :8
[ 521.781492] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-current:/usr/lib32/nvidia-current
[ 521.781533] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 521.781555] [DEBUG] VGL Compression: proxy
[ 522.110664] [INFO]Response: No - error: [XORG] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0

[ 522.110724] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0

[ 522.110751] [DEBUG]Socket closed.
[ 522.110787] [ERROR]Aborting because fallback start is disabled.
[ 522.110815] [DEBUG]Killing all remaining processes.

My configuration is:
Dell Inspirion 7720 with
Intel Core i7-3630QM
and
NVidia GeForce GT 650M, 2GB GDDR5
i use Ubuntu 12.04

maybe it helps someone else.

Display Name: John Yang Posted On:
2013-02-25 00:28:17 EST
Subject: It really works!
Comment:
TY!! I have spent about 8h to make my GTX660M working, and this tuition really helps, and others r sh*t!

I'm using ubuntu 12.04. and my PC is Lenovo Y580.

Display Name: Max Posted On:
2013-02-27 05:19:06 EST
Subject: Error when installing the NVIDIA driver
Comment:
Hey there,

all was working all up to the point when I tried to install the downloaded NVIDIA-driver. This is the output to /var/log/nvidia-installer.log:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Feb 27 11:13:20 2013
installer version: 304.22

PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

nvidia-installer command line:
./nvidia-installer
--no-recursion
--no-rpms
--no-distro-scripts
--no-x-check
--dkms
--x-prefix=/usr/nvidia
--x-module-path=/usr/lib/xorg/nvidia/modules
--x-library-path=/usr/nvidia/lib
--opengl-prefix=/usr/nvidia
--utility-prefix=/usr/nvidia
--documentation-prefix=/usr/nvidia
-e
-q

chdir("./")
Using: nvidia-installer ncurses user interface
-> Searching for system utilities:
-> found `ldconfig` : `/sbin/ldconfig`
-> found `ldd` : `/usr/bin/ldd`
-> found `ld` : `/usr/bin/ld`
-> found `objcopy` : `/usr/bin/objcopy`
-> found `grep` : `/bin/grep`
-> found `dmesg` : `/bin/dmesg`
-> found `tail` : `/usr/bin/tail`
-> found `cut` : `/usr/bin/cut`
-> found `tr` : `/usr/bin/tr`
-> found `sed` : `/bin/sed`
-> found `chcon` : `/usr/bin/chcon`
-> found `pkg-config` : `/usr/bin/pkg-config`
-> found `X` : `/usr/bin/X`
-> Searching for module utilities:
-> found `insmod` : `/sbin/insmod`
-> found `modprobe` : `/sbin/modprobe`
-> found `rmmod` : `/sbin/rmmod`
-> found `lsmod` : `/sbin/lsmod`
-> found `depmod` : `/sbin/depmod`
-> The file '/tmp/.X0-lock' exists and appears to contain the process ID '1279' of a runnning X server.
-> Continuing per the '--no-x-check' option.
ERROR: An NVIDIA kernel module 'nvidia' appears to already be loaded in your kernel. This may be because it is in use (for example, by the X server), but may also happen if your kernel was configured without support for module unloading. Please be sure you have exited X before attempting to upgrade your driver. If you have exited X, know that your kernel supports module unloading, and still receive this message, then an error may have occured that has corrupted the NVIDIA kernel module's usage count; the simplest remedy is to reboot your computer.
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.

I'm running on an ASUS n56vz, Ubuntu 12.10. I remember trying to install NVIDIA graphics earlier, since my "System Settings->Details->Graphics" showed "Driver: Unknown", right after installing Ubuntu, and I remember having the same problem. Also, I installed mesa-utils a couple of weeks ago, and now it shows "Intel IvyBridge Module". I actually already managed to run the standard install of bumblebee according to the Ubuntu-Wiki, and open stuff with the optirun command, I'm just trying this tutorial because it clearly installs a lot more packages and drivers than all other installs I've come upon on the net, and because I'm mainly doing this to get more battery life. I get 1:30 hours on Ubuntu, regardless of mesa-utils, jupiter or bumblebee, and this laptop will do 3h30min on Windows 7. Any help would be appreciated, I am actually ashamed of using Windows in public and 1h30min battery on Ubuntu isn't helping.

Also, I'm a total Linux noob so forgive me if I've done anything stupid.

Cheers

Display Name: Defcronyke Posted On:
2013-02-27 14:02:36 EST
Subject: Re: Error when installing the NVIDIA driver
Comment:
Hi Max,

If you could already open things with optirun when installing bumblebee the official way, then this tutorial is not for you. It doesn't provide anything more and is intended for those who can't get bumblebee working the official way.

As a side note, if you think your battery life is suspiciously short, I would suggest making sure bbswitch is working properly once you install bumblebee the normal way. Google can tell you how to verify that better than I can. Good luck!

Display Name: radiking Posted On:
2013-02-28 02:50:13 EST
Subject: does this work with GT525M
Comment:
i am using bumblebee but i wanna know should i add the lines after sudu reboot i mean add git repository and so on or it just applies to GT6xx series?thanks
Display Name: Defcronyke Posted On:
2013-02-28 12:11:29 EST
Subject: Re: does this work with GT525M
Comment:
I'm not sure which models need this method to work, but if bumblebee won't work when you install it through your package manager, you can try this method (the whole thing) and hopefully it will work for you.
Display Name: alm6iri Posted On:
2013-03-01 22:35:13 EST
Subject: Does not work
Comment:
autoreconf -fi :
configure.ac:4: error: Autoconf version 2.68 or higher is required
configure.ac:4: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
aclocal: /usr/bin/autom4te failed with exit status: 63
autoreconf: aclocal failed with exit status: 63

Next Commd
bash: ./configure: No such file or directory

lenovo ideapad z570
Nvidia GT540M Optimus
Intel HD 3000 Graphics
Intel i5
BackTrack 5 r3

I do not know what to do
I hate All Linux

Display Name: alm6iri Posted On:
2013-03-01 22:40:35 EST
Subject: Does not work
Comment:
^
I can not install Bumblebee

Display Name: Defcronyke Posted On:
2013-03-02 19:54:14 EST
Subject: Re: Does not work
Comment:
"configure.ac:4: error: Autoconf version 2.68 or higher is required"

Have you tried reading your error message?

Display Name: alm6iri Posted On:
2013-03-02 20:09:38 EST
Subject: To Defcronyke
Comment:
Ever tried to repair Error but I could not.
Do you have a solution ~.

Display Name: Defcronyke Posted On:
2013-03-06 11:31:47 EST
Subject: Re: To Defcronyke
Comment:
I think the error says it all, you need to install a newer version of Autoconf, version 2.68 or higher.
Display Name: radiking Posted On:
2013-03-08 16:18:14 EST
Subject: thanks for the reply
Comment:
bumblebee works good for me glxspheres recognizes my gfx card thats nice
Display Name: Ashish Posted On:
2013-03-14 00:26:17 EST
Subject: works without any issues..
Comment:
Defcronyke, Thanks for this guide.

steps worked flawlessly.
One thing i need to confirm from you is that if i need to disable this install for a session so that i can use the opensource nouveau driver,how to do that?.
I need to work on wayland, which only works on the nouveau driver.. so if thats gets blacklisted in the process of getting bumblebee work.. i guess i wont be able to work on wayland that uses nouveau driver.

And another doubt.. when optimus doesnot work in the default ubuntu installation, and the os in this state does not know if there is another gpu.. how was the nouveau loaded into the os.. i had to blacklist as mentioned by you.The intel driver should be loaded by default and not the nouveau.. please educate me on this!

Thanks for the help.

Ashish

Display Name: Defcronyke Posted On:
2013-03-15 20:21:41 EST
Subject: Re: works without any issues..
Comment:
Hi Ashish,

As far as I know there is no easy way to switch between the nouveau and nvidia drivers. If anyone knows how to have both installed and switch between the two, please correct me, as I'm sure many people would love to know how to do this.

And I don't know much about nouveau, so I don't have an answer to your other question either... but if I remember correctly, when I first booted a fresh install of Mint, the nouveau module was loaded even though the intel driver was being used for OpenGL.

Sorry I don't have better answers.

Display Name: Miggel Posted On:
2013-03-26 11:45:53 EST
Subject: Z500
Comment:
Hi guys,

After trying several methods installing a driver for my graphics card (NVIDIA Geforce GT 645M), I ended up here.
I followed the instruction above and I got the well known error while running
optirun glxspheres
:

[29.675070] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module. Please see the

[ 29.675096] [ERROR]Aborting because fallback start is disabled.

My notebook is a Lenovo Z500 and I'm using the 64bit version of Ubuntu 12.04.2 lts. As suggested above, I changed
Option "ConnectedMonitor" "DFP"
to
Option "ConnectedMonitor" "CRT"
with no effect. As a next step, I tried to use the hack (https://github.com/Bumblebee-Project/bbswitch/blob/hack-lenovo/README.md)
, but it still doesn't work. It's actually worse afterwards since I don't have access to any icons or panels anymore. So, there must be something else wrong here. Is there anyone, who has an idea? Please help!
Miggel

Display Name: Miggel Posted On:
2013-03-26 13:02:01 EST
Subject: addition
Comment:
I installed driver version 310.40 which supports my graphics-card according to nvidia's website.
Display Name: Defcronyke Posted On:
2013-03-26 13:06:28 EST
Subject: Re: Z500
Comment:
Hi Miggel,

I might be able to help if you do this:
1. Try to run something with optirun
2. Post a pastebin of your /var/log/Xorg.8.log here
3. Post a pastebin of the output of the dmesg command here

Display Name: Miggel Posted On:
2013-03-26 14:00:07 EST
Subject: Z500
Comment:
Hi Defcronyke,

Thanks for your quick reply.
Here's the pastebin of /var/log/Xorg.8.log after running optirun
http://pastebin.com/CsvJghTJ
and here's the dmesg pastebin:
http://pastebin.com/aZPswQcg

Btw: This is the output after redoing the procedure again, but ignoring the hack for lenovo y480/y570.

Display Name: Defcronyke Posted On:
2013-03-26 14:26:32 EST
Subject: Re: Z500
Comment:
It looks like your system needs the lenovo hack, but it's possibly not in their whitelist, so the hack won't work unless you can get the bumblebee devs to add the Z500 to the whitelist. Try opening a bug report at https://github.com/Bumblebee-Project/Bumblebee/issues, and mention that your dmesg output shows this:

bbswitch: failed to evaluate _DSM {0xF8,0xD8,0x86,0xA4,0xDA,0x0B,0x1B,0x47,0xA7,0x2B,0x60,0x42,0xA6,0xB5,0xBE,0xE0} 0x100 0x0 {0x00,0x00,0x00,0x00}: AE_NOT_FOUND
[ 15.794290] bbswitch: failed to evaluate _DSM {0xA0,0xA0,0x95,0x9D,0x60,0x00,0x48,0x4D,0xB3,0x4D,0x7E,0x5F,0xEA,0x12,0x9F,0xD4} 0x102 0x0 {0x00,0x00,0x00,0x00}: AE_NOT_FOUND
[ 15.794318] bbswitch: No suitable _DSM call found.

Also mention that you have a Lenovo Z500, and that you tried the Lenovo hack and it didn't work.

Good luck!

Display Name: Buks Posted On:
2013-03-26 15:50:00 EST
Subject: Re: Re: Z500
Comment:
Thanks for your advice. Hopefully, they can do something about it.
Display Name: Claribob Posted On:
2013-03-28 12:46:30 EST
Subject: Blacklist Nvidia: Permission denied
Comment:
Can't continue with the step-by-step because I can't seem to blacklist the nvidia driver. bash: /etc/modprobe.d/blacklist.conf: Permission denied. I really don't know what I'm doing here. I have a new HP Pavilion with Intel 4000 integrated graphics which is not even doing 3D. I'm running Ubuntu 12.04.2 LTS.

RDL

Display Name: Defcronyke Posted On:
2013-03-28 13:28:10 EST
Subject: Re: Blacklist Nvidia: Permission denied
Comment:
Hey Claribob,

If you look two lines above that one, the command: sudo su - makes you root.

You need to be root to do: echo "blacklist nvidia" >> /etc/modprobe.d/blacklist.conf

Display Name: Claribob Posted On:
2013-03-28 13:53:33 EST
Subject: Re: Blacklist Nvidia: Permission denied
Comment:
Wow ! I've been using Ubuntu for about 4 years now and never learned how to actually put myself in root. Sudo, yes, but not sudo su -- Incredible, huh ? Ok, I can keep going now. This PC is the HP Pavilion dv6t-7000 with i7 cpu. Nice ! PC, just got it Monday. Everything's great with it except I noticed in Cairo Dock that I basically had no special features at all. This thing ought to knock yer socks off with graphics ability. My desktop, 5 years older, does a better job with the graphics. Thanks !

RDL

Display Name: Claribob Posted On:
2013-03-28 16:01:57 EST
Subject: Re: Blacklist Nvidia: Permission denied
Comment:
Hey Defcronyke, so I got by the permission denied ok with sudo su -- but when I picked it up again I ran into another snag. Remember, I'm just following directions and not thinking to much. Thinking is bad sometimes, huh? Here's what's happened:

robert@dv6t7000:~$ sudo mkdir -p /usr/nvidia/lib32
robert@dv6t7000:~$ sudo cp -a /emul/ia32-linux/usr/lib/* /usr/nvidia/lib32
cp: cannot stat `/emul/ia32-linux/usr/lib/*': No such file or directory
robert@dv6t7000:~$

'Course, I used the 64-bit version for my PC, and now I don't seem to have /emul/ia32-linux/usr/lib/*

What now ?

RDL

Display Name: Defcronyke Posted On:
2013-03-28 16:55:23 EST
Subject: Re: Blacklist Nvidia: Permission denied
Comment:
Many users have reported that if that step fails, everything still works fine as long as you do everything else properly.
Display Name: Claribob Posted On:
2013-03-28 17:19:29 EST
Subject: Re: Blacklist Nvidia: Permission denied
Comment:
Ok !! Got to the end and booted back into the desktop successfully.

RDL

Display Name: Claribob Posted On:
2013-03-28 17:25:42 EST
Subject: Re: Blacklist Nvidia: Permission denied
Comment:
Defcronyke, does what's below tell you anything ?

robert@dv6t7000:~$ optirun glxspheres
[ 219.734726] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA: Use the -ignoreABI option to override this check.

[ 219.734790] [ERROR]Aborting because fallback start is disabled.
robert@dv6t7000:~$

RDL


Display Name: Claribob Posted On:
2013-03-28 17:27:20 EST
Subject: Re: Blacklist Nvidia: Permission denied
Comment:
Oh ! I didn't read the troubleshooting section. Sorry.

RDL

Display Name: Claribob Posted On:
2013-03-28 17:48:51 EST
Subject: Re: Blacklist Nvidia: Permission denied
Comment:
Hello Defcronyke, - Made the change to CRT but afterwards, the response was the same to "optirun glxspheres". I did cut/paste for everything so all the entries should have been correct. My system isn't borked so that's a good thing. I burned an image of the HDD before I started this so I was prepared to have to restore it. But, I didn't. Might be awhile before someone who knows what he's doing can get his hands on this model to work it out. I'll wait. Thanks for what you've done here. -

Bye

RDL

Display Name: Defcronyke Posted On:
2013-03-28 18:10:00 EST
Subject: Re: Blacklist Nvidia: Permission denied
Comment:
I might be able to help if you do what I told Miggel to do a few comments above the first one you left on here...
Display Name: Claribob Posted On:
2013-03-28 19:27:12 EST
Subject: HP Pavilion dv6t-7000
Comment:
Howdy, Just finished chowing down. What would be something to try to run with Optirun ? -

RDL

Display Name: Claribob Posted On:
2013-03-28 19:55:50 EST
Subject: Re: HP Pavilion dv6t-7000
Comment:
Ok, I'll run Firefox then. I guess you can try about anything to get the logs to populate. Restarting PC now and will post here ASAP.

RDL

Display Name: Lars Posted On:
2013-03-28 20:16:33 EST
Subject: Didn't work at all
Comment:
At first I tried Linux Mint with this guide, being safe doing the installation first on a USB stick, installing from a DVD.
Following the guide there, nothing eventually happened with the display driver, so it seemed. It kept on using "whatever it was", it wasn't the neauvou driver I can tell because it wasn't listed with the lsmod command. It tried a lot of things, I have been using linux for some years so I'm pretty sure I have followed everything to the point.
Then I thought, ok heck, let's try with ubuntu LTS 12.04. I burned a new DVD and reinstalled the stick. The computer is a ASUS N56VZ.
Installation went fine, then starting the guide again.
There was no noeavou driver this time either (heck, I can't spell that french shit), even if I'm careful in the tutorial.
The step with copying the 64bit libraries from the emul folder failed as well because there IS NO DAMNED emul folder there.
Well, after the reboot the whole system on the stick had went to shit becuase it booted into the busybox and that was it.

I think this guide is either flawed or outdated. Don't know what to make of it.
As of this moment I take it that Linux yet has no way to take on my optimus laptop, Asus N56VZ, because I haven't found any way on the net where something works.
Badly disappointed !

Display Name: Claribob Posted On:
2013-03-28 20:28:51 EST
Subject: HP Pavilion dv6t-7000
Comment:
Defcronyke,

dmesg
http://pastebin.com/8iBvxNnt

Xorg.8.log
http://pastebin.com/ENvvLD1W

Thanks !
RDL

Display Name: Claribob Posted On:
2013-03-28 20:53:05 EST
Subject: Re: HP Pavilion dv6t-7000
Comment:
Yo, - I eyeballed the logs thinking there was nothing there that I could understand, but no.... I think I saw entries where the driver isn't correct for this hardware. Am I correct ?

RDL

Display Name: Claribob Posted On:
2013-03-28 20:54:40 EST
Subject: Re: HP Pavilion dv6t-7000
Comment:
================ WARNING WARNING WARNING WARNING ================
[ 71.408] This server has a video driver ABI version of 13.0 that is not
supported by this NVIDIA driver. Please check
http://www.nvidia.com/ for driver updates or downgrade to an X
server with a supported driver ABI.

RDL

Display Name: Defcronyke Posted On:
2013-03-29 11:15:38 EST
Subject: Re: Didn't work at all
Comment:
Hi Lars,

While it's not always easy to get the video driver working on an Optimus system, I assure you this guide continues to work for many people, even though that /emul folder doesn't always appear. If you're frustrated, why don't you email NVidia and ask them nicely to support Optimus on Linux.

If you want help, you could post a pastebin of the contents of /var/log/Xorg.8.log and the output of the dmesg command. Also note that when running Bumblebee, everything continues using the same video driver as before, unless you start it with the optirun command.

Display Name: Defcronyke Posted On:
2013-03-29 11:28:41 EST
Subject: Re: HP Pavilion dv6t-7000
Comment:
Hey Claribob,

It looks like you found the error, but I think what that means is you need to try installing a newer nvidia driver. So get the newest one from the nvidia website (maybe you even need the one from the "short lived" branch), and install it in the same way as outlined in this guide. Also, don't forget to reboot after it's installed, and then try running something with optirun. Good luck, I think you're pretty close to having a working config.

Display Name: Claribob Posted On:
2013-03-29 14:00:19 EST
Subject: Re: Pavilion dv6t-7000
Comment:
Hey Defcronyke, 'Something wicked happened' (quoted from somewhere, I can't remember. When I booted the Pavilion up this morning, screen resolution was way off, less than 800x600 ! And there were no other options regards resolution. I attempted to restore the HDD image like I've done with other PCs in the past. Oh boy ! I used TerabyteUnlimited Image for Linux when I did the image. It didn't restore ! This HP uses GPT not MBR. I'm trying to pull out the partitions and restore them one at a time. If that's a bust, I'll start over with Ubuntu 12.04.2 and then get my Windows 7 back in VirtualBox. I'll be busy all afternoon with that I'm sure. Afterwards, I'll look for the driver you mentioned.
Thanks !

RDL

Display Name: Defcronyke Posted On:
2013-03-29 14:11:03 EST
Subject: Re: Pavilion dv6t-7000
Comment:
Sorry to hear that Claribob,

Anyway, as I've mentioned in the guide above, if things get really messed up, sometimes the only way I was able to get bumblebee working was to start with a fresh install of the operating system. Therefore I would highly recommend that you reinstall Ubuntu, follow this guide (but using the newest Nvidia driver), and try to get bumblebee working first before you put any of your files back on the hard drive.

Display Name: Claribob Posted On:
2013-03-29 14:31:58 EST
Subject: Re: Pavilion dv6t-7000
Comment:
Sounds like good advice.... be back later.

RDL

Display Name: Claribob Posted On:
2013-03-29 15:42:31 EST
Subject: Re: Pavilion dv6t-7000
Comment:
I'm pulling in the 310.40 now (long-lived). I'll try that first. Now I know why my last Ubuntu installation was GPT. That LiveCD will boot up either way depending upon how you go about doing it. I could have had a stand MBR partition table before. Darn it !

RDL

Display Name: Claribob Posted On:
2013-03-29 16:12:05 EST
Subject: Re: Pavilion dv6t-7000
Comment:
While I'm waiting for everything to install, I think my graphics got borked not because of this procedure. There were several reboots after I finished here. I did some other things trying to get my Cairo Dock to display some effects. It may be that this Intel 4000 with the stock Ubuntu driver isn't capable of 3D, huh ? Should I make this directory ( /usr/nvidia/lib32 ) now that we know I don't have the emul/ia32-linux/usr/lib/* ?

RDL

Display Name: Claribob Posted On:
2013-03-29 16:29:24 EST
Subject: Re: Pavilion dv6t-7000
Comment:
Same failure report as yesterday... here's bottom of Xorg.8.log

[ 62.142] (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module. Please see the
[ 62.142] (EE) NVIDIA(0): system's kernel log for additional error messages and
[ 62.142] (EE) NVIDIA(0): consult the NVIDIA README for details.
[ 62.142] (EE) NVIDIA(0): *** Aborting ***
[ 62.142] (EE) NVIDIA(0): Failing initialization of X screen 0
[ 62.142] (II) UnloadModule: "nvidia"
[ 62.142] (II) UnloadSubModule: "wfb"
[ 62.142] (EE) Screen(s) found, but none have a usable configuration.
[ 62.142]

Display Name: Claribob Posted On:
2013-03-29 16:33:11 EST
Subject: Re: Pavilion dv6t-7000
Comment:
Dmesg output ....

[ 61.206911] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 310.14 Tue Oct 9 11:52:41 PDT 2012
[ 62.246042] NVRM: API mismatch: the client has the version 310.40, but
[ 62.246042] NVRM: this kernel module has the version 310.14. Please
[ 62.246042] NVRM: make sure that this kernel module and all NVIDIA driver
[ 62.246042] NVRM: components have the same version.

So, I try do it again with 310.14 then ? Should I go for a fresh Ubuntu install also ? It only takes 30-40 min.

RDL

Display Name: Defcronyke Posted On:
2013-03-29 19:00:06 EST
Subject: Re: Pavilion dv6t-7000
Comment:
Did you reboot after installing the Nvidia driver? I've seen this error after installing a new driver but before rebooting...

310.14 is the version that didn't work for you before, so installing that probably won't help. If you installed version 310.40 on a fresh install of Ubuntu, then how come the kernel module for version 310.14 seems to be kicking around on there? That seems odd to me. You're not also installing the nvidia driver through the Ubuntu package manager, are you? If rebooting doesn't help, try installing the "short lived" nvidia driver (version 313.26).

Display Name: Claribob Posted On:
2013-03-29 19:01:33 EST
Subject: Re: Pavilion dv6t-7000
Comment:
Hello,

Success ! with 310.14 Yeahhhhhh !!! You did great. 131fps

I had to go back and make that change to "CRT" though. Now, to use optirun, first, how to I stop it. And what if I want to run it all the time ? I have a pretty ok Conky going with all 4 core temp sensors displayed. I can be sure not to run it too hot.

RDL

Display Name: Defcronyke Posted On:
2013-03-29 19:17:44 EST
Subject: Re: Pavilion dv6t-7000
Comment:
Oh good, glad you got it working.

I'm not sure if running everything with optirun is supported, and I couldn't make it work (I think the idea might be generally frowned upon). So unless you find info somewhere to the contrary, you should just launch anything you want to run with the GPU from the console using optirun. You can probably change some launcher shortcuts to use optirun as well, and there may even be some GUI available to set up specific programs to run with optirun by default. I don't have all this info, but google will probably tell you about that stuff...

To be clear, your video card will be shut off when nothing is currently open with optirun, and anything you don't explicitly open by prefixing it with optirun will run using the integrated Intel chipset.

Display Name: Claribob Posted On:
2013-03-29 19:36:02 EST
Subject: Re: Pavilion dv6t-7000
Comment:
10 - 4

Oh, no the first version I tried was 310.40. What's working now is 310.14. NVIDIA lists 310.14 as BETA. I didn't notice the date, though.

Thanks again ! There's so much information (maybe dis-information is a better word) when you Google this problem. I'd been at it for days before I hit your site. I'll send you something next week.

RDL

Display Name: Abz Posted On:
2013-04-04 23:15:53 EST
Subject: My Cinnamon not working :(
Comment:

Hi Sir, thanks for the nice explained tutorial :)
I did everything in this article on Linux Mint 14 Cinnamon Edition..

bumblebeed started automatically on boot

But the result is cinnamon always fallback to cinnamon2d :(
and my laptop (Lenovo Ideapad Z480) is so laggggggg..

What should i do for debugging this issue?

Thanks a lot, sorry for my english :)

Display Name: Defcronyke Posted On:
2013-04-05 12:31:45 EST
Subject: Re: My Cinnamon not working :(
Comment:
Hi Abz,

It sounds like somewhere along the way you managed to break your stock OpenGL driver. Maybe you tried to install the Nvidia driver through your package manager first, before starting the tutorial? If so, don't do that. Anyway, when I was figuring out the procedure and I broke the stock OpenGL driver (as it appears you may have done), the only way I was able to get bumblebee to work was by starting over with a fresh install of the operating system. So I would suggest reinstalling Mint, and following the tutorial again before setting everything else up.

Display Name: michal Posted On:
2013-04-07 16:41:16 EST
Subject: GF 610M not working
Comment:
Hi,

My laptop is Asus U31S with Geforce 610M 1GB and Ubuntu 12.04 LTS 64bit, I did all step follow the instruction and my graphic drivers still don't working when i run:

$ optirun glxspheres
[ 544.233411] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module. Please see the

[ 544.233477] [ERROR]Aborting because fallback start is disabled.



$glxspheres
Polygons in scene: 62464
Xlib: extension "GLX" missing on display ":0.0".
ERROR (593): Could not obtain RGB visual with requested properties


I change Option "ConnectedMonitor" to "CRT" and still not working, If someone have any ideas to fix this issue and help me me with install nvidia drivers please contant me or write the post. I really tired with install this drivers.

michalkielan6@gmail.com



Display Name: Abz Posted On:
2013-04-07 22:57:58 EST
Subject: Re: My Cinnamon not working :(
Comment:

Hi Defcronyke..

Ok, I've installing fresh Linux Mint 14..
I've tried reinstalling my linux mint 14 about 2 times, i've followed your tutorial carefully, even I can do this step (in fact my prev attempt couldn't):

mkdir -p /usr/nvidia/lib32
cp -a /emul/ia32-linux/usr/lib/* /usr/nvidia/lib32

and do the "CRT" 'workaround' fix

After this, My 3d cinnamon works!! :D
optirun glx* seems running well

But after I reboot the system,
It fallback to cinnamon-2d :(

my 2nd result attempt is the same
there are no error in /var/log/Xorg.8.log or /var/log/Xorg.0.log

What should I do??

Thanks a lot

again, sorry for my english..

Display Name: Swen Posted On:
2013-04-11 08:09:36 EST
Subject: Successful
Comment:
Thanks for the detailed instructions. I have just managed to get it running for Ubuntu 12.10 64 bit with a GTX 660M. The only deviation is that the step for "sudo cp -a /emul/ia32-linux/usr/lib/* /usr/nvidia/lib32" failed.

Thanks

Display Name: Swen Posted On:
2013-04-11 08:11:11 EST
Subject: Add on information
Comment:
I used the 310.44 drivers.
Display Name: fuzzy the wompo Posted On:
2013-04-20 16:31:29 EST
Subject: Installing on a Lenovo Y580/660M
Comment:
I have a Lenovo Y580 with an nvidia GeForce GTX 660M.

I went through this process and used the Lenovo hack, and while I could finally use the optirun command in order to have applications run on the nvidia graphics card, my resolution was stuck at 640x480 and there didn't seem to be a way to fix it.

I was able to get around the problem by deleting my xorg.conf file from /etc/X11/
(Advice source: http://askubuntu.com/questions/201123/screen-resolution-stuck-at-640x480-after-installing-bumblebee)


Thanks for the great, detailed explanation.

Display Name: fuzzy the wompo Posted On:
2013-04-20 16:32:45 EST
Subject: Addition: Installing on a Lenovo Y580/660M
Comment:
Oh, I forgot to mention that you need to reboot after deleting xorg.conf.
Display Name: Pyro_Killer Posted On:
2013-04-20 19:45:49 EST
Subject: You forgot to add something
Comment:
It might be something you take for granted but if you do not install the generic linux headers, the nVidia drivers woun't install, i would love for you add this to the guide, it is an awesome guide :)
Display Name: estima@optimus Posted On:
2013-04-22 00:09:50 EST
Subject: Cudatoolkit and pyrit
Comment:
First of a million thanks for this how-to. I've managed to install as per tutorial plus the "lenovo-hack"on my Lenovo G580 with GeForce GT630M. Optirun runs fine. I'm trying to figure out now how to install cudatookit and pyrit for my lappy. Anyone managed to install both of these without error? I've tried following some tutorial to install it but I get black screen after a reboot. Pointing me to a tutorial/how-to for making "optirun pyrit" works on my lappy is much appreciated
Display Name: CxOrg Posted On:
2013-05-07 22:14:07 EST
Subject: Asus U32VJ - Intel HD4000 with GeForce GT 635M
Comment:
As a Sabayon 11 user (Gentoo based) the crucial point for me was changing the /etc/modprobe.d/blacklist.conf entry from "blacklist nouveau" to "blacklist nvidia". Sabayon provides pretty well the latest versions of nvidia drivers and bumblebee.

I'm now getting:
# optirun glxsheres
OpenGL Renderer: GeForce GT 635M/PCIe/SSE2
146.582128 frames/sec - 133.231428 Mpixels/sec

and

# glxspheres
OpenGL Renderer: Mesa DRI Intel(R) Ivybridge Mobile
60.771594 frames/sec - 55.236517 Mpixels/sec

The Nvidia giving about 2.5x the performance over the Intel when needed.

I have also configured the KDE desktop plasma widget "Service Monitor" with a switch using the following configuration. This makes manual switching of the selected graphics card easy.

Nvidia Graphics
Turn Nvidia off/on

Install check: ls /usr/bin/xset
Running check: cat /proc/acpi/bbswitch | grep "0000:01:00.0 ON"
Start command: modprobe -i nvidia; tee /proc/acpi/bbswitch
Stop command: modprobe -r nvidia; tee /proc/acpi/bbswitch
Root privileges: Yes


Display Name: nevergone Posted On:
2013-05-19 17:22:56 EST
Subject: don't work
Comment:
Hi
i use debian wheezy on dell n5110 (gt525m)
Don't install this:
libtool virtualgl virtualgl-libs virtualgl-libs-ia32 bbswitch-dkms
This don't work
sudo apt-get build-dep bumblebee bumblebee-nvidia
please help

Display Name: nevergone Posted On:
2013-05-20 06:28:46 EST
Subject: don't work
Comment:
Hi,

I use n5110 debian wheezy kernel: 3.2.0.4_amd64

I add repo : not found
http://ppa.launchpad.net/bumblebee/stable/dists/wheezy/main/source/Sources 404 Not Found
http://ppa.launchpad.net/bumblebee/stable/dists/wheezy/main/binary-amd64/Packages 404 Not Found
http://ppa.launchpad.net/bumblebee/stable/dists/wheezy/main/binary-i386/Packages 404 Not Found
http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu/dists/wheezy/main/source/Sources 404 Not Found
http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu/dists/wheezy/main/binary-amd64/Packages 404 Not Found
http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu/dists/wheezy/main/binary-i386/Packages 404 Not Found

therefore i don't install virtualgl ... bbswitch-dkms

and after git clone no work autoreconf -fi

please help me


Display Name: Defcronyke Posted On:
2013-05-20 12:13:06 EST
Subject: don't work
Comment:
Hi nevergone,

Unfortunately Debian isn't currently supported by this tutorial due to its lack of support for Ubuntu PPAs, and also because the tutorial was originally developed for Linux Mint.

If I ever have a test system running Debian that needs bumblebee, and the normal bumblebee installation instructions don't work on it, I'll do my best to expand this tutorial to cover Debian, but don't hold your breath. It looks like you're on your own for now, sorry.

Display Name: nevergone Posted On:
2013-05-20 14:35:02 EST
Subject: Thanks
Comment:
Thank you for your help.
At least I know it does not work on debian. :(
Work with LMDE?
If it does not work
Stay Linux Mint
Good luck!

Display Name: Defcronyke Posted On:
2013-05-20 18:16:40 EST
Subject: Re: Thanks
Comment:
LMDE will not work either.
Display Name: Lumas Posted On:
2013-05-20 19:13:45 EST
Subject: Doesn't work on Lenovo Z500
Comment:
I followed step by step your tutorial, but at the end, when I try optirun glxspheres I get:

[ 74.339981] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA: Use the -ignoreABI option to override this check.

[ 74.340015] [ERROR]Aborting because fallback start is disabled.

What does it mean?
My laptop is a Lenovo Ideapad Z500 with nVidia GT635M.
My OS is XUbuntu 12.10 (64 bit), newly installed right now.
Help me! I need 3D graphics works well for my master thesis!

Thanks a lot

Display Name: Defcronyke Posted On:
2013-05-21 00:56:29 EST
Subject: Re: Doesn't work on Lenovo Z500
Comment:
Hi Lumas,

I'll need to see a pastebin of the output of the dmesg command, as well as the contents of /var/log/Xorg.8.log if you want help.

Display Name: Nevergone Posted On:
2013-05-21 01:58:01 EST
Subject: debian
Comment:
Thanks again.
So this is supposed to mean that Debian does not work bumblebee?
Or only this tutorial.
Thank you in advance for your help.

Display Name: Lumas Posted On:
2013-05-21 07:29:25 EST
Subject: Doesn't work on Lenovo Z500
Comment:
Hi Defcronyke, this is the pastebin:

http://pastebin.com/ieSBS7tu

Thanks

Display Name: Mintty Posted On:
2013-05-21 19:33:07 EST
Subject: HDMI output
Comment:
Hi, I have succesfully followed this tutorial, thanks a lot for it!!

I am using an Asus Zenbook U500VZ with Geforce GT 650M, Linux Mint 14 Cinnamon x86_64, Bumblebee 3.2.1 and the NVidia 319.17 driver.

I really need some help to get my HDMI output to work. I tried to use the 'optirun nvidia-settings -c :8' command, but it doesn't work for me. I fiddled around a bit with the xorg.config.nvidia and
when I set
Option "UseEDID" "true"
Option "UseDisplayDevice" "DFP"
I get some info in nvidia-setting about my samsung monitor, but it is still black.

dmesg, Xorg.0 and Xorg.8 logfiles.

http://pastebin.com/Jf8cdLd7

Thanks!
Jimmy

Display Name: markolino Posted On:
2013-05-22 15:53:25 EST
Subject: idiots
Comment:
obviously after 30 minutes making this monkey things NOT WORKED
all of you are idiots !!!!!!!!!!!!!!
use windows and install driver!!!!!!!!!!!

Display Name: Lumas Posted On:
2013-05-23 05:42:55 EST
Subject: Re: idiots
Comment:
I'll sell my nVidia laptop and I'll buy an AMD one. I'll continue to use Linux, without any problems, with excellent graphics accelleration. I'll use OpenCL, that is much more powerful than CUDA, and I'll achieve the best results with half the money needed for a Windows+nVidia system.

Those that use Windows are idiots...

Display Name: Defcronyke Posted On:
2013-05-23 15:21:03 EST
Subject: Re: debian
Comment:
@Nevergone,

Bumblebee may work on Debian out-of-the-box, and if it doesn't, I'm sure someone can figure out how to make it work. However, this tutorial isn't for Debian.

Display Name: Defcronyke Posted On:
2013-05-23 15:26:19 EST
Subject: Re: Doesn't work on Lenovo Z500
Comment:
Hi Lumas,

See in your xorg log where it says:

[ 582.247] ================ WARNING WARNING WARNING WARNING ================
[ 582.247] This server has a video driver ABI version of 13.0 that is not
supported by this NVIDIA driver. Please check
http://www.nvidia.com/ for driver updates or downgrade to an X
server with a supported driver ABI.
[ 582.247] =================================================================

I'm pretty sure that means you need to install a newer Nvidia driver, so you should try installing the latest nvidia driver, but do it in the same way as mentioned in this tutorial.

Display Name: Defcronyke Posted On:
2013-05-23 15:30:31 EST
Subject: Re: HDMI output
Comment:
Hi Mintty,

I haven't used HDMI for anything ever, but why doesn't 'optirun nvidia-settings -c :8' work for you?

Does it not open the nvidia-settings program, or does it open but just doesn't let you enable HDMI?

I would think nvidia-settings would be the correct way to enable HDMI, but again, I've never used HDMI so I can't help very much with that.

Display Name: Defcronyke Posted On:
2013-05-23 15:39:30 EST
Subject: Re: idiots
Comment:
@markolino,

When you can't figure out how to get something to work on Linux, the solution will never be 'Install Windows'.

It's possible we are all idiots, and you are smart, but which one of us is the one who couldn't follow the tutorial properly and couldn't get bumblebee to work?

I think you've lost your way in the Internets. I would suggest turning 180 degrees and walking back towards the Windows from where you came. And if you're ever going to give Linux a go again, you will get much further in your endeavours if you stop calling the people who would be willing to help you for free in their spare time 'idiots'.

Display Name: Jormsen Posted On:
2013-05-27 10:37:57 EST
Subject: doesn't work for me
Comment:
"optirun glxspheres" outputs:

[ 157.033028] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module. Please see the

[ 157.033091] [ERROR]Aborting because fallback start is disabled.

even after troubleshooting like this:

sudo gedit /etc/bumblebee/xorg.conf.nvidia &

Change:
Option "ConnectedMonitor" "DFP"
to
Option "ConnectedMonitor" "CRT"

My Notebook is from One Computers and runs on Kubuntu 12.04.1 (64Bit),
it has the GTX660M and the Intel i7-3740QM inside. So what can i do to get it running?

Thank you for helping.

Display Name: Defcronyke Posted On:
2013-05-27 13:35:40 EST
Subject: Re: doesn't work for me
Comment:
Hi Jormsen,

I'll need to see a pastebin of the output of the dmesg command, as well as the contents of your /var/log/Xorg.8.log if you want help.

Display Name: Henrique Santos Posted On:
2013-05-28 12:56:08 EST
Subject: Work for me!
Comment:
I'm using Debian 7 and Dell XPS15 and just have problem with 32 bits libraries but work without them.

Thank a lot but sometime, when I try compiling and executing CUDA code my desktop frozen.

Excellent tutorial!

Display Name: Defcronyke Posted On:
2013-05-28 15:53:48 EST
Subject: Re: Work for me!
Comment:
Hi Henrique,

The occasional CUDA problems could be something related to bumblebee or maybe the Nvidia driver. I'm just curious, do these problems happen with OpenCL as well?

Display Name: Failure Posted On:
2013-06-07 12:08:42 EST
Subject: ERROR: While Instaling [./configure --prefix=/usr --sysconfdir=/etc CONF_DRIVER=nvidia CONF_DRIVER_MO
Comment:
Techdatas:
Acer Aspire V3 711g
i5 3120
Nvidia gt 650m 2gb
Ubuntu 13.04 32 bit.
Problem: Ive get an error while ./configure --prefix=/usr[.....]
[........]
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for help2man... no
configure: WARNING: cannot find help2man, you will not be able to generate
manpages
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for x11... yes
checking for glib... no
configure: error: Package requirements (glib-2.0) were not met:

No package 'glib-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables glib_CFLAGS
and glib_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


BUT Its already installed
~/src/Bumblebee$ sudo apt-get install glib-2.0Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Hinweis: »libspice-client-glib-2.0-1« wird für regulären Ausdruck »glib-2.0« gewählt.
Hinweis: »libspice-client-glib-2.0-4« wird für regulären Ausdruck »glib-2.0« gewählt.
Hinweis: »libspice-client-glib-2.0-8« wird für regulären Ausdruck »glib-2.0« gewählt.
Hinweis: »gobject-introspection-glib-2.0« wird für regulären Ausdruck »glib-2.0« gewählt.
Hinweis: »libqtglib-2.0-0« wird für regulären Ausdruck »glib-2.0« gewählt.
Hinweis: »libspice-client-glib-2.0-dev« wird für regulären Ausdruck »glib-2.0« gewählt.
Hinweis: »gir1.2-glib-2.0« wird für regulären Ausdruck »glib-2.0« gewählt.
Hinweis: »gir1.2-spice-client-glib-2.0« wird für regulären Ausdruck »glib-2.0« gewählt.
Hinweis: »gir1.0-glib-2.0« wird für regulären Ausdruck »glib-2.0« gewählt.
gir1.2-glib-2.0 ist schon die neueste Version.
gir1.2-spice-client-glib-2.0 ist schon die neueste Version.
libqtglib-2.0-0 ist schon die neueste Version.
libspice-client-glib-2.0-8 ist schon die neueste Version.
libspice-client-glib-2.0-dev ist schon die neueste Version.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Can somebody help me?

Display Name: Defcronyke Posted On:
2013-06-07 13:23:23 EST
Subject: Re: ERROR: While Instaling [./configure --prefix=/usr
Comment:
Hi Failure,

You probably need a package called something like:

glib2-dev

or maybe

libglib2.0-dev

Try installing that and see if it fixes your problem.

Display Name: Failure Posted On:
2013-06-07 14:07:30 EST
Subject: Re: ERROR: While Instaling [./configure --prefix=/usr --sysconfdir=/etc CONF_DRIVER=nvidia CONF_DRIVE
Comment:
glib2-dev doesn't exist in ubuntu packet source, but libglib2.0-dev
does.But now libbsd is missing and doesnt exist in ubuntu software sources

Display Name: Defcronyke Posted On:
2013-06-08 13:06:03 EST
Subject: Re: ERROR: While Instaling [./configure --prefix=/usr --sysconfdir=/etc CONF_DRIVER=nvidia CONF_DRIVE
Comment:
I think you should already have all this stuff if you ran this command:

sudo apt-get build-dep bumblebee bumblebee-nvidia

Display Name: Failure Posted On:
2013-06-08 14:07:54 EST
Subject: Re: ERROR: While Instaling [./configure --prefix=/usr --sysconfdir=/etc CONF_DRIVER=nvidia CONF_DRIVE
Comment:
There was an error in the step before ubuntu doesnt find ia32 or something like that, can you help me, maybe with other way than a forumlike communikation, i think teamviewer or something, pls answer soon.
Display Name: Failure Posted On:
2013-06-08 14:09:57 EST
Subject: Re: ERROR: While Instaling [./configure --prefix=/usr --sysconfdir=/etc CONF_DRIVER=nvidia CONF_DRIVE
Comment:
There was an error in the step before ubuntu doesnt find ia32 or something like that, can you help me, maybe with other way than a forumlike communikation, i think teamviewer or something, pls answer soon. libbsd isnt found again, how i can install it?
Display Name: Failure Posted On:
2013-06-08 14:31:44 EST
Subject: Re: ERROR: While Instaling [./configure --prefix=/usr --sysconfdir=/etc CONF_DRIVER=nvidia CONF_DRIVE
Comment:
i get it ready i installed it [i think so] but know ive get another error! when i run optirun , i rebooted my pc but still
gfreemint@HackAspire-V3-Motor:~$ glxsheres
glxsheres: Befehl nicht gefunden.
freemint@HackAspire-V3-Motor:~$ glxspheres
Polygons in scene: 62464
Visual ID of window: 0x20
Context is Direct
OpenGL Renderer: Mesa DRI Intel(R) Ivybridge Mobile x86/MMX/SSE2
61.108648 frames/sec - 62.286823 Mpixels/sec
59.835601 frames/sec - 60.989232 Mpixels/sec
freemint@HackAspire-V3-Motor:~$ optirun glxspheres
[ 66.915527] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected.

[ 66.915605] [ERROR]Aborting because fallback start is disabled.
freemint@HackAspire-V3-Motor:~$ optirun glxspheres
[ 78.873751] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected.

[ 78.873784] [ERROR]Aborting because fallback start is disabled.

Display Name: Defcronyke Posted On:
2013-06-08 15:36:41 EST
Subject: Re; ERROR: While Instaling [./configure --prefix=/usr --sysconfdir=/etc CONF_DRIVER=nvidia CONF_DRIVE
Comment:
If you want more help, you'll need to do this:

1. run: optirun glxspheres
2. post a pastebin of the contents of your /var/log/Xorg.8.log and the output of the dmesg command.

I might be able to point you in the right direction if you provide that info.

Display Name: Failure Posted On:
2013-06-09 10:33:05 EST
Subject: Re: ERROR: While Instaling [./configure --prefix=/usr --sysconfdir=/etc CONF_DRIVER=nvidia CONF_DRIVE
Comment:
http://pastebin.com/U1vpGjUz is the link, i cant see a part of of te output of dmesg,
Display Name: Defcronyke Posted On:
2013-06-09 13:31:40 EST
Subject: Re: ERROR: While Instaling [./configure --prefix=/usr --sysconfdir=/etc CONF_DRIVER=nvidia CONF_DRIVE
Comment:
It looks like you haven't correctly blacklisted the nouveau kernel module.

I really can't help you if you're not going to follow the instructions in the tutorial. I'm not here to hold your hand while you omit critical steps in the tutorial and then things don't work for you.

Follow all the steps, then if it doesn't work, do another pastebin and maybe I'll be able to help.

Display Name: Failure Posted On:
2013-06-09 14:43:08 EST
Subject: Re: ERROR: While Instaling [./configure --prefix=/usr --sysconfdir=/etc CONF_DRIVER=nvidia CONF_DRIVE
Comment:
I think i done every step!!
" freemint@HackAspire-V3-Motor:~$ lsmod | grep nouveau " - returns nothing and
" freemint@HackAspire-V3-Motor:~$ lsmod | grep nvidia "
nvidia 8498710 0
drm 228750 5 i915,drm_kms_helper,nvidia
- returns some thing i make a nother pastebin, sorry to make so much problemms, but im still a linux n00b, and defintly not great programmer... and question should i do all steps agian?
here xorg.8.log again http://pastebin.com/57U3U8Mz
and here desmg, http://pastebin.com/h5pQucTy
what informationen do you need, ?
can we maybe make this via a way of communication that goees real-time, maybe a chat or Facebook, or something like that?

Display Name: Defcronyke Posted On:
2013-06-10 10:06:46 EST
Subject: Re: ERROR: While Instaling [./configure --prefix=/usr --sysconfdir=/etc CONF_DRIVER=nvidia CONF_DRIVE
Comment:
Try reinstalling your OS, then try installing Bumblebee the official way.

If that doesn't work, reinstall your OS again, then try following this tutorial again, and if it doesn't work, do another pastebin.

Display Name: Failure Posted On:
2013-06-10 13:37:06 EST
Subject: Re: ERROR: While Instaling [./configure --prefix=/usr --sysconfdir=/etc CONF_DRIVER=nvidia CONF_DRIVE
Comment:
i hate reinstalling, because i have a someties really bad webconnection, and i use ofter programms.

could i make it in a vm? - Would it work?
which cersion of nvidia, is the right?(maybe only false driver)
Is there an command, whiich show that my 650m is regonized/working?
Could this Information support you to solve my problem.
i trid an offical way a servaltime, it ever ended with destroying my xserver, this time it works better. im a n00b this was the first time i tried to compile soething an d it worked, i dont want to leave linux, but i want to have an working graphic unit .

Display Name: Defcronyke Posted On:
2013-06-10 17:04:41 EST
Subject: Re: ERROR: While Instaling [./configure --prefix=/usr --sysconfdir=/etc CONF_DRIVER=nvidia CONF_DRIVE
Comment:
Unfortunately, getting an Optimus configuration working on Linux can turn out to be a fairly advanced topic if things don't work out-of-the-box, hence this tutorial.

A vm will probably not work, and as the tutorial warns, if something ends up not working, sometimes the only way to make it work eventually starts with an OS reinstall.

The correct version of the nvidia driver to use is most likely the newest one available from Nvidia's website (installing an nvidia driver from the Ubuntu repos and then following this tutorial will break everything).

The command to see if the card works is: optirun glxspheres

So yeah, you could mess around forever trying to make it work, in which case probably no-one can help you, or you could reinstall your OS and follow the tutorial from start to finish, completing every command in the prescribed order, then once at the end, if optirun glxspheres gives an error, do the pastebin thing and then I might be able to help.

I don't have time to offer real-time chat (or other) support on this matter, as I'm not being paid to do it.

Display Name: aum11 Posted On:
2013-06-10 23:08:43 EST
Subject: blacklist nouveau
Comment:
Hi, i also have a clevo, however a P151Em1B, with gtx670m. Just found this tute after trying for days to get the Nvidia driver even recognised.

So I am using Mint 15, and I cannot get rid of nouveau, after following Your instructions to the letter.

The last lsmod | grep nouveau produces this:

nouveau 939088 1
mxm_wmi 13021 1 nouveau
i2c_algo_bit 13413 2 i915,nouveau
ttm 83187 1 nouveau
drm_kms_helper 49394 2 i915,nouveau
drm 286313 7 ttm,i915,drm_kms_helper,nouveau
wmi 19070 2 mxm_wmi,nouveau
video 19390 2 i915,nouveau
any suggestions?
Thanks.

Display Name: Defcronyke Posted On:
2013-06-11 01:09:56 EST
Subject: Re: blacklist nouveau
Comment:
Hi aum11,

I haven't tried this, but it looks like it will probably work for you:

Do steps 3, 4, and 5 from this post:
http://community.linuxmint.com/tutorial/view/176

Good luck!

Display Name: Luqman Sungkar Posted On:
2013-06-11 08:38:52 EST
Subject: Cannot access secondary GPU
Comment:
Hi Defcronyke,

Thanks for this great tutorial. I've tried your steps, and I think I succeed. I notice that my battery life was increasing, which is a good sign.

However, when I tried "optirun glxspheres", I got the classic
[ 231.327871] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver

[ 231.327978] [ERROR]Aborting because fallback start is disabled.

I tried to open /var/log/Xorg.8.log, but I don't even have one. I tried sudo gedit /etc/bumblebee/xorg.conf.nvidia, but there's no Option "ConnectedMonitor" "DFP" line. I notice that this is maybe because I'm using different version of Bumblebee (3.2.1). So I tried once again, starting from git checkout using the version in this steps, and Option "ConnectedMonitor" "DFP" line was there. But I still got the same problem, cannot access secondary GPU. I tried to open /var/log/Xorg.8.log, but I still don't have one.

I'm using Linux Mint 15 Cinnamon 64 bit, on Asus K46CM with Intel Core i5 and GeForce GT635M.

Can you help me with this problem ? Thank you :)


Display Name: Defcronyke Posted On:
2013-06-11 11:31:27 EST
Subject: Re: Cannot access secondary GPU
Comment:
Hi Luqman,

If you don't have a /var/log/Xorg.8.log, you should have a /var/log/Xorg.somenumber.log.

Look in /etc/bumblebee/bumblebee.conf for the number next to VirtualDisplay, and replace the 8 with that number to find the right log file.

Once you find the right log file, I'll need to see a pastebin of that file, as well as the output of the dmesg command, then I might be able to help.

Display Name: Failure Posted On:
2013-06-11 13:12:36 EST
Subject: Re: ERROR: While Instaling [./configure --prefix=/usr --sysconfdir=/etc CONF_DRIVER=nvidia CONF_DRIVE
Comment:
ok, i will install it on another pation and try it there, i won't install Nvidadriver over apt-get install or so software center, @paid, what do you think about lightcoins[something like bitcoin]?- Just a joke ;-)
ähm optirun glxspheres - print out : "[ 2248.791236] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected.

[ 2248.791285] [ERROR]Aborting because fallback start is disabled."

Display Name: Luqman Sungkar Posted On:
2013-06-13 06:00:36 EST
Subject: Re: Cannot access secondary GPU
Comment:
Hi Defcronyke, Thank you for your reply :)

There are 3 xorg file in my log folder (0,1,2), so I replace the number next to virtualdipay to 0. here I provide my xorg.0.log pastebin :
http://pastebin.com/iJqXWSgj

and this is my dmesg pastebin :
http://pastebin.com/cLdKS8xL

Thank you for your help :D

Display Name: Defcronyke Posted On:
2013-06-13 10:11:11 EST
Subject: Re: Cannot access secondary GPU
Comment:
I didn't mean change the number next to virtualdisplay, I meant you should look there to find the number of the correct log file. I think /var/log/Xorg.0.log is not the right Xorg log file. It is the log for your primary display, but what I need to see is the log for your bumblebee display.

If you changed the number next to virtualdisplay, change it back to what it was before and post a pastebin of the log with that number in its filename.

Display Name: Luqman Sungkar Posted On:
2013-06-13 10:48:20 EST
Subject: Re: Cannot access secondary GPU
Comment:
Oh my god, I'm sorry. But I'm still confused, because the number next to virtualdisplay is 8, and I still don't have the xorg.8.log. The only xorg I have is xorg.0.log, xorg.1.log, and xorg.2.log.

Here I attached the pastebin of the other log, if this can help:
Xorg.1.log : http://pastebin.com/tn1RtAhy
Xorg.2.log : http://pastebin.com/tXQuTyE3

Display Name: Defcronyke Posted On:
2013-06-13 14:58:01 EST
Subject: Re: Cannot access secondary GPU
Comment:
I'm not sure which one of those is the bumblebee Xorg log file, but they both show Nouveau being loaded... Are you sure you've blacklisted nouveau completely?

If lsmod | grep nouveau doesn't come up empty, then nouveau is still being loaded, and you need to prevent that from happening. If this is the case, try what I mentioned to aum11 one post above your original post.

Display Name: Reboot Posted On:
2013-08-01 03:27:48 EST
Subject: Problem in Bumblebee
Comment:
I have Problem in Bumblebee
sudo apt-get install bumblebee bumblebee-nvidia
E: Couldn't find package bumblebee

BackTrack5r3 KDE
What is the solution please

Display Name: Thrasher Posted On:
2013-08-17 14:45:23 EST
Subject: it works!
Comment:
thank you so much, i tried this for 3 days so far. And this guide worked out of the box.

THANKS!!!

Display Name: king Posted On:
2013-08-18 02:01:38 EST
Subject: i do not konwn what you have said ??
Comment:
although i have not known what you have said ,but thank you also
Display Name: LInux Noob Posted On:
2013-09-21 04:10:58 EST
Subject: Automation
Comment:
Hi Defcronyke, thanks for the tutorial and it worked ok. I use Samsung Npe2 something with Nvidia 710m. At first I used a 64 bit installer since its a 64 bit machine and I thinks it's still bugged cause whenever I restart, my resolution goes back to 640x430 and can't change it. I thought it was the graphics card not being recognized but when I tried bumblebee, didn't work so I tried a 32 bit ubuntu. Works fine and your tutorial worked but I wonder if that's ok since I'm on a 64 bit machine and I used 32 bit drivers. I guess I just have to wait for the developers to find a way to make Nvidia drivers work and detect the drives. So onto the question, Is there a way to automate optirun on certain softwares where I don't have to use the terminal to run a program everytime? Like a UI for example where I can set everything to it. Thanks
Display Name: Defcronyke Posted On:
2013-09-21 15:19:47 EST
Subject: Re: Automation
Comment:
Hi LInux Noob,

If you have a 64-bit computer, it is silly to run a 32-bit OS on it, but if that's the only way you can figure out to make things work, I guess you're stuck with it at the moment.

To answer your question, check out bumblebee-config-gtk or bumblebee-ui, I haven't tried either of those, but at least one of them should do what you want.

Display Name: Ayjay Posted On:
2013-09-22 23:57:24 EST
Subject: re: HDMI and Optimus
Comment:
Hi, Just an update.. I finally got a rough hack to work for getting your HDMI working.. Now I need to clear something up, I have an Asus N56VZ which is a great laptop but it has had a fair few issues getting it working as expected under linux.. I had ended up settling on Linux Mint 15 at the time as it is fairly light weight.. Problem is the NVIDIA Optimus support sux up until recently (In all distros mind you)..

Now the big thing here to note is that there are two ways to wire your external display ports from the within the laptop, Either hardwired via the onboard intel graphics chipset or hardwired to the NVIDIA card which is the issue I have. If your laptops display ports are hardwired to the NVIDIA Card then you will more than likely not see your device attached to your HDMI port. I have to run a script I put together to get output on my TV via HDMI.. At the moment it is app based only and I haven't been able to get a Window manager to work on it as yet..

This was to get my steam games working on my TV via HDMI:

-------------------------------

#/bin/bash

#Set the HDMI Display

export DISPLAY=:8.0 LD_LIBRARY_PATH=/usr/lib/nvidia-325:$LD_LIBRARY_PATH

optirun nvidia-settings -c :8 --assign CurrentMetaMode="DFP-0: 1920x1080 {ViewPortIn=1920x1080, ViewPortOut=1820x1020+50+30}" &

sleep 1

steam


-------------------------------


If you run "optirun nvidia-settings -c :8" (bumblebee sets display port 8 in its conf file. I tested that it will work on any display port set in the bumblebee.conf file.) then with the TV plugged into the HDMI port I can see the DSP device but only the DSP device so I have no way of setting up dual displays currently. randr on it's on shows the laptop screen (LVDS) and the VGA port (VGA) but doesn't see the HDMI port. If you run "optirun randr" the nvidia card is turned on and the HDMI port is now visible to randr but not the other displays..

So my assumptions are each case will be unique depending on the hardware, the good news is that nvidia are actually starting to support Optimus out of the box so hopefully in the near future this will be bundled into the base OS.. Oh and the nouveau driver works fine for normal browsing ect but is useless for anything that needs consistant 30fps or greater..

Also if you plug in the HDMI port then I get the scren chooser gui for a display, except HDMI is not in the list.. If you have any ideas on how to get a Window manager working on a different display (Such as :8) then please let me know..

Display Name: Linux Noob Posted On:
2013-09-24 09:15:01 EST
Subject: Automation
Comment:
Hi Defcronyke, I initially used a 64 bit OS but the display keeps retuning to a small resolution everytime. I have a machine with windows 8 pre-installed on it so I did some reading after I tested the 32 bit, at first, everytime I booted the 64 bit, it's displaying nouveau chipset not recognized, I disabled secure boot, (UEFI) and installed the 32 bit and it didn't say that anymore and plus the resolution stays the same. I started to test it the 32 bit with your instructions and it worked, also got the UI working and tested some minor games, but I wasn't satisfied seeing I have a 32 bit on a 64 bit machine so I took it out and now have a 64 bit OS, good thing is, it doesn't display the nouveau chipset not recognized anymore even before I started follwing your tutorial again. Hopefully the developers can get the graphics card working on Ubuntu cause as I recall, I told my prof whose a Linux advocate that nvidia cards doesn't work on Linux and he showed me our class computers all have Linux on them that have Nvidia proprietary drivers working and being recognized on the "additional drivers" app although this was back when 10.4 was the latest OS.
Display Name: Linux Noob Posted On:
2013-09-24 13:29:31 EST
Subject: [ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected. (Fixed)
Comment:
Hi Guys, I recently installed a ubuntu 12.04 64 bit Ubuntu and followed the walkthrough
but ended up getting this

[ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected.

which was weird cause when I first used a 32 bit installation, I didn't encountered this so I looked around the net and found a solution intended for Ubuntu 13.04

http://askubuntu.com/a/285638/47280

If anyone is having the similar problem, just edit your /etc/bumblebee/xorg.conf.nvidia and uncomment the line

BusID "PCI:01:00:0"

hope this helps, thanks Defcronyke for the great tutorial, gotta sleep now.

Display Name: Defcronyke Posted On:
2013-09-27 13:30:29 EST
Subject: Re: [ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected. (Fixed)
Comment:
Hi Linux Noob,

Thanks for the tip! I'm sure it will be helpful for many people.

Display Name: Whalietric Posted On:
2013-10-04 01:50:13 EST
Subject: Great tutorial and personal remarks
Comment:
Hi Defcronyke!

WOW. Really. You achieve sucess where a lot of Linux users failed so far. I have an ASUS-K45VM with GeForce GT 630M and the Intel VGA (i think it is SandyBridge). Well, finally I am using the full power of the Nvidia card, thanks to your tutorial. Also, I am using ElementaryOs Luna 64 bits, with generic-lts-raring kernel (3.8.0-31).

I am sending you the optirun glxspheres results:
Polygons in scene: 62464
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: GeForce GT 630M/PCIe/SSE2
93.724645 frames/sec - 92.436119 Mpixels/sec
91.943400 frames/sec - 90.679362 Mpixels/sec
116.945881 frames/sec - 115.338109 Mpixels/sec
163.157876 frames/sec - 160.914781 Mpixels/sec
153.446075 frames/sec - 151.336498 Mpixels/sec
94.877550 frames/sec - 93.573173 Mpixels/sec
95.728872 frames/sec - 94.412792 Mpixels/sec
88.877564 frames/sec - 87.655675 Mpixels/sec
95.735366 frames/sec - 94.419196 Mpixels/sec
94.267798 frames/sec - 92.971804 Mpixels/sec
105.236088 frames/sec - 103.789303 Mpixels/sec
92.977888 frames/sec - 91.699628 Mpixels/sec

I am pretty satisfied ;)

I've had a bit of trouble to install but I managed. I can send you this in other post, if you want, to help others.

I have a few questions for you:
1- Can we use now the bumblebee GUI and manage and config?

2- Can we manage and update upgrade kernel (Linux and Nvidia)?

3- Can we use nvidia-xconfig?

4- Can I "spread the word" about your achievement? I want to reproduce it on the Elementary community (Brasil mostly), with my on observations, the problems I faced, giving you the full credit, of course.

Well, I think that is it for now. Thanx and keep doing this amazing work!

Display Name: Defcronyke Posted On:
2013-10-12 11:25:43 EST
Subject: Re: Great tutorial and personal remarks
Comment:
Hi Whalietric,

Thanks for the kind words,

I don't have the answers to most of your questions because I don't currently own a bumblebee powered system, but you can certainly spread the word, and if you want to make a derivative work of this tutorial for the Elementary community, that's fine as long as you post a link to here.

Glad it worked for you!

Display Name: Rem Posted On:
2013-11-17 23:51:02 EST
Subject: My lcpi dont show the VIDEO BIOS
Comment:
Greeting,
I am on arch my machine is Acer 4750G with an NVIDIA geforce 4750G - Optimus
I have the error "Failed to initialize the NVIDIA GPU at PC1:1:0:0"
when i try the next command "cat /proc/driver/nvidia/gpus/0/information"
I have the next answer
GPU UUID: ????????????
Video BIOS: ?????????
i dont know why, can you help me? thanks

Display Name: crn Posted On:
2013-12-19 22:09:02 EST
Subject: Fixed Error
Comment:
Hi everyone;

I have lenovo z580 with Nvidia Geforce GT 630M.I got this error.

"Cannot Access secondary GPU - error: [XORG] (EE)" This part seems fairly common.. but after that I get "NVIDIA: use the -ignoreABI option to override this check." then after that you get the typical "aborting because fallback start is disabled."

After that i reinstalled NVIDIA-Linux-x86_64-325.15 with this version. it worked for me.. thank you.

Display Name: Pharmf343 Posted On:
2014-08-19 09:10:33 EST
Subject: Good info
Comment:
Very nice site! <a href="http://oixypea2.com/qxqsxoq/1.html">cheap goods</a>
Display Name: Pharmf33 Posted On:
2014-08-19 09:11:21 EST
Subject: Good info
Comment:
Very nice site! [url=http://oixypea2.com/qxqsxoq/2.html]cheap goods[/url]

Post a Comment

Display Name:
Email Address:
Subject:
Comment:

NOTE: Your email address will only be seen by the webmaster, and will not be used to send you anything. Your IP address will be logged, but not displayed publicly.


Reload Image
Code:




Go back to Tutorials


This tutorial is copyright © 2012 Defcronyke Webmaster, The Eternal Void Network. It may only be linked to with permission from the original author. If you provide reference to it anywhere, please give credit to the author.



Number of Unique Hits: 00032457
Privacy Policy