public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Nvidia-driver installation problems...
@ 2020-04-10  9:25 tuxic
  2020-04-10  9:29 ` Neil Bothwick
  0 siblings, 1 reply; 7+ messages in thread
From: tuxic @ 2020-04-10  9:25 UTC (permalink / raw
  To: Gentoo

Hi,

I am using kernel 5.15 / 6.3 vanilla.
When using nvidia-drivers via Gentoo I can start X11 and such.
Blender does not find the GPU though.

If I remove nvidia-drivers and install the drivers of the same
version as provided by nvidia itsself, everything works find.

To examine this a little further I have put nividia-drivers
into /etc/portage/profile/package.provided:

    >=x11-drivers/nvidia-drivers-340.108

which will silently be ignored and nvidia-drivers will
be emerged...which will lead to a whole lotta mess.

How can I stop emerge from emergeing nvidia-drivers
without masking (which leads to a bunch of new
problems) other than pressing CTRL-C each time? ;)

Cheers!
Stay healthy!
Meino







^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Nvidia-driver installation problems...
  2020-04-10  9:25 [gentoo-user] Nvidia-driver installation problems tuxic
@ 2020-04-10  9:29 ` Neil Bothwick
  2020-04-10  9:40   ` tuxic
  0 siblings, 1 reply; 7+ messages in thread
From: Neil Bothwick @ 2020-04-10  9:29 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 770 bytes --]

On Fri, 10 Apr 2020 11:25:16 +0200, tuxic@posteo.de wrote:

> If I remove nvidia-drivers and install the drivers of the same
> version as provided by nvidia itsself, everything works find.
> 
> To examine this a little further I have put nividia-drivers
> into /etc/portage/profile/package.provided:
> 
>     >=x11-drivers/nvidia-drivers-340.108  
> 
> which will silently be ignored and nvidia-drivers will
> be emerged...which will lead to a whole lotta mess.

package.provided requires a specific version, try 

x11-drivers/nvidia-drivers-340.108

If you want to stop portage trying to replace this with a later version,
add ">x11-drivers/nvidia-drivers-340.108", note > not >=, to package.mask.


-- 
Neil Bothwick

.sig a .sog of sixpence.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Nvidia-driver installation problems...
  2020-04-10  9:29 ` Neil Bothwick
@ 2020-04-10  9:40   ` tuxic
  2020-04-10 10:11     ` Neil Bothwick
  0 siblings, 1 reply; 7+ messages in thread
