Bumblebee and Nvidia Optimus problem [Solved]

Issues Related to Hardware (Sound, Video, Printers, Scanners, Webcams, Touchpads, Keyboards, Sensors, Drives, GRUB, etc.)

Moderator: Moderators

Bumblebee and Nvidia Optimus problem [Solved]

Postby Bunkmil » Sun May 12, 2013 16:45

Hi,

I upgraded my kernel yesterday to linux-3.9.0-sabayon. Since then, bumblebee doesn't seem to work anymore. When I try to run "optirun glxspheres", I get the following error message:

Code: Select all
[  368.290628] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[  368.290697] [ERROR]Could not connect to bumblebee daemon - is it running?


Plus, if I set opengl to nvidia, I end up in fallback mode in Gnome3.

I would like some help to fix this issue.

Thank you
Last edited by Bunkmil on Mon May 13, 2013 16:36, edited 1 time in total.
Bunkmil
Young Hen
 
Posts: 33
Joined: Wed Apr 29, 2009 16:38

Re: Bumblebee and Nvidia Optimus problem

Postby lxnay » Sun May 12, 2013 22:16

Is bumblebee running? Are you using OpenRC or systemd as init system?
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+
lxnay
Land Owner
 
Posts: 3596
Joined: Thu Oct 13, 2005 23:16
Location: Italy

Re: Bumblebee and Nvidia Optimus problem

Postby Bunkmil » Sun May 12, 2013 23:46

Hi lxnay,

I use systemd as init system. Bumblebee is running. I used "systemctl enable bumblebeed" to make it start at boot.
Bunkmil
Young Hen
 
Posts: 33
Joined: Wed Apr 29, 2009 16:38

Re: Bumblebee and Nvidia Optimus problem

Postby lxnay » Mon May 13, 2013 6:48

And what does:
Code: Select all
systemctl status bumblebeed


say? More logs please (Another good thing is posting some of the journalctl -b output)
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+
lxnay
Land Owner
 
Posts: 3596
Joined: Thu Oct 13, 2005 23:16
Location: Italy

Re: Bumblebee and Nvidia Optimus problem

Postby Bunkmil » Mon May 13, 2013 12:56

Here's the requested information:

Code: Select all
david-laptop ~ # systemctl status bumblebeed
bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/usr/lib64/systemd/system/bumblebeed.service; enabled)
   Active: activating (auto-restart) (Result: exit-code) since lun 2013-05-13 11:41:13 EDT; 52s ago
  Process: 21062 ExecStart=/usr/sbin/bumblebeed (code=exited, status=1/FAILURE)

mai 13 11:41:13 david-laptop systemd[1]: bumblebeed.service holdoff time ove....
mai 13 11:41:13 david-laptop systemd[1]: Stopping Bumblebee C Daemon...
mai 13 11:41:13 david-laptop systemd[1]: Starting Bumblebee C Daemon...
mai 13 11:41:13 david-laptop systemd[1]: Started Bumblebee C Daemon.
mai 13 11:41:13 david-laptop systemd[1]: bumblebeed.service: main process ex...E
mai 13 11:41:13 david-laptop systemd[1]: MESSAGE=Unit bumblebeed.service ent....
mai 13 11:41:13 david-laptop bumblebeed[21062]: modprobe: FATAL: Module bbsw....
mai 13 11:41:13 david-laptop bumblebeed[21062]: [59026.390566] [ERROR]Module...)
mai 13 11:41:13 david-laptop bumblebeed[21062]: [59026.390601] [WARN]No swit....
mai 13 11:41:13 david-laptop bumblebeed[21062]: [59026.393002] [ERROR]Module....


