CFSworks / nvml_fix

A workaround for an annoying bug in nVidia's NVML library. Allows nvidia-smi to work once more!
98 stars 19 forks source link

nVidia broke nvml_fix on 331.17? #5

Closed CFSworks closed 10 years ago

CFSworks commented 11 years ago

I'm not 100% on this, but it looks like nVidia changed something during the 331.13->331.17 update that broke nvml_fix. I'm opening an issue on my own repository to track the bug until I have a chance to address it.

MeFri commented 10 years ago

I can confirm this issue with 331.17 here...

Moguri commented 10 years ago

331.20 here, and nvml_fix no longer works for me (nvidia-smi cannot find libnvidia-ml.so).

vacaloca commented 10 years ago

I can also confirm the same issue... the old nvml_bug.c with added version check returns not supported... NVIDIA must not have liked your 'fix' ;)

CFSworks commented 10 years ago

I've updated this for the 331.xx series on 64-bit. 32-bit coming later... I've tested it on 331.20. I'm going to go ahead and close this, let me know if it's still broken for you.

vacaloca commented 10 years ago

Seems like NVIDIA broke it again on anything higher than 331.20 (e.g. 331.49)

cwchan55 commented 10 years ago

nvml remains broken for 331.75. In nvml.c. I see

elif defined(NVML_PATCH_331)

ifdef i386

error "No i386 support for this version yet!"

else

    fix[187] = 2;
    fix[188] = 1;

endif

How are the fix[] locations and values determined in the NVML API?