Results 1 to 9 of 9

Thread: Installation of bumblebee

  1. #1

    Exclamation Installation of bumblebee

    I installed Bumblebee following this tutorial:
    Smithfarm - the Brain: openSUSE 12.3: How to install 'bumblebee' for NVIDIA Optimus VGA

    It worked fine for a few days and then it stopped working, I don't know why.

    Now, when I try optirun glxspheres, I get:

    Code:
    [   77.003724] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)
    
    [   77.003756] [ERROR]Aborting because fallback start is disabled.
    I don't know exactly what config file to post...
    Here is 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=
    # Directory with a dummy config file to pass as a -configdir to secondary X
    XorgConfDir=/etc/bumblebee/xorg.conf.d
    
    
    ## Client options. Will take effect on the next optirun executed.
    [optirun]
    # Acceleration/ rendering bridge, possible values are auto, virtualgl and
    # primus.
    Bridge=auto
    # The method used for VirtualGL to transport frames between X servers.
    # Possible values are proxy, jpeg, rgb, xv and yuv.
    VGLTransport=proxy
    # List of paths which are searched for the primus libGL.so.1 when using
    # the primus bridge
    PrimusLibraryPath=/usr/lib/primus:/usr/lib32/primus
    # 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
    PMMethod=auto
    # colon-separated path to the nvidia libraries
    LibraryPath=/usr/lib64/nvidia
    # comma-separated path of the directory containing nvidia_drv.so and the
    # default Xorg modules path
    XorgModulePath=/usr/lib64/nvidia/xorg/
    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
    xorg.conf.nouveau
    Code:
    Section "ServerLayout"    Identifier  "Layout0"
        Option      "AutoAddDevices" "false"
        Option      "AutoAddGPU" "false"
    EndSection
    
    
    Section "Device"
        Identifier  "DiscreteNvidia"
        Driver      "nouveau"
    
    
    #   If the X server does not automatically detect your VGA device,
    #   you can manually set it here.
    #   To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
    #   as you see in the commented example.
    #   This Setting is needed on Ubuntu 13.04.
    #   BusID "PCI:01:00:0"
    
    
    EndSection
    xorg.conf.nvidia
    Code:
    Section "ServerLayout"    Identifier  "Layout0"
        Option      "AutoAddDevices" "false"
        Option      "AutoAddGPU" "false"
    EndSection
    
    
    Section "Device"
        Identifier  "DiscreteNvidia"
        Driver      "nvidia"
        VendorName  "NVIDIA Corporation"
    
    
    #   If the X server does not automatically detect your VGA device,
    #   you can manually set it here.
    #   To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
    #   as you see in the commented example.
    #   This Setting may be needed in some platforms with more than one
    #   nvidia card, which may confuse the proprietary driver (e.g.,
    #   trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
    #   BusID "PCI:01:00:0"
    
    
    #   Setting ProbeAllGpus to false prevents the new proprietary driver
    #   instance spawned to try to control the integrated graphics card,
    #   which is already being managed outside bumblebee.
    #   This option doesn't hurt and it is required on platforms running
    #   more than one nvidia graphics card with the proprietary driver.
    #   (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
    #   If this option is not set, the new Xorg may blacken the screen and
    #   render it unusable (unless you have some way to run killall Xorg).
        Option "ProbeAllGpus" "false"
    
    
        Option "NoLogo" "true"
        Option "UseEDID" "false"
        Option "UseDisplayDevice" "none"
    EndSection
    Thank you in advance

  2. #2

    Default Re: Installation of bumblebee

    Hello,
    I have exactly the same problem, same symptomps and it is broken since two weeks already.
    I tried several dkms-nvidia drivers versions, also binary nvidia drivers, several primus, bbswitch and bumblebeed with same result. Before the nvidia driver update from Overman79 repo, everything worked like a charm.

    openSUSE 12.3 (x86_64)
    VERSION = 12.3
    CODENAME = Dartmouth

    Overman79 repo.:
    VirtualGL 2.3.2-3.3
    bumblebee 3.2.1-1.1
    dkms 2.2.0.3.-14.1
    dkms-bbswitch 0.6-2.1
    libturbojpeg 1.2.1-6.1
    primus 20130413-1.1

    Bumblebee repo.:
    x11-video-nvidia 319.17-208.1
    nvidia-compute 319.17-208.1
    dkms-nvidia 319.17-206.1

    btw. I've also tried dkms-nvidia 319.17-2.1 from Overman with no luck.
    Could there be a problem of different dkms-nvidia and x11-video-nvidia driver?

  3. #3
    Join Date
    Jun 2008
    Location
    Canada
    Posts
    449

    Default Re: Installation of bumblebee

    Quote Originally Posted by leeon_lee View Post
    Hello,
    I have exactly the same problem, same symptomps and it is broken since two weeks already.
    I tried several dkms-nvidia drivers versions, also binary nvidia drivers, several primus, bbswitch and bumblebeed with same result. Before the nvidia driver update from Overman79 repo, everything worked like a charm.

    openSUSE 12.3 (x86_64)
    VERSION = 12.3
    CODENAME = Dartmouth

    Overman79 repo.:
    VirtualGL 2.3.2-3.3
    bumblebee 3.2.1-1.1
    dkms 2.2.0.3.-14.1
    dkms-bbswitch 0.6-2.1
    libturbojpeg 1.2.1-6.1
    primus 20130413-1.1

    Bumblebee repo.:
    x11-video-nvidia 319.17-208.1
    nvidia-compute 319.17-208.1
    dkms-nvidia 319.17-206.1

    btw. I've also tried dkms-nvidia 319.17-2.1 from Overman with no luck.
    Could there be a problem of different dkms-nvidia and x11-video-nvidia driver?
    which kernel release do you use?

  4. #4

    Default Re: Installation of bumblebee

    uname -a
    Linux linux-pp1t.site 3.7.10-1.4-desktop #1 SMP PREEMPT Fri Apr 19 12:06:34 UTC 2013 (8ef74f8) x86_64 x86_64 x86_64 GNU/Linux
    It's from openSUSE-12.3-Update repo.

  5. #5
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,905
    Blog Entries
    14

    Default Re: Installation of bumblebee

    Quote Originally Posted by leeon_lee View Post
    uname -a
    Linux linux-pp1t.site 3.7.10-1.4-desktop #1 SMP PREEMPT Fri Apr 19 12:06:34 UTC 2013 (8ef74f8) x86_64 x86_64 x86_64 GNU/Linux
    It's from openSUSE-12.3-Update repo.
    Use only the Overman79:/Laptop repo, install the mentioned packages from that repo only.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  6. #6
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,905
    Blog Entries
    14

    Default Re: Installation of bumblebee

    It may even work but lack a symlink, found that in some other thread.
    Login with username and password, ad do this:
    Code:
    su -c 'ln -s /usr/lib64/xorg/modules/libfb.so /usr/lib64/nvidia/xorg/modules/libfb.so'
    That's what's causing the mouse error.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  7. #7

    Default Re: Installation of bumblebee

    Quote Originally Posted by Knurpht View Post
    It may even work but lack a symlink, found that in some other thread.
    Login with username and password, ad do this:
    Code:
    su -c 'ln -s /usr/lib64/xorg/modules/libfb.so /usr/lib64/nvidia/xorg/modules/libfb.so'
    That's what's causing the mouse error.
    You are amazing man! I'm ashamed, that I was not able to find the solution on the forum, even searching for days.
    Problem solved! Once again, thanks!

  8. #8

    Default Re: Installation of bumblebee

    Quote Originally Posted by leeon_lee View Post
    You are amazing man! I'm ashamed, that I was not able to find the solution on the forum, even searching for days.
    Problem solved! Once again, thanks!
    And one note: as Knurpht
    suggested, there's aslo need to not mismatch dkms-nvidia and x11-nvidia-driver from different repos, there's need to use Overman79's only.

  9. #9

    Wink Re: Installation of bumblebee

    Quote Originally Posted by Knurpht View Post
    It may even work but lack a symlink, found that in some other thread.
    Login with username and password, ad do this:
    Code:
    su -c 'ln -s /usr/lib64/xorg/modules/libfb.so /usr/lib64/nvidia/xorg/modules/libfb.so'
    That's what's causing the mouse error.
    Thank you! That fixed my problem.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •