All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 79820] New: Strange readout on fan1_input when pwm1_min < 33
@ 2014-06-09  8:35 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
       [not found] ` <bug-79820-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  0 siblings, 1 reply; 7+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-06-09  8:35 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 2212 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=79820

          Priority: medium
            Bug ID: 79820
          Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
           Summary: Strange readout on fan1_input when pwm1_min < 33
        QA Contact: xorg-team-go0+a7rfsptAfugRpC6u6w@public.gmane.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: freedesk.apriori-w1QkCcy0X+BxKfgMtfWJuA@public.gmane.org
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: unspecified
         Component: Driver/nouveau
           Product: xorg

Created attachment 100705
  --> https://bugs.freedesktop.org/attachment.cgi?id=100705&action=edit
jountalctl -b -k|grep nouveau

When running the drivers from kernel 3.15.0, pwm1_min seems to default to 35. I
noticed that this yields reported ~2k RPM in fan1_input for my card. Since the
fan runs at ~1k RPM in idle when running the NVIDIA blob, I tried lowering
pwm1_min and noticed odd results.

Lowering pwm1_min to 32 is fine and gives me a readout of ~1.8k RPM. However,
after that, I see weird output values:

31 ~ 4.5k
30 ~ 9k
29 ~ 5k
28 ~ 22k (sic)
27 ~ 75k (sic)
26 ~ 400k (sic)

At no time was my computer lifting up from the ground though, and even with the
reported 4.5k it seems that the fan did not actually speed up.

Additional background: It seems my fan is only supported as of Linux 3.15.0.
Before that, the fan ran at 100% and dmesg showed «FAN control: none /
external». On IRC I was informed that a new fan has been added to 3.15, and
indeed it seems to be recognized now (many thanks for that!).

I’m attaching my dmesg and my vbios in case it helps. Note though that
nvagetbios reported a warning when dumping the BIOS:

> No extraction method specified (using -s extraction_method). Defaulting to PRAMIN.
> Attempt to extract the vbios from card 0 (nve6) using PRAMIN
> Invalid signature(0x55aa). You may want to try another retrieval method.

Let me know if there’s additional information I could supply.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3783 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 79820] Strange readout on fan1_input when pwm1_min < 33
       [not found] ` <bug-79820-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
@ 2014-06-09  8:37   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2014-06-09 13:17   ` [Bug 79820] [NVE6] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-06-09  8:37 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 593 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=79820

--- Comment #1 from freedesk.apriori-w1QkCcy0X+BxKfgMtfWJuA@public.gmane.org ---
Created attachment 100707
  --> https://bugs.freedesktop.org/attachment.cgi?id=100707&action=edit
vbios

Extracted by nvagetbios, which reported these warnings:
> No extraction method specified (using -s extraction_method). Defaulting to PRAMIN.
> Attempt to extract the vbios from card 0 (nve6) using PRAMIN
> Invalid signature(0x55aa). You may want to try another retrieval method.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1492 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 79820] [NVE6] Strange readout on fan1_input when pwm1_min < 33
       [not found] ` <bug-79820-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  2014-06-09  8:37   ` [Bug 79820] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-06-09 13:17   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2014-06-09 16:27   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-06-09 13:17 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 1077 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=79820

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Strange readout on          |[NVE6] Strange readout on
                   |fan1_input when pwm1_min <  |fan1_input when pwm1_min <
                   |33                          |33

--- Comment #2 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
With nouveau loaded, can you grab vbios from /sys/kernel/debug/dri/0/vbios.rom?
Or use -s prom with nvagetbios?

It's moderately likely that the reported fan rpm is just 2x what it should be
-- did the fan sound louder with nouveau than with the blob? See
http://cgit.freedesktop.org/~darktama/nouveau/commit/?id=e3601d0869a18acc19e58f2d1216b810632d75f0
(which will be in 3.16-rc1).

Martin -- any idea about the weird RPMs reported for the lower values?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2405 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 79820] [NVE6] Strange readout on fan1_input when pwm1_min < 33
       [not found] ` <bug-79820-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  2014-06-09  8:37   ` [Bug 79820] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2014-06-09 13:17   ` [Bug 79820] [NVE6] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-06-09 16:27   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2014-06-09 16:29   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-06-09 16:27 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 663 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=79820

