From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 92386] New: Integrated sensor on nv43 doesn't work (wrong vbios parsing?) Date: Sat, 10 Oct 2015 14:48:29 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1080995490==" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1080995490== Content-Type: multipart/alternative; boundary="1444488510.ECD701.30906"; charset="UTF-8" --1444488510.ECD701.30906 Date: Sat, 10 Oct 2015 14:48:29 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=92386 Bug ID: 92386 Summary: Integrated sensor on nv43 doesn't work (wrong vbios parsing?) Product: xorg Version: git Hardware: x86 (IA32) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Driver/nouveau Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Reporter: randrik-JGs/UdohzUI@public.gmane.org QA Contact: xorg-team-go0+a7rfsptAfugRpC6u6w@public.gmane.org Created attachment 118799 --> https://bugs.freedesktop.org/attachment.cgi?id=118799&action=edit 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/ -- You are receiving this mail because: You are the assignee for the bug. --1444488510.ECD701.30906 Date: Sat, 10 Oct 2015 14:48:30 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Bug ID 92386
Summary Integrated sensor on nv43 doesn't work (wrong vbios parsing?)
Product xorg
Version git
Hardware x86 (IA32)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component Driver/nouveau
Assignee nouveau@lists.freedesktop.org
Reporter randrik@mail.ru
QA Contact xorg-team@lists.x.org

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/


You are receiving this mail because:
  • You are the assignee for the bug.
--1444488510.ECD701.30906-- --===============1080995490== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cDovL2xpc3RzLmZy ZWVkZXNrdG9wLm9yZy9tYWlsbWFuL2xpc3RpbmZvL25vdXZlYXUK --===============1080995490==--