Skip to content
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

NVIDIA Corporation GF108M - HP Pavillion DV4 - Nothing works? #761

Open
LordAmit opened this issue May 1, 2016 · 174 comments
Open

NVIDIA Corporation GF108M - HP Pavillion DV4 - Nothing works? #761

LordAmit opened this issue May 1, 2016 · 174 comments
Assignees
Milestone

Comments

@LordAmit
Copy link

LordAmit commented May 1, 2016

Edit: Solution Found - Tweak edition
We worked out a solution. In case tl;dr, please check this link:
#761 (comment)


Hi,

This is a few years old Optimus enabled graphics card. I was able to use it using bumblebee a few years ago as well, but in later versions of Ubuntu I have never been able to. I have tried setting it up using information from askubuntu, from ubuntu, from the various issues here, from different blogs. Nothing worked. Every single time I tried setting the latest nvidia driver (last attempt - last night 361) and rebooted, the login screen started flickering, pressing Alt + Ctrl + F1 to access terminal didn't work, and I had to get in Ubuntu advanced recovery mode to purge everything and back to square one. Before that, I tried editing bumblebee.conf and xorg.conf.nvidia. I tried making the bumblebee daemon work, but it kept failing at nvidia_uvm, or nvidia, or something else. I am really sorry if all these sound a bit incoherent.

Therefore, please guide me what I need to do. Here is my config:

lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 630M] (rev a1)
uname -a 
Linux amit-laptop 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

I am using Ubuntu Gnome 16.04 LTS - with GDM3 Display Manager.

Laptop Details: http://www.ubuntu.com/certification/hardware/201209-11722/

Please, let me know if you need any other information. I will provide any information required to solve this.

Thank you in advance.

@LordAmit LordAmit changed the title NVIDIA Corporation GF108M - HP Pavillion DV4 NVIDIA Corporation GF108M - HP Pavillion DV4 - Nothing works? May 1, 2016
@mathias-freire
Copy link

Did you look at this?

https://github.com/Bumblebee-Project/Bumblebee/issues/759

@LordAmit
Copy link
Author

LordAmit commented May 2, 2016

No, I didn't. Should I follow the instructions from here?
#759 (comment)

@i2000s
Copy link

i2000s commented May 3, 2016

Yeap, worth trying. Good luck! My M1000M is running toward it.

@LordAmit
Copy link
Author

LordAmit commented May 4, 2016

here is what I did -

sudo apt-get install bumblebee bumblebee-nvidia primus linux-headers-generic
sudo apt install nvidia-361 nvidia-361-updates

I following the steps, while replacing 364 with 361.

I was following the above referenced comment here until I got stuck on this:

sudo update-alternatives --config i386-linux-gnu_egl_conf

gave me this:

* 0            /usr/lib/nvidia-361/alt_ld.so.conf         8604      auto mode
  1            /usr/lib/nvidia-361-prime/alt_ld.so.conf   8603      manual mode
  2            /usr/lib/nvidia-361/alt_ld.so.conf         8604      manual mode

am going for auto. will provide update.

@LordAmit
Copy link
Author

LordAmit commented May 5, 2016

Update - even console mode now flickers. Can't even get in console mode.

@i2000s
Copy link

i2000s commented May 5, 2016

Sorry, I may have misled you. Check out this question and answer. The current conclusion is you may not need this out-dated Bumblebee tool at all in recent Ubuntu release.

@LordAmit
Copy link
Author

LordAmit commented May 5, 2016

I had to chroot from liveCD (Usb Version 👅 ) to fix it. Whew!
I am checking the link :) A holiday is here today, so I can go for it all day!

@LordAmit
Copy link
Author

LordAmit commented May 5, 2016

Nope, didn't work. Monitor stopped getting power after rebooting when I followed all instructions from link.

@i2000s
Copy link

i2000s commented May 5, 2016

Wait, my recent link tells you DON'T USE BUMBLEBEE at all.

@LordAmit
Copy link
Author

LordAmit commented May 5, 2016

Yes. I purged bumblebee before going through the steps.

@i2000s
Copy link

i2000s commented May 5, 2016

Then what are you doing over this issue thread? What steps? Post your error code, otherwise no one can help you. Note that the recent kernel may not be compatible with nvidia-361/364 driver which you may want to install. Maybe you can find out which nvidia driver is compatible with your system here.

@LordAmit
Copy link
Author

LordAmit commented May 5, 2016

The steps provided by cl-netbox that I found from the link you gave above?

I removed bumblebee only after you gave the link from askubuntu where cl-netbox stated that do NOT install bumblebee.

I checked using the link and it states that I need nvidia 361.42 driver, although it does not state a kernel version.

Lets clear the communication gap here. I am going to follow the steps described in https://wiki.ubuntu.com/Bumblebee. Then I am going to run optirun and provide the error messages here. Is that ok?

@ArchangeGabriel
Copy link
Member

That’s the third Ubuntu 16.04 threads after #759 and #749

I think someone on that distro with a bit of knowledge on packaging should take a look at all this. But is there anyone corresponding to that description?

@ArchangeGabriel
Copy link
Member

Maybe a bug should be filed at https://bugs.launchpad.net/ubuntu/+source/bumblebee.

@bluca
Copy link
Member

bluca commented May 15, 2016

Screen flickering or similar problems when using the Intel Xorg drivers are very unlikely to have anything to do with bumblebee - it is most likely an issue with the drivers packaging of Ubuntu. Specifically, with the update-alternatives handling of libglx.so, or with the modprobe aliases (or lack thereof). We fixed these in Debian, but we have no control over what the Ubuntu maintainers do.

@LordAmit - Yes please, do post the exact steps you are following in installing bumblebee, and the errors from the journal, that will help a lot

If anything else fails, please file a bug with: https://bugs.launchpad.net/ubuntu/+source/nvidia-driver

@bluca bluca added the NeedInfo label May 15, 2016
@bluca
Copy link
Member

bluca commented May 15, 2016

One thing we need to do in the PPA is to add a Xenial package. I will do that.

@LordAmit - make sure /etc/modprobe.d/bumblebee.conf has the blacklist lines for your versions of the drivers. The bumblebee version in the Ubuntu archive might be outdated in that regard.
EDIT: also, in the update-alternative choice, make sure to choose the MESA provider, not the nvidia ones.

@LordAmit
Copy link
Author

LordAmit commented May 15, 2016

Hi @bluca
Glad to have you here.

I will provide the exact steps and the outputs from terminal and everything else you require.

How do I provide the errors from the journal? Are those in /var/log/syslog?

@bluca
Copy link
Member

bluca commented May 15, 2016

the best way is from systemd's journal:

sudo journalctl -b

@LordAmit
Copy link
Author

@bluca - I am going for https://wiki.ubuntu.com/Bumblebee instructions for version 14.04 and later - if that is ok.

@bluca
Copy link
Member

bluca commented May 16, 2016

Yes, but before that - you are on 16.04, right? Do you have xserver-xorg-legacy installed as a package?

@bluca
Copy link
Member

bluca commented May 17, 2016

Will do, thanks for testing

@Lekensteyn
Copy link
Member

In previous versions, Ubuntu used Upstart which has some auto-detection for the driver (see debian/bumblebee.bumblebeed.upstart or /etc/init/bumblebee.conf). The init.d shell script does not seem to perform auto-detection which might result in surprises upon updating.

We precisely avoided modprobe -r nvidia in the past because it did not handle aliases well (modprobe nvidia-current or modprobe nvidia-304 would make module nvidia appear in lsmod and /proc/modules). I thought that this was fixed in recent kmod, if it is not, then the libkmod patch must be updated I guess.

@bluca
Copy link
Member

bluca commented May 18, 2016

Hopefully when this is merged this problem will go away: #762

On Debian, modprobe -r nvidia works just fine (even with the new kernel modules), because we ship a working modprobe conf file. That is sadly not the case on Ubuntu, where they either are broken or aren't even configured and linked in /etc/modprobe.d.

@LordAmit
Copy link
Author

Umm, hello. Today probably @bluca pushed an update to the testing repository. here is what happened.

  • The gnome software center in Ubuntu indefinitely was stuck for a while while installing bumblebee
  • I guessed something was wrong, had to kill the installer, removed the lock and used sudo apt upgrade.
  • It gave me a text based prompt that asked me whether I want to replace the bumblebee.conf file under /etc/bumblebee
    This is probably new, as I have not seen something similar before. I thought I should inform you about it.

@bluca
Copy link
Member

bluca commented May 18, 2016

I updated the default conf file, yes. You mean that the ubuntu software center can't handle when dpkg asks what to do with a diff in a conf file? That's really... well.
Anyway, that's normal defined behaviour when a conf file changes, dpkg/apt will prompt and let you see the diff, and ask if you prefer to keep yours or the package version.

@LordAmit
Copy link
Author

LordAmit commented May 18, 2016

There is no Ubuntu software center, it was replaced by gnome software center from 16.04.

ps: Loved your reaction. I am still laughing out loudly.

@bluca
Copy link
Member

bluca commented May 18, 2016

:-)

@LordAmit
Copy link
Author

@bluca - considering that this is solved using the testing ppa - should I close this issue? Probably the changes we made at the configuration files only worked after installing the newest bumblebee - right?
cough I don't like the #needinfo tag.. makes me look unresponsive >.>

@bluca
Copy link
Member

bluca commented May 19, 2016

There is still a problem with the kernel modules, so IMHO this should be closed only when this is merged:

#762
I'll take out the label

@ArchangeGabriel
Copy link
Member

@bluca So, do you consider the autodetection issue to be solved by the default driver name change?

@bluca
Copy link
Member

bluca commented May 19, 2016

It is if the modprobe file that the drivers ship is symlinked into /etc/modprobe.d, but it appears that fails in some cases. A bug to be raised on launchpad I think, but haven't had time to properly investigate. I will have more time next week.

@bluca
Copy link
Member

bluca commented May 20, 2016

@LordAmit - I've published a new version, which should solve the modules problem. Could you please give it a try?

Please make sure that /lib/nvidia-361/modprobe.conf is symlinked in /etc/modprobe.d, if not do it and run sudo depmod. And that KernelDriver=nvidia in /etc/bumblebee/bumblebee.conf

@i2000s
Copy link

i2000s commented May 20, 2016

@lorddamit, just curious on the development status of this package: why the master branch hasn't been updated since 2013? I am asking because people have reported that Bumblebee has been deappreciated since Ubuntu 12.10, and shouldn't been used just to enable the Optimus technique. See this thread on Stackoverflow. Thanks!

@bluca
Copy link
Member

bluca commented May 20, 2016

The 4.0 release is being prepared.

Bumblebee is fully supported on Debian, and has some (solvable) hiccups on Ubuntu due to the state of the drivers there.

@i2000s
Copy link

i2000s commented May 20, 2016

@bluca Can you claim on the Stackoverflow thread as well? Otherwise, it's misleading there. Thanks.

@LordAmit
Copy link
Author

😄 You almost missed the n in lorddamit and avoided damning me, @i2000s !

I dunno about the dev status mate, I am just a mere, humble user of bumblebee. The major reason of that rumor is probably because of the lack of update in the ubuntu wiki.

@bluca , I installed the updates. there was no symlink, I had to make it.

sudo ln -s /lib/nvidia-361/modprobe.conf /etc/modprobe.d/

Thus,

/etc/modprobe.d$ ll
total 80
drwxr-xr-x   2 root root  4096 May 20 11:09 ./
drwxr-xr-x 157 root root 12288 May 20 11:05 ../
-rw-r--r--   1 root root  2507 Jul 31  2015 alsa-base.conf
-rw-r--r--   1 root root   325 Mar 13 19:36 blacklist-ath_pci.conf
-rw-r--r--   1 root root  1907 May  1 02:47 blacklist.conf
-rw-r--r--   1 root root  1603 May  1 02:47 blacklist.conf.bak
-rw-r--r--   1 root root   210 Mar 13 19:36 blacklist-firewire.conf
-rw-r--r--   1 root root   697 Mar 13 19:36 blacklist-framebuffer.conf
-rw-r--r--   1 root root   156 Jul 31  2015 blacklist-modem.conf
lrwxrwxrwx   1 root root    41 Apr 30 14:56 blacklist-oss.conf -> /lib/linux-sound-base/noOSS.modprobe.conf
-rw-r--r--   1 root root   583 Mar 13 19:36 blacklist-rare-network.conf
-rw-r--r--   1 root root  1077 Mar 13 19:36 blacklist-watchdog.conf
-rw-r--r--   1 root root  2111 May 20 11:05 bumblebee.conf
-rw-r--r--   1 root root   127 Mar 12  2015 dkms.conf
-rw-r--r--   1 root root   390 Apr 12 16:06 fbdev-blacklist.conf
-rw-r--r--   1 root root   347 Mar 13 19:36 iwlwifi.conf
-rw-r--r--   1 root root   104 Mar 13 19:36 mlx4.conf
lrwxrwxrwx   1 root root    29 May 20 11:09 modprobe.conf -> /lib/nvidia-361/modprobe.conf
-rw-r--r--   1 root root   153 Apr 14 21:53 nvidia-361_hybrid.conf
lrwxrwxrwx   1 root root    29 May 18 00:35 nvidia-tmp.conf -> /lib/nvidia-361/modprobe.conf
-rw-r--r--   1 root root    30 Mar  3 20:28 vmwgfx-fbdev.conf

This is what you were talking about, right? And this?
KernelDriver=nvidia

This happened:

sudo systemctl restart bumblebeed
amit@amit-laptop:/etc/modprobe.d$ optirun -v -v glxgears
[ 1019.883062] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 1019.883418] [INFO]Configured driver: nvidia
[ 1019.883659] [DEBUG]optirun version 3.2.1 starting...
[ 1019.883675] [DEBUG]Active configuration:
[ 1019.883715] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 1019.883732] [DEBUG] X display: :8
[ 1019.883742] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-361:/usr/lib32/nvidia-current
[ 1019.883752] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 1019.883759] [DEBUG] Accel/display bridge: auto
[ 1019.883768] [DEBUG] VGL Compression: proxy
[ 1019.883775] [DEBUG] VGLrun extra options: 
[ 1019.883783] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 1019.890648] [DEBUG]Using auto-detected bridge primus
[ 1019.968683] [INFO]Response: No - error: Could not load GPU driver

[ 1019.968701] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver

[ 1019.968709] [DEBUG]Socket closed.
[ 1019.968732] [ERROR]Aborting because fallback start is disabled.
[ 1019.968742] [DEBUG]Killing all remaining processes.

here are the journals:

