Results 1 to 9 of 9

Thread: Bumblebee and nvidia problems with GT540M

Hybrid View

  1. #1
    Junior Member
    Join Date
    Mar 2010
    Location
    Italy
    Posts
    41

    Default Bumblebee and nvidia problems with GT540M

    I tried to install the bumblebee on BT5 running these commands but I had problems:

    Code:
    sudo add-apt-repository ppa:bumblebee/stable
    sudo apt-get update
    sudo apt-get install bumblebee
    and I got this error:

    Code:
    Reading package lists... Done
    Building dependency tree
    
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
    libecryptfs0 libdmraid1.0.0.rc16 libdebconfclient0 ecryptfs-utils cryptsetup
    rdate bogl-bterm libdebian-installer4 reiserfsprogs dmraid python-pyicu
    keyutils
    Use 'apt-get autoremove' to remove them.
    The following extra packages will be installed:
    acpid dkms linux-headers linux-headers-2.6.39.4 nvidia-current
    nvidia-settings virtualgl
    The following NEW packages will be installed:
    acpid bumblebee dkms linux-headers linux-headers-2.6.39.4 nvidia-current
    nvidia-settings virtualgl
    0 upgraded, 8 newly installed, 0 to remove and 57 not upgraded.
    Need to get 50.6MB of archives.
    After this operation, 194MB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Get:1 http://ppa.launchpad.net/bumblebee/stable/ubuntu/ lucid/main virtualgl 2.2.90-1~lucidppa7 [1,566kB]
    Get:2 http://all.repository.backtrack-linux.org/ revolution/main dkms 2.1.1.2-2fakesync1 [70.1kB]
    Get:3 http://all.repository.backtrack-linux.org/ revolution/microverse linux-headers 1.1-bt3 [896B]
    Get:4 http://64.repository.backtrack-linux.org/ revolution/main acpid 1.0.10-5ubuntu2.1 [50.5kB]
    Get:5 http://64.repository.backtrack-linux.org/ revolution/microverse linux-headers-2.6.39.4 2.6.39.4-10.00.Custom [7,274kB]
    Get:6 http://ppa.launchpad.net/bumblebee/stable/ubuntu/ lucid/main bumblebee 2.4.1-1~lucidppa1 [21.8kB]
    Get:7 http://64.repository.backtrack-linux.org/ revolution/main nvidia-current 195.36.24-0ubuntu1~10.04 [40.8MB]
    Get:8 http://64.repository.backtrack-linux.org/ revolution/main nvidia-settings 195.36.08-0ubuntu2 [841kB]
    Fetched 50.6MB in 11min 48s (71.5kB/s)
    
    Selecting previously deselected package acpid.
    (Reading database ... 202759 files and directories currently installed.)
    Unpacking acpid (from .../acpid_1.0.10-5ubuntu2.1_amd64.deb) ...
    Selecting previously deselected package virtualgl.
    Unpacking virtualgl (from .../virtualgl_2.2.90-1~lucidppa7_amd64.deb) ...
    Selecting previously deselected package dkms.
    Unpacking dkms (from .../dkms_2.1.1.2-2fakesync1_all.deb) ...
    Selecting previously deselected package linux-headers-2.6.39.4.
    Unpacking linux-headers-2.6.39.4 (from .../linux-headers-2.6.39.4_2.6.39.4-10.00.Custom_amd64.deb) ...
    Selecting previously deselected package linux-headers.
    Unpacking linux-headers (from .../linux-headers_1.1-bt3_all.deb) ...
    Selecting previously deselected package nvidia-current.
    Unpacking nvidia-current (from .../nvidia-current_195.36.24-0ubuntu1~10.04_amd64.deb) ...
    Selecting previously deselected package bumblebee.
    Unpacking bumblebee (from .../bumblebee_2.4.1-1~lucidppa1_amd64.deb) ...
    Selecting previously deselected package nvidia-settings.
    Unpacking nvidia-settings (from .../nvidia-settings_195.36.08-0ubuntu2_amd64.deb) ...
    Processing triggers for python-central ...
    Processing triggers for ureadahead ...
    Processing triggers for man-db ...
    Setting up acpid (1.0.10-5ubuntu2.1) ...
    acpid start/running, process 4709
    
    Setting up virtualgl (2.2.90-1~lucidppa7) ...
    
    Setting up dkms (2.1.1.2-2fakesync1) ...
    
    Setting up linux-headers-2.6.39.4 (2.6.39.4-10.00.Custom) ...
    Examining /etc/kernel/header_postinst.d.
    run-parts: executing /etc/kernel/header_postinst.d/dkms 2.6.39.4 /boot/vmlinuz-2.6.39.4
    
    Setting up linux-headers (1.1-bt3) ...
    Setting up nvidia-current (195.36.24-0ubuntu1~10.04) ...
    update-alternatives: using /usr/lib/nvidia-current/ld.so.conf to provide /etc/ld.so.conf.d/GL.conf (gl_conf) in auto mode.
    update-initramfs: deferring update (trigger activated)
    Loading new nvidia-current-195.36.24 DKMS files...
    First Installation: checking all kernels...
    Building only for 2.6.38
    Building for architecture x86_64
    Building initial module for 2.6.38
    
    Error! Bad return status for module build on kernel: 2.6.38 (x86_64)
    Consult the make.log in the build directory
    /var/lib/dkms/nvidia-current/195.36.24/build/ for more information.
    dpkg: error processing nvidia-current (--configure):
    subprocess installed post-installation script returned error exit status 10
    dpkg: dependency problems prevent configuration of bumblebee:
    bumblebee depends on nvidia-current; however:
    Package nvidia-current is not configured yet.
    dpkg: error processing bumblebee (--configure):
    dependency problems - leaving unconfigured
    Setting up nvidia-settings (195.36.08-0ubuntu2) ...
    No apport report written because the error message indicates its a followup error from a previous failure.
    Processing triggers for libc-bin ...
    ldconfig deferred processing now taking place
    Processing triggers for python-gmenu ...
    Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
    Processing triggers for initramfs-tools ...
    update-initramfs: Generating /boot/initrd.img-2.6.38
    Processing triggers for python-support ...
    Errors were encountered while processing:
    nvidia-current
    bumblebee
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    I try to update all by:

    Code:
    sudo apt-add-repository ppa:ubuntu-x-swat/x-updates
    sudo apt-get upgrade
    But I have the same error:

    Code:
    Error! Bad return status for module build on kernel: 2.6.38 (x86_64)
    Consult the make.log in the build directory
    /var/lib/dkms/nvidia-current/195.36.24/build/ for more information.
    dpkg: error processing nvidia-current (--configure):
    subprocess installed post-installation script returned error exit status 10
    dpkg: dependency problems prevent configuration of bumblebee:
    bumblebee depends on nvidia-current; however:
    Package nvidia-current is not configured yet.
    dpkg: error processing bumblebee (--configure):
    dependency problems - leaving unconfigured
    No apport report written because the error message indicates its a followup error from a previous failure.
    Processing triggers for python-gmenu ...
    Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
    Processing triggers for initramfs-tools ...
    update-initramfs: Generating /boot/initrd.img-2.6.38
    Processing triggers for python-support ...
    Errors were encountered while processing:
    nvidia-current
    bumblebee
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Just for a test, I tring to install with "traditional" installer:

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

    Code:
    apt-get update
    apt-get install nvidia-current
    tar -xzf MrMEEE-bumblebee-6629f3a.tar.gz
    cd MrMEEE-bumblebee-6629f3a
    sudo ./install
    sudo usermod -a -G bumblebee root
    and it seems it work:

    Code:
    root@bt:glxgears
    4800 frames in 5.0 seconds
    4818 frames in 5.0 seconds
    4691 frames in 5.0 seconds
    4693 frames in 5.0 seconds
    but when I try to use optirun

    Code:
    root@bt:optirun glxgears
    The Bumblebee X server was not available, please check the
    Bumblebee logfile at /var/log/bumblebee.log
    ==================================================
    This is the log:

    Code:
    [   1479.90] Bumblebee log started at Tue, 15 Nov 2011 20:25:04 +0100
    [   1479.92] Creating fifo /var/run/bumblebee.fifo for communication...
    [   1479.93] Making FIFO writable for members of group bumblebee
    [   1479.95] Power management is disabled, not disabling card on start.
    [   1479.96] Waiting for orders
    [   1541.85] Optirun start request received.
    [   1541.86] Checking for X server availability before starting X...
    [   1541.87] X server is not started
    [   1541.88] Power management is disabled, only loading driver
    [   1541.94] Driver 'nvidia' has no matching kernel module installed
    [   1541.96] The driver failed to load.
    [   1541.97] Waiting for orders
    Anyone help me?

  2. #2
    Just burned his ISO
    Join Date
    Nov 2011
    Posts
    3

    Default Re: Bumblebee and nvidia problems with GT540M

    Quote Originally Posted by Dezio View Post
    I tried to install the bumblebee on BT5 running these commands but I had problems:

    Code:
    sudo add-apt-repository ppa:bumblebee/stable
    sudo apt-get update
    sudo apt-get install bumblebee
    and I got this error:

    Code:
    Reading package lists... Done
    Building dependency tree
    
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
    libecryptfs0 libdmraid1.0.0.rc16 libdebconfclient0 ecryptfs-utils cryptsetup
    rdate bogl-bterm libdebian-installer4 reiserfsprogs dmraid python-pyicu
    keyutils
    Use 'apt-get autoremove' to remove them.
    The following extra packages will be installed:
    acpid dkms linux-headers linux-headers-2.6.39.4 nvidia-current
    nvidia-settings virtualgl
    The following NEW packages will be installed:
    acpid bumblebee dkms linux-headers linux-headers-2.6.39.4 nvidia-current
    nvidia-settings virtualgl
    0 upgraded, 8 newly installed, 0 to remove and 57 not upgraded.
    Need to get 50.6MB of archives.
    After this operation, 194MB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Get:1 http://ppa.launchpad.net/bumblebee/stable/ubuntu/ lucid/main virtualgl 2.2.90-1~lucidppa7 [1,566kB]
    Get:2 http://all.repository.backtrack-linux.org/ revolution/main dkms 2.1.1.2-2fakesync1 [70.1kB]
    Get:3 http://all.repository.backtrack-linux.org/ revolution/microverse linux-headers 1.1-bt3 [896B]
    Get:4 http://64.repository.backtrack-linux.org/ revolution/main acpid 1.0.10-5ubuntu2.1 [50.5kB]
    Get:5 http://64.repository.backtrack-linux.org/ revolution/microverse linux-headers-2.6.39.4 2.6.39.4-10.00.Custom [7,274kB]
    Get:6 http://ppa.launchpad.net/bumblebee/stable/ubuntu/ lucid/main bumblebee 2.4.1-1~lucidppa1 [21.8kB]
    Get:7 http://64.repository.backtrack-linux.org/ revolution/main nvidia-current 195.36.24-0ubuntu1~10.04 [40.8MB]
    Get:8 http://64.repository.backtrack-linux.org/ revolution/main nvidia-settings 195.36.08-0ubuntu2 [841kB]
    Fetched 50.6MB in 11min 48s (71.5kB/s)
    
    Selecting previously deselected package acpid.
    (Reading database ... 202759 files and directories currently installed.)
    Unpacking acpid (from .../acpid_1.0.10-5ubuntu2.1_amd64.deb) ...
    Selecting previously deselected package virtualgl.
    Unpacking virtualgl (from .../virtualgl_2.2.90-1~lucidppa7_amd64.deb) ...
    Selecting previously deselected package dkms.
    Unpacking dkms (from .../dkms_2.1.1.2-2fakesync1_all.deb) ...
    Selecting previously deselected package linux-headers-2.6.39.4.
    Unpacking linux-headers-2.6.39.4 (from .../linux-headers-2.6.39.4_2.6.39.4-10.00.Custom_amd64.deb) ...
    Selecting previously deselected package linux-headers.
    Unpacking linux-headers (from .../linux-headers_1.1-bt3_all.deb) ...
    Selecting previously deselected package nvidia-current.
    Unpacking nvidia-current (from .../nvidia-current_195.36.24-0ubuntu1~10.04_amd64.deb) ...
    Selecting previously deselected package bumblebee.
    Unpacking bumblebee (from .../bumblebee_2.4.1-1~lucidppa1_amd64.deb) ...
    Selecting previously deselected package nvidia-settings.
    Unpacking nvidia-settings (from .../nvidia-settings_195.36.08-0ubuntu2_amd64.deb) ...
    Processing triggers for python-central ...
    Processing triggers for ureadahead ...
    Processing triggers for man-db ...
    Setting up acpid (1.0.10-5ubuntu2.1) ...
    acpid start/running, process 4709
    
    Setting up virtualgl (2.2.90-1~lucidppa7) ...
    
    Setting up dkms (2.1.1.2-2fakesync1) ...
    
    Setting up linux-headers-2.6.39.4 (2.6.39.4-10.00.Custom) ...
    Examining /etc/kernel/header_postinst.d.
    run-parts: executing /etc/kernel/header_postinst.d/dkms 2.6.39.4 /boot/vmlinuz-2.6.39.4
    
    Setting up linux-headers (1.1-bt3) ...
    Setting up nvidia-current (195.36.24-0ubuntu1~10.04) ...
    update-alternatives: using /usr/lib/nvidia-current/ld.so.conf to provide /etc/ld.so.conf.d/GL.conf (gl_conf) in auto mode.
    update-initramfs: deferring update (trigger activated)
    Loading new nvidia-current-195.36.24 DKMS files...
    First Installation: checking all kernels...
    Building only for 2.6.38
    Building for architecture x86_64
    Building initial module for 2.6.38
    
    Error! Bad return status for module build on kernel: 2.6.38 (x86_64)
    Consult the make.log in the build directory
    /var/lib/dkms/nvidia-current/195.36.24/build/ for more information.
    dpkg: error processing nvidia-current (--configure):
    subprocess installed post-installation script returned error exit status 10
    dpkg: dependency problems prevent configuration of bumblebee:
    bumblebee depends on nvidia-current; however:
    Package nvidia-current is not configured yet.
    dpkg: error processing bumblebee (--configure):
    dependency problems - leaving unconfigured
    Setting up nvidia-settings (195.36.08-0ubuntu2) ...
    No apport report written because the error message indicates its a followup error from a previous failure.
    Processing triggers for libc-bin ...
    ldconfig deferred processing now taking place
    Processing triggers for python-gmenu ...
    Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
    Processing triggers for initramfs-tools ...
    update-initramfs: Generating /boot/initrd.img-2.6.38
    Processing triggers for python-support ...
    Errors were encountered while processing:
    nvidia-current
    bumblebee
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    I try to update all by:

    Code:
    sudo apt-add-repository ppa:ubuntu-x-swat/x-updates
    sudo apt-get upgrade
    But I have the same error:

    Code:
    Error! Bad return status for module build on kernel: 2.6.38 (x86_64)
    Consult the make.log in the build directory
    /var/lib/dkms/nvidia-current/195.36.24/build/ for more information.
    dpkg: error processing nvidia-current (--configure):
    subprocess installed post-installation script returned error exit status 10
    dpkg: dependency problems prevent configuration of bumblebee:
    bumblebee depends on nvidia-current; however:
    Package nvidia-current is not configured yet.
    dpkg: error processing bumblebee (--configure):
    dependency problems - leaving unconfigured
    No apport report written because the error message indicates its a followup error from a previous failure.
    Processing triggers for python-gmenu ...
    Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
    Processing triggers for initramfs-tools ...
    update-initramfs: Generating /boot/initrd.img-2.6.38
    Processing triggers for python-support ...
    Errors were encountered while processing:
    nvidia-current
    bumblebee
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Just for a test, I tring to install with "traditional" installer:

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

    Code:
    apt-get update
    apt-get install nvidia-current
    tar -xzf MrMEEE-bumblebee-6629f3a.tar.gz
    cd MrMEEE-bumblebee-6629f3a
    sudo ./install
    sudo usermod -a -G bumblebee root
    and it seems it work:

    Code:
    root@bt:glxgears
    4800 frames in 5.0 seconds
    4818 frames in 5.0 seconds
    4691 frames in 5.0 seconds
    4693 frames in 5.0 seconds
    but when I try to use optirun

    Code:
    root@bt:optirun glxgears
    The Bumblebee X server was not available, please check the
    Bumblebee logfile at /var/log/bumblebee.log
    ==================================================
    This is the log:

    Code:
    [   1479.90] Bumblebee log started at Tue, 15 Nov 2011 20:25:04 +0100
    [   1479.92] Creating fifo /var/run/bumblebee.fifo for communication...
    [   1479.93] Making FIFO writable for members of group bumblebee
    [   1479.95] Power management is disabled, not disabling card on start.
    [   1479.96] Waiting for orders
    [   1541.85] Optirun start request received.
    [   1541.86] Checking for X server availability before starting X...
    [   1541.87] X server is not started
    [   1541.88] Power management is disabled, only loading driver
    [   1541.94] Driver 'nvidia' has no matching kernel module installed
    [   1541.96] The driver failed to load.
    [   1541.97] Waiting for orders
    Anyone help me?
    Anyone help him I have almost the same problem with the 540m

  3. #3
    Junior Member
    Join Date
    Mar 2010
    Location
    Italy
    Posts
    41

    Default Riferimento: Bumblebee and nvidia problems with GT540M

    no one can help me?

  4. #4
    My life is this forum Snayler's Avatar
    Join Date
    Jan 2010
    Posts
    1,418

    Default Re: Bumblebee and nvidia problems with GT540M

    I have a new laptop with the Optimus technology (Intel HD and GeForce 540M) and in my opinion, you won't need to install bumblebee in BT5 since the Intel HD graphics handles the X graphical environment pretty well. I mean, it's not like your going to play cutting-edge video games in BT5, right?
    As for CUDA capabilities, you will only need to install the nVidia drivers and CUDA toolkit, and everything will work fine.
    Last edited by Snayler; 11-20-2011 at 09:37 PM.

  5. #5
    Junior Member
    Join Date
    Mar 2010
    Location
    Italy
    Posts
    41

    Default Re: Bumblebee and nvidia problems with GT540M

    Definitely I don't play video games in BT5, but I want to take advantage of the the video card and have the nvidia control panel to change resolution, etc.. just that Optimus technology is helpful for the duration of the battery

  6. #6
    Junior Member
    Join Date
    Mar 2010
    Location
    Italy
    Posts
    41

    Default Re: Bumblebee and nvidia problems with GT540M

    I received an official response from the Bumblebee support:

    For some reason, your mail ended up in my spam box. I see you're using BackTrack Linux which is based on an old version of Ubuntu (10.04.2, the current LTS is 10.04.3 and the latest is 11.10).

    The `vga=791` and `nomodeset` options might be problematic too.

    If you've no special need for Backtrack Linux, I recommend to use the latest stable Ubuntu version available (11.10, 64-bit) to get the most out of your hardware (nVidia GT 540M and Sandy Bridge?)
    Otherwise, you could try to install a more recent nvidia driver (not from nvidia.com!) by adding the ubuntu-x-swat/x-updates PPA as described at https://github.com/Bumblebee-Project...roubleshooting.
    I believe that there's no solution.. ubuntu-x-swat/x-updates PPA don't work properly in BT

  7. #7
    Just burned his ISO
    Join Date
    Jun 2012
    Posts
    2

    Default Re: Bumblebee and nvidia problems with GT540M

    Does anybody knows if there is a way to disable main card and switch to integrated one only? So it can treat just like one.. :/ I'm out of ideas..

  8. #8
    Senior Member
    Join Date
    Jul 2011
    Posts
    236

    Default Re: Bumblebee and nvidia problems with GT540M

    Quote Originally Posted by vidak23 View Post
    Does anybody knows if there is a way to disable main card and switch to integrated one only? So it can treat just like one.. :/ I'm out of ideas..
    I am not quite sure where this thread is heading, but I figured I'd share this anyways

    http://www.backtrack-linux.org/forum...ad.php?t=48331

    Check out post #6 in that thread, it might help out....
    V/r,
    Snafu
    Pffbt..[quote]I made a discovery today. I found a computer. Wait a second, this is cool. It does what I want it to. If it makes a mistake, it's because I screwed it up. Not because it doesn't like me... Or feels threatened by me.. Or thinks I'm a smart ass.. [/quote]

  9. #9
    Just burned his ISO Magnet0's Avatar
    Join Date
    Jun 2012
    Posts
    11

    Default Re: Bumblebee and nvidia problems with GT540M

    hi out there, i dont know where to ask this, so i decided to post it in here.
    i just only want to know if it is possible to install NVIDA to a laptop that is not NVIDIA supported? or is there any way to make it?

    video card is: VGA 128MB

Similar Threads

  1. [HOW TO] Nvidia & X.org Server Problems
    By Dezio in forum BackTrack 5 How-To's
    Replies: 0
    Last Post: 11-08-2011, 11:29 AM
  2. X.Org Server & nVidia problems
    By Dezio in forum BackTrack 5 Beginners Section
    Replies: 0
    Last Post: 11-05-2011, 10:42 PM
  3. Problems with NVIDIA GT250 Installation
    By made2nv in forum BackTrack 5 Beginners Section
    Replies: 8
    Last Post: 08-31-2011, 02:06 PM
  4. pyrit CUDA nvidia Tutorial + Nvidia overclock instructions
    By purehate in forum OLD BT4beta HowTo's
    Replies: 155
    Last Post: 01-26-2010, 12:27 AM
  5. Problems with nvidia driver instalation
    By RaZZoR6 in forum OLD BackTrack 4 General Support
    Replies: 3
    Last Post: 11-06-2009, 12:30 PM

Posting Permissions

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