Bug 92386 - Integrated sensor on nv43 doesn't work (wrong vbios parsing?)
Summary: Integrated sensor on nv43 doesn't work (wrong vbios parsing?)
Status: NEW
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-10 14:48 UTC by Andrew Randrianasulu
Modified: 2015-10-10 14:49 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
hack for recognizing sensor on nv43 (1.61 KB, text/plain)
2015-10-10 14:48 UTC, Andrew Randrianasulu
no flags Details
vbios (64.00 KB, application/octet-stream)
2015-10-10 14:49 UTC, Andrew Randrianasulu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Randrianasulu 2015-10-10 14:48:29 UTC
Created attachment 118799 [details]
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/
Comment 1 Andrew Randrianasulu 2015-10-10 14:49:28 UTC
Created attachment 118800 [details]
vbios


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.