On Sun, Jan 6, 2013 at 9:36 PM, Patrick <patman@aracnet.com> wrote:
On Sat, Jan 05, 2013 at 03:43:28PM -0500, George Galt wrote:
> Mike:
>
> FWIW, I grabbed the src.rpms for 310.19 from here:
> http://download1.rpmfusion.org/nonfree/fedora/development/rawhide/source/SRPMS/repoview/index.html
>
> They appear to be in rawhide, but nowhere else.  I'm not really sure why.
>
> I grabbed nvidia-kmod-310.19, xorg-x11-drv-nvidia-310.19 and built them
> using rpmbuild.  I also had to build and install buildsys from here:
> http://download1.rpmfusion.org/free/fedora/development/rawhide/source/SRPMS/buildsys-build-rpmfusion-18-0.2.src.rpmfor
> them to build properly.  They installed just fine.

I'm interested in trying out 310, as I read elsewhere that they improve
performance (lower the CPU usage) of xorg, and having bad problems with
xorg cpu usage (it spikes after my system is up for more than about 12
hours, even when I'm doing nothing other than running htop).

I downloaded and built the OK, but:

Did you have any problems with libnvcuvid.so?

I see:

rpm -q -l -p ./xorg-x11-drv-nvidia-libs-310.19-1.fc17.x86_64.rpm | grep
libnvcuvid.so
/usr/lib64/nvidia/libnvcuvid.so
/usr/lib64/nvidia/libnvcuvid.so.1
/usr/lib64/nvidia/libnvcuvid.so.310.19

But on install I get a missing dependency for libnvcuvid.so, this:

# yum localinstall ./xorg-x11-drv-nvidia-310.19-1.fc17.x86_64.rpm ./xorg-x11-drv-nvidia-libs-310.19-1.fc17.x86_64.rpm
Loaded plugins: langpacks, presto, refresh-packagekit
Examining ./xorg-x11-drv-nvidia-310.19-1.fc17.x86_64.rpm:
1:xorg-x11-drv-nvidia-310.19-1.fc17.x86_64
Marking ./xorg-x11-drv-nvidia-310.19-1.fc17.x86_64.rpm as an update to
1:xorg-x11-drv-nvidia-304.64-3.fc17.x86_64
Examining ./xorg-x11-drv-nvidia-libs-310.19-1.fc17.x86_64.rpm:
1:xorg-x11-drv-nvidia-libs-310.19-1.fc17.x86_64
Marking ./xorg-x11-drv-nvidia-libs-310.19-1.fc17.x86_64.rpm as an update
to 1:xorg-x11-drv-nvidia-libs-304.64-3.fc17.x86_64
Resolving Dependencies
--> Running transaction check
---> Package xorg-x11-drv-nvidia.x86_64 1:304.64-3.fc17 will be updated
---> Package xorg-x11-drv-nvidia.x86_64 1:310.19-1.fc17 will be an update
---> Package xorg-x11-drv-nvidia-libs.x86_64 1:304.64-3.fc17 will be
updated
---> Package xorg-x11-drv-nvidia-libs.x86_64 1:310.19-1.fc17 will be an
update
--> Processing Dependency: libnvcuvid.so()(64bit) for package:
1:xorg-x11-drv-nvidia-libs-310.19-1.fc17.x86_64
--> Finished Dependency Resolution
Error: Package: 1:xorg-x11-drv-nvidia-libs-310.19-1.fc17.x86_64
(/xorg-x11-drv-nvidia-libs-310.19-1.fc17.x86_64)
           Requires: libnvcuvid.so()(64bit)
 You could try using --skip-broken to work around the problem

Thanks ...

-- Patrick


ATrpms had this same issue last month.  The issue is that rpm inspects the binaries and builds a list of things required and things that the package provides.  For some reason, it generates a dependency of libnvcuvid.so()(64-bit) but builds a list of the things provided of libnvcuvid.so.1(64-bit) (IIRC). 

Look at the ATrpms dev list for how to fix this in the .spec file: http://lists.atrpms.net/pipermail/atrpms-devel/2012-December/thread.html

In particular, I believe the suggestion here: http://lists.atrpms.net/pipermail/atrpms-devel/2012-December/002931.html was the ultimate fix.  You could also look at the spec file in ATrpms for ideas: http://dl.atrpms.net/src/f17-x86_64/atrpms/stable/nvidia-graphics310.19-310.19-154.src.rpm\

FYI, I had no problem building this for F18 without applying the above fix, so I'm not sure if there is something that is different with Fedora <= 17 that is causing this problem.

George