View Single Post
Old 03-30-07, 05:23 PM   #1
Registered User
Join Date: Jan 2003
Posts: 76
Default Xorg cpu usage spikes on even simple 2d apps

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
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"

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

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"

Any ideas on what might be going on or is this "normal"?
Fedora Core6/Linux 2.6.x
nVidea driver: 9631
Asus P4PE motherboard
Intel P4 2.8GHz
1.5GB PC2700 DDR Kingston
Leadtek Ultra A250 GF4 4600 128MB with VIVO/TVO
WinFast TV2000XP Deluxe
Dell 1901FP 19" LCD
Antec 400W Power Supply
puterguy is offline   Reply With Quote