I'm running Xorg 7.1.1, nvidia-drivers-1.0.9629 with a Geforce 6600GT. My CPU is an Athlon XP 2500+. My X is a little slow when it comes to window moving/minimizing or maximizing windows, just the standard things you do. It goes up to 40-50% CPU usage just while minimizing a window and even up to 100% when calling "yakuake" (quake-like console that moves down from the top of the screen when pressing a key). Seems that Xorg's drawing is very slow on my configuration. A high CPU usage appears also when changing between tabs in firefox (100%, too). I have Direct Rendering running, xglgears gives me ~6000 fps which I think is okay. I'm using a Dual Monitor Configuration without Xinerama, but i also tried with a new, clean xorg.conf with one Screen only. I had the same issues with former nvidia-drivers and the opensource nv driver. My emerge --info: emerge --info Portage 2.1.1-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686) ================================================================= System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.12.6 Last Sync: Thu, 09 Nov 2006 20:00:02 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_DE.utf8" LC_ALL="de_DE.utf8" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/local /usr/local/overlays/gentoo-de /usr/local/overlays/initng-portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X aiglx aio alsa apache2 apm asf berkdb bitmap-fonts bluetooth cairo cdr cli cpudetect cracklib cups dba divx dlloader dri dvb dvd dvdr dvdread elibc_glibc emboss encode esd exif exscalibar fam ffmpeg foomaticdb fortran gdbm gif glitz gpm gtk gtk2 hal iconv imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipod ipv6 irmc isdnlog java jpeg kde kdeenablefinal kernel_linux libg++ libvisual libwww linguas_de lirc lirc_devices_serial mad mikmod mmxext mono mp3 mpeg musicbrainz mysql ncurses nls nptl nptlonly nsplugin nvidia ogg opengl oss pam pcre pdf perl pic png ppds pppd python qt3 qt4 quicktime readline reflection samba sdl session slp spell spl sse sse2 ssl svg tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU v4l vdr video_cards_nvidia video_cards_v4l video_cards_vesa visualization vorbis win32codecs xcomposite xine xml xorg xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Please try using the nv driver again and attach your xorg.conf and /var/log/Xorg.0.log, then reopen.
Created attachment 101621 [details] Xorg logfile
Tried with nv driver again. Getting yakuake down & up still takes a lot of CPU and things still lag (Like when minimizing firefox and another app needs to be re-drawn because it was hidden by firefox, i can watch the window content beeing drawn). My Xorg.0.log is attached (twinview configuration with nvidia-driver is commented out)
Still need xorg.conf, just got the log.
Created attachment 101667 [details] xorg.conf with nv driver twinview options commented out
I just reinstalled gentoo, stage 3, compiled everything with "-O3 -march=athlon-xp -pipe", guess what? Window moving, resizing windows, scrolling in kde's konsole, everything eats up my CPU! Of course, I've got DRI activated, glxgears shows ~6000 fps in my dual screen config. I had kororaa installed for testing purposes, and with the precompiled system everything worked smoothly. Note: The latest kororaa was compiled using gcc-3.x, while I used gcc 4.1 for my gentoo system. The only error in my Xorg.0.log is: dlopen: /usr/lib/xorg/modules/extensions/libGLcore.so: undefined symbol: __glXActiveScreens (EE) Failed to load /usr/lib/xorg/modules/extensions/libGLcore.so (II) UnloadModule: "GLcore" (EE) Failed to load module "GLcore" (loader failed, 7)
Found the problem: Sub-Pixel Hinting was enabled in kde, which caused a very high cpu load while moving windows etc. There should really be a big warning, since it's not only "consuming a little cpu" but consuming 100% while just moving a window with text in it. While CPU load is now acceptable (max 50% while moving window/15% with xcompmgr), i think it should be possible to have sub-pixel hinting consuming less performance. Thanks!