New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I cant get Bumblebee to work on elementaryOS Luna or Ubuntu 13.04 #330
Comments
The module is named "nvidia_experimental_310". Be sure to edit /etc/bumblebee/bumblebee.conf and set |
Thanks for the answer @Lekensteyn, but sadly it did not worked. driver and module is set to nvidia, and I set KernelDriver to nvidia_experimental_310 like you said, but did not work. I restarted it with |
Could you give us the corresponding part of kern.log ? What about lspci -v -s 01:00.0 ? |
Sure thing! 01:00.0 VGA compatible controller: NVIDIA Corporation GK107 [GeForce GT 650M](rev a1) (prog-if 00 [VGA controller]) As for kern.log, I dont know what would be the corresponding part, so I just got the few final lines on the file: Feb 20 15:21:08 julian-ubuntu kernel: [ 14.993099] bbswitch: version 0.4.2 |
It looks like you are using kernel 3.8. For the ACPI warning in transitioning to from non-D0, there is a workaround for that in the develop branch of bbswitch. What does /var/log/Xorg.8.log contain? |
@Lekensteyn Yes, Ubuntu 13.04 does use kernel 3.8 :) |
Well, this is strange:
The ModulePath is correct, but it still cannot find that package? http://packages.ubuntu.com/raring/amd64/nvidia-experimental-310/filelist |
Yeah, I saw that too. If I remember correctly, that also happened when I was using the nvidia-current driver, from Ubuntu repo. I will make another fresh install (must be my 50th by now), and will see what happens if I use the drivers from xorg-edgers. Maybe something happens. If nothing changes, I will give Quantal a try. But I doubt Quantal will help, since I had problems with Luna too, and that is based on Precise. Man, I'm sure a unlucky guy... |
Reinstalling should only be done when you really screwed up something. You don't need to do that just to get this working. First, identify the paths, try to locate the files (nvidia_drv.so; nvidia_current.ko, nvidia_experimental_310.ko or ...), check your Xorg.8.log and your kernel log. |
Problem is I don't know what to do. I'm not a Linux expert or anything like that, I just write tutorials and news. That makes things a bit more difficult. My Xorg.8.log and kernel.log files are on this thread. But I could not find |
Okay, I erased the experimental driver and went back to current. Reverted the changes on Now I get this on terminal optirun -vv glxinfo And this on kernel.log: Feb 20 18:04:26 julian-ubuntu kernel: [ 9808.186035] bbswitch: disabling discrete graphics |
Did you restart bumblebeed ? |
I did The file bumblebee.socket doesn't exist in /var/run/ btw. Should I create it or the PPA should have created it by itself? |
Does |
No.
|
Now that I restarted again, I'm seeing this on kernel.log: Feb 20 18:19:13 julian-ubuntu bumblebeed[2676]: Module 'nvidia-current' is not found. |
So, have you installed nvidia-current? If yes, have you installed linux-headers-generic? If yes, could DKMS succesfully build the nvidia_current module? |
I have installed When I first installed it, it build just fine. Then I installed the I tryed to rebuild DKMS with |
Try |
Already did. It says nvidia-current is the most up to date package. |
I will try a fresh install of Quantal. Maybe its some kind of incompatibility with Raring, since the PPA don't even support it. I will report back in a few seconds. I don't have anything installed on this machine, besides the OS, so its okay. |
Okay, clean Ubuntu 12.10 install is ready. Now I will do the following:
Then I will see if it works. If it don't, I will edit the bumblebee.conf file to add driver=nvidia. So far, everything is correct, right? If this works, I then will try to get nvidia-experimental-310. And if that works, I will see if I can get nvidia-experimental-313 from xorg-edgers to run. But anyway. Installing stuffs now, I will report back once everything is done :) |
You don't need to install linux-source BTW, just linux-headers-generic. |
Great! One less thing to download :) |
Weird. It says Module build for the currently running kernel was skipped since the But I did install linux-headers-generic... |
Installing linux-source to see if that is what is missing. |
Maybe there is a mismatch between the running kernel and the current kernel (from the repos). Try |
Seems it worked now: sudo dpkg-reconfigure nvidia-current nvidia_current:
depmod.... DKMS: install completed. I will reboot and see if optirun works :) |
OMG! Its finally working, after almost two days! Thanks soooooooo much guys! Now I just have to figure out how to make it work with Ubuntu 13.04 (Raring) and the use the experimental driver and primus :D But seriously, thank you soooooo much! But since I'm here, does anyone have any clue about why it did not worked with Raring? Will the PPA be updated for Raring? Unity performance there is almost 200% better :S |
If you use Raring, then you need to use our testin PPA. Not the stable one. AFAIR, it doesn't change a lot of thing, but you'll never know... |
Yeah, I will try that once I get home. Now that I know how to make this work with Quantal, it will be a lot easier. The only problem I saw so far is that I get worse performance with primus than with optirun, that I guess its because its still in development. But once again, thanks a lot! Now I can finally go back to work :) |
It seems Bumblebee don't like Raring, sadly. It did not worked, gives me the socket problem again. All I see on kernel.log is this: Feb 21 07:16:48 julian-ubuntu kernel: [ 13.364090] nvidia 0000:01:00.0: enabling device (0006 -> 0007) It works just fine in Quantal, but it don't wanna work on Raring at all. Dammit D8 |
Look in your syslog |
Its saying Module 'nvidia-current' is not found again. But it did build the DKMS module when I installed bumblebee-nvidia. Maybe its a problem with 3.8 kernel? |
This is what I see on dpkg.log: 2013-02-21 07:38:37 upgrade nvidia-current:amd64 304.64-0ubuntu5 304.64-0ubuntu5 |
It looks like there is no package "nvidia-current" anymore, it is purely virtual. Try editing bumblebee.conf (ModulePath and KernelModule) and change nvidia-current to nvidia-310 (if you have nvidia-310 installed). Otherwise, use |
julian@julian-ubuntu:~$ dpkg -l nvidia-* | grep '^ii' Should I use nvidia-304 then? |
Cool, I just looked in the build files, and it seems possible to use |
modinfo nvidia nvidia-304 nvidia-current |
Fixed it. Just changed every nvidia-current instance on bumbleebe.conf to nvidia-304 and its working like a charm :) |
As reported on GH-330, bumblebeed bails out when the KernelDriver line is set to "nvidia", even though an alias exist in /etc/modprobe.d/. Instead of using `modinfo` to determine the existence of a module, use `modprobe --dry-run` to determine whether a module is available. This should also catch errors earlier when `nouveau` is aliased to `off` for example in which case the module must be considered "unavailable".
The issue that you were experiencing with Raring is fixed in the develop branch and will end up later in Raring. |
Cool :) |
Can you paste your current primusrun script somewhere, and list what you did for compiling primus ? |
Sorry for the delay, was comming home. Anyoway, my primusrun script is here: http://paste.ubuntu.com/1700855/ To install it I used this PPA: ppa:zhurikhin/primus |
Currently, this packages are broken, we're going to release new ones with Bumblebee 3.1, today I hope. |
Hello guys,
I got this HP Pavilion dv6 7014NR, with a I7 Ivy Bridge CPU and a NVidia GT650M yesterday, but sadly it came with Optimus. It is my first time with a NVidia GPU, since I have used Intel GPUs since the first time I used Linux, back in 2008.
I read about Bumblebee and installed on a fresh Ubuntu 13.04 install (I use the dev version in production, since I write about Ubuntu on a Brazilian blog), but I cant get it to work. I started at 11am yesterday. Its 14pm now, and I still did not made it to work :/
I dont think it`s something about Raring, since I tryed with elementaryOS Luna (based on Ubuntu 12.04) too, and it did not worked either.
To install I did the following:
1. Installed Ubuntu 13.04; 2. Booted and added the Bumblebee PPA. Since there is no Raring PPA, I added the Quantal one. I also enabled the proposed and partner repositories on Raring; 3. Run sudo apt-get update; 4. Run sudo apt-get install linux-source linux-headers-generic; 5. Run sudo apt-get install bumblebee bumblebee-nvidia; 6. Reboot.
Then I tryed to use it, but did not worked. Optirun gave me a
Cannot access secondary GPU
error, so I edited the bumblebee config file and changeddriver=
todriver=nvidia
.Tryed Optirun again and now I get
[XORG] (EE) Failed to load module "nvidia" (module does not exist, 0)
.I tryed installing the nvidia-experimental-310 driver, following a tutorial at WebUp8, but I got the above error once again.
Could anyone help me, please? I need this laptop working to work, and since I also review games on that blog, I need this NVidia card working. I paid a lot for this laptop, just because of the card :/
For the record, I also tryed the
CRT-0
andnone
fixes, but they did not work too. I also blacklisted noveau andoptirun -vv glxinfo
give me this:[ 8830.137715] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 8830.138078] [INFO]Configured driver: nvidia
[ 8830.291898] [DEBUG]optirun version 3.0.1 starting...
[ 8830.291989] [DEBUG]Active configuration:
[ 8830.292083] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 8830.292116] [DEBUG] X display: :8
[ 8830.292144] [DEBUG] LD_LIBRARY_PATH: LibraryPath=/usr/lib/nvidia-experimental-310:/usr/lib32/nvidia-experimental-310
[ 8830.292187] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 8830.292235] [DEBUG] VGL Compression: proxy
[ 8830.408941] [INFO]Response: No - error: XORG Failed to load module "nvidia" (module does not exist, 0)
[ 8830.408977] [ERROR]Cannot access secondary GPU - error: XORG Failed to load module "nvidia" (module does not exist, 0)
[ 8830.408982] [DEBUG]Socket closed.
[ 8830.409003] [ERROR]Aborting because fallback start is disabled.
[ 8830.409008] [DEBUG]Killing all remaining processes.
modprobe nvidia
give me this:FATAL: Module nvidia not found.
If I run
sudo dpkg-reconfigure nvidia-experimental-310
the NVidia module seems to build, but in the end, it never loads.Removing all DKMS Modules
Done.
INFO:Enable nvidia-experimental-310
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
Loading new nvidia-experimental-310-310.14 DKMS files...
Building only for 3.8.0-7-generic
Building for architecture x86_64
Building initial module for 3.8.0-7-generic
Done.
nvidia_experimental_310:
Running module version sanity check.
depmod....
DKMS: install completed.
Could anyone help me, please? I will be sure to write a tutorial after that, so more users can be helped with it. I can`t be the only one with this issue.
Thanks in advance and sorry for my bad English :S
The text was updated successfully, but these errors were encountered: