--- src/cpufreqd_nvclock.c.old 2005-09-24 20:13:53.000000000 +0200 +++ src/cpufreqd_nvclock.c 2005-10-11 22:55:31.349830440 +0200 @@ -106,11 +106,11 @@ if (nv->card < nvclock.num_cards) { clog(LOG_INFO, "Setting nv_core for card %i to (%u)\n", nv->card, nv->value); - set_card(nv->card); nvclock.card[nv->card].gpu = DESKTOP; nv_card.number = -1; /* Force a re-init of the function pointers */ set_card(nv->card); nv_card.set_gpu_speed(nv->value); + unset_card(nv->card); } } @@ -119,11 +119,11 @@ if (nv->card < nvclock.num_cards) { clog(LOG_INFO, "Setting nv_mem for card %i to (%u)\n", nv->card, nv->value); - set_card(nv->card); nvclock.card[nv->card].gpu = DESKTOP; nv_card.number = -1; /* Force a re-init of the function pointers */ set_card(nv->card); nv_card.set_memory_speed(nv->value); + unset_card(nv->card); } }