Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 228661 - nvidia-drivers ebuild selects wrong driver with 177.13
Summary: nvidia-drivers ebuild selects wrong driver with 177.13
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-21 02:42 UTC by Kevin Bowling
Modified: 2008-07-17 12:21 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 Kevin Bowling 2008-06-21 02:42:47 UTC
x11-drivers/nvidia-drivers-177.13 and up are now obsolete the Nvidia QuadroFX 1100 card I have in my workstation (boo :-/).  AFAIK the ebuild is supposed to have logic to select the correct drivers depending on the card GPU generation.  Therefore, the logic has been broken with the new version bump.

x11-drivers/nvidia-drivers-173.14.09 works fine.

Reproducible: Always

Steps to Reproduce:
1. emerge nvidia-drivers
2.
3.

Actual Results:  
wrong version pulled in

Expected Results:  
correct driver generation selected (x11-drivers/nvidia-drivers-173.14.09)
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2008-06-21 13:25:31 UTC
Please be more specific about the cards that got obsoleted, their PCI IDs and the message/mask you would expect.
Comment 2 Kevin Bowling 2008-06-22 06:59:49 UTC
http://www.nvnews.net/vbulletin/showthread.php?t=114955

"Please note: This NVIDIA Linux graphics driver release supports GeForce 6 series and newer NVIDIA GPUs. GeForce FX GPUs are supported through the 173.14.xx driver series, while GeForce4 and older GPUs are supported through the 96.43.xx and 71.86.xx NVIDIA legacy graphics drivers."

Where could we find a list of PCI IDs for pre GeForce 6 series?  Anything here that isn't covered by the even earlier cut off should use less than 177.

Here's a start:

09:00.0 VGA compatible controller: nVidia Corporation NV36GL [Quadro FX 1100] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: nVidia Corporation Device 01da

09:00.0 0300: 10de:034e (rev a1) (prog-if 00 [VGA controller])
        Subsystem: 10de:01da
Comment 3 Tony Vroon (RETIRED) gentoo-dev 2008-06-23 13:00:20 UTC
Thank you for your bug report :)
I have updated the eclass, and you should now get the warning you expect:
<CIA-30> chainsaw * gentoo-x86/eclass/nvidia-driver.eclass: Add 173 level masking for GeForce FX series cards, being discontinued in 177.
Comment 4 Kevin Bowling 2008-06-26 05:22:00 UTC
I haven't seen an update cross the wire yet and emerge is still trying to pull 177.13.  Did this get committed to the vcs?
Comment 5 Tony Vroon (RETIRED) gentoo-dev 2008-06-26 09:04:33 UTC
(In reply to comment #4)
> I haven't seen an update cross the wire yet and emerge is still trying to pull
> 177.13.  Did this get committed to the vcs?

3 days ago. Try to emerge it, observe the warning, follow the instructions.
Comment 6 Kevin Bowling 2008-06-27 06:03:09 UTC
I noticed that you used capital letters for the PCI IDs, while the command returns lower case.

Corrected:
drv_173x="00fa 00fb 00fc 00fd 00fe 0301 0302 0308 0309 0311 0312 0314 031a \
031b 031c 0320 0321 0322 0323 0324 0325 0326 0327 0328 032a 032b 032c 032d \
0330 0331 0332 0333 0334 0338 033f 0341 0342 0343 0344 0347 0348 034c 034e"

Using this, I get the correct behaviour (warning message if it is in package.unmask).
Comment 7 Tony Vroon (RETIRED) gentoo-dev 2008-07-17 12:21:52 UTC
Good point. Sorry for not getting to this sooner. Now fixed in CVS, will be on an rsync mirror near you within two hours.