Guides & Solutions (Not For Questions)Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

nvidia threshold temp ambient gpufreq memfreq imagequality
Nvidia graficcard support for the XNVCtrl library. Each option can be shortened to the least significant part. Temperatures are printed as float, all other values as integer.threshold The thresholdtemperature at which the gpu slows downtemp Gives the gpu current temperatureambient Gives current air temperature near GPU casegpufreq Gives the current gpu frequencymemfreq Gives the current mem frequencyimagequality Which imagequality should be chosen by OpenGL applications

But understandably, it isn't compiled with this feature in Fedora.
So we need to rebuild the rpm package with this feature enabled.http://wiki.centos.org/HowTos/RebuildSRPM is a guide for rebuilding rpm's.

First thing we must do is prepare the building environment. http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment talks about it. Just read that and skip the parts that are for Red Hat.
AFAIK, basically we need to have the development tools and the ~/rpmbuild directory set up.
The former we get with '# yum install @development-tools' but that will install a lot of stuff that we wouldn't need (some big, like valgrind). So I think we can go with just the mandatory packages for that group, which are: autoconf automake binutils bison flex gcc gcc-c++ gdb gettext libtool make pkgconfig redhat-rpm-config rpm-build strace.
That should cover most needs for building from source.

Now to rebuilding Conky.
First download the source rpm (can be wherever you prefer it to be in your home directory, I suppose):

Code:

$ yumdownloader --source conky

Then 'install' it to ~/rpmbuild (here with the current conky version):

Code:

$ rpm -i conky-1.8.1-5.fc17.src.rpm

Then we need to change its spec file to enable the NVIDIA support.
Open ~/rpmbuild/SPECS/conky.spec and change

Quote:

%bcond_with nvidia

for

Quote:

%bcond_without nvidia

Now before rebuilding it we must have its build dependencies (here's the ONLY part done as root):

Code:

# yum-builddep conky
# yum install libXNVCtrl-devel

Now rebuild the Conky package:

Code:

$ cd ~/rpmbuild/SPECS
$ rpmbuild -ba conky.spec

That's it. You'll find the Conky package in ~/rpmbuild/RPMS/<arch>/. Just install it and enjoy.