Integrated sensor on nv43 doesn't work (wrong vbios parsing?)
Submitted by Andrew Randrianasulu
Assigned to Nouveau Project
Description
Created attachment 118799
hack for recognizing sensor on nv43
Hello, this is me again with my useful nv43.
As far as I can see nvidia binary driver can use integrated sensor on my card, while nouveau can't. After some digging I found problem - nouveau can't find some calibration coefficients in vbios. May be they missed completely, or bios slightly misparsed. I'll attach again my vbios, and patch I made after looking at nvclock sources [1]. Patch allow sensor to work, and reported temperature roughly correspond to what I saw with binary driver (looking at raw output I see nouveau still hotter than nvidia, but I can ignore this for now).
Not sure if such hack (?) should go into nouveau, or I (someone) better to find if values really missed from vbios first.
Command for getting raw sensor value:
envytools/nva/nvapeek 0x15b4
[1] - http://www.linuxhardware.org/nvclock/
Attachment 118799, "hack for recognizing sensor on nv43":
0001-nouveau-default-term-sensor-data.diff