nvidia-drivers & gentoo-sources, a question

Anything that pertains to Portage

Moderator: Moderators

nvidia-drivers & gentoo-sources, a question

Postby koch » Thu Oct 25, 2007 15:49

Code: Select all
localhost ~ # emerge -av nvidia-drivers

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] sys-kernel/gentoo-sources-2.6.23  USE="symlink -build" 44,482 kB
[ebuild     UD] x11-drivers/nvidia-drivers-100.14.19 [100.14.19-r10] USE="acpi%* -gtk (-multilib) (-distribution%*)" 0 kB

Total: 2 packages (1 downgrade, 1 new), Size of downloads: 44,482 kB


this is what i get...

3.4 x86-64 mini

i wonder why it wants to downgrade my nvivia-driver.

oh, i don't know if it matters but i did not update xorg, xorg-server, python or any other stuff that can cause major problems to my system.
think i should wait untill i am more experienced with portage and sabayon.
just asked portage for the driver cause i read some stuff in irc and was interested.

1. is it save to emerge, no ideas about the kernel-sources? i know i have to deal with it some time.
2. as i said, why downgrade?

would be nice if someone could answer this noobish questions.
WINDOWS: Buy it, use it, break it, fix it, trash it, melt - upgrade it, charge it, pawn it, zoom it, press it, snap it, write it, get it, paste it, save it, load it, check it, plug it, play it, burn it, rip it, drag and drop it - stop. format it.
koch
Growing Hen
 
Posts: 195
Joined: Thu Jun 28, 2007 13:05

Re: nvidia-drivers & gentoo-sources, a question

Postby koch » Thu Oct 25, 2007 16:30

Code: Select all
localhost ~ # emerge -avu nvidia-drivers

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] sys-kernel/gentoo-sources-2.6.23  USE="symlink -build" 44,482 kB
[ebuild     U ] sys-apps/pciutils-2.2.7 [2.2.4-r3] USE="-network-cron -zlib" 225 kB
[ebuild     U ] sys-apps/module-init-tools-3.4 [3.2.2-r3] USE="-old-linux% (-no-old-linux%)" 195 kB
[ebuild     U ] media-libs/mesa-7.0.1 [6.5.2-r1] USE="nptl -debug -doc -hardened -motif -xcb" VIDEO_CARDS="i810 mach64 mga r128 radeon s3virge savage sis tdfx trident via -none (-sunffb)" 3,266 kB
[ebuild     U ] sys-power/acpid-1.0.6-r1 [1.0.4-r4] USE="(-doc%) (-logrotate%)" 24 kB
[ebuild     UD] x11-drivers/nvidia-drivers-100.14.19 [100.14.19-r10] USE="acpi%* -gtk (-multilib) (-distribution%*)" 0 kB
[ebuild  N    ] x11-drivers/xf86-video-via-0.2.2  USE="dri -debug" 389 kB
[ebuild     U ] x11-base/xorg-server-1.3.0.0-r2 [1.3.0.0-r1] USE="dri nptl xorg xprint (-3dfx) -debug -dmx -ipv6* -kdrive -minimal -sdl*" INPUT_DEVICES="acecad aiptek calcomp citron digitaledge dmc dynapro elo2300 elographics evdev fpit hyperpen jamstudio joystick keyboard magellan microtouch mouse mutouch palmax penmount spaceorb summa synaptics tek4957 ur98 vmmouse void wacom" VIDEO_CARDS="apm ark chips cirrus cyrix dummy epson fbdev fglrx%* glint i128 i810 mach64 mga neomagic nv nvidia* r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo (-i740) (-impact) (-imstt) (-newport) (-nsc) (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx)" 9,047 kB
[blocks B     ] x11-drivers/xf86-video-via (is blocking x11-drivers/xf86-video-openchrome-9999)

Total: 8 packages (5 upgrades, 1 downgrade, 2 new, 1 block), Size of downloads: 57,624 kB


this is the next step, same question as above...
WINDOWS: Buy it, use it, break it, fix it, trash it, melt - upgrade it, charge it, pawn it, zoom it, press it, snap it, write it, get it, paste it, save it, load it, check it, plug it, play it, burn it, rip it, drag and drop it - stop. format it.
koch
Growing Hen
 
Posts: 195
Joined: Thu Jun 28, 2007 13:05

