Re: [ATrpms-users] Building nvidia 310 driver for Fedora 16 x86_64

Paulo Cavalcanti <[email protected]> Sun, 9 Dec 2012 10:26:49 -0200
Newsgroups gmane.linux.redhat.rpm.atrpms.devel
Message-ID <CAMgUmnkb8cR=kkk3Lu+jpPyes9-PKZ=H2Nc2E797zELxCMGNog@mail.gmail.com>
On Thu, Dec 6, 2012 at 2:38 PM, Brian Long <[email protected]> wrote:

> On Thu, Dec 6, 2012 at 10:18 AM, George Galt <[email protected]>wrote:
>
>> Paulo:
>>
>> Thanks.  I've installed it and it seems to be working (FYI, I'm still on
>> FC16 x86_64, for anyone who is wondering if it works on that distribution).
>>
>> On addressing the conflict, I'm not sure that same filtering will work,
>> but simply adding a rm -f {path}/nvidia-cuda-proxy to the pre-install macro
>> might work.  The only problem is that there is no recovery if the rest of
>> the install fails.  I suppose you could move it to a nividia-cuda-proxy.old
>> file and alert the user as a recoverable alternative, but that might create
>> other issues.  I'm just not experienced enough with building RPMs to know
>> which would be the best course.
>>
>> Thanks for all of your work on this driver.  Hopefully I can be of more
>> help in the future.
>>
>
> If this file is to be contained in each versioned set of RPMs, maybe it
> should be renamed and versioned as the kmdl is and have a symlink changed
> with nvidia-graphics-switch.
>


Well, I think the straightforward way using Axel's macros is just creating
a new package:

nvidia-graphics310.19-cuda-proxy-310.19-151.fc17.x86_64.rpm

with only tree files:

/usr/bin/nvidia-cuda-proxy-control
/usr/bin/nvidia-cuda-proxy-server
/usr/share/man/man1/nvidia-cuda-proxy-control-310.19.1.gz

This new package does not need to be installed in general, and for
upgrading it,
the "force" option should be used.

Please, note that in previous versions of the drivers, the devel package
was in the same situation, because it also cointained unversioned files:

nvidia-graphics304.64devel304.64-150.fc17.x86_64


/usr/lib64/libXvMCNVIDIA.a


/usr/lib64/libXvMCNVIDIA.so

.........

Fortunately, these files are gone in the 310 series, and the devel package
upgrades just fine:

http://web.archiveorange.com/archive/v/oZnc5F6swcgI1H3bd9dR

However, old cards of series 6 and 7 can only use up to the 304 series:

http://www.nvidia.com/object/linux-display-amd64-304.64-driver.html

From now on, nvidia will ship three different kinds of drivers ...

I have updated the .src.rpm for for the 310 series:

http://people.atrpms.net/~pcavalcanti/srpms/nvidia-graphics310.19-310.19-151.fc17.src.rpm

and maybe Axel can ship this new version, in addition to the previous ones.

Thank you all for testing the new packages.


-- 
Paulo Roma Cavalcanti
LCG - UFRJ