You are not logged in.

#1 2013-01-07 15:45:21

leonidas
Member
From: Greece
Registered: 2012-08-31
Posts: 49
Website

Kernel-ck and bumblebee

I compiled and install linux-ck kernel (3.7.1-3-ck) with  the use of ABS .

After that I boot with the new kernel and I tried to install the nvidia-bumblebee  module
but during building I got the following error:

==> Starting build()...
Creating directory NVIDIA-Linux-x86_64-310.19-no-compat32
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 310.19..........................................................................................................................................
If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.

If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the equivalent nvidia-installer command line option.

Depending on where and how the kernel sources (or the
kernel headers) were installed, you may need to specify
their location with the SYSSRC environment variable or
the equivalent nvidia-installer command line option.

*** Unable to determine the target kernel version. ***

make: *** [select_makefile] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

Offline

#2 2013-01-07 15:54:59

Svenstaro
Administrator
From: Germany
Registered: 2008-11-19
Posts: 388

Re: Kernel-ck and bumblebee

Use dkms-nvidia with custom kernels.

Offline

#3 2013-01-07 16:48:27

leonidas
Member
From: Greece
Registered: 2012-08-31
Posts: 49
Website

Re: Kernel-ck and bumblebee

Is that suitable for my kernel (3.7.1-3-ck)?
The description says:

NVIDIA dynamic kernel module (DKMS) drivers for kernel26.

The description says:

Offline

#4 2013-01-07 17:04:37

Lynden
Member
Registered: 2011-11-10
Posts: 23

Re: Kernel-ck and bumblebee

For linux-ck & bumblebee you'll want
nvidia-ck-bumblebee    (the kernel module)
nvidia-utils-bumblebee     (the libraries & utils)

and if you're on x64/64bit like me then you'll also want the 32bit libraries most likely. (wine needs the 32bit ones)
lib32-nvidia-utils-bumblebee

Recommended as well is
primus-git    as an alternative to optirun
and lib32-primus-git if you're on 64bit

Offline

#5 2013-01-07 17:14:51

leonidas
Member
From: Greece
Registered: 2012-08-31
Posts: 49
Website

Re: Kernel-ck and bumblebee

Thank you!
Now I have the following error:

=> Install or build missing dependencies for nvidia-ck-bumblebee:
error: target not found: linux-ck-headers<3.8

When I compile my kernel, it was build the file:linux-ck-headers-3.7.1-3-x86_64.pkg.tar.xz
Should I install it with pacman -U?
I just run only:

#pacman -U linux-ck-3.7.1-3-x86_64.pkg.tar.xz

Offline

#6 2013-01-07 17:20:56

Lynden
Member
Registered: 2011-11-10
Posts: 23

Re: Kernel-ck and bumblebee

Yes, you need both linux-ck & linux-ck-headers installed.

The headers are used to build external modules, in this case: nvidia.

Offline

Board footer

Powered by FluxBB