Code: Select all
david-laptop ~ # journalctl -b
-- Logs begin at dim 2013-05-12 03:31:15 EDT, end at lun 2013-05-13 11:51:13 EDT. --
mai 12 18:05:04 david-laptop systemd-journal[4202]: Allowing runtime journal files to grow to 393.0
mai 12 18:05:04 david-laptop systemd-journal[4202]: Missed 601 kernel messages
mai 12 18:05:04 david-laptop kernel: TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
mai 12 18:05:04 david-laptop kernel: TCP: Hash tables configured (established 65536 bind 65536)
mai 12 18:05:04 david-laptop kernel: TCP: reno registered
mai 12 18:05:04 david-laptop kernel: UDP hash table entries: 4096 (order: 5, 131072 bytes)
mai 12 18:05:04 david-laptop kernel: UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes)
mai 12 18:05:04 david-laptop kernel: NET: Registered protocol family 1
mai 12 18:05:04 david-laptop kernel: pci 0000:00:02.0: Boot video device
mai 12 18:05:04 david-laptop kernel: PCI: CLS 64 bytes, default 64
mai 12 18:05:04 david-laptop kernel: Trying to unpack rootfs image as initramfs...
mai 12 18:05:04 david-laptop kernel: Freeing initrd memory: 18896k freed
mai 12 18:05:04 david-laptop kernel: dmar: Host address width 36
mai 12 18:05:04 david-laptop kernel: dmar: DRHD base: 0x000000fed90000 flags: 0x0
mai 12 18:05:04 david-laptop kernel: dmar: IOMMU 0: reg_base_addr fed90000 ver 1:0 cap c0000020e602
mai 12 18:05:04 david-laptop kernel: dmar: DRHD base: 0x000000fed91000 flags: 0x1
mai 12 18:05:04 david-laptop kernel: dmar: IOMMU 1: reg_base_addr fed91000 ver 1:0 cap c90080206602
mai 12 18:05:04 david-laptop kernel: dmar: RMRR base: 0x0000009ae8c000 end: 0x0000009aeabfff
mai 12 18:05:04 david-laptop kernel: dmar: RMRR base: 0x0000009b800000 end: 0x0000009f9fffff
mai 12 18:05:04 david-laptop kernel: PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
mai 12 18:05:04 david-laptop kernel: software IO TLB [mem 0x8f1c0000-0x931c0000] (64MB) mapped at [
mai 12 18:05:04 david-laptop kernel: Simple Boot Flag at 0x44 set to 0x1
mai 12 18:05:04 david-laptop kernel: audit: initializing netlink socket (disabled)
mai 12 18:05:04 david-laptop kernel: type=2000 audit(1368381893.103:1): initialized
mai 12 18:05:04 david-laptop kernel: bounce pool size: 64 pages
mai 12 18:05:04 david-laptop kernel: HugeTLB registered 2 MB page size, pre-allocated 0 pages
mai 12 18:05:04 david-laptop kernel: VFS: Disk quotas dquot_6.5.2
lines 1-28


Don't hesitate to ask if you need more information.

Thanks
Bunkmil
Young Hen
 
Posts: 33
Joined: Wed Apr 29, 2009 16:38

Re: Bumblebee and Nvidia Optimus problem

Postby lxnay » Mon May 13, 2013 13:10

Use --full with systemctl status, don't you see that the output is cut?
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+
lxnay
Land Owner
 
Posts: 3596
Joined: Thu Oct 13, 2005 23:16
Location: Italy

Re: Bumblebee and Nvidia Optimus problem

Postby Bunkmil » Mon May 13, 2013 13:21

Sorry, I didn't no that --full option:

david-laptop ~ # systemctl status bumblebeed --full
bumblebeed.service - Bumblebee C Daemon
Loaded: loaded (/usr/lib64/systemd/system/bumblebeed.service; enabled)
Active: activating (auto-restart) (Result: exit-code) since lun 2013-05-13 12:20:14 EDT; 8s ago
Process: 21451 ExecStart=/usr/sbin/bumblebeed (code=exited, status=1/FAILURE)

mai 13 12:20:14 david-laptop systemd[1]: bumblebeed.service: main process exited, code=exited, status=1/FAILURE
mai 13 12:20:14 david-laptop systemd[1]: MESSAGE=Unit bumblebeed.service entered failed state.
Bunkmil
Young Hen
 
Posts: 33
Joined: Wed Apr 29, 2009 16:38

Re: Bumblebee and Nvidia Optimus problem

Postby lxnay » Mon May 13, 2013 13:32

Now you restarted the service and you lost the original status information. And the output of journactl -b you posted is incomplete.
However, I suspect that you're missing bbswitch, but I cannot help you further as long as you keep posting incomplete log information, sorry.
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+
lxnay
Land Owner
 
Posts: 3596
Joined: Thu Oct 13, 2005 23:16
Location: Italy

Re: Bumblebee and Nvidia Optimus problem

Postby lxnay » Mon May 13, 2013 13:34

Please use
Code: Select all
journalctl -b --no-pager --full
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+
lxnay
Land Owner
 
Posts: 3596
Joined: Thu Oct 13, 2005 23:16
Location: Italy

Re: Bumblebee and Nvidia Optimus problem

Postby Bunkmil » Mon May 13, 2013 14:29

bbswitch is installed, but there seam to be a problem with the module. Here's the complete "# journalctl -b --no-pager --full" output. Pastebin wouldn't let me paste that many characters. I had a hard time finding another hosting service.

http://paste.ubuntu.com/5661197/
Bunkmil
Young Hen
 
Posts: 33
Joined: Wed Apr 29, 2009 16:38

Next

Return to Hardware

Who is online

Users browsing this forum: No registered users and 1 guest