sudo journalctl -b --since "5 minutes ago"
-- Logs begin at Fri 2016-05-20 11:02:31 BDT, end at Fri 2016-05-20 11:22:37 BDT. --
May 20 11:17:50 amit-laptop sudo[14154]:     amit : TTY=pts/0 ; PWD=/etc/modprobe.d ; USER=root ; COMMAND=/usr/bin/atom /etc/bumblebee/bumblebee.conf
May 20 11:17:50 amit-laptop sudo[14154]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 20 11:17:50 amit-laptop systemd[1]: Starting Cleanup of Temporary Directories...
May 20 11:17:50 amit-laptop systemd-tmpfiles[14156]: [/usr/lib/tmpfiles.d/var.conf:14] Duplicate line for path "/var/log", ignoring.
May 20 11:17:50 amit-laptop sudo[14154]: pam_unix(sudo:session): session closed for user root
May 20 11:17:50 amit-laptop systemd[1]: Started Cleanup of Temporary Directories.
May 20 11:17:59 amit-laptop gnome-session[1774]: [119B blob data]
May 20 11:17:59 amit-laptop gnome-session[1774]: [119B blob data]
May 20 11:19:09 amit-laptop sudo[14309]:     amit : TTY=pts/0 ; PWD=/etc/modprobe.d ; USER=root ; COMMAND=/bin/systemctl restart bumblebeed
May 20 11:19:09 amit-laptop sudo[14309]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 20 11:19:09 amit-laptop bumblebeed[13629]: [ 1012.813949] [WARN]Received Terminated signal.
May 20 11:19:09 amit-laptop systemd[1]: Stopping Bumblebee C Daemon...
May 20 11:19:09 amit-laptop kernel: bbswitch: enabling discrete graphics
May 20 11:19:09 amit-laptop systemd[1]: Stopped Bumblebee C Daemon.
May 20 11:19:10 amit-laptop systemd[1]: Started Bumblebee C Daemon.
May 20 11:19:10 amit-laptop bumblebeed[14313]: [ 1012.908038] [INFO]/usr/sbin/bumblebeed 3.2.1 started
May 20 11:19:10 amit-laptop sudo[14309]: pam_unix(sudo:session): session closed for user root
May 20 11:19:10 amit-laptop kernel: bbswitch: disabling discrete graphics
May 20 11:19:10 amit-laptop kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95)
May 20 11:19:16 amit-laptop kernel: bbswitch: enabling discrete graphics
May 20 11:19:17 amit-laptop bumblebeed[14313]: libkmod: ERROR ../libkmod/libkmod-module.c:832 kmod_module_insert_module: could not find module by name='nvidia_current_updates'
May 20 11:19:17 amit-laptop bumblebeed[14313]: [ 1019.968635] [ERROR]Could not load GPU driver
May 20 11:22:09 amit-laptop firefox.desktop[3292]: *************************
May 20 11:22:09 amit-laptop firefox.desktop[3292]: A coding exception was thrown and uncaught in a Task.
May 20 11:22:09 amit-laptop firefox.desktop[3292]: Full message: TypeError: this.traits is undefined
May 20 11:22:09 amit-laptop firefox.desktop[3292]: Full stack: AnimationsController.destroyAnimationPlayers<@chrome://devtools/content/animationinspector/animation-controller.js:376:1
May 20 11:22:09 amit-laptop firefox.desktop[3292]: TaskImpl_run@resource://gre/modules/Task.jsm:315:40
May 20 11:22:09 amit-laptop firefox.desktop[3292]: TaskImpl@resource://gre/modules/Task.jsm:276:3
May 20 11:22:09 amit-laptop firefox.desktop[3292]: createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:250:14
May 20 11:22:09 amit-laptop firefox.desktop[3292]: AnimationsController.destroy<@chrome://devtools/content/animationinspector/animation-controller.js:176:11
May 20 11:22:09 amit-laptop firefox.desktop[3292]: TaskImpl_run@resource://gre/modules/Task.jsm:315:40
May 20 11:22:09 amit-laptop firefox.desktop[3292]: TaskImpl@resource://gre/modules/Task.jsm:276:3
May 20 11:22:09 amit-laptop firefox.desktop[3292]: createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:250:14
May 20 11:22:09 amit-laptop firefox.desktop[3292]: shutdown<@chrome://devtools/content/animationinspector/animation-controller.js:55:9
May 20 11:22:09 amit-laptop firefox.desktop[3292]: TaskImpl_run@resource://gre/modules/Task.jsm:315:40
May 20 11:22:09 amit-laptop firefox.desktop[3292]: TaskImpl@resource://gre/modules/Task.jsm:276:3
May 20 11:22:09 amit-laptop firefox.desktop[3292]: createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:250:14
May 20 11:22:09 amit-laptop firefox.desktop[3292]: destroy@chrome://devtools/content/animationinspector/animation-controller.js:68:10
May 20 11:22:09 amit-laptop firefox.desktop[3292]: ToolSidebar.prototype.destroy<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/framework/sidebar.js:513:15
May 20 11:22:09 amit-laptop firefox.desktop[3292]: TaskImpl_run@resource://gre/modules/Task.jsm:315:40
May 20 11:22:09 amit-laptop firefox.desktop[3292]: TaskImpl@resource://gre/modules/Task.jsm:276:3
May 20 11:22:09 amit-laptop firefox.desktop[3292]: createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:250:14
May 20 11:22:09 amit-laptop firefox.desktop[3292]: InspectorPanel.prototype.destroy@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/inspector/inspector-panel.js:590:28
May 20 11:22:09 amit-laptop firefox.desktop[3292]: Toolbox.prototype.destroy@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/framework/toolbox.js:1936:26
May 20 11:22:09 amit-laptop firefox.desktop[3292]: *************************
May 20 11:22:09 amit-laptop firefox.desktop[3292]: *************************
May 20 11:22:09 amit-laptop firefox.desktop[3292]: A coding exception was thrown and uncaught in a Task.
May 20 11:22:09 amit-laptop firefox.desktop[3292]: Full message: TypeError: this.traits is undefined
May 20 11:22:09 amit-laptop firefox.desktop[3292]: Full stack: AnimationsController.destroyAnimationPlayers<@chrome://devtools/content/animationinspector/animation-controller.js:376:1
May 20 11:22:09 amit-laptop firefox.desktop[3292]: TaskImpl_run@resource://gre/modules/Task.jsm:315:40
May 20 11:22:09 amit-laptop firefox.desktop[3292]: TaskImpl@resource://gre/modules/Task.jsm:276:3
May 20 11:22:09 amit-laptop firefox.desktop[3292]: createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:250:14
May 20 11:22:09 amit-laptop firefox.desktop[3292]: AnimationsController.destroy<@chrome://devtools/content/animationinspector/animation-controller.js:176:11
May 20 11:22:09 amit-laptop firefox.desktop[3292]: TaskImpl_run@resource://gre/modules/Task.jsm:315:40
May 20 11:22:09 amit-laptop firefox.desktop[3292]: TaskImpl@resource://gre/modules/Task.jsm:276:3
May 20 11:22:09 amit-laptop firefox.desktop[3292]: createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:250:14
May 20 11:22:09 amit-laptop firefox.desktop[3292]: shutdown<@chrome://devtools/content/animationinspector/animation-controller.js:55:9
May 20 11:22:09 amit-laptop firefox.desktop[3292]: TaskImpl_run@resource://gre/modules/Task.jsm:315:40
May 20 11:22:09 amit-laptop firefox.desktop[3292]: TaskImpl@resource://gre/modules/Task.jsm:276:3
May 20 11:22:09 amit-laptop firefox.desktop[3292]: createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:250:14
May 20 11:22:09 amit-laptop firefox.desktop[3292]: destroy@chrome://devtools/content/animationinspector/animation-controller.js:68:10
May 20 11:22:09 amit-laptop firefox.desktop[3292]: ToolSidebar.prototype.destroy<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/framework/sidebar.js:513:15
May 20 11:22:09 amit-laptop firefox.desktop[3292]: TaskImpl_run@resource://gre/modules/Task.jsm:315:40
May 20 11:22:09 amit-laptop firefox.desktop[3292]: TaskImpl@resource://gre/modules/Task.jsm:276:3
May 20 11:22:09 amit-laptop firefox.desktop[3292]: createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:250:14
May 20 11:22:09 amit-laptop firefox.desktop[3292]: InspectorPanel.prototype.destroy@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/inspector/inspector-panel.js:590:28
May 20 11:22:09 amit-laptop firefox.desktop[3292]: Toolbox.prototype.destroy@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/framework/toolbox.js:1936:26
May 20 11:22:09 amit-laptop firefox.desktop[3292]: *************************
May 20 11:22:09 amit-laptop firefox.desktop[3292]: *************************
May 20 11:22:09 amit-laptop firefox.desktop[3292]: A coding exception was thrown and uncaught in a Task.
May 20 11:22:09 amit-laptop firefox.desktop[3292]: Full message: TypeError: this.traits is undefined
May 20 11:22:09 amit-laptop firefox.desktop[3292]: Full stack: AnimationsController.destroyAnimationPlayers<@chrome://devtools/content/animationinspector/animation-controller.js:376:1
May 20 11:22:09 amit-laptop firefox.desktop[3292]: TaskImpl_run@resource://gre/modules/Task.jsm:315:40
May 20 11:22:09 amit-laptop firefox.desktop[3292]: TaskImpl@resource://gre/modules/Task.jsm:276:3
May 20 11:22:09 amit-laptop firefox.desktop[3292]: createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:250:14
May 20 11:22:09 amit-laptop firefox.desktop[3292]: AnimationsController.destroy<@chrome://devtools/content/animationinspector/animation-controller.js:176:11
May 20 11:22:09 amit-laptop firefox.desktop[3292]: TaskImpl_run@resource://gre/modules/Task.jsm:315:40
May 20 11:22:09 amit-laptop firefox.desktop[3292]: TaskImpl@resource://gre/modules/Task.jsm:276:3
May 20 11:22:09 amit-laptop firefox.desktop[3292]: createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:250:14
May 20 11:22:09 amit-laptop firefox.desktop[3292]: shutdown<@chrome://devtools/content/animationinspector/animation-controller.js:55:9
May 20 11:22:09 amit-laptop firefox.desktop[3292]: TaskImpl_run@resource://gre/modules/Task.jsm:315:40
May 20 11:22:09 amit-laptop firefox.desktop[3292]: TaskImpl@resource://gre/modules/Task.jsm:276:3
May 20 11:22:09 amit-laptop firefox.desktop[3292]: createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:250:14
May 20 11:22:09 amit-laptop firefox.desktop[3292]: destroy@chrome://devtools/content/animationinspector/animation-controller.js:68:10
May 20 11:22:09 amit-laptop firefox.desktop[3292]: ToolSidebar.prototype.destroy<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/framework/sidebar.js:513:15
May 20 11:22:09 amit-laptop firefox.desktop[3292]: TaskImpl_run@resource://gre/modules/Task.jsm:315:40
May 20 11:22:09 amit-laptop firefox.desktop[3292]: TaskImpl@resource://gre/modules/Task.jsm:276:3
May 20 11:22:09 amit-laptop firefox.desktop[3292]: createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:250:14
May 20 11:22:09 amit-laptop firefox.desktop[3292]: InspectorPanel.prototype.destroy@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/inspector/inspector-panel.js:590:28
May 20 11:22:09 amit-laptop firefox.desktop[3292]: Toolbox.prototype.destroy@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/framework/toolbox.js:1936:26
May 20 11:22:09 amit-laptop firefox.desktop[3292]: *************************
May 20 11:22:09 amit-laptop firefox.desktop[3292]: console.error:
May 20 11:22:09 amit-laptop firefox.desktop[3292]:   Message: TypeError: this.traits is undefined
May 20 11:22:09 amit-laptop firefox.desktop[3292]:   Stack:
May 20 11:22:09 amit-laptop firefox.desktop[3292]:     AnimationsController.destroyAnimationPlayers<@chrome://devtools/content/animationinspector/animation-controller.js:376:1
May 20 11:22:09 amit-laptop firefox.desktop[3292]: TaskImpl_run@resource://gre/modules/Task.jsm:315:40
May 20 11:22:09 amit-laptop firefox.desktop[3292]: TaskImpl@resource://gre/modules/Task.jsm:276:3
May 20 11:22:09 amit-laptop firefox.desktop[3292]: createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:250:14
May 20 11:22:09 amit-laptop firefox.desktop[3292]: AnimationsController.destroy<@chrome://devtools/content/animationinspector/animation-controller.js:176:11
May 20 11:22:09 amit-laptop firefox.desktop[3292]: TaskImpl_run@resource://gre/modules/Task.jsm:315:40
May 20 11:22:09 amit-laptop firefox.desktop[3292]: TaskImpl@resource://gre/modules/Task.jsm:276:3
May 20 11:22:09 amit-laptop firefox.desktop[3292]: createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:250:14
May 20 11:22:09 amit-laptop firefox.desktop[3292]: shutdown<@chrome://devtools/content/animationinspector/animation-controller.js:55:9
May 20 11:22:09 amit-laptop firefox.desktop[3292]: TaskImpl_run@resource://gre/modules/Task.jsm:315:40
May 20 11:22:09 amit-laptop firefox.desktop[3292]: TaskImpl@resource://gre/modules/Task.jsm:276:3
May 20 11:22:09 amit-laptop firefox.desktop[3292]: createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:250:14
May 20 11:22:09 amit-laptop firefox.desktop[3292]: destroy@chrome://devtools/content/animationinspector/animation-controller.js:68:10
May 20 11:22:09 amit-laptop firefox.desktop[3292]: ToolSidebar.prototype.destroy<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/framework/sidebar.js:513:15
May 20 11:22:09 amit-laptop firefox.desktop[3292]: TaskImpl_run@resource://gre/modules/Task.jsm:315:40
May 20 11:22:09 amit-laptop firefox.desktop[3292]: TaskImpl@resource://gre/modules/Task.jsm:276:3
May 20 11:22:09 amit-laptop firefox.desktop[3292]: createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:250:14
May 20 11:22:09 amit-laptop firefox.desktop[3292]: InspectorPanel.prototype.destroy@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/inspector/inspector-panel.js:590:28
May 20 11:22:09 amit-laptop firefox.desktop[3292]: Toolbox.prototype.destroy@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/framework/toolbox.js:1936:26
May 20 11:22:09 amit-laptop firefox.desktop[3292]: console.warn: Could not fully initialize the AnimationsController
May 20 11:22:09 amit-laptop firefox.desktop[3292]: console.warn: Could not initialize the animation-panel, controller was destroyed
May 20 11:22:10 amit-laptop firefox.desktop[3292]: *************************
May 20 11:22:10 amit-laptop firefox.desktop[3292]: A coding exception was thrown and uncaught in a Task.
May 20 11:22:10 amit-laptop firefox.desktop[3292]: Full message: TypeError: this.pageStyle is null
May 20 11:22:10 amit-laptop firefox.desktop[3292]: Full stack: StyleRuleActor<.getAuthoredCssText@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:1388:1
May 20 11:22:10 amit-laptop firefox.desktop[3292]: PageStyleActor<.getApplied<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:581:13
May 20 11:22:10 amit-laptop firefox.desktop[3292]: TaskImpl_run@resource://gre/modules/Task.jsm:315:40
May 20 11:22:10 amit-laptop firefox.desktop[3292]: Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:933:23
May 20 11:22:10 amit-laptop firefox.desktop[3292]: this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:812:7
May 20 11:22:10 amit-laptop firefox.desktop[3292]: this.PromiseWalker.scheduleWalkerLoop/<@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:746:11
May 20 11:22:10 amit-laptop firefox.desktop[3292]: *************************
May 20 11:22:10 amit-laptop firefox.desktop[3292]: console.error:
May 20 11:22:10 amit-laptop firefox.desktop[3292]:   Message: TypeError: this.pageStyle is null
May 20 11:22:10 amit-laptop firefox.desktop[3292]:   Stack:
May 20 11:22:10 amit-laptop firefox.desktop[3292]:     StyleRuleActor<.getAuthoredCssText@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:1388:1
May 20 11:22:10 amit-laptop firefox.desktop[3292]: PageStyleActor<.getApplied<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:581:13
May 20 11:22:10 amit-laptop firefox.desktop[3292]: TaskImpl_run@resource://gre/modules/Task.jsm:315:40
May 20 11:22:10 amit-laptop firefox.desktop[3292]: Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:933:23
May 20 11:22:10 amit-laptop firefox.desktop[3292]: this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:812:7
May 20 11:22:10 amit-laptop firefox.desktop[3292]: this.PromiseWalker.scheduleWalkerLoop/<@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:746:11
May 20 11:22:10 amit-laptop firefox.desktop[3292]: StyleRuleActor<.getAuthoredCssText@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:1388:1
May 20 11:22:10 amit-laptop firefox.desktop[3292]: PageStyleActor<.getApplied<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:581:13
May 20 11:22:10 amit-laptop firefox.desktop[3292]: TaskImpl_run@resource://gre/modules/Task.jsm:315:40
May 20 11:22:10 amit-laptop firefox.desktop[3292]: Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:933:23
May 20 11:22:10 amit-laptop firefox.desktop[3292]: this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:812:7
May 20 11:22:10 amit-laptop firefox.desktop[3292]: this.PromiseWalker.scheduleWalkerLoop/<@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:746:11
May 20 11:22:10 amit-laptop firefox.desktop[3292]: *************************
May 20 11:22:10 amit-laptop firefox.desktop[3292]: A coding exception was thrown in a Promise rejection callback.
May 20 11:22:10 amit-laptop firefox.desktop[3292]: See https://developer.mozilla.org/Mozilla/JavaScript_code_modules/Promise.jsm/Promise
May 20 11:22:10 amit-laptop firefox.desktop[3292]: Full message: TypeError: this.inspector is null
May 20 11:22:10 amit-laptop firefox.desktop[3292]: Full stack: PageStyleActor<.conn@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:178:5
May 20 11:22:10 amit-laptop firefox.desktop[3292]: Actor<.writeError@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/protocol.js:911:5
May 20 11:22:10 amit-laptop firefox.desktop[3292]: Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:936:21
May 20 11:22:10 amit-laptop firefox.desktop[3292]: this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:812:7
May 20 11:22:10 amit-laptop firefox.desktop[3292]: this.PromiseWalker.scheduleWalkerLoop/<@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:746:11
May 20 11:22:10 amit-laptop firefox.desktop[3292]: *************************
May 20 11:22:31 amit-laptop sudo[14441]:     amit : TTY=pts/1 ; PWD=/home/amit/Desktop ; USER=root ; COMMAND=/bin/journalctl -b --since 5 minutes ago
May 20 11:22:31 amit-laptop sudo[14441]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 20 11:22:33 amit-laptop sudo[14441]: pam_unix(sudo:session): session closed for user root
May 20 11:22:37 amit-laptop sudo[14446]:     amit : TTY=pts/1 ; PWD=/home/amit/Desktop ; USER=root ; COMMAND=/bin/journalctl -b --since 5 minutes ago
May 20 11:22:37 amit-laptop sudo[14446]: pam_unix(sudo:session): session opened for user root by (uid=0)

