On Sat, Apr 10, 2010 at 6:46 PM, auric <[email protected]> wrote:

>
> > Date: Fri, 9 Apr 2010 07:05:35 -0300
> > From: Paulo Cavalcanti <[email protected]>
> > To: john bray <[email protected]>
> > Cc: ATrpms development list <[email protected]>,        ATrpms
> user
> >       list <[email protected]>
> > Subject: Re: [ATrpms-users] Dropping multiple nvidia coinstalled
> >       drivers?        (was: New Nvidia official drivers)
> > Message-ID:
> >       <[email protected]>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > On Fri, Apr 9, 2010 at 4:39 AM, john bray <[email protected]> wrote:
> >
> > > On Mon, 2010-04-05 at 22:34 +0300, Axel Thimm wrote:
> > > > On Mon, Apr 05, 2010 at 09:24:43PM +1000, auric wrote:
> > > > > Means the current method of having multiple nvidia drivers
> installed
> > > and
> > > > > selecting between then via sym link won't work any longer.
> > > >
> > > > Hm, that's not nice. But OTOH the driver releases have been more
> > > > stable in the last years, and downgrading to a previous driver isn't
> > > > that difficult anymore either due to yum/smart/apt improvements in
> > > > this time.
> > > >
> > > > So maybe its time to drop the multiple drivers. (The concurrent
> > > > installs of them that is)
> > > >
> > > > Thoughts anyone?
> > >
> > > i always keep a kernel or two back.  and i've been keeping the nvidia
> > > driver version that matches the kmdl for that kernel.
> > >
> > > if the kernel changes at the same time as the nvidia driver, and we
> > > can't keep multiple versions, there's no way to go back a kernel.
> > >
> > > i find that pretty disconcerting.
> > >
> > > i wonder if nvidia graphics switch could be set to mv the unused nvidia
> > > driver tree/subtree out where it's not a problem?  and then swap them
> > > when one uses nvidia graphics switch to change to the/another version?
> > >
> >
> >
> > Hi, John
> >
> > I did not suffer this problem of loading the wrong kmdl in none of my
> > systems
> > yet (F10, F11 and F12). But even if it occurs, the only limitation is
> that
> > one can not keep more than one kmdl installed for the same kernel.
> >
> > Therefore, you can always uninstall the current kmdl and install a
> previous
> > one and reboot, as long you save the corresponding kmdl rpm. Of course,
> > at least one kmdl of each version must be on the system, so the libs are
> not
> > uninstalled. But if you have several kernels installed, this should not
> be a
> > problem
> > (I always keep 3 or 4 kernels).
> >
> > In my case, I also need the devel rpms, and they do not support multiple
> > versions, anyway. As a consequence, every time I upgrade the nvidia stuff
> I
> > have to remove and install some rpms manually. This problem has never
> > allowed me a to do a clean nvidia upgrade in all those years.
> >
> > --
> > Paulo Roma Cavalcanti
> > LCG - UFRJ
>
> Just to clarify on this issue
> The correct nvidia kmdl is being loaded.
> It is the nvidia xorg driver that has the potential for the incorrect
> version to be loaded if multiple nvidia-graphicsX.X.X rpm's are
> installed.
> This is probably due to a change to xorg. So if you don't have the
> latest xorg-x11 rpm's the issue may not occur.
>
>
I was affected by this problem too.
Nonetheless, I get a fix using your suggestions.
The fix is post in the devel list.

However, Axel thinks that previously installed versions should also be
automatically fixed. I would not like to do this in the rpm, but offering
a script that would delete the unneeded symbolic links and rename
the drv.so files in each directory found in

/usr/lib64/xorg/modules/drivers/nvidia-graphics*

Of course, the easiest solution is just removing the previous versions
so the new scheme would work from now on.

I would like to have other people's opinion for not spending time
in a script if nobody will use it anyway...

-- 
Paulo Roma Cavalcanti
LCG - UFRJ
_______________________________________________
atrpms-users mailing list
[email protected]
http://lists.atrpms.net/mailman/listinfo/atrpms-users

Reply via email to