Click to See Complete Forum and Search --> : New version of 'nvclock' released


mdwatts
07-29-2003, 02:27 PM
http://www.linuxhardware.org/nvclock/


I'd like to announce a new version of this little app called NVClock 0.7. For this new version about every line of code has been rewritten to make NVClock easier to extend. Beside the usual bugfixes some basic support for GeforceFX cards was added.

The only GeforceFX card with overclocking support is the FX5200 since this card works about the same as the old cards. For the other GeforceFX cards various things are quite different. For example a new calculation is needed for GeforceFX cards (can't test it here) and another showstopper is something inside the the drivers. Perhaps you remember the nice vacuumcleaner that gets activated when switching to 3D mode on various FX cards. When it is being activated the drivers overclock the card. So we need to be able to enable the extra cooling and the drivers shouldn't undo our changes when switching to 3D mode. This all needs more work.

While overclocking doesn't work on all the cards yet NVClock can read the speeds of all cards correctly except those of the GeforceFX 5600. I really don't know what Nvidia did to this card.

Other changes include support for FreeBSD, a speed restore mode, AGP fixes, support for NVClock in bootscript, improved Nforce/Laptop support (ofcourse no overclocking), other bugfixes and finally the death of the GTK 1.x version of NVClock (move over to GTK 2.x).

Grab your fresh copy of NVclock from the download section.

ikellen
08-02-2003, 12:29 AM
If only there were more games on Linux............I dont know if my GF4 Ti4800 needs to be overclocked to run TuxRacer Delux :)

bwkaz
08-06-2003, 06:18 PM
No, but UT2k3 would benefit, I'm sure. That has a native client.

Doom 3 will when (or if...) it gets released, too.

;)

Lemmingz
01-02-2004, 06:13 PM
is anyone having trouble getting the gtk2 gui working?
this is what I get when I do make.
I have command line only and no gui

[root@localhost nvclock0.7]# make
make -C src all
make[1]: Entering directory `/home/will/nvclock0.7/src'
make[2]: Entering directory `/home/will/nvclock0.7/src/backend'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/will/nvclock0.7/src/backend'
make[2]: Entering directory `/home/will/nvclock0.7/src/gtk'
gcc -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../backend -c -o callbacks.o callbacks.c
callbacks.c: In function `error':
callbacks.c:43: parse error before `*'
callbacks.c:47: `dialog' undeclared (first use in this function)
callbacks.c:47: (Each undeclared identifier is reported only once
callbacks.c:47: for each function it appears in.)
callbacks.c: In function `timer':
callbacks.c:129: parse error before `result'
callbacks.c:135: `result' undeclared (first use in this function)
callbacks.c:137: case label not within a switch statement
callbacks.c:138: case label not within a switch statement
callbacks.c:141: break statement not within loop or switch
make[2]: *** [callbacks.o] Error 1
make[2]: Leaving directory `/home/will/nvclock0.7/src/gtk'
make[2]: Entering directory `/home/will/nvclock0.7/src/qt'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/will/nvclock0.7/src/qt'
make[1]: Leaving directory `/home/will/nvclock0.7/src'
[root@localhost nvclock0.7]#

bwkaz
01-02-2004, 08:46 PM
Looks like your compiler's too old (well, not really, it just looks like the nvclock people are assuming that everyone's compiler is able to grok it when they declare variables somewhere other than the start of a function, and yours can't parse that).

Try this patch:

--- nvclock0.7/src/gtk/callbacks.c.old 2004-01-02 19:42:46.000000000 -0500
+++ nvclock0.7/src/gtk/callbacks.c 2004-01-02 19:43:52.000000000 -0500
@@ -36,11 +36,11 @@
{
va_list arg;
char* message;
+ GtkWidget *dialog;
va_start(arg, format);

message = g_strdup_vprintf(format, arg);

- GtkWidget *dialog;
switch(code)
{
case ERROR:
@@ -108,6 +108,7 @@
{
GtkWidget *label;
Timeout *timeout;
+ gint result;
timeout = g_malloc(sizeof(Timeout));

timeout->dialog = GTK_DIALOG(gtk_dialog_new_with_buttons("Testing the new speeds",
@@ -126,7 +127,7 @@
/* Create the real timeout */
timeout->timeout_id = g_timeout_add(1000, timeout_callback, timeout);

- gint result = gtk_dialog_run(GTK_DIALOG(timeout->dialog));
+ result = gtk_dialog_run(GTK_DIALOG(timeout->dialog));

/* Stop the timer because we got an answer back */
g_source_remove(timeout->timeout_id); Copy and paste it into some file. Go into the nvclock directory and apply it with patch -Np1 -i /path/to/patchfile.