Bug 637212

Summary: nouveau/nvidia: Desktop freezes when reading GPU temperature ( Xorg uses 100% CPU ) (fixed by kernel 2.6.35)
Product: [openSUSE] openSUSE 11.3 Reporter: Michael Kußmann <michi>
Component: KernelAssignee: E-mail List <kernel-maintainers>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P3 - Medium CC: grok, m.lewis-smith
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 11.3   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Output of lspci
Logfile of Xorg
Output of dmesg

Description Michael Kußmann 2010-09-05 12:02:25 UTC
Created attachment 387636 [details]
Output of lspci

User-Agent:       Opera/9.80 (X11; Linux x86_64; U; de) Presto/2.6.30 Version/10.61

I'm experiencing random freezes of my Desktop ( 1-5sec ). Even the mouse doesn't move and keyboard input is discarded. The System did never crash but it renders the Desktop unusable. While the freezes occur the Xorg process uses 100% CPU (on one core). The occurrence of the freezes is entirely random for me. There are days the System runs flawless and other days when it is unusable. Sometimes restarting X and reloading the kernel driver helps.
I was experiencing these freezes from the first moment i booted the system (with nouveau driver) and as well using the nvidia driver. They occur using KDE or GNOME (did not test other yet). I'm typing this using the nv driver which seems to fix the problem (as these freezes are entirely random i might be waiting days to see them here as well).

I updated to the new kernel in /update/11.3-test which should fix bug #625339. It did not fix my problem. Anyway using kernel-2.6.35 solves the problem. I ran the system for several days and everything worked fine (except for my TV card but that's another issue). Couldn't test 2.6.36 because the nvidia driver won't compile on it. (nv or nouveau run fine i guess ... didn't test that long)


I did not find any relating errors in the log files. I'll attach the output of lspci... I'll provide a Xorg.log and dmesg output later as I'm now using nv driver which is not affected...

Reproducible: Sometimes

Steps to Reproduce:
1. Just boot the System with X11 Desktop
2. Login in
3.
Actual Results:  
Random system freezes for 1-5sec

Expected Results:  
No freezes

My System:
NVIDIA GeForce GT240 (using 9500gt: same problem)
MSI K9N SLI V2 ( nForce 570LT SLI Chipset )
Dual Monitor configuration
AMD Athlon X2 5200+
4GB of RAM
OCZ Agility 2E SSD
Comment 1 Michael Kußmann 2010-09-05 12:09:33 UTC
Created attachment 387637 [details]
Logfile of Xorg
Comment 2 Michael Kußmann 2010-09-05 12:10:04 UTC
Created attachment 387638 [details]
Output of dmesg
Comment 3 Stefan Dirsch 2010-09-05 16:23:38 UTC
Ok. Since kernel 2.6.35 fixes that issue the problem needs to be kernel related. Reassigning.
Comment 4 Michael Kußmann 2010-09-07 13:27:19 UTC
I have finally tracked down the source of the problem: It seems that reading the GPU temperature causes the freezes. (I have gkrellm in Autostart... so it was running all the time and monitoring the GPU temp). 

I can reproduce the freezes now with: nvidia-settings -q gpucoretemp
about 1 from 4 executions of that command causes Xorg to go nuts.
Comment 5 Greg Kroah-Hartman 2011-08-31 20:13:45 UTC
Should now be resolved in the 11.4 release.