sudo journalctl -b -u bumblebeed --since "15 minutes ago" 
-- Logs begin at Fri 2016-05-20 11:02:31 BDT, end at Fri 2016-05-20 11:25:14 BDT. --
May 20 11:19:09 amit-laptop bumblebeed[13629]: [ 1012.813949] [WARN]Received Terminated signal.
May 20 11:19:09 amit-laptop systemd[1]: Stopping Bumblebee C Daemon...
May 20 11:19:09 amit-laptop systemd[1]: Stopped Bumblebee C Daemon.
May 20 11:19:10 amit-laptop systemd[1]: Started Bumblebee C Daemon.
May 20 11:19:10 amit-laptop bumblebeed[14313]: [ 1012.908038] [INFO]/usr/sbin/bumblebeed 3.2.1 started
May 20 11:19:17 amit-laptop bumblebeed[14313]: libkmod: ERROR ../libkmod/libkmod-module.c:832 kmod_module_insert_module: could not find module by name='nvidia_current_updates'
May 20 11:19:17 amit-laptop bumblebeed[14313]: [ 1019.968635] [ERROR]Could not load GPU driver

@LordAmit
Copy link
Author

BTW, leaving KernelDriver=nvidia-361 works and restarting bumblebee daemon makes optirun work.
And here is the most interesting part.