Re: nvidia-drivers & gentoo-sources, a question

Postby DontPanic » Thu Oct 25, 2007 19:56

koch wrote:
Code: Select all
...
[ebuild  N    ] sys-kernel/gentoo-sources-2.6.23  USE="symlink -build" 44,482 kB
[ebuild     UD] x11-drivers/nvidia-drivers-100.14.19 [100.14.19-r10] USE="acpi%* -gtk (-multilib) (-distribution%*)" 0 kB


1. is it save to emerge, no ideas about the kernel-sources? i know i have to deal with it some time.
2. as i said, why downgrade?


You probably don't want the gentoo sources. The nvidia driver likes to see the linux source installed because it will probably need to build a module for your kernel.

If you do an "eix nvidia-drivers", you will see (1) that nvidia-drivers-100.14.19 is from the gentoo portage tree, (2) that there is no nvidia-drivers-100.14.19-r10, (3) but that there is a nvidia-drivers-100.14.19-r11 that is from Sabayon's portage tree.

Probably, lxnay (or some other developer) deleted r10 from the portage tree in favor of an upgraded r11, but there is probably a mask in /etc/portage that is keeping the r11 version from being selected by default, so it is trying to downgrade to the gentoo version.

You probably want the Sabayon version, so you should adjust your portage masks to allow for that version to install.

Post back if you need help on the portage masks.
Gigabyte GA-P35-DS3L - Intel(R) Core(TM)2 Duo CPU E6750@ 2.66GHz
nVidia GeForce 7600 GS
2 GB RAM
DontPanic
Old Dear Hen
 
Posts: 742
Joined: Mon Jul 09, 2007 20:29
Location: Mobile, AL, USA

Re: nvidia-drivers & gentoo-sources, a question

Postby koch » Thu Oct 25, 2007 22:14

thanks for your answer.

i won't do an emerge but what would i have to edit in portage mask?
think i should add x11-drivers/nvidia-drivers-100.14.19 if i wanted to emerge the driver?

Code: Select all
echo "x11-drivers/nvidia-drivers" >> /etc/portage/package.mask


another question:
where is the difference in package.mask between >=package, =package and ~package.
that is one thing i wanted to ask google and gentoo-wiki, but perhaps could you... :oops:
WINDOWS: Buy it, use it, break it, fix it, trash it, melt - upgrade it, charge it, pawn it, zoom it, press it, snap it, write it, get it, paste it, save it, load it, check it, plug it, play it, burn it, rip it, drag and drop it - stop. format it.
koch
Growing Hen
 
Posts: 195
Joined: Thu Jun 28, 2007 13:05

Re: nvidia-drivers & gentoo-sources, a question

Postby DontPanic » Fri Oct 26, 2007 1:01

I guessing here, but I bet you already have a nvidia-drivers mask, and all you need to do is adjust it.

You'll probably need to use nano or some other editor, and look in /etc/portage/package.keywords for a line that looks like:
Code: Select all
<x11-drivers/nvidia-drivers-100.14.19-r11

...or...
Code: Select all
<=x11-drivers/nvidia-drivers-100.14.19-r10


You can then increase the allowed rev level in the mask to let portage use the desired version.

It is possible, though, that the package is masked through some combinations in package.mask and package.unmask. But I would start by looking in package.keywords.
Gigabyte GA-P35-DS3L - Intel(R) Core(TM)2 Duo CPU E6750@ 2.66GHz
nVidia GeForce 7600 GS
2 GB RAM
DontPanic
Old Dear Hen
 
Posts: 742
Joined: Mon Jul 09, 2007 20:29
Location: Mobile, AL, USA

Re: nvidia-drivers & gentoo-sources, a question

Postby koch » Fri Oct 26, 2007 1:24

i am on holidays next week, perfect for this and wolfdens how-to about config files. next days -> work from 11 to 11 :cry: but monday...

thanks :mrgreen:
WINDOWS: Buy it, use it, break it, fix it, trash it, melt - upgrade it, charge it, pawn it, zoom it, press it, snap it, write it, get it, paste it, save it, load it, check it, plug it, play it, burn it, rip it, drag and drop it - stop. format it.
koch
Growing Hen
 
Posts: 195
Joined: Thu Jun 28, 2007 13:05


Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 2 guests