You are not logged in.

#1 2010-02-17 12:17:50

euLinux
Member
From: Italy
Registered: 2009-07-17
Posts: 18

[SOLVED] Two kernels, two nvidia-utils?!

Hi, all!
i think i didn't find any solution to this issue with nvidia-utils elsewhere...

consider this situation: i have two kernels installed, kernel26 and a kernel26-custom, both are 2.6.31.
nvidia-190.42 and nvidia-custom-190.42 are correctly installed, so both kernels have their own nvidia modules... nvidia and nvidia-custom depend on the same version of nvidia-utils (190.42).
then, kernel26 could be upgraded to version 2.6.32; but it requires new version of nvidia pkg (190.53) and this last, in turn, requires nvidia-utils-190-53, relative new version...
simply, i cannot upgrade kernel26, nvidia, nvidia-utils without upgrading kernel26-custom and nvidia-custom too, because otherwise nvidia-custom-190-42 will still require nvidia-utils past version (190.42), conflicting with new one...
so, i suppose, i cannot have two kernels of different version with their own nvidia module installed on the same system, isn't it?

i hope this post doesn't duplicate another one (already solved)... and obviously that someone of you could help me...
thanks in advace big_smile!

Last edited by euLinux (2010-02-17 15:50:36)

Offline

#2 2010-02-17 12:56:27

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,924
Website

Re: [SOLVED] Two kernels, two nvidia-utils?!

offtopic can you please briefly explain, how you have the two nvidia drivers parallel on the system?


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#3 2010-02-17 13:24:44

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: [SOLVED] Two kernels, two nvidia-utils?!

you, can but not with Arch nvidia:
$sudo locate nvidia.ko
/lib/modules/2.6.32-zen6-PASSACAILLE/kernel/drivers/video/nvidia.ko
/lib/modules/2.6.32-zen7-PASSACAILLE/kernel/drivers/video/nvidia.ko
/lib/modules/2.6.32.8-SARABANDE/kernel/drivers/video/nvidia.ko
/lib/modules/2.6.32.8-grsec-GIGUE/kernel/drivers/video/nvidia.ko

So I can boot to any kernel and get stright to GUI without re-installation each time. Is that what you mean?

You can have only one nvidia version installed at a time. I prefer nvidia binary because:
1) I can install video driver for all kernels
2) no version limitation (which seems qute bizarre if true)

Last edited by broch (2010-02-17 13:29:43)

Offline

#4 2010-02-17 13:59:49

euLinux
Member
From: Italy
Registered: 2009-07-17
Posts: 18

Re: [SOLVED] Two kernels, two nvidia-utils?!

@SanskritFritz
following procedure illustrated in the http://wiki.archlinux.org/index.php/Nvi … tom_kernel, you can modify nvidia.install and PKGBUILD files in nvidia package, accordingly to your custom kernel name...
wink

Offline

#5 2010-02-17 14:08:38

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: [SOLVED] Two kernels, two nvidia-utils?!

nope, nvidia installer will check for existing nvidia modules installed (irrelevant of kernel names and number of kernels), so even if you change kernel name in PKGBUILD, installer will uninstall any previous nvidia module installed.

The method you refer to will simply install single kernel module for custom kernel but (in the case that previously installed nvidia module exists) will uninstall driver from any other kernel. So this is not how it works (unless nvidia modified installer)

Offline

#6 2010-02-17 14:41:45

euLinux
Member
From: Italy
Registered: 2009-07-17
Posts: 18

Re: [SOLVED] Two kernels, two nvidia-utils?!

broch wrote:

You can have only one nvidia version installed at a time. I prefer nvidia binary because:
1) I can install video driver for all kernels
2) no version limitation (which seems qute bizarre if true)

sorry, does this mean that, using nvidia binary, i can install same version of nvidia module for both kernel, 2.6.31 and 2.6.32? hmm

Last edited by euLinux (2010-02-17 15:19:19)

Offline

#7 2010-02-17 15:16:45

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: [SOLVED] Two kernels, two nvidia-utils?!

euLinux wrote:
broch wrote:

You can have only one nvidia version installed at a time. I prefer nvidia binary because:
1) I can install video driver for all kernels
2) no version limitation (which seems qute bizarre if true)

sorry, does this mean that, using nvidia binary, i can install same version of nvidia module for both kernel, 2.6.31 and 2.6.32? hmm

of course, check out my first post (#3):
four kernels each with (working) nvidia driver installed, so when I boot specific kernel, I ame getting stright to 3D accelerated GUI

Offline

#8 2010-02-17 15:20:55

euLinux
Member
From: Italy
Registered: 2009-07-17
Posts: 18

Re: [SOLVED] Two kernels, two nvidia-utils?!

ops... ok once you write you cannot erase your post, obvious... please ignore this...

Last edited by euLinux (2010-02-17 15:26:49)

Offline

#9 2010-02-17 15:23:53

euLinux
Member
From: Italy
Registered: 2009-07-17
Posts: 18

Re: [SOLVED] Two kernels, two nvidia-utils?!

broch wrote:

of course, check out my first post (#3):
four kernels each with (working) nvidia driver installed, so when I boot specific kernel, I ame getting stright to 3D accelerated GUI

i asked it to be sure, because i saw in your previous post you installed four kernels of the same version (2.6.32)...

so i may ignore nvidia-utils and uninstall it, isn't it?

Last edited by euLinux (2010-02-17 15:24:12)

Offline

#10 2010-02-17 15:43:28

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: [SOLVED] Two kernels, two nvidia-utils?!

actually, you will need to use binary drivers from nvidia, not Arch package:
1) nvidia binary includes tools
2) nvidia binary (in contrast to Arch package) allows multi-kernel installation


You will have to use switch for offline kernel to install nvidia driver for several kernels. Stright installation will do exactly what Arch package does: first uninstall any previous nvidia driver, then install nvidia driver for single kernel.

so you need to use -K switch and specify kernel name.

i asked it to be sure, because i saw in your previous post you installed four kernels of the same version (2.6.32)...

this does really matter. I had 2.6.31 and 2.6.32 and 2.6.33-rc at the same time and all with nvidia driver installed.

Last edited by broch (2010-02-17 15:49:01)

Offline

#11 2010-02-17 15:48:56

euLinux
Member
From: Italy
Registered: 2009-07-17
Posts: 18

Re: [SOLVED] Two kernels, two nvidia-utils?!

broch wrote:

actually, you will need to use binary drivers from nvidia, not Arch package:
1) nvidia binary includes tools
2) nvidia binary (in contrast to Arch package) allows multi-kernel installation


You will have to use switch for offline kernel to install nvidia driver for several kernels. Stright installation will do exactly what Arch package does: first uninstall any previous nvidia driver, then install nvidia driver for single kernel.

so you need to use -K switch and specify kernel name.

great, broch! thank you so much!

Offline

#12 2010-02-17 15:50:34

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: [SOLVED] Two kernels, two nvidia-utils?!

one warning:
you have to use either arch nvidia package or nvidia binary.
You cannot absolutely mix both

Offline

Board footer

Powered by FluxBB