Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23

Thread: NVIDIA Bumblebee problme

  1. #11
    Join Date
    Nov 2011
    Location
    Germany
    Posts
    100

    Default Re: NVIDIA Bumblebee problme

    I also have kernel 4.1.27-24-pv x86_64 installed and though I use nvidia-prime, my nvidia kernel modules ar found at:
    /lib/modules/
    4.1.27-24-pv/weak-updates/updates/
    and at:
    /lib/modules/4.1.27-24-default/weak-updates/updates/
    There I find these modules:
    bbswitch.ko nvidia-drm.ko nvidia.ko nvidia-modeset.ko nvidia-uvm.ko

  2. #12

    Default Re: NVIDIA Bumblebee problme

    I think the problem is here:
    Code:
    Output of nvidia-bumblebee-367.27-2.1.x86_64.rpm %posttrans script:
        + '[' -x /usr/sbin/dkms ']'
        + /usr/sbin/dkms add -m nvidia -v 367.27 --rpm_safe_upgrade
        
        Creating symlink /var/lib/dkms/nvidia/367.27/source ->
                         /usr/src/nvidia-367.27
        
        DKMS: add completed.
        + /usr/sbin/dkms build -m nvidia -v 367.27
        Error! echo
        Your kernel headers for kernel 4.1.12-1-default cannot be found at
        /lib/modules/4.1.12-1-default/build or /lib/modules/4.1.12-1-default/source.
        + /usr/sbin/dkms install -m nvidia -v 367.27
        Error! echo
        Your kernel headers for kernel 4.1.12-1-default cannot be found at
        /lib/modules/4.1.12-1-default/build or /lib/modules/4.1.12-1-default/source.
        + popd
    This is output after:
    Code:
    zypper in nvidia-bumblebee
    But the thing is that I already installed and then reinstalled this all:
    Code:
    linux-glibc-devel
    kernel-devel
    kernel-default-devel
    dkms
    zypper in -t pattern devel_kernel

  3. #13
    Join Date
    Oct 2014
    Location
    Italy
    Posts
    1,674

    Default Re: NVIDIA Bumblebee problme

    Quote Originally Posted by galileo13 View Post
    I think the problem is here:
    Code:
    Output of nvidia-bumblebee-367.27-2.1.x86_64.rpm %posttrans script:
        + '[' -x /usr/sbin/dkms ']'
        + /usr/sbin/dkms add -m nvidia -v 367.27 --rpm_safe_upgrade
        
        Creating symlink /var/lib/dkms/nvidia/367.27/source ->
                         /usr/src/nvidia-367.27
        
        DKMS: add completed.
        + /usr/sbin/dkms build -m nvidia -v 367.27
        Error! echo
        Your kernel headers for kernel 4.1.12-1-default cannot be found at
        /lib/modules/4.1.12-1-default/build or /lib/modules/4.1.12-1-default/source.
        + /usr/sbin/dkms install -m nvidia -v 367.27
        Error! echo
        Your kernel headers for kernel 4.1.12-1-default cannot be found at
        /lib/modules/4.1.12-1-default/build or /lib/modules/4.1.12-1-default/source.
        + popd
    Apparently the system tries to build modules for the 4.1.12-1-default kernel, but that kernel (and/or its -devel counterparts) are no more there after recent kernel updates.
    Please try:
    Code:
    LT_B:~ # dkms status
    Then if modules with version 4.1.12-1-default show up, try:
    Code:
    LT_B:~ # dkms remove -k 4.1.12-1-default
    and possibly repeat that for any kernel (or kernel-devel) version that is no more on your system but shows up in the "dkms status" results.
    Then force-reinstall nvidia-bumblebee and this time the modules for the existing kernel(s) should be built.
    Be aware that building modules may take 3-5 minutes or so. A reboot fits well after all that, don't panic if you are met by a black screen for a few minutes while modules are being built.

    If that doesn't work, hope that members with better insight are reading and willing to answer this thread
    Main: Leap 15 Gnome on i7 4720HQ + Geforce GTX960M
    Test: Leap 42.3 (& others) on Core2Duo + GM965

  4. #14

    Default Re: NVIDIA Bumblebee problme

    Okay, I dont sure that I did things right, but here what I recieved:

    When I ran dkms status:
    Code:
    phoenix:/home/igor # dkms status 
    nvidia, 367.27: added
    Then, I deleted all of nvidia:
    Code:
    phoenix:/home/igor # dkms remove nvidia/367.27 --all
    
    
    ------------------------------
    Deleting module version: 367.27
    completely from the DKMS tree.
    ------------------------------
    Done.
    Command:
    Code:
    dkms remove -k 4.1.12-1-default
    Does not worked..
    I used it like this:
    Code:
    dkms remove nvidia/367.27 -k 4.1.12-1-default
    But it returned with error:
    Code:
    phoenix:/home/igor # dkms remove nvidia/367.27 -k 4.1.12-1-default
    Error! There is no instance of nvidia 367.27
    for kernel 4.1.12-1-default (x86_64) located in the DKMS tree.
    After this, I reinstalled nvidia-bumblebee with:
    Code:
    zypper in -f nvidia-bumblebee
    And again received this:
    Code:
    Output of nvidia-bumblebee-367.27-2.1.x86_64.rpm %posttrans script:
        ln: failed to create symbolic link '/usr/share/licenses/nvidia-utils/nvidia': File exists
        + '[' -x /usr/sbin/dkms ']'
        + /usr/sbin/dkms add -m nvidia -v 367.27 --rpm_safe_upgrade
        
        Creating symlink /var/lib/dkms/nvidia/367.27/source ->
                         /usr/src/nvidia-367.27
        
        DKMS: add completed.
        + /usr/sbin/dkms build -m nvidia -v 367.27
        Error! echo
        Your kernel headers for kernel 4.1.12-1-default cannot be found at
        /lib/modules/4.1.12-1-default/build or /lib/modules/4.1.12-1-default/source.
        + /usr/sbin/dkms install -m nvidia -v 367.27
        Error! echo
        Your kernel headers for kernel 4.1.12-1-default cannot be found at
        /lib/modules/4.1.12-1-default/build or /lib/modules/4.1.12-1-default/source.
        + popd

  5. #15
    Join Date
    Oct 2014
    Location
    Italy
    Posts
    1,674

    Default Re: NVIDIA Bumblebee problme

    Nothing really wrong on your side. Long story short, "nvidia, 367.27: added" means that the driver has been added to the DKMS pipeline for building and installing, but unfortunately the next steps fail...
    Code:
        DKMS: add completed.
        + /usr/sbin/dkms build -m nvidia -v 367.27
        Error! echo
        Your kernel headers for kernel 4.1.12-1-default cannot be found at
        /lib/modules/4.1.12-1-default/build or /lib/modules/4.1.12-1-default/source.
        + /usr/sbin/dkms install -m nvidia -v 367.27
        Error! echo
        Your kernel headers for kernel 4.1.12-1-default cannot be found at
        /lib/modules/4.1.12-1-default/build or /lib/modules/4.1.12-1-default/source.
    so that building and installing for the 4.1.12-1-default kernel fails and apparently no attempt is made to build and install for other kernel versions that are installed on your system.
    I don't know enough of the DKMS process to debug this (and it is very late at night here BTW).
    All I might suggest right now is to check:
    Code:
    LT_B:~ # zypper se -si kernel-de
    Maybe you have kernel-default version 4.1.12-1 installed, but not the matching version of kernel-devel and kernel-default-devel : if you did "zypper in -t pattern devel_kernel" only in the last few days, chances are that you only have version 4.1.27-24.1 of the devel packages.

    You might try building and installing manually at least for the latest kernel, with:
    Code:
    # /usr/sbin/dkms build -k 4.1.27-24.1-default
    # /usr/sbin/dkms install -k 4.1.27-24.1-default
    allow a few minutes for the process, then rebuild the initrd, just to keep to the safe side (and does no harm anyway...)
    Code:
    # dracut --host-only --force
    then reboot with your fingers crossed.
    No blame accepted on my side, I'm just falling asleep
    Main: Leap 15 Gnome on i7 4720HQ + Geforce GTX960M
    Test: Leap 42.3 (& others) on Core2Duo + GM965

  6. #16

    Default Re: NVIDIA Bumblebee problme

    I am already very thankful for you help!
    For me, it is no problem to destroying the system. Its fresh and if needed I will just format "/" partition and start again.

    Will fallow your tips and post results.

  7. #17
    Join Date
    Oct 2014
    Location
    Italy
    Posts
    1,674

    Default Re: NVIDIA Bumblebee problme

    Installed nvidia-bumblebee 367.27 myself without problems.
    Kernel modules were built and installed for the running kernel (4.1.27-24-default) and weak-installed (installed symlinks) for the other kernels still on the system.
    So I wonder if you are still running the former 4.1.12 kernel (please check "uname -r" in a terminal) but don't have the matching -devel packages installed?
    Main: Leap 15 Gnome on i7 4720HQ + Geforce GTX960M
    Test: Leap 42.3 (& others) on Core2Duo + GM965

  8. #18

    Default Re: NVIDIA Bumblebee problme

    Quote Originally Posted by OrsoBruno View Post
    Installed nvidia-bumblebee 367.27 myself without problems.
    Kernel modules were built and installed for the running kernel (4.1.27-24-default) and weak-installed (installed symlinks) for the other kernels still on the system.
    So I wonder if you are still running the former 4.1.12 kernel (please check "uname -r" in a terminal) but don't have the matching -devel packages installed?
    This seems to be a problem.
    Yesterday I broke my system trying to update kernel.
    Today installed fresh image updated and checked kernel, it was:
    Code:
    linux-xnd2:/home/igor # uname -r
    4.1.12-1-default
    And when I was trying to install bublebee it gave same error...:
    Code:
    Output of nvidia-bumblebee-367.27-2.1.x86_64.rpm %posttrans script:
        + '[' -x /usr/sbin/dkms ']'
        + /usr/sbin/dkms add -m nvidia -v 367.27 --rpm_safe_upgrade
        
        Creating symlink /var/lib/dkms/nvidia/367.27/source ->
                         /usr/src/nvidia-367.27
        
        DKMS: add completed.
        + /usr/sbin/dkms build -m nvidia -v 367.27
        Error! echo
        Your kernel headers for kernel 4.1.12-1-default cannot be found at
        /lib/modules/4.1.12-1-default/build or /lib/modules/4.1.12-1-default/source.
        + /usr/sbin/dkms install -m nvidia -v 367.27
        Error! echo
        Your kernel headers for kernel 4.1.12-1-default cannot be found at
        /lib/modules/4.1.12-1-default/build or /lib/modules/4.1.12-1-default/source.
        + popd
    There is some way to discover why my kerner wont update itself?

  9. #19
    Join Date
    Oct 2014
    Location
    Italy
    Posts
    1,674

    Default Re: NVIDIA Bumblebee problme

    Did you reboot after the kernel update? Can you force booting to the 4.1.27 kernel (in the advanced options at the grub bootloader screen)?
    Please show result of:
    Code:
    # zypper se -si kernel-de
    Main: Leap 15 Gnome on i7 4720HQ + Geforce GTX960M
    Test: Leap 42.3 (& others) on Core2Duo + GM965

  10. #20

    Default Re: NVIDIA Bumblebee problme

    Quote Originally Posted by OrsoBruno View Post
    Did you reboot after the kernel update? Can you force booting to the 4.1.27 kernel (in the advanced options at the grub bootloader screen)?
    Please show result of:
    Code:
    # zypper se -si kernel-de
    Yep, I rebooted, I think twice and checked if there are some additional updates, then run "uname -r" and kernel was 4.1.12..

    In GRUB I have only two options:
    1.Default
    2.4.1.12 kernel

    And the output:
    Code:
    linux-xnd2:/home/igor # zypper se -si kernel-de
    Loading repository data...
    Reading installed packages...
    
    S | Name                 | Type    | Version     | Arch   | Repository               
    --+----------------------+---------+-------------+--------+--------------------------
    i | kernel-default       | package | 4.1.27-24.1 | x86_64 | openSUSE-Leap-42.1-Update
    i | kernel-default       | package | 4.1.12-1.1  | x86_64 | openSUSE-Leap-42.1-Oss   
    i | kernel-default-devel | package | 4.1.27-24.1 | x86_64 | openSUSE-Leap-42.1-Update
    i | kernel-devel         | package | 4.1.27-24.1 | noarch | openSUSE-Leap-42.1-Update
    Maybe there is some problem with this Oss repo? Can it obstruct updates?

Page 2 of 3 FirstFirst 123 LastLast

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
  •