Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193041 - nvidia-drivers and xorg-server-1.4-r1 for legacy nvidia-drivers
Summary: nvidia-drivers and xorg-server-1.4-r1 for legacy nvidia-drivers
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-19 10:14 UTC by Neil
Modified: 2009-03-11 04:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Neil 2007-09-19 10:14:15 UTC
ChangeLog for xorg-base/xorg-server states....

  19 Sep 2007; Donnie Berkholz <dberkholz@gentoo.org>;
  xorg-server-1.4-r1.ebuild:
  Restore Nvidia binary driver support with today's release.

However, the ebuild requires  >=x11-drivers/nvidia-drivers-100.14.19 (see line 268 of x11-base/xorg-server/xorg-server-1.4-r1.ebuild).

I (and no doubt others) have an older nvidia card and am using the legacy drivers (nvidia-drivers-71xx and nvidia-drivers-96xx, personally I'm on the later).  These however haven't been updated as recently as the 100.xx.xx series of drivers and therefore don't support xorg-server.

A thread on the nvidia linux forums suggests they'll be out soon (see http://www.nvnews.net/vbulletin/showthread.php?s=a20fbc3f11e2766144fb3cf155e0ae70&t=98645), and I know that xorg-server-1.4-r1 is ~x86 (i.e. testing) but perhaps the block on nvidia-drivers should be reinstated until there is are drivers across the board that work?

Reproducible: Always




01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 440 AGP 8x] (rev a2) (prog-if 00 [VGA])
        Subsystem: Micro-Star International Co., Ltd. Unknown device 8910
        Flags: bus master, 66MHz, medium devsel, latency 248, IRQ 19
        Memory at de000000 (32-bit, non-prefetchable) [size=16M]
        Memory at d0000000 (32-bit, prefetchable) [size=128M]
        [virtual] Expansion ROM at dfee0000 [disabled] [size=128K]
        Capabilities: [60] Power Management version 2
        Capabilities: [44] AGP version 3.0
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2007-09-19 15:30:45 UTC
No. It's up to you to properly configure your system. The nvidia-drivers ebuild specifically states that if you have a card that requires legacy drivers you *MUST* add the appropriate mask to your /etc/portage/package.mask. If you had done that then you would still receive the proper block and everything would work as expected.

We're not going to disable functionality that works just fine just because people with older cards can't have the same functionality yet.
Comment 2 Neil 2007-09-19 15:43:02 UTC
(In reply to comment #1)
> No. It's up to you to properly configure your system. The nvidia-drivers ebuild
> specifically states that if you have a card that requires legacy drivers you
> *MUST* add the appropriate mask to your /etc/portage/package.mask. If you had
> done that then you would still receive the proper block and everything would
> work as expected.

I'm aware of that and had the appropriate mask in place, but I read the ChangeLog for xorg-server and it indicated....

  19 Sep 2007; Donnie Berkholz <dberkholz@gentoo.org>;
  xorg-server-1.4-r1.ebuild:
  Restore Nvidia binary driver support with today's release.

so unmasked xorg-server-1.4-r1 only to find things weren't quite as I'd expected as the Nvidia binary driver support for xorg-server-1.4-r1 is only for the current and not legacy drivers.

> We're not going to disable functionality that works just fine just because
> people with older cards can't have the same functionality yet.

Fair enough, I just thought that since the legacy drivers aren't masked in anyway that functionality is being broken, so a block would have been approriate.

Would it make things easier if there are multiple slots for the nvidia-drivers given the legacy drivers?  I realise that slots are designed for major version's to co-exist (which is highly unlikely to ever be the case for nvidia-drivers), but is there any other way of dealing with this?

(Apologies for reopening this bug, no idea if this would get read otherwise, feel free to invalidate it again).

Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-09-20 09:52:24 UTC
Complain to nVidia.


*** This bug has been marked as a duplicate of bug 190759 ***
Comment 4 Neil 2007-09-20 12:59:33 UTC
(In reply to comment #3)
> Complain to nVidia.
> 
> 
> *** This bug has been marked as a duplicate of bug 190759 ***
> 

Is it?  The above bug is about using the wrong driver.

This is about a problem between certain versions of nvidia-drivers and xorg-server-1.4.r1 being incompatable.

I'd suggest that the ChangeLog for xorg-server should really read something like ...

19 Sep 2007; Donnie Berkholz <dberkholz@gentoo.org>;
  xorg-server-1.4-r1.ebuild:
  Restore >=x11-drivers/nvidia-drivers-100.14.19 support with today's release.

How to deal with this in the ebuild I'm not sure?  I've still a lot to learn about writing ebuilds.  Would my above suggestion of using slots work in this situation? (I suspect not, but how would one deal with this, without having a separate ebuild for legacy drivers?)

Apologies again for reopening this bug, but I felt it was a) inaccurate to mark it as a duplicate as bug 190759 is about failure to mask properly by a user, not about how to resolve incompatabilities between software versions; b) there's no need to complain to nvidia as I originally indicated that a revision of the legacy drivers are in the pipleline; c) I feel that the xorg-server-1.4-r1 ebuild wasn't fully tested given that the legacy drivers aren't marked ~x86 or masked.

Again apologies for reopening, but I felt the "Complain to nvidia" and "duplicate thread" was off-handed and inaccurate, and I'd be keen to _learn_ if there is a way of overcoming this problem (viz. slots or something else?).
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2007-09-20 14:03:03 UTC
What exactly do you want?

Do you want me to pull a driver out of my hat since NVIDIA hasn't made one?

You keep ranting about depends. The depends are 100% proper. Only 100.14.19 and higher will work with xorg-server 1.4, sooooo that's what the depend is. So what exactly do you want?

When you express yourself clearly, with a work flow of how you want things to work. THEN open the bug. Until then, none of this has made any sense.

p.s. If you're argument is going to involve SLOTs then you don't understand how those work. Straight away I can tell you, no solution to nvidia-drivers will involve SLOTs.
Comment 6 Neil 2007-09-20 15:01:08 UTC
(In reply to comment #5)
> What exactly do you want?
> 
> Do you want me to pull a driver out of my hat since NVIDIA hasn't made one?
> 

No not at all, there's no implication and I never suggested it, I even linked to details that a revised driver is due soon.

> You keep ranting about depends. The depends are 100% proper. Only 100.14.19 and
> higher will work with xorg-server 1.4, sooooo that's what the depend is. So
> what exactly do you want?
> 
> When you express yourself clearly, with a work flow of how you want things to
> work. THEN open the bug. Until then, none of this has made any sense.
>
> p.s. If you're argument is going to involve SLOTs then you don't understand how
> those work. Straight away I can tell you, no solution to nvidia-drivers will
> involve SLOTs.

I don't see this as an argument and I did indicate that I wasn't 100% sure that slots were the way forward, so thank you for confirming that.

I did however feel that Jakub Moc was off-hand and wrong to say that this is a duplicate bug flag (there isn't even any mention of xorg-server in the other bug!) as I do understand how to mask packages and had done.

Clarity of expression and indeed thinking on any (complex) subject comes with experience.  I've read the http://devmanual.gentoo.org/ many times, but still find it hard to follow in places (for the reasons given at the top of the front page) so my understanding and thinking on how one might proceed with resolving problems with ebuilds isn't as clear as yourself and others who have obviously had far more experience and a more in-depth understanding than the resources available to me permit.

I've had a little think about it and perhaps this would clarify what I was thinking (please excuse the conversion to algebra)....

* Two packages A (nvidia-drivers) and B (xorg-server) with different versions A1, A2, A3, A4 and B1, B2, B3 and B4 respectively.

* B4 requires >=A4 or above.

* A user has a masked >A3

Current situation on emerge -uDN world
--------------------------------------

* Emerge fails as the mask on >A3 blocks B4

Possible solution?
------------------

* Portage looks at user masks, realises that B4 dependency of >=A4 is not met and doesn't attempt to upgrade B4 as the user clearly understands what they are doing as they have purposefully placed the mask on >A3.


Possible problems?
------------------

* I do understand that modular xorg is rather large and this may result in a cascade of problems, but if I remember correctly (currently home comp is turned off so I can't check) the only xorg package I masked whilst waiting for A4 (i.e. nvidia-drivers to be updated) was B4 (i.e. xorg-server-1.4) and left emerge -uDN world to update everything else.  This was probably the 'wrong' way of doing it and I was lucky that things didn't break drastically, so maybe portage would have to look at the meta-build from which xorg-server is derived (xorg-x11?) and decide that because the user has knowingly masked packages that things shouldn't be updated, rather than simply blocking?

* Some other subtlety that I'm not familiar with?

Don't know if thats any clearer, but it seems logical to me.

Apologies for wasting yours and others time, I shall content myself with waiting for the release of the updated legacy drivers (and start saving for new hardware ;-)
Comment 7 Neil 2007-09-20 15:08:13 UTC
(In reply to comment #6)
> Possible problems?
> ------------------
> 
> * I do understand that modular xorg is rather large and this may result in a
> cascade of problems, but if I remember correctly (currently home comp is turned
> off so I can't check) the only xorg package I masked whilst waiting for A4
> (i.e. nvidia-drivers to be updated) was B4 (i.e. xorg-server-1.4) and left
> emerge -uDN world to update everything else.  This was probably the 'wrong' way
> of doing it and I was lucky that things didn't break drastically, so maybe
> portage would have to look at the meta-build from which xorg-server is derived
> (xorg-x11?) and decide that because the user has knowingly masked packages that
> things shouldn't be updated, rather than simply blocking?

The above should read "the only xorg package I masked whilst waiting for A3" sorry for the typo.
Comment 8 Doug Goldstein (RETIRED) gentoo-dev 2007-09-20 15:56:16 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > You keep ranting about depends. The depends are 100% proper. Only 100.14.19 and
> > higher will work with xorg-server 1.4, sooooo that's what the depend is. So
> > what exactly do you want?
> > 
> > When you express yourself clearly, with a work flow of how you want things to
> > work. THEN open the bug. Until then, none of this has made any sense.
> >
> > p.s. If you're argument is going to involve SLOTs then you don't understand how
> > those work. Straight away I can tell you, no solution to nvidia-drivers will
> > involve SLOTs.
> 
> I don't see this as an argument and I did indicate that I wasn't 100% sure that
> slots were the way forward, so thank you for confirming that.
> 
> I did however feel that Jakub Moc was off-hand and wrong to say that this is a
> duplicate bug flag (there isn't even any mention of xorg-server in the other
> bug!) as I do understand how to mask packages and had done.

You're chief complaint is that the depend is on 100.14.19 but that doesn't provide a work around for all graphics cards, specifically ones supported only by legacy drivers. The same complaint was made by the person that submitted #190759. Seemed reasonable to mark it as a dup.

> 
> Clarity of expression and indeed thinking on any (complex) subject comes with
> experience.  I've read the http://devmanual.gentoo.org/ many times, but still
> find it hard to follow in places (for the reasons given at the top of the front
> page) so my understanding and thinking on how one might proceed with resolving
> problems with ebuilds isn't as clear as yourself and others who have obviously
> had far more experience and a more in-depth understanding than the resources
> available to me permit.
> 
> I've had a little think about it and perhaps this would clarify what I was
> thinking (please excuse the conversion to algebra)....
> 
> * Two packages A (nvidia-drivers) and B (xorg-server) with different versions
> A1, A2, A3, A4 and B1, B2, B3 and B4 respectively.
> 
> * B4 requires >=A4 or above.
> 
> * A user has a masked >A3
> 
> Current situation on emerge -uDN world
> --------------------------------------
> 
> * Emerge fails as the mask on >A3 blocks B4
> 
> Possible solution?
> ------------------
> 
> * Portage looks at user masks, realises that B4 dependency of >=A4 is not met
> and doesn't attempt to upgrade B4 as the user clearly understands what they are
> doing as they have purposefully placed the mask on >A3.

So you're seeking a Portage change now? Yet previously you talked about a ChangeLog change or a depends change. If you want a Portage change, submit it to the Portage guys. The way Portage currently works it tries to upgrade to the highest version of everything, if it can't because of a mask. It gives a block error. There are several bugs complaining about this in other ebuilds, I recommend you do some searching and take a look. Add your comments on to those.

> 
> 
> Possible problems?
> ------------------
> 
> * I do understand that modular xorg is rather large and this may result in a
> cascade of problems, but if I remember correctly (currently home comp is turned
> off so I can't check) the only xorg package I masked whilst waiting for A4
> (i.e. nvidia-drivers to be updated) was B4 (i.e. xorg-server-1.4) and left
> emerge -uDN world to update everything else.  This was probably the 'wrong' way
> of doing it and I was lucky that things didn't break drastically, so maybe
> portage would have to look at the meta-build from which xorg-server is derived
> (xorg-x11?) and decide that because the user has knowingly masked packages that
> things shouldn't be updated, rather than simply blocking?

Again, these are Portage changes that is still being requested of the nvidia-drivers maintainer.

> 
> * Some other subtlety that I'm not familiar with?
> 
> Don't know if thats any clearer, but it seems logical to me.
> 
> Apologies for wasting yours and others time, I shall content myself with
> waiting for the release of the updated legacy drivers (and start saving for new
> hardware ;-)
> 

Comment 9 Neil 2007-09-20 16:36:42 UTC
Sincere apologies for the lack of clarity in my original posts and therefore inappropriate wrangling of my problem.  I didn't realise that the problem was so deep-rooted in the behaviour of portage.

I shall be more judicious in the reporting of "bugs" in the future.

Regards

slack
Comment 10 Doug Goldstein (RETIRED) gentoo-dev 2007-09-20 16:44:44 UTC
eh. don't apologize. sorry for abrasive nature of my replies. feel free to post bugs whenever you see there is something that's an issue, just explain your expected behavior clearer.
Comment 11 wayne 2009-03-11 04:31:47 UTC
so basically we must buy new hardware. :) more and more packages will break because of this as time goes on.