I am replicating my post from http://forum.kde.org/viewtopic.php?f=111&t=95330 here, seeing as the userbases have some overlap and probably also the expertise.
KWin runs my GPU hot even while doing little or nothing. Simply enabling compositing is often enough to bring the GPU up to 65 degrees Celcius. Minor use of fairly load-friendly functions like minimizing or using the alt+tab switcher guarantees it. This may seem trivial, but the constant, high-pitched squeal of the cooling fan renders enabled compositing a fairly unbearable experience (I find compositing very useful in and of itself). Hopefully, the information below will explain why I suspect it's a bug with KWin when using NVidia binary drivers.
Short hardware/system info (more details at end of post):
Graphics card: NVidia GeForce G105M 512mb
Distribution: Kubuntu 11.04
(current) KDE version: 4.6.2 (seemingly irrelevant)
Time/persistence: This problem has been with me since KDE 4.4.2, very probably even before that (it's been a while, I lose track), but at least for a year now, in every version and update I've tried for the past 12 months.
What I've tried:
1) Changing NVidia binary driver versions. I've gone through just about every version from the currently newest to as far back from NVidia's archives as my kernel would successfully support. Please note: I can not use, or even test, the nouveau drivers on this, because they frequently freeze my system completely shortly after loading (and seem to have done so for a few versions). As I do some gaming and need the performance and stability of the binary drivers, nouveau is unfortunately not an alternative for me.
2) Reinstalling the OS from scratch, taking no settings with me from the old installation. I have done this over several versions of Kubuntu/KDE, also.
3) Starting KWin with both 'KWIN_NVIDIA_HACK=0 kwin --replace' and 'KWIN_NVIDIA_HACK=1 kwin --replace', ie. explicitly enabled and explicitly disabled. Not sure if that hack even does anything any more, but it was worth a try.
4) Tweaking settings left and right in the NVidia control panel.
5) Disabling one effect after the other in system settings, restarting kwin after each change, while keeping compositing active.
This is not:
1) CPU usage. NVidia control panel shows the GPU jumping to ~65C on very simple operations while 'sudo top' shows Xorg and kwin using 1-2% CPU, and at that, they are the heaviest loaders. 'acpi -t' furthermore shows no noticable increase in CPU temperature (1-2 degrees Celcius, tops)
2) Dust accumulation on the heatsink. The problem came literally overnight, after a system upgrade. Furthermore, this is a laptop, so the CPU and GPU share the fan and heatsink, but the CPU's response to load is the same as it has always been.
3) Specific to some particular desktop effect, driver version, KDE version, or driver/KDE misconfiguration. I say this with fair confidence, considering the list of things I've tried so far.
I recall things working just fine in Kubuntu 9.04, which used KDE 4.2.2, so it seems clear that the problem has emerged sometime after KDE 4.2.2 and remained since.
So my question is simply this: Can anyone tell me what's going, how I can fix this, or how I can find the cause?
Some more system information follows, replicating a few bits for your reading convenience.
Laptop make/model: Acer Aspire 5738ZG
Graphics card: NVidia GeForce G105M 512mb
Driver version: NVidia official binary driver 270.41.6
CPU: Intel Pentium T4200 2Ghz Dual-Core
RAM: 4gb DDR3, not shared with the graphics card
KDE version: 4.6.2 (this probably isn't relevant, as the problem has been with me for several versions now.)
* Output from 'kwin --replace':
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce G 105M/PCI/SSE2
OpenGL version string: 3.3.0 NVIDIA 270.41.06
OpenGL shading language version string: 3.30 NVIDIA via Cg compiler
Driver: NVIDIA
Driver version: 270.41.6
GPU class: G80/G90
OpenGL version: 3.3
GLSL version: 3.30
X server version: 1.10.1
Linux kernel version: 2.6.38
Direct rendering: yes
Requires strict binding: no
GLSL shaders: yes
Texture NPOT support: yes
KWin runs my GPU hot even while doing little or nothing. Simply enabling compositing is often enough to bring the GPU up to 65 degrees Celcius. Minor use of fairly load-friendly functions like minimizing or using the alt+tab switcher guarantees it. This may seem trivial, but the constant, high-pitched squeal of the cooling fan renders enabled compositing a fairly unbearable experience (I find compositing very useful in and of itself). Hopefully, the information below will explain why I suspect it's a bug with KWin when using NVidia binary drivers.
Short hardware/system info (more details at end of post):
Graphics card: NVidia GeForce G105M 512mb
Distribution: Kubuntu 11.04
(current) KDE version: 4.6.2 (seemingly irrelevant)
Time/persistence: This problem has been with me since KDE 4.4.2, very probably even before that (it's been a while, I lose track), but at least for a year now, in every version and update I've tried for the past 12 months.
What I've tried:
1) Changing NVidia binary driver versions. I've gone through just about every version from the currently newest to as far back from NVidia's archives as my kernel would successfully support. Please note: I can not use, or even test, the nouveau drivers on this, because they frequently freeze my system completely shortly after loading (and seem to have done so for a few versions). As I do some gaming and need the performance and stability of the binary drivers, nouveau is unfortunately not an alternative for me.
2) Reinstalling the OS from scratch, taking no settings with me from the old installation. I have done this over several versions of Kubuntu/KDE, also.
3) Starting KWin with both 'KWIN_NVIDIA_HACK=0 kwin --replace' and 'KWIN_NVIDIA_HACK=1 kwin --replace', ie. explicitly enabled and explicitly disabled. Not sure if that hack even does anything any more, but it was worth a try.
4) Tweaking settings left and right in the NVidia control panel.
5) Disabling one effect after the other in system settings, restarting kwin after each change, while keeping compositing active.
This is not:
1) CPU usage. NVidia control panel shows the GPU jumping to ~65C on very simple operations while 'sudo top' shows Xorg and kwin using 1-2% CPU, and at that, they are the heaviest loaders. 'acpi -t' furthermore shows no noticable increase in CPU temperature (1-2 degrees Celcius, tops)
2) Dust accumulation on the heatsink. The problem came literally overnight, after a system upgrade. Furthermore, this is a laptop, so the CPU and GPU share the fan and heatsink, but the CPU's response to load is the same as it has always been.
3) Specific to some particular desktop effect, driver version, KDE version, or driver/KDE misconfiguration. I say this with fair confidence, considering the list of things I've tried so far.
I recall things working just fine in Kubuntu 9.04, which used KDE 4.2.2, so it seems clear that the problem has emerged sometime after KDE 4.2.2 and remained since.
So my question is simply this: Can anyone tell me what's going, how I can fix this, or how I can find the cause?
Some more system information follows, replicating a few bits for your reading convenience.
Laptop make/model: Acer Aspire 5738ZG
Graphics card: NVidia GeForce G105M 512mb
Driver version: NVidia official binary driver 270.41.6
CPU: Intel Pentium T4200 2Ghz Dual-Core
RAM: 4gb DDR3, not shared with the graphics card
KDE version: 4.6.2 (this probably isn't relevant, as the problem has been with me for several versions now.)
* Output from 'kwin --replace':
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce G 105M/PCI/SSE2
OpenGL version string: 3.3.0 NVIDIA 270.41.06
OpenGL shading language version string: 3.30 NVIDIA via Cg compiler
Driver: NVIDIA
Driver version: 270.41.6
GPU class: G80/G90
OpenGL version: 3.3
GLSL version: 3.30
X server version: 1.10.1
Linux kernel version: 2.6.38
Direct rendering: yes
Requires strict binding: no
GLSL shaders: yes
Texture NPOT support: yes
Comment