- Package:
- nvidia-settings
- Source:
- nvidia-settings
- Submitter:
- Jack Malmostoso
- Date:
- 2011-10-04 10:45:05 UTC
- Severity:
- normal
Hello there, I'd like to ask how likely is it to have NVidia support on future versions of sensors-applet. I have tried to compile it myself starting from debianized sources and adding the "--with-nvidia" flag to debian/rules, but compilation stopped complaining about missing nvidia libraries (that should be provided with package nvidia-settings, which I have installed). So I downloaded the latest available nvidia-settings package from nvidia.com, compiled libXNVCtrl myself, put the headers in /usr/include/NVCtrl but I guess version is not correct since compilation stops with an error about (I guess) a function in the header file. libXNVCtrl includes are properly recognized. It is probably a problem that should be fixed in nvidia-settings, prior to sensors-applet (for which the "fix" is trivial, i.e. adding "--with-nvidia" flag). Thanks for your help!
Hi there, I have tried doing the same as above using latest nvidia-settings sources from Debian (1.0+20060516), but I get the same error, that I report, on ./configure for sensors-applet: [cut] checking X11/Xlib.h usability... yes checking X11/Xlib.h presence... yes checking for X11/Xlib.h... yes checking for XOpenDisplay in -lX11... yes checking for NVCtrl/NVCtrl.h... yes checking for NVCtrl/NVCtrlLib.h... yes checking for XNVCTRLQueryExtension in -lXNVCtrl... no configure: error: The NV-CONTROL library file cannot be used! make sure you have installed nvidia-settings. make: *** [config.status] Error 1 debuild: fatal error at line 1224: debian/rules build failed Hope this helps!
The two problems with NVidia support are:
1. The nvidia-settings package does not ship the libXNVCtrl library
2. nvidia-settings is in contrib; depending on it would mean
sensors-applet would have to go to contrib as well
Once libXNVCtrl is shipped by nvidia-setting, I intend to provide simple
instructions in the README.Debian on how to recompile the sensors-applet
package to enable NVidia support.
The two problems with NVidia support are:
1. The nvidia-settings package does not ship the libXNVCtrl library
2. nvidia-settings is in contrib; depending on it would mean
sensors-applet would have to go to contrib as well
Once libXNVCtrl is shipped by nvidia-setting, I intend to provide simple
instructions in the README.Debian on how to recompile the sensors-applet
package to enable NVidia support.
Hi! As of Mon, 16 Oct 2006 nvidia-settings is shipping libXNVCtrl and it's include files. I've been able to compile sensors-applet from source adding --with-nvidia to debian/rules successfully; though I haven't been able to find the sensor in the applet. I can see the temp and fan readings with nvclock -i (extract below).
Already done, I'm just waiting for the package to be uploaded. :) WRT configuration, I think I am in the same boat as you. nvclock is able to read my sensors:
We believe that the bug you reported is fixed in the latest version of
sensors-applet, which is due to be installed in the Debian FTP archive:
sensors-applet_1.7.8+dfsg-2.diff.gz
to pool/main/s/sensors-applet/sensors-applet_1.7.8+dfsg-2.diff.gz
sensors-applet_1.7.8+dfsg-2.dsc
to pool/main/s/sensors-applet/sensors-applet_1.7.8+dfsg-2.dsc
sensors-applet_1.7.8+dfsg-2_powerpc.deb
to pool/main/s/sensors-applet/sensors-applet_1.7.8+dfsg-2_powerpc.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 375179@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sam Morris <sam@robots.org.uk> (supplier of updated sensors-applet package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
Format: 1.7
Date: Wed, 18 Oct 2006 11:15:45 +0100
Source: sensors-applet
Binary: sensors-applet
Architecture: source powerpc
Version: 1.7.8+dfsg-2
Distribution: unstable
Urgency: low
Maintainer: Sam Morris <sam@robots.org.uk>
Changed-By: Sam Morris <sam@robots.org.uk>
Description:
sensors-applet - Display readings from hardware sensors in your Gnome panel
Closes: 375179
Changes:
sensors-applet (1.7.8+dfsg-2) unstable; urgency=low
.
* Add instructions to README.Debian explaining how to enable NVIDIA support
(closes: #375179)
Files:
562ccd8e214d3ae8ac8eb5580b2fe7bc 959 gnome optional sensors-applet_1.7.8+dfsg-2.dsc
fc23618783f7d4a736824145716d0caf 3930 gnome optional sensors-applet_1.7.8+dfsg-2.diff.gz
26b1987423615d413e7de812a45bb48c 92348 gnome optional sensors-applet_1.7.8+dfsg-2_powerpc.deb
iD8DBQFFPJ7pABzeamt51AERAk9gAJ0fJEkQ3O43oHu9hDhHQ0h2BiXy9gCfXsSG
mxAHOuOCAqTEX83ozF0x6dc=
=IR6M
-----END PGP SIGNATURE-----
I've played around with libXNVCtrl a bit and it seems that it just doesn't work on my card. Could you please try the attached program and see if you get the same failure that I do (XNVCTRLQueryAttribute assertion failed)?
[crux@voodoo:~/Cosas/nv]$ ./nvtest nvtest: nvtest.c:17: main: Assertion `XNVCTRLQueryAttribute (dpy, 0, 0, 60, &core)' failed. Aborted Same result here, hope you get some news from upstream about this.
clone 375179 -1 retitle -1 sensors-applet: libXNVCtrl can't read sensors of certain graphics cards reassign -1 nvidia-settings found -1 1.0+20060516-3 tag -1 +upstream block 375179 by -1 retitle 375179 sensors-applet: nvidia sensors for certain graphics cards are not available thanks So, it seems that libXNVCtrl can't read the sensors on our cards. I'm not sure about how best to contact upstream (NVIDIA) about this. What is your card's make and model, BTW? Mine is a Gigabyte GV-N68128DH (Geforce 6600). Assuming the code to read sensors from nvclock is reasonably clean, it should be possible to replace sensors-applet's nvidia-sensors module with one that uses the nvclock code, but that is a task for another day. :)
Has there been any progress on these very old bugs? There is now a separate libxnvctrl-dev package (in contrib) containing the headers and a static library - this stuff was not really suited to the nvidia-settings package. In case there are more things missing (more headers, another library, ... there might be some additional code available in the nvidia-settings source package), please let me know. If you need a shared library, a patch would be welcome, I never looked into the creation of shared libraries. This has happened inbetween ... so someone needs to write a nvidia module for sensors-applet which needs to go into contrib ... libxnvctrl-dev) available in unstable? And if this does not work, try to look here: http://www.nvnews.net/vbulletin/showthread.php?t=46678 Andreas