From: tuxic @ 2020-04-10  9:40 UTC (permalink / raw
  To: gentoo-user

On 04/10 10:29, Neil Bothwick wrote:
> On Fri, 10 Apr 2020 11:25:16 +0200, tuxic@posteo.de wrote:
> 
> > If I remove nvidia-drivers and install the drivers of the same
> > version as provided by nvidia itsself, everything works find.
> > 
> > To examine this a little further I have put nividia-drivers
> > into /etc/portage/profile/package.provided:
> > 
> >     >=x11-drivers/nvidia-drivers-340.108  
> > 
> > which will silently be ignored and nvidia-drivers will
> > be emerged...which will lead to a whole lotta mess.
> 
> package.provided requires a specific version, try 
> 
> x11-drivers/nvidia-drivers-340.108
> 
> If you want to stop portage trying to replace this with a later version,
> add ">x11-drivers/nvidia-drivers-340.108", note > not >=, to package.mask.
> 
> 
> -- 
> Neil Bothwick
> 
> .sig a .sog of sixpence.

/etc/portage/profile/package.provided is still being ignored.

Current content:
>x11-drivers/nvidia-drivers-340.108

Emerge starts to install the newest driver available.

--
Meino Cramer




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Nvidia-driver installation problems...
  2020-04-10  9:40   ` tuxic
@ 2020-04-10 10:11     ` Neil Bothwick
  2020-04-10 10:21       ` tuxic
  0 siblings, 1 reply; 7+ messages in thread
From: Neil Bothwick @ 2020-04-10 10:11 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 845 bytes --]

On Fri, 10 Apr 2020 11:40:59 +0200, tuxic@posteo.de wrote:

> > package.provided requires a specific version, try 
> > 
> > x11-drivers/nvidia-drivers-340.108
> > 
> > If you want to stop portage trying to replace this with a later
> > version, add ">x11-drivers/nvidia-drivers-340.108", note > not >=, to
> > package.mask.
> > 
> > 
> > -- 
> > Neil Bothwick
> > 
> > .sig a .sog of sixpence.  
> 
> /etc/portage/profile/package.provided is still being ignored.
> 
> Current content:
> >x11-drivers/nvidia-drivers-340.108  
> 
> Emerge starts to install the newest driver available.

Because package.provided still doesn't contain a single version. Remove
the >.


-- 
Neil Bothwick

There are only two tragedies in life: one is not getting what one wants;
and the other is getting it. - Oscar Wilde (1854-1900)

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Nvidia-driver installation problems...
  2020-04-10 10:11     ` Neil Bothwick
@ 2020-04-10 10:21       ` tuxic
  2020-04-10 11:48         ` Neil Bothwick
  0 siblings, 1 reply; 7+ messages in thread
From: tuxic @ 2020-04-10 10:21 UTC (permalink / raw
  To: gentoo-user

On 04/10 11:11, Neil Bothwick wrote:
> On Fri, 10 Apr 2020 11:40:59 +0200, tuxic@posteo.de wrote:
> 
> > > package.provided requires a specific version, try 
> > > 
> > > x11-drivers/nvidia-drivers-340.108
> > > 
> > > If you want to stop portage trying to replace this with a later
> > > version, add ">x11-drivers/nvidia-drivers-340.108", note > not >=, to
> > > package.mask.
> > > 
> > > 
> > > -- 
> > > Neil Bothwick
> > > 
> > > .sig a .sog of sixpence.  
> > 
> > /etc/portage/profile/package.provided is still being ignored.
> > 
> > Current content:
> > >x11-drivers/nvidia-drivers-340.108  
> > 
> > Emerge starts to install the newest driver available.
> 
> Because package.provided still doesn't contain a single version. Remove
> the >.
> 
> 
> -- 
> Neil Bothwick
> 
> There are only two tragedies in life: one is not getting what one wants;
> and the other is getting it. - Oscar Wilde (1854-1900)

That leads to another problem:
It will not detect newer version comping into portage...
I need to include any single version available.
That's kinda painful...







^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Nvidia-driver installation problems...
  2020-04-10 10:21       ` tuxic
@ 2020-04-10 11:48         ` Neil Bothwick
  2020-04-10 12:23           ` tuxic
  0 siblings, 1 reply; 7+ messages in thread
From: Neil Bothwick @ 2020-04-10 11:48 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1144 bytes --]

On Fri, 10 Apr 2020 12:21:46 +0200, tuxic@posteo.de wrote:

> On 04/10 11:11, Neil Bothwick wrote:
> > On Fri, 10 Apr 2020 11:40:59 +0200, tuxic@posteo.de wrote:
> >   
> > > > package.provided requires a specific version, try 
> > > > 
> > > > x11-drivers/nvidia-drivers-340.108
> > > > 
> > > > If you want to stop portage trying to replace this with a later
> > > > version, add ">x11-drivers/nvidia-drivers-340.108", note > not
> > > > >=, to package.mask.
> > > 
> > > /etc/portage/profile/package.provided is still being ignored.
> > > 
> > > Current content:  
> > > >x11-drivers/nvidia-drivers-340.108    
> > > 
> > > Emerge starts to install the newest driver available.  
> > 
> > Because package.provided still doesn't contain a single version.
> > Remove the >.
> 
> That leads to another problem:
> It will not detect newer version comping into portage...
> I need to include any single version available.
> That's kinda painful...

That's the burden you take on by managing the package yourself. You have
to watch for new versions yourself.


-- 
Neil Bothwick

All generalizations are false.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Nvidia-driver installation problems...
  2020-04-10 11:48         ` Neil Bothwick
@ 2020-04-10 12:23           ` tuxic
  0 siblings, 0 replies; 7+ messages in thread
From: tuxic @ 2020-04-10 12:23 UTC (permalink / raw
  To: gentoo-user

On 04/10 12:48, Neil Bothwick wrote:
> On Fri, 10 Apr 2020 12:21:46 +0200, tuxic@posteo.de wrote:
> 
> > On 04/10 11:11, Neil Bothwick wrote:
> > > On Fri, 10 Apr 2020 11:40:59 +0200, tuxic@posteo.de wrote:
> > >   
> > > > > package.provided requires a specific version, try 
> > > > > 
> > > > > x11-drivers/nvidia-drivers-340.108
> > > > > 
> > > > > If you want to stop portage trying to replace this with a later
> > > > > version, add ">x11-drivers/nvidia-drivers-340.108", note > not
> > > > > >=, to package.mask.
> > > > 
> > > > /etc/portage/profile/package.provided is still being ignored.
> > > > 
> > > > Current content:  
> > > > >x11-drivers/nvidia-drivers-340.108    
> > > > 
> > > > Emerge starts to install the newest driver available.  
> > > 
> > > Because package.provided still doesn't contain a single version.
> > > Remove the >.
> > 
> > That leads to another problem:
> > It will not detect newer version comping into portage...
> > I need to include any single version available.
> > That's kinda painful...
> 
> That's the burden you take on by managing the package yourself. You have
> to watch for new versions yourself.
> 
> 
> -- 
> Neil Bothwick
> 
> All generalizations are false.

...I do it, because I try to track down an issue,
how Gentoo installs that very package in a way, 
in which Blender no longer recognize the GPU.
Additional see the problem concerning Optix a view
days ago with the same package...




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-04-10 12:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-10  9:25 [gentoo-user] Nvidia-driver installation problems tuxic
2020-04-10  9:29 ` Neil Bothwick
2020-04-10  9:40   ` tuxic
2020-04-10 10:11     ` Neil Bothwick
2020-04-10 10:21       ` tuxic
2020-04-10 11:48         ` Neil Bothwick
2020-04-10 12:23           ` tuxic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox