Skip to contentSkip to conversation

Thermal management in nouveau running hot 3.12.0+ kernel

Bug 71455 [email protected] 3 participants 16 messages Nov 12, 2013 – Dec 4, 2019 7 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

A message that is not in the archive (sent off-list or not yet received): bug-71455-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

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

Bob Gleitsmann <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Priority|medium |high

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#3 lore raw
In reply to a message not in the archive

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

--- Comment #1 from Martin Peres <[email protected]> --- Hi Bob,

Could you send me your kernel logs please? Extracting your vbios could also be of some help later on.

Is fan management really working properly for you? I know it is an old card and those were really running hot, but still!

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#4 lore raw
In reply to a message not in the archive

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

--- Comment #2 from Bob Gleitsmann <[email protected]> --- Here is an additional data point. The problematic kernel sets 0xb20010f0 to 0x83ff03ff. The driver reports that the PWM is 100%. In fact it is 100% off. As can be expected, the temperature immediately begins repidly rising. Interestingly, the card seems to self protect by turning the fan on when the temperature gets above the "critical" temperature and restoring the default PWM (fan off). I suppose that is what "auto" means. The value in 0xb200010f0 never changes while the fan speed goes up and down.
The blob sets the same mmio address to 0x81ff03ff and reports the fan to be 50%. I can't tell you if "100%" PWM is fan off on all NV cards. I'm sure you already know anyway. The fan speeds up significantly if the PWM setting is either 0x00007fff or 0x80007fff.
I guess that's more than one data point. Other than that, I'm completely in the dark. However, I think I will patch my kernel so that it sets the PWM to 50% instead of 100%. 50% off is a lot better than 100% off.

Bob

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#5 lore raw
In reply to a message not in the archive

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

--- Comment #3 from Bob Gleitsmann <[email protected]> --- The fan PWM setting is derived from priv->cstate. The value it gets from there is zero. So the setting of PWM for NV40 is working correctly, "inverting" the percent setting to get the value set in 0xb20010f0. Probably priv->cstate is never initialized. I'll bet that wasn't intentional.

Bob

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#6 lore raw
In reply to a message not in the archive

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

--- Comment #4 from Bob Gleitsmann <[email protected]> --- Oh, the value reported by the driver for the PWM setting is the value before it is set by the driver. It doesn't say that in the kernel message.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#7 lore raw
In reply to a message not in the archive

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

--- Comment #5 from Ben Skeggs <[email protected]> --- (In reply to comment #3)

Quoted 5 lines

The fan PWM setting is derived from priv->cstate. The value it gets from there is zero. So the setting of PWM for NV40 is working correctly, "inverting" the percent setting to get the value set in 0xb20010f0. Probably priv->cstate is never initialized. I'll bet that wasn't intentional.

Not intentional. But also found and fixed already in -rc1.

Ben.

Quoted 1 line

Bob

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#8 lore raw
In reply to a message not in the archive

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

--- Comment #6 from Bob Gleitsmann <[email protected]> --- In view of Ben's comment, I am stopping further research. However, I will offer as a final remark that perfE.pstate = 0x20 on my card. It gets into nv40_clock_ctor but the fan speed is never set. According to nvbios, for this card the default setting for the fan speed is 50.

Best Wishes,

Bob

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#9 lore raw
In reply to a message not in the archive

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

Evan Foss <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #7 from Evan Foss <[email protected]> --- Created attachment 113500
--> https://bugs.freedesktop.org/attachment.cgi?id=113500&action=edit
dmesg text

I am running a mid 2012 macbook pro. 650M nVidia chip. There is something funky with the glx rendering. I tried the various things in the troubleshooting guide and got no where. If need be I can email the following two images to the list but I thought I would save everyones mailboxes some bloat.

https://www.flickr.com/photos/evanfoss/15912299653/
https://www.flickr.com/photos/evanfoss/16507165346/in/photostream/

For those in the far future who may find the above links dead the images show glxgears rendering at +3K frames a second. The glxgears window however has blocks missing with only a single pixel in each one being rendered.

I have tested the following kernel versions and found this to be true for all of the following.

gentoo-sources-3.12.13
gentoo-sources-3.14.6
gentoo-sources-3.16.1

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): bug-71455-8800-iGqqxhAKIA-V0hAGp6uBxMKqLRl/[email protected]/

#11 lore raw

Sorry guys I did not understand how bugzilla's user interface works. this should be seperate from the thermal management bug..

Quoted 40 lines · On Sat, Feb 14, 2015 at 9:51 PM, <bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public…

Evan Foss <[email protected]> changed bug 71455
<https://bugs.freedesktop.org/show_bug.cgi?id=71455>
What Removed Added CC [email protected]

*Comment # 7 <https://bugs.freedesktop.org/show_bug.cgi?id=71455#c7> on
bug 71455 <https://bugs.freedesktop.org/show_bug.cgi?id=71455> from Evan Foss <[email protected]> *

Created attachment 113500 <https://bugs.freedesktop.org/attachment.cgi?id=113500> [details] <https://bugs.freedesktop.org/attachment.cgi?id=113500&action=edit>
dmesg text

I am running a mid 2012 macbook pro. 650M nVidia chip. There is something funky with the glx rendering. I tried the various things in the troubleshooting guide and got no where. If need be I can email the following two images to the list but I thought I would save everyones mailboxes some bloat.
https://www.flickr.com/photos/evanfoss/15912299653/https://www.flickr.com/photos/evanfoss/16507165346/in/photostream/

For those in the far future who may find the above links dead the images show glxgears rendering at +3K frames a second. The glxgears window however has blocks missing with only a single pixel in each one being rendered.

I have tested the following kernel versions and found this to be true for all of the following.

gentoo-sources-3.12.13
gentoo-sources-3.14.6
gentoo-sources-3.16.1

------------------------------
You are receiving this mail because:

- You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

Signature · 4 lines
Home
http://evanfoss.googlepages.com/
Work
http://forge.abcd.harvard.edu/gf/project/epl_engineering/wiki/

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): CAM2RGhTW18BD2t2-C4GfgeeN6Hq4wwmSt43+XzMryD-qvmCgzg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#13 lore raw
Quoted 34 lines · Evan Foss

Sorry guys I did not understand how bugzilla's user interface works. this should be seperate from the thermal management bug..

Quoted 29 lines · On Sat, Feb 14, 2015 at 9:51 PM, <bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public…

Evan Foss <[email protected]> changed bug 71455
<https://bugs.freedesktop.org/show_bug.cgi?id=71455>
What Removed Added CC [email protected]

*Comment # 7 <https://bugs.freedesktop.org/show_bug.cgi?id=71455#c7> on
bug 71455 <https://bugs.freedesktop.org/show_bug.cgi?id=71455> from Evan Foss <[email protected]> *

Created attachment 113500 <https://bugs.freedesktop.org/attachment.cgi?id=113500> [details] <https://bugs.freedesktop.org/attachment.cgi?id=113500&action=edit>
dmesg text

I am running a mid 2012 macbook pro. 650M nVidia chip. There is something funky with the glx rendering. I tried the various things in the troubleshooting guide and got no where. If need be I can email the following two images to the list but I thought I would save everyones mailboxes some bloat.
https://www.flickr.com/photos/evanfoss/15912299653/https://www.flickr.com/photos/evanfoss/16507165346/in/photostream/

For those in the far future who may find the above links dead the images show glxgears rendering at +3K frames a second. The glxgears window however has blocks missing with only a single pixel in each one being rendered.

I have tested the following kernel versions and found this to be true for all of the following.

gentoo-sources-3.12.13
gentoo-sources-3.14.6
gentoo-sources-3.16.1

Try something more recent -- a block compression setup issue was fixed in some recent kernel version.

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): CAKb7Uvj89pAucsOWa8z0tgTunQevwbwDJbTBDPOWJ0-w5jkXDA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#15 lore raw

Llia,

Thanks.
Is 3.18.7 recent enough?

Quoted 44 lines · Ilia Mirkin
Quoted 39 lines · Evan Foss

Sorry guys I did not understand how bugzilla's user interface works. this should be seperate from the thermal management bug..

Quoted 34 lines · On Sat, Feb 14, 2015 at 9:51 PM, <[email protected]> wrote:

Evan Foss changed bug 71455
What Removed Added
CC [email protected]

Comment # 7 on bug 71455 from Evan Foss

Created attachment 113500 [details]
dmesg text

I am running a mid 2012 macbook pro. 650M nVidia chip. There is something funky
with the glx rendering. I tried the various things in the troubleshooting guide
and got no where. If need be I can email the following two images to the list
but I thought I would save everyones mailboxes some bloat.

https://www.flickr.com/photos/evanfoss/15912299653/
https://www.flickr.com/photos/evanfoss/16507165346/in/photostream/

For those in the far future who may find the above links dead the images show
glxgears rendering at +3K frames a second. The glxgears window however has
blocks missing with only a single pixel in each one being rendered.

I have tested the following kernel versions and found this to be true for all
of the following.

gentoo-sources-3.12.13
gentoo-sources-3.14.6
gentoo-sources-3.16.1

Try something more recent -- a block compression setup issue was fixed in some recent kernel version.

Signature · 8 lines
Home
http://evanfoss.googlepages.com/
Work
http://forge.abcd.harvard.edu/gf/project/epl_engineering/wiki/
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): CAM2RGhRoga6JMpw0j3QaZNq0=4_Y5_1oJVkseBbM5ybvNi1NTQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

A message that is not in the archive (sent off-list or not yet received): CAKb7UvgEON8qgUS302az-dnQvgs8AcXakcSt9QsgrqYL3VK=nQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#19 lore raw

My thanks to you and the author of the commit. That fixed my bug.

Quoted 10 lines · Ilia Mirkin
Quoted 4 lines · Evan Foss

Llia,

Thanks.
Is 3.18.7 recent enough?

Yes, the fix is in 3.17 and later (commit
fe3d9c4b87bb98222a502cc585844a0b950786fb).

-ilia

Signature · 8 lines
Home
http://evanfoss.googlepages.com/
Work
http://forge.abcd.harvard.edu/gf/project/epl_engineering/wiki/
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
#20 lore raw
In reply to a message not in the archive

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

--- Comment #8 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Bob, please confirm that newer kernels resolve this issue.

Evan, your issue is wholly unrelated to the original one. And most likely also fixed in newer kernels (large page size mismatch).

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#21 lore raw
In reply to a message not in the archive

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

--- Comment #9 from Evan Foss <[email protected]> ---

Quoted 7 lines · On Wed, Oct 28, 2015 at 12:38 AM, <bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@publ…

Comment # 8 on bug 71455 from Ilia Mirkin

Bob, please confirm that newer kernels resolve this issue.

Evan, your issue is wholly unrelated to the original one. And most likely also
fixed in newer kernels (large page size mismatch).

Yes and it was dealt with by other people. (my thanks again by the way)

I think i attached it to this by accident before I put it with the right one.

Quoted 4 lines

________________________________
You are receiving this mail because:

You are on the CC list for the bug.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#22 lore raw
In reply to a message not in the archive

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

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #10 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance:
https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/72.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau