Red Hat Bugzilla – Bug 595311
high CPU on Dell laptop using nouveau
Last modified: 2010-10-05 09:24:39 EDT
I've seeing high CPU on my Dell Latitude D630c. I'm seeing the issue when I'm using the on board panel as well as dual screen with an external DVI monitor.
It worked perfectly in F-12 so its a regression. I initially did a 'yum upgrade' and was seeing the problem so did a complete clean re-install and the problem persists. Its somewhat intermittent but occurs on regular intervals either with or without the second screen attached.
There's no xorg.conf as it uses standard Fedora autodetect.
[perobinson@neo ~]$ xrandr
Screen 0: minimum 320 x 200, current 2880 x 900, maximum 8192 x 8192
LVDS-1 connected 1440x900+0+0 (normal left inverted right x axis y axis) 303mm x 190mm
VGA-1 disconnected (normal left inverted right x axis y axis)
DVI-D-1 connected 1440x900+1440+0 (normal left inverted right x axis y axis) 408mm x 255mm
1440x900 59.9*+ 75.0
1280x1024 75.0 60.0
1024x768 75.1 70.1 60.0
800x600 72.2 75.0 60.3 56.2
640x480 72.8 75.0 66.7 60.0
[perobinson@neo ~]$ lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation G86M [Quadro NVS 135M] (rev a1)
Created attachment 416084 [details]
dmesg output from boot of 220.127.116.11-95.fc13.x86_64
This is the dmesg output from boot with dual screen./
Created attachment 416086 [details]
Output from the current xorg.log
Current relevant packages are:
Created attachment 416090 [details]
Created attachment 416117 [details]
drm.debug=15 18.104.22.168-95.fc13.x86_64 /var/log/dmesg
First stage of the boot from /var/log/dmesg with drm.debug=15
Created attachment 416118 [details]
drm.debug=15 22.214.171.124-95.fc13.x86_64 from dmesg command
output from dmesg command for later section of the drm.debug=15 boot.
1. What exactly makes you suspect this has anything to do with your GPU?
2. Can we see some numbers?
(In reply to comment #7)
> 1. What exactly makes you suspect this has anything to do with your GPU?
Because its happening across multiple applications (firefox, eipiphany, evolution, pidgin) randomly and when watching top is seems to rotate between X and the app. It doesn't happen on my intel GPU based devices, but then they are i686 vs x86_64. I though it was only when I was connected to dual screens but it seems to happen all the time now, and the laptop itself seems to be running massively more hot now (not sure that's the gpu but it seems to be linked).
> 2. Can we see some numbers?
What sort of numbers? Most of the time one of the two cores is at or close to 100% but it rotates about, I run the gnome cpu applet with user/system/iowait/nice etc. Its similar to, but not necessarily the same as other reports against nouveau and in all the years that I've run fedora etc those sort of issues across multiple apps tend to be X (no offence I appreciate your work). Before I upgraded to F-13 I was running the same versions of evolution and firefox (taken F-13 srpms and recompiled them on F-12) and I didn't have any issues. I've been running the same apps on F-13 on my netbook without the same issues. I did a 'yum upgrade' on this laptop and I started seeing high CPU issues. I then did a completely clean reinstall without restoring gonme settings (complete clean evolution restore, resynced my bookmarks in firefox via weave) and it still exists. I would run the apps through gdb but I'm not sure how to do that effectively on apps that I need to be able to use for work.
By numbers I meant CPU usage numbers for where you say it's high, thanks for that!
Okay, the fact you see the apps also with large CPU usage numbers (and not just X) does make me think something else is probably responsible. But, who knows at this point.
Is there any chance you can try nv and/or vesa and see how you fare?
> Is there any chance you can try nv and/or vesa and see how you fare?
Sure, how? I tried nomodeset on the kernel command line and it just crawled (could see the lines going up the screen as it re-drew). And this laptop has been absolutely spectacular on non 3D for ages (I think I had an issue with the dual screen on nouveau just prior to F-11 but it was fixed) and I really don't want to have to reinstall to F-12 (its my work laptop)
You need to append "nomodeset" and create an xorg.conf with:
For vesa simply swap Driver "nv" for Driver "vesa".
Created attachment 416368 [details]
The NV driver didn't work well. I got weird colours on the GDM screen (will attach picture). The xorg.conf file was as follows:
# Xorg configuration created by system-config-display
Identifier "single head configuration"
Screen "nv-screen" 0 0
VendorName "Monitor Vendor"
ModelName "LCD Panel 1440x900"
HorizSync 31.5 - 56.0
VertRefresh 56.0 - 65.0
Viewport 0 0
Created attachment 416369 [details]
GDM login screen with NV driver
This is the GDM login screen with the standard F-13 background.
NV driver doesn't really work at all. See above. I'm running at the moment on the vesa driver which doesn't detect my 2nd screen but a minor pain. The CPU seems to be OK at the moment but I've been running it for about 10 mins and it sometime takes a while. I'll run like this for the rest of the day and see how I get on.
I've been running on the vesa driver now for 2-3 hours with no heavy cpu spokes to 100% by any of the usual suspects such as evo/firefox/pidgin/epiphany.
It seems that its been running mostly OK for most of the day on the vesa driver. How can I debug this further?
With more playing on this I don't get the high CPU if I use nouveau with nomodeset on the kernel command line. Unfortunately i also don't get dual screens and the refresh is really slow at times.
HW has gone so I can't even test this any more,