PDA

View Full Version : Xorg cpu usage spikes on even simple 2d apps


puterguy
03-30-07, 07:23 PM
Xorg seems to be using an inordinate amount of cpu power for relatively simple 2D graphics ops

For example, moving one text-only gterm over another (back-and-forth) cause Xorg cpu usage to spike from 2.7% to 20%. Running a gterm over the mythfrontend menu page, causes Xorg cpu usage to spike to 50%. Scrolling a google search results page rapidly (text only) in Firefox also spikes Xorg CPU usage to 50%

Of course, situation gets worse when I do more 2D intensive graphics like playing back an HD quality mpeg2 video -- Then cpu usage spikes to 50-60% for Xorg and 40-50% for the player.

Is something wrong here?
While my card is relatively old, I still would think that it shouldn't have that much problem with redrawing simple xterm text windows.

My setup is as follows:
GeForce Ti 4600 with 9633 drivers
Intel P4 2.8 GHz CPU on an ASUS p4pe motherboard
2 GB DDR RAM
Fedora Core 6/Linux 2.6.20 with Gnome

I have tried turning on/off various settings under nvidia-settings including sync-to-blank and cursor shadows.

My Xorg.conf has the following (relevant) settings:

Section "Files"
ModulePath "/usr/lib/xorg/modules/extensions/nvidia"
ModulePath "/usr/lib/xorg/modules/extensions"
ModulePath "/usr/lib/xorg/modules"
EndSection

Section "Module"
Load "glx"
Load "extmod"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
# Driver "nv"
VendorName "LeadTek/NVIDIA"
BoardName "NVIDIA GeForce4 (generic)"
#JJK Additions:
Option "NvAGP" "3"
Option "RandRRotation" "True" # Enable rotation via: xrandr
Option "AllowDDCCI" "True"
Option "Cursor Shadow" "True"
EndSection


Any ideas on what might be going on or is this "normal"?

unimatrix
09-24-09, 08:37 AM
Sorry to revive an old thread, but I must confirm this. 2 years later, the situation has not improved (using nvidia 185.18.36).

On the other hand, this is even worse on ATI cards.
Could this be an Xorg problem?