LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 02-16-2013, 03:02 AM   #1
geshuni
LQ Newbie
 
Registered: Dec 2010
Posts: 17

Rep: Reputation: 0
Bumblebee Project


Greetings all,
As you can see, from where I am posting this thread, I am new to arch, I've been following the installation guide for beginners in arch linux, however I am stuck on bumblebee - the optimus technology for linux. In the bumblebee wiki page (https://wiki.archlinux.org/index.php...tel_.2F_nvidia) it is very good explained how to install it. Everything looks fine:
Code:
pacman -U path/to/pkg.tar.xz
does not give me errors, as well as
Code:
pacman -Qm
displays the 3 packages that are foreign - lib32-nvidia-utils-bumblebee, nvidia-bumblebee, nvidia-utils-bumblebee.
Here is the problem, when I try to add my user to the group bumblebee it says there is no group, moreover, I cannot even start bumblebee, as it says there is not such file/directory. Which kind of disappoints me - the AUR completely explains how to build a package (extract, makepkg -s, pacman -U pkg.tar.xz), however it indirectly says there is no such thing as bumblebee. Every help is appreciated.
Thank you very much for your time spent reading/answering my question.
 
Old 02-16-2013, 10:05 AM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 10,882
Blog Entries: 1

Rep: Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307
Member Response

Hi,

I do not use 'arch but as root in a general sense;
Code:
#create group
groupadd bumblebee
#add user to group
usermod -G bumblebee -a USERNAME
You will need to re-login as user to have things take effect.

Do not forget to be sure 'bumblebeed' is enable at start/boot. You should be able start 'bumblebeed' via init do it arch way;Bumblebee - ArchWiki ;
Quote:
Start Bumblebee In order to use Bumblebee it is necessary add yourself (and other users) to the bumblebee group:
# gpasswd -a $USER bumblebee ##where $USER is the login name of the user to be added. Then log off and on again to apply the group changes.

To start bumblebee automatically at startup, enable bumblebeed service:
# systemctl enable bumblebeed.service ##Finished - reboot system and use the shell program optirun for Optimus NVIDIA rendering!
You might want to look through the Bumblebee - ArchWiki to understand fully.
Hope this helps!
 
Old 02-16-2013, 12:32 PM   #3
geshuni
LQ Newbie
 
Registered: Dec 2010
Posts: 17

Original Poster
Rep: Reputation: 0
Greetings,
Thank you for the fast reply! I thought bumblebee will create his own usergroup whenever it is installed, moreover, i cannot start the service daemon, because it says it is not installed, that is why I am turning to you here:
Code:
[asd@asd ~]$ sudo systemctl enable bumblebeed.service
Failed to issue method call: No such file or directory
I know i can fix the problem by creating a group, however I think it is not installed properly, or I am missing something out.
 
Old 02-16-2013, 03:07 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 10,882
Blog Entries: 1

Rep: Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307
Member Response

Hi,

You did follow Bumblebee - ArchWiki for installation? Not that I am aware of, you need to create the group then add the user to group and start the service after you have installed the bumblebee and available util package for your Intel-Nvidea or Intel-nouveau device.
If you follow Bumblebee - ArchWiki then there should be no problem. Don't for forget to log off and reboot the system.
 
1 members found this post helpful.
Old 02-17-2013, 07:17 AM   #5
geshuni
LQ Newbie
 
Registered: Dec 2010
Posts: 17

Original Poster
Rep: Reputation: 0
Greetings once again,
I installed packer and thus managed to completely install bumblebee, however when I try to run
Code:
optirun glxspheres
it comes up with this error
Code:
[ 2266.268207] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected.

[ 2266.268247] [ERROR]Aborting because fallback start is disabled.
Tried to google it out and found out that linux headers is the case in ubuntu (http://ubuntuforums.org/showthread.php?p=12337506), however I have that installed, also here are my bumblebee.conf
Code:
# Configuration file for Bumblebee. Values should **not** be put between quotes

## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# The Driver used by Bumblebee server. If this value is not set (or empty),
# auto-detection is performed. The available drivers are nvidia and nouveau
# (See also the driver-specific sections below)
Driver=

## Client options. Will take effect on the next optirun executed.
[optirun]
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false


# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
#         bbswitch - new in BB 3, recommended if available
#       switcheroo - vga_switcheroo method, use at your own risk
#             none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods

## Section with nvidia driver specific options, only parsed if Driver=nvidia
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia
Module=nvidia
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-bumblebee:/usr/lib32/nvidia-bumblebee
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-bumblebee/xorg/,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
and my /etc/bumblebee/xorg.conf.nvidia
Code:
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
I appreciate your time spent on this topic. Thank you in advance!
 
Old 02-17-2013, 01:59 PM   #6
geshuni
LQ Newbie
 
Registered: Dec 2010
Posts: 17

Original Poster
Rep: Reputation: 0
P.S. I am not sure whether or not I need to install an official nvidia driver, however I am sure I have installed bumblebee-nvidia.
 
Old 02-18-2013, 02:44 AM   #7
geshuni
LQ Newbie
 
Registered: Dec 2010
Posts: 17

Original Poster
Rep: Reputation: 0
https://wiki.archlinux.org/index.php...vices_detected solved the case, thank you!
 
  


Reply

Tags
installation, linux


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with Bumblebee 3 a4necromant Linux - Software 2 08-04-2012 07:53 AM
[SOLVED] bumblebee again... ceh383 Slackware 8 07-27-2012 11:07 AM
[SOLVED] Bumblebee in Mageia 2 lghizoni Mageia 4 07-18-2012 07:17 AM
[SOLVED] Problem installing Bumblebee-3.0 on Mageia 2 lghizoni Linux - Software 6 07-06-2012 03:08 PM
[SOLVED] BumbleBee ceh383 Slackware 11 05-23-2012 10:00 PM


All times are GMT -5. The time now is 10:59 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration