Bug 77003

Summary: [NV50] Fan speed to high with Kernel versions 3.13.x - Nvidia GeForce GTS 240 (NV92)
Product: xorg Reporter: Roman Spirgi <the.ant>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED WORKSFORME QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: high CC: arc38813
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Kernel_log
none
Xorg log
none
vbios.rom none

Description Roman Spirgi 2014-04-03 13:34:11 UTC
Created attachment 96850 [details]
Kernel_log

Since Kernel 3.13.x the fan speed of my NVIDIA GeForce GTS240 is much too high.

Output from sensors:
...
nouveau-pci-0100
Adapter: PCI adapter
fan1:        6693 RPM
temp1:        +69.0°C  (high = +95.0°C, hyst =  +3.0°C)
                       (crit = +105.0°C, hyst =  +5.0°C)
                       (emerg = +135.0°C, hyst =  +5.0°C)
...

With any kernel version below, i.e. Kernel 3.12.9 everything is fine. Fan speed around 5000 RPM. 

First I thought it could be related to https://bugzilla.kernel.org/show_bug.cgi?id=71711 but Guenter Roeck recommended to open a bug report against Nouveau:

" ... Looks like Nouveau fan control does not work. No idea what may be causing this ...
well, possibly. There are two suspicious commits between 3.12 and 3.13.
Maybe the "remove everything" commit has undesirable side effects.

eec9901 drm/nouveau/hwmon: fix compilation without CONFIG_HWMON
b9ed919 drm/nouveau/drm/pm: remove everything except the hwmon interfaces to THERM
..."

Thank you,
Roman
Comment 1 Roman Spirgi 2014-04-03 13:34:44 UTC
Created attachment 96851 [details]
Xorg log
Comment 2 Martin Peres 2014-04-03 14:22:38 UTC
Hi Roman,

Thanks for your report. The commits you reference are, I think, un-related. 5k or 6.6k RPM is just insane! As everything looks fine from the kernel logs perspective, could you provide me with your vbios[1]?

I am taking this issue very seriously, so please help me out so as we can fix it!

Cheers,
Martin

[1] http://nouveau.freedesktop.org/wiki/DumpingVideoBios/
Comment 3 Roman Spirgi 2014-04-03 15:43:17 UTC
Created attachment 96855 [details]
vbios.rom

Vbtracetool didn't find file "pci/pci.h" during make. So I did create it with the nouveau module, hope this is OK instead.

Temp is quite high with 84°, isn't it? With Kernel versions < 3.13.x fan speed doesn't get up to 6Ks. I'm using Gnome 3 with Liber8, Firefox, ... nothing spectacular.

This is with Kernel 3.12.9:
---
nouveau-pci-0100
Adapter: PCI adapter
fan1:        4702 RPM
temp1:        +84.0°C  (high = +95.0°C, hyst =  +3.0°C)
                       (crit = +105.0°C, hyst =  +5.0°C)
                       (emerg = +135.0°C, hyst =  +5.0°C)
---
Comment 4 Martin Peres 2014-04-03 20:26:53 UTC
(In reply to comment #3)
> Created attachment 96855 [details]
> vbios.rom
> 
> Vbtracetool didn't find file "pci/pci.h" during make. So I did create it
> with the nouveau module, hope this is OK instead.

Looks good, thanks!

> 
> Temp is quite high with 84°, isn't it? With Kernel versions < 3.13.x fan
> speed doesn't get up to 6Ks. I'm using Gnome 3 with Liber8, Firefox, ...
> nothing spectacular.

Well, 84°C is nothing to be afraid of, especially on old cards. However, looking at your vbios informed me that when your card is at 60°C, the fan speed should be 35% and 100% at 90°C.

Could you try to check if manual fan management works perfectly (try 0 -> 100% in 10 steps) both on the 3.12.9 and 3.13.x?

If this works fine, then I would like you to load nouveau with the following parameter and send me the kernel log:
debug="PTHERM=debug"
Comment 5 Roman Spirgi 2014-04-04 21:19:39 UTC
> Could you try to check if manual fan management works perfectly (try 0 ->
> 100% in 10 steps) both on the 3.12.9 and 3.13.x?

How can I set the fan management to manual mode? 
With pwmconfig I can only test the fans on the motherboard apparently.
Comment 6 Martin Peres 2014-04-05 21:47:48 UTC
(In reply to comment #5)
> > Could you try to check if manual fan management works perfectly (try 0 ->
> > 100% in 10 steps) both on the 3.12.9 and 3.13.x?
> 
> How can I set the fan management to manual mode? 
> With pwmconfig I can only test the fans on the motherboard apparently.

Silly me, I forgot to add the link! 

https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/Documentation/thermal/nouveau_thermal
Comment 7 Martin Peres 2014-05-21 12:36:28 UTC
Any news on this?
Comment 8 Roman Spirgi 2015-05-28 12:28:03 UTC
Obsolete, changed my hardware

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.