cat /proc/acpi/bbswitch 
0000:01:00.0 OFF
amit@amit-laptop:/etc/modprobe.d$ lsmod | grep nvidia

I think the bbswitch part is working?

@bluca
Copy link
Member

bluca commented May 20, 2016

Sigh. I have no idea why the KernelDriver=nvidia is not working for you but it's working for me. I need to get a xenial installation. I'll have a go next week.

Anyway, the good news is that it all works with the extra modules now thanks to libkmod.
Thanks for helping with the testing again!

@ArchangeGabriel
Copy link
Member

@i2000s I’m answering the askubuntu thread.

@LordAmit
Copy link
Author

@bluca , is it possible that I might've missed something? Perhaps something was wrong from my part?

@bluca
Copy link
Member

bluca commented May 21, 2016

Don't think so, all looks good.
Let's try something else and bypass modprobe:
What if you set KernelDriver=nvidia-current ?

@LordAmit
Copy link
Author

Nope, does not work. The daemon fails to start.

KernelDriver=nvidia-current
sudo journalctl -b -u bumblebeed --since "15 minutes ago"  > journal 
-- Logs begin at Fri 2016-05-20 23:01:07 BDT, end at Sat 2016-05-21 15:21:27 BDT. --
May 21 15:19:53 amit-laptop systemd[1]: Stopping Bumblebee C Daemon...
May 21 15:19:53 amit-laptop bumblebeed[661]: [32872.209422] [WARN]Received Terminated signal.
May 21 15:19:53 amit-laptop systemd[1]: Stopped Bumblebee C Daemon.
May 21 15:19:53 amit-laptop systemd[1]: Started Bumblebee C Daemon.
May 21 15:19:53 amit-laptop bumblebeed[24097]: [32872.498301] [ERROR]Module 'nvidia-current' is not found.
May 21 15:19:53 amit-laptop systemd[1]: bumblebeed.service: Main process exited, code=exited, status=1/FAILURE
May 21 15:19:53 amit-laptop systemd[1]: bumblebeed.service: Unit entered failed state.
May 21 15:19:53 amit-laptop systemd[1]: bumblebeed.service: Failed with result 'exit-code'.
May 21 15:20:53 amit-laptop systemd[1]: bumblebeed.service: Service hold-off time over, scheduling restart.
May 21 15:20:53 amit-laptop systemd[1]: Stopped Bumblebee C Daemon.
May 21 15:20:53 amit-laptop systemd[1]: Started Bumblebee C Daemon.
May 21 15:20:53 amit-laptop bumblebeed[24318]: [32932.715288] [ERROR]Module 'nvidia-current' is not found.
May 21 15:20:53 amit-laptop systemd[1]: bumblebeed.service: Main process exited, code=exited, status=1/FAILURE
May 21 15:20:53 amit-laptop systemd[1]: bumblebeed.service: Unit entered failed state.
May 21 15:20:53 amit-laptop systemd[1]: bumblebeed.service: Failed with result 'exit-code'.
sudo journalctl -b --since "5 minutes ago"
-- Logs begin at Fri 2016-05-20 23:01:07 BDT, end at Sat 2016-05-21 15:22:16 BDT. --
May 21 15:18:53 amit-laptop gnome-session[1762]: Gjs-Message: JS LOG: Device -> enx00e04c534458
May 21 15:19:22 amit-laptop sudo[23942]:     amit : TTY=pts/3 ; PWD=/home/amit ; USER=root ; COMMAND=/usr/bin/atom /etc/bumblebee/bumblebee.conf
May 21 15:19:22 amit-laptop sudo[23942]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 21 15:19:22 amit-laptop sudo[23942]: pam_unix(sudo:session): session closed for user root
May 21 15:19:25 amit-laptop gnome-session[1762]: [119B blob data]
May 21 15:19:25 amit-laptop gnome-session[1762]: [119B blob data]
May 21 15:19:53 amit-laptop sudo[24092]:     amit : TTY=pts/4 ; PWD=/home/amit ; USER=root ; COMMAND=/bin/systemctl restart bumblebeed
May 21 15:19:53 amit-laptop sudo[24092]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 21 15:19:53 amit-laptop systemd[1]: Stopping Bumblebee C Daemon...
May 21 15:19:53 amit-laptop bumblebeed[661]: [32872.209422] [WARN]Received Terminated signal.
May 21 15:19:53 amit-laptop kernel: bbswitch: enabling discrete graphics
May 21 15:19:53 amit-laptop systemd[1]: Stopped Bumblebee C Daemon.
May 21 15:19:53 amit-laptop systemd[1]: Started Bumblebee C Daemon.
May 21 15:19:53 amit-laptop sudo[24092]: pam_unix(sudo:session): session closed for user root
May 21 15:19:53 amit-laptop bumblebeed[24097]: [32872.498301] [ERROR]Module 'nvidia-current' is not found.
May 21 15:19:53 amit-laptop systemd[1]: bumblebeed.service: Main process exited, code=exited, status=1/FAILURE
May 21 15:19:53 amit-laptop systemd[1]: bumblebeed.service: Unit entered failed state.
May 21 15:19:53 amit-laptop systemd[1]: bumblebeed.service: Failed with result 'exit-code'.
May 21 15:20:19 amit-laptop sudo[24110]:     amit : TTY=pts/4 ; PWD=/home/amit ; USER=root ; COMMAND=/bin/systemctl status bumblebeed
May 21 15:20:19 amit-laptop sudo[24110]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 21 15:20:32 amit-laptop NetworkManager[771]: <info>  [1463822432.6081] WiFi hardware radio set enabled
May 21 15:20:32 amit-laptop kernel: iwlwifi 0000:08:00.0: L1 Enabled - LTR Disabled
May 21 15:20:32 amit-laptop kernel: iwlwifi 0000:08:00.0: L1 Enabled - LTR Disabled
May 21 15:20:32 amit-laptop kernel: iwlwifi 0000:08:00.0: Radio type=0x2-0x0-0x0
May 21 15:20:32 amit-laptop URfkill[770]: device_changed_cb: phy0
May 21 15:20:32 amit-laptop systemd[1]: Starting Load/Save RF Kill Switch Status...
May 21 15:20:32 amit-laptop systemd[1]: Started Load/Save RF Kill Switch Status.
May 21 15:20:32 amit-laptop kernel: iwlwifi 0000:08:00.0: L1 Enabled - LTR Disabled
May 21 15:20:32 amit-laptop kernel: iwlwifi 0000:08:00.0: L1 Enabled - LTR Disabled
May 21 15:20:32 amit-laptop kernel: iwlwifi 0000:08:00.0: Radio type=0x2-0x0-0x0
May 21 15:20:32 amit-laptop kernel: IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
May 21 15:20:32 amit-laptop NetworkManager[771]: <info>  [1463822432.9310] audit: op="radio-control" arg="wireless-enabled:1" pid=1817 uid=1000 result="success"
May 21 15:20:32 amit-laptop NetworkManager[771]: <info>  [1463822432.9313] manager: WiFi now enabled by radio killswitch
May 21 15:20:32 amit-laptop wpa_supplicant[840]: dbus: wpa_dbus_get_object_properties: failed to get object properties: (none) none
May 21 15:20:32 amit-laptop wpa_supplicant[840]: dbus: Failed to construct signal
May 21 15:20:32 amit-laptop NetworkManager[771]: <info>  [1463822432.9762] device (wlo1): supplicant interface state: starting -> ready
May 21 15:20:32 amit-laptop NetworkManager[771]: <info>  [1463822432.9764] device (wlo1): state change: unavailable -> disconnected (reason 'supplicant-available') [20 30 42]
May 21 15:20:32 amit-laptop kernel: IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.5184] device (wlo1): supplicant interface state: ready -> inactive
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.5297] policy: auto-activating connection 'LordAmit_Hades'
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.5311] device (wlo1): Activation: starting connection 'LordAmit_Hades' (2e7c82aa-d853-435d-8ad8-42595fdcdc4c)
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.5313] device (wlo1): state change: disconnected -> prepare (reason 'none') [30 40 0]
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.5316] manager: NetworkManager state is now CONNECTING
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.5326] device (wlo1): state change: prepare -> config (reason 'none') [40 50 0]
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.5330] device (wlo1): Activation: (wifi) access point 'LordAmit_Hades' has security, but secrets are required.
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.5330] device (wlo1): state change: config -> need-auth (reason 'none') [50 60 0]
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.5384] device (wlo1): state change: need-auth -> prepare (reason 'none') [60 40 0]
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.5389] device (wlo1): state change: prepare -> config (reason 'none') [40 50 0]
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.5392] device (wlo1): Activation: (wifi) connection 'LordAmit_Hades' has security, and secrets exist.  No new secrets needed.
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.5395] Config: added 'ssid' value 'LordAmit_Hades'
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.5397] Config: added 'scan_ssid' value '1'
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.5400] Config: added 'key_mgmt' value 'WPA-PSK'
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.5400] Config: added 'auth_alg' value 'OPEN'
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.5400] Config: added 'psk' value '<omitted>'
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.5686] sup-iface[0xb7d620,wlo1]: config: set interface ap_scan to 1
May 21 15:20:33 amit-laptop kernel: wlo1: authenticate with c4:e9:84:a2:39:be
May 21 15:20:33 amit-laptop wpa_supplicant[840]: wlo1: SME: Trying to authenticate with c4:e9:84:a2:39:be (SSID='LordAmit_Hades' freq=2437 MHz)
May 21 15:20:33 amit-laptop wpa_supplicant[840]: wlo1: Trying to associate with c4:e9:84:a2:39:be (SSID='LordAmit_Hades' freq=2437 MHz)
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.6020] device (wlo1): supplicant interface state: inactive -> authenticating
May 21 15:20:33 amit-laptop kernel: wlo1: send auth to c4:e9:84:a2:39:be (try 1/3)
May 21 15:20:33 amit-laptop kernel: wlo1: authenticated
May 21 15:20:33 amit-laptop kernel: wlo1: associate with c4:e9:84:a2:39:be (try 1/3)
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.6072] device (wlo1): supplicant interface state: authenticating -> associating
May 21 15:20:33 amit-laptop kernel: wlo1: RX AssocResp from c4:e9:84:a2:39:be (capab=0x431 status=0 aid=1)
May 21 15:20:33 amit-laptop wpa_supplicant[840]: wlo1: Associated with c4:e9:84:a2:39:be
May 21 15:20:33 amit-laptop kernel: wlo1: associated
May 21 15:20:33 amit-laptop kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlo1: link becomes ready
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.6433] device (wlo1): supplicant interface state: associating -> 4-way handshake
May 21 15:20:33 amit-laptop wpa_supplicant[840]: wlo1: WPA: Key negotiation completed with c4:e9:84:a2:39:be [PTK=CCMP GTK=CCMP]
May 21 15:20:33 amit-laptop wpa_supplicant[840]: wlo1: CTRL-EVENT-CONNECTED - Connection to c4:e9:84:a2:39:be completed [id=0 id_str=]
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.6510] device (wlo1): supplicant interface state: 4-way handshake -> completed
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.6510] device (wlo1): Activation: (wifi) Stage 2 of 5 (Device Configure) successful.  Connected to wireless network 'LordAmit_Hades'.
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.6511] device (wlo1): state change: config -> ip-config (reason 'none') [50 70 0]
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.6516] dhcp4 (wlo1): activation: beginning transaction (timeout in 45 seconds)
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.6531] dhcp4 (wlo1): dhclient started with pid 24123
May 21 15:20:33 amit-laptop dhclient[24123]: DHCPREQUEST of 192.168.0.107 on wlo1 to 255.255.255.255 port 67 (xid=0x113f78c0)
May 21 15:20:33 amit-laptop dhclient[24123]: DHCPACK of 192.168.0.107 from 192.168.0.1
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.6892]   address 192.168.0.107
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.6893]   plen 24 (255.255.255.0)
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.6893]   gateway 192.168.0.1
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.6893]   server identifier 192.168.0.1
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.6893]   lease time 7200
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.6893]   nameserver '192.168.0.1'
May 21 15:20:33 amit-laptop avahi-daemon[21017]: Joining mDNS multicast group on interface wlo1.IPv4 with address 192.168.0.107.
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.6894] dhcp4 (wlo1): state changed unknown -> bound
May 21 15:20:33 amit-laptop avahi-daemon[21017]: New relevant interface wlo1.IPv4 for mDNS.
May 21 15:20:33 amit-laptop avahi-daemon[21017]: Registering new address record for 192.168.0.107 on wlo1.IPv4.
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.6944] device (wlo1): state change: ip-config -> ip-check (reason 'none') [70 80 0]
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.6960] device (wlo1): state change: ip-check -> secondaries (reason 'none') [80 90 0]
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.6964] device (wlo1): state change: secondaries -> activated (reason 'none') [90 100 0]
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.6966] manager: NetworkManager state is now CONNECTED_LOCAL
May 21 15:20:33 amit-laptop whoopsie[644]: [15:20:33] Cannot reach: https://daisy.ubuntu.com
May 21 15:20:33 amit-laptop dhclient[24123]: bound to 192.168.0.107 -- renewal in 3351 seconds.
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.8248] manager: NetworkManager state is now CONNECTED_GLOBAL
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.8249] policy: set 'LordAmit_Hades' (wlo1) as default for IPv4 routing and DNS
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.8252] dns-mgr: Writing DNS information to /sbin/resolvconf
May 21 15:20:33 amit-laptop dnsmasq[1010]: setting upstream servers from DBus
May 21 15:20:33 amit-laptop dnsmasq[1010]: using nameserver 192.168.0.1#53
May 21 15:20:33 amit-laptop NetworkManager[771]: <info>  [1463822433.8330] device (wlo1): Activation: successful, device activated.
May 21 15:20:33 amit-laptop dbus[675]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
May 21 15:20:33 amit-laptop systemd[1]: Starting Network Manager Script Dispatcher Service...
May 21 15:20:33 amit-laptop whoopsie[644]: [15:20:33] The default IPv4 route is: /org/freedesktop/NetworkManager/ActiveConnection/5
May 21 15:20:33 amit-laptop dbus[675]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
May 21 15:20:33 amit-laptop nm-dispatcher[24144]: req:1 'up' [wlo1]: new request (1 scripts)
May 21 15:20:33 amit-laptop nm-dispatcher[24144]: req:1 'up' [wlo1]: start running ordered scripts...
May 21 15:20:33 amit-laptop systemd[1]: Started Network Manager Script Dispatcher Service.
May 21 15:20:33 amit-laptop whoopsie[644]: [15:20:33] Not a paid data plan: /org/freedesktop/NetworkManager/ActiveConnection/5
May 21 15:20:33 amit-laptop whoopsie[644]: [15:20:33] Found usable connection: /org/freedesktop/NetworkManager/ActiveConnection/5
May 21 15:20:33 amit-laptop gnome-session[1762]: (deja-dup-monitor:2634): GLib-CRITICAL **: Source ID 269 was not found when attempting to remove it
May 21 15:20:33 amit-laptop whoopsie[644]: [15:20:33] online
May 21 15:20:33 amit-laptop systemd[1]: Stopping Avahi mDNS/DNS-SD Stack...
May 21 15:20:33 amit-laptop avahi-daemon[21017]: Got SIGTERM, quitting.
May 21 15:20:33 amit-laptop avahi-daemon[21017]: Leaving mDNS multicast group on interface wlo1.IPv4 with address 192.168.0.107.
May 21 15:20:33 amit-laptop avahi-daemon[21017]: avahi-daemon 0.6.32-rc exiting.
May 21 15:20:33 amit-laptop systemd[1]: Stopped Avahi mDNS/DNS-SD Stack.
May 21 15:20:33 amit-laptop nm-dispatcher[24144]: Warning: Stopping avahi-daemon.service, but it can still be activated by:
May 21 15:20:33 amit-laptop nm-dispatcher[24144]:   avahi-daemon.socket
May 21 15:20:33 amit-laptop dbus[675]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service'
May 21 15:20:33 amit-laptop avahi[24203]: Avahi detected that your currently configured local DNS server serves
May 21 15:20:33 amit-laptop avahi[24203]: a domain .local. This is inherently incompatible with Avahi and thus
May 21 15:20:33 amit-laptop systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
May 21 15:20:33 amit-laptop avahi[24203]: Avahi disabled itself. If you want to use Avahi in this network, please
May 21 15:20:33 amit-laptop avahi[24203]: contact your administrator and convince him to use a different DNS domain,
May 21 15:20:33 amit-laptop avahi[24203]: since .local should be used exclusively for Zeroconf technology.
May 21 15:20:33 amit-laptop avahi[24203]: For more information, see http://avahi.org/wiki/AvahiAndUnicastDotLocal
May 21 15:20:33 amit-laptop avahi-daemon[24204]: Process 21017 died: No such process; trying to remove PID file. (/var/run/avahi-daemon//pid)
May 21 15:20:33 amit-laptop avahi-daemon[24204]: Found user 'avahi' (UID 110) and group 'avahi' (GID 118).
May 21 15:20:33 amit-laptop avahi-daemon[24204]: Successfully dropped root privileges.
May 21 15:20:33 amit-laptop avahi-daemon[24204]: avahi-daemon 0.6.32-rc starting up.
May 21 15:20:33 amit-laptop dbus[675]: [system] Successfully activated service 'org.freedesktop.Avahi'
May 21 15:20:33 amit-laptop systemd[1]: Started Avahi mDNS/DNS-SD Stack.
May 21 15:20:33 amit-laptop avahi-daemon[24204]: Successfully called chroot().
May 21 15:20:33 amit-laptop avahi-daemon[24204]: Successfully dropped remaining capabilities.
May 21 15:20:33 amit-laptop avahi-daemon[24204]: No service file found in /etc/avahi/services.
May 21 15:20:33 amit-laptop avahi-daemon[24204]: Joining mDNS multicast group on interface wlo1.IPv6 with address fe80::2a17:5b94:2991:73e8.
May 21 15:20:33 amit-laptop avahi-daemon[24204]: New relevant interface wlo1.IPv6 for mDNS.
May 21 15:20:33 amit-laptop avahi-daemon[24204]: Joining mDNS multicast group on interface wlo1.IPv4 with address 192.168.0.107.
May 21 15:20:33 amit-laptop avahi-daemon[24204]: New relevant interface wlo1.IPv4 for mDNS.
May 21 15:20:33 amit-laptop avahi-daemon[24204]: Network interface enumeration completed.
May 21 15:20:33 amit-laptop avahi-daemon[24204]: Registering new address record for fe80::2a17:5b94:2991:73e8 on wlo1.*.
May 21 15:20:33 amit-laptop avahi-daemon[24204]: Registering new address record for 192.168.0.107 on wlo1.IPv4.
May 21 15:20:34 amit-laptop avahi-daemon[24204]: Server startup complete. Host name is amit-laptop.local. Local service cookie is 1757459952.
May 21 15:20:53 amit-laptop systemd[1]: bumblebeed.service: Service hold-off time over, scheduling restart.
May 21 15:20:53 amit-laptop systemd[1]: Stopped Bumblebee C Daemon.
May 21 15:20:53 amit-laptop systemd[1]: Started Bumblebee C Daemon.
May 21 15:20:53 amit-laptop bumblebeed[24318]: [32932.715288] [ERROR]Module 'nvidia-current' is not found.
May 21 15:20:53 amit-laptop systemd[1]: bumblebeed.service: Main process exited, code=exited, status=1/FAILURE
May 21 15:20:53 amit-laptop systemd[1]: bumblebeed.service: Unit entered failed state.
May 21 15:20:53 amit-laptop systemd[1]: bumblebeed.service: Failed with result 'exit-code'.
May 21 15:20:54 amit-laptop firefox.desktop[17542]:  => message from non-tab target
May 21 15:20:54 amit-laptop firefox.desktop[17542]:  => message from non-tab target
May 21 15:20:54 amit-laptop firefox.desktop[17542]:  => message from non-tab target
May 21 15:21:03 amit-laptop /usr/lib/gdm3/gdm-x-session[1479]: (II) intel(0): resizing framebuffer to 3286x1080
May 21 15:21:03 amit-laptop /usr/lib/gdm3/gdm-x-session[1479]: (II) intel(0): switch to mode [email protected] on VGA1 using pipe 1, position (0, 0), rotation normal, reflection none
May 21 15:21:03 amit-laptop /usr/lib/gdm3/gdm-x-session[1479]: (II) intel(0): switch to mode [email protected] on LVDS1 using pipe 0, position (1920, 0), rotation normal, reflection none
May 21 15:21:04 amit-laptop gnome-session[1281]: (gnome-settings-daemon:1307): color-plugin-WARNING **: no xrandr-Ancor Communications Inc-VX229-EALMRS018364 device found: Failed to find output xrandr-Ancor Communications Inc-VX229-EALMRS018364
May 21 15:21:07 amit-laptop sudo[24110]: pam_unix(sudo:session): session closed for user root
May 21 15:21:27 amit-laptop sudo[24347]:     amit : TTY=pts/4 ; PWD=/home/amit/Desktop ; USER=root ; COMMAND=/bin/journalctl -b -u bumblebeed --since 15 minutes ago
May 21 15:21:27 amit-laptop sudo[24347]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 21 15:21:27 amit-laptop sudo[24347]: pam_unix(sudo:session): session closed for user root
May 21 15:21:34 amit-laptop sudo[24357]:     amit : TTY=pts/4 ; PWD=/home/amit/Desktop ; USER=root ; COMMAND=/usr/bin/atom journal
May 21 15:21:34 amit-laptop sudo[24357]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 21 15:21:34 amit-laptop sudo[24357]: pam_unix(sudo:session): session closed for user root
May 21 15:21:53 amit-laptop systemd[1]: bumblebeed.service: Service hold-off time over, scheduling restart.
May 21 15:21:53 amit-laptop systemd[1]: Stopped Bumblebee C Daemon.
May 21 15:21:53 amit-laptop systemd[1]: Started Bumblebee C Daemon.
May 21 15:21:53 amit-laptop bumblebeed[24413]: [32992.981485] [ERROR]Module 'nvidia-current' is not found.
May 21 15:21:53 amit-laptop systemd[1]: bumblebeed.service: Main process exited, code=exited, status=1/FAILURE
May 21 15:21:53 amit-laptop systemd[1]: bumblebeed.service: Unit entered failed state.
May 21 15:21:53 amit-laptop systemd[1]: bumblebeed.service: Failed with result 'exit-code'.
May 21 15:22:16 amit-laptop sudo[24418]:     amit : TTY=pts/4 ; PWD=/home/amit/Desktop ; USER=root ; COMMAND=/bin/journalctl -b --since 5 minutes ago
May 21 15:22:16 amit-laptop sudo[24418]: pam_unix(sudo:session): session opened for user root by (uid=0)
 optirun -v  -v glxgears
[32887.726875] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[32887.727093] [INFO]Configured driver: nvidia
[32887.727142] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[32887.727155] [DEBUG]Socket closed.
[32887.727171] [ERROR]Could not connect to bumblebee daemon - is it running?
amit@amit-laptop:~$ sudo systemctl status bumblebeed
● bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/lib/systemd/system/bumblebeed.service; enabled; vendor prese
   Active: activating (auto-restart) (Result: exit-code) since Sat 2016-05-21 15
  Process: 24097 ExecStart=/usr/sbin/bumblebeed (code=exited, status=1/FAILURE)
 Main PID: 24097 (code=exited, status=1/FAILURE)

May 21 15:19:53 amit-laptop systemd[1]: bumblebeed.service: Unit entered failed 
May 21 15:19:53 amit-laptop systemd[1]: bumblebeed.service: Failed with result '

@bluca
Copy link
Member

bluca commented May 29, 2016

I have now Xenial, and using KernelDriver=nvidia works for me. Not sure what's wrong with the modprobe configuration on your system, but at this point I'm quite certain it has nothing to do with bumblebee, so given using KernelDriver=nvidia-361 seems to work for you, I would consider this issue solved.

@LordAmit
Copy link
Author

@bluca ,I thought it started working after I installed from the testing ppa. Are the changes available in stable channel as well?

@LordAmit
Copy link
Author

LordAmit commented Jun 3, 2016

@bluca
Can you share your relevant modprobe configuration file so we can compare and see if there is something wrong here?

@ArchangeGabriel
Copy link
Member

@timofonic What does your “this” refers to? Bumblebee?

@bluca
Copy link
Member

bluca commented Jun 6, 2016

@LordAmit - given it's working with the nvidia-361 setting, I'm really sure it's nothing to do with bumblebee or our config, but with the 361 packages. But I can certainly share my config, will do later tonight when I get home.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants
@Lekensteyn @LordAmit @ArchangeGabriel @bluca @i2000s @mathias-freire and others