--- Comment #3 from freedesk.apriori-w1QkCcy0X+BxKfgMtfWJuA@public.gmane.org ---
The noise didn’t really noticeably increase. And I just checked the values
reported by nvidia-settings. When idle, these always seem to jump in increments
of 30 RPM (usually between 1050 and 1080). With nouveau, the output value jumps
in increments of 60 RPM, so you are probably right and the difference is only
nominal.

In any case, I’m attaching the BIOS file obtained from nvagetbios -s prom. No
warnings were reported this time.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1456 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 79820] [NVE6] Strange readout on fan1_input when pwm1_min < 33
       [not found] ` <bug-79820-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (2 preceding siblings ...)
  2014-06-09 16:27   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-06-09 16:29   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2014-06-09 17:15   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2014-11-20 20:37   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-06-09 16:29 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 652 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=79820

freedesk.apriori-w1QkCcy0X+BxKfgMtfWJuA@public.gmane.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #100707|0                           |1
        is obsolete|                            |

--- Comment #4 from freedesk.apriori-w1QkCcy0X+BxKfgMtfWJuA@public.gmane.org ---
Created attachment 100758
  --> https://bugs.freedesktop.org/attachment.cgi?id=100758&action=edit
VBIOS

BIOS obtained by nvagetbios -s prom.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2028 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 79820] [NVE6] Strange readout on fan1_input when pwm1_min < 33
       [not found] ` <bug-79820-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (3 preceding siblings ...)
  2014-06-09 16:29   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-06-09 17:15   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2014-11-20 20:37   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-06-09 17:15 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 2278 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=79820

--- Comment #5 from Martin Peres <martin.peres-Iz16wY1oaNPLSKGbIzaifA@public.gmane.org> ---
(In reply to comment #2)
> With nouveau loaded, can you grab vbios from
> /sys/kernel/debug/dri/0/vbios.rom? Or use -s prom with nvagetbios?

I just pushed a patch to nvagetbios to suggest to use -s prom when the
signature is invalid. Let's stop wasting time suggesting this.

> 
> It's moderately likely that the reported fan rpm is just 2x what it should
> be -- did the fan sound louder with nouveau than with the blob? See
> http://cgit.freedesktop.org/~darktama/nouveau/commit/
> ?id=e3601d0869a18acc19e58f2d1216b810632d75f0 (which will be in 3.16-rc1).

Yes, this is likely the problem here.

> 
> Martin -- any idea about the weird RPMs reported for the lower values?

It probably is a bouncing problem of the Hall effect sensor. This one may not
have a proper hysteresis cycle which leads to an unstable signal during the
transition phases. The longer the transition takes, the more un-wanted
oscillation is introduced. It is possible that the fan manufacturer added a
low-pass filter on the fan that only works down to the minimum speed (35%) and
fails to clean up the signal after that.

In any case, this is not our bug unless nvidia is able to cope with it (which
is impossible to test with the coolbits since they don't allow a fan speed
lower than the minimum speed). I could edit the vbios to change the minimum
speed limit and ask you to re-upload it and check if nvidia yields the same
result. Would you be interested in doing that?

(In reply to comment #3)
> The noise didn’t really noticeably increase. And I just checked the values
> reported by nvidia-settings. When idle, these always seem to jump in
> increments of 30 RPM (usually between 1050 and 1080). With nouveau, the
> output value jumps in increments of 60 RPM, so you are probably right and
> the difference is only nominal.

Perfect! Thank you :)

> 
> In any case, I’m attaching the BIOS file obtained from nvagetbios -s prom.
> No warnings were reported this time.

Thanks, but I don't think it will be necessary...

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3411 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 79820] [NVE6] Strange readout on fan1_input when pwm1_min < 33
       [not found] ` <bug-79820-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (4 preceding siblings ...)
  2014-06-09 17:15   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-11-20 20:37   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-11-20 20:37 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 740 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=79820

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
The reported RPM being 2x should be fixed in 3.16. Lowering the fan outside of
VBIOS-supplied values isn't explicitly supported, and the fact that you're
getting junk RPM readings from that isn't unexpected.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2176 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-11-20 20:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-09  8:35 [Bug 79820] New: Strange readout on fan1_input when pwm1_min < 33 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
     [not found] ` <bug-79820-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2014-06-09  8:37   ` [Bug 79820] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-06-09 13:17   ` [Bug 79820] [NVE6] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-06-09 16:27   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-06-09 16:29   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-06-09 17:15   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-11-20 20:37   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.