I installed KDE 4 from kde svn trunk on gentoo. When trying it on other distributions (Kubuntu KDE 4 Remix, openSuse 11), I have no problem but when I use it in Gentoo, scrolling in Konqueror or in Konsole is slow, I mean, each time I press the bottom arrow on the keybaord, I have to wait at least 1 second before the page moves. This makes X take 90% of the CPU. I am running a 2.6.26 kernel with drem and intel modules built-in, 3D effects are smooth and working properly. It is a amd64 gentoo installation from the 2008.0 liveCD. I installed the same X version and the same intel driver version as the one in Kubuntu KDE 4 Remix but without the same patches. I attached the Xorg.0.log from both Kubuntu and Gentoo, and both distribution's dmesg. Here's emerge --info : Portage 2.1.4.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26-gentoo x86_64) ================================================================= System uname: 2.6.26-gentoo x86_64 Intel(R) Core(TM)2 Duo CPU T8300 @ 2.40GHz Timestamp of tree: Thu, 14 Aug 2008 07:30:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r13, 2.5.2-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://gentoo.imj.fr/pub/gentoo/ " LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY=" " SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi aiglx alsa amd64 apache2 arts asf avahi berkdb bluetooth branding bzip2 cairo cli cracklib crypt cups curl dbus dell dri dv dvd dvdread firefox flac fortrangdbm gif glitz gphoto2 gpm gstreamer hal iconv ieee1394 imlib ipv6 isdnlog java jpeg kde laptop latin1 ldap lm_sensors midi mjpeg mmx mp3 mudflap multilib musicbrainz mysqlnas ncurses network nls nptl nptlonly nsplugin ogg openexr opengl openmp pcmcia pcre pdf perl php png postgres povray pppd python qt3 qt4 quicktime rdesktop readline reflection samba scanner sdl session speex spell spl sqlite sqlite3 sse sse2 ssl svg sysfs tcpd tetex theora tiff unicode usb utempter v4l v4l2 vcd vim-syntax vorbis wifi xcb xcomposite xine xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_fileauthz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev mouse synaptics keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810 vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS x11-base/xorg-server-1.4.0.90-r3 (but the same problem occurs with version 1.4.2) x11-drivers/xf86-video-i810-2.2.1 (but the same problem occurs with version 2.4.0-r1) lspci : 00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 03) 00:02.0 VGA compatible controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03) 00:02.1 Display controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03) 00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Contoller #4 (rev 03) 00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03) 00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03) 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03) 00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03) 00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03) 00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03) 00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 03) 00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03) 00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03) 00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03) 00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3) 00:1f.0 ISA bridge: Intel Corporation Mobile LPC Interface Controller (rev 03) 00:1f.2 SATA controller: Intel Corporation Mobile SATA AHCI Controller (rev 03) 00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03) 03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05) 03:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22) 03:01.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 12) 03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12) 03:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12) 09:00.0 Ethernet controller: Broadcom Corporation Unknown device 1698 (rev 10) 0c:00.0 Network controller: Broadcom Corporation BCM4310 USB Controller (rev 01) Reproducible: Always Steps to Reproduce: 1.Open konqueror in KDE 4 2.See the slow scrolling Actual Results: Scrolling was slow Expected Results: smooth scrolling
Created attachment 162867 [details] Xorg log for gentoo
Created attachment 162869 [details] Xorg log for kubuntu
Created attachment 162870 [details] dmesg for gentoo
Created attachment 162872 [details] dmesg for kubuntu
Created attachment 162874 [details] xorg.conf for gentoo
Created attachment 162875 [details] xorg.conf for kubuntu
We do support the ebuilds in the Gentoo repository, but not kde svn installations or other third party software. Forwarding you to the X11 guys in case of driver issues.
This is part of the diff from Gentoo (broken) to Kubuntu (working). -(**) intel(0): Option "EXANoComposite" "true" -(II) intel(0): EXA: Disabling Composite operation (RENDER acceleration) If you have compositing disabled, your 3D affects are gonna be dog slow. Try changing that setting in your xorg.conf. I'n passing you on to our Intel driver maintainer for more ideas if that doesn't work.
No, 3D effects have no problem at all and my xorg.conf has the Composite option enabled : Section "Extensions" Option "Composite" "true" EndSection I recently installed x11-drivers/xf86-video-i810-2.4.1-r1 and KDE 4.1 stable, scrolling (and using konsole) works better but that is not yet as smooth as it should be. I haven't tried yet with x11-drivers/xf86-video-i810-2.4.1-r1 and KDE trunk, will do it as soon as possible.
Coud you try adding this : Option "EXANoComposite" "true" to your xorg.conf in the Device section? Thanks
I added it, that's smooth now except for pages a bit more complex (www.qt-apps.org is already a bit slower than www.kde.org for example)
Reassigning back to x11 as I am now on that alias.
Hi, I have a similar problem with i810 driver and 855GM card (Dell laptop). 3D rendering works fine, glxgears with the default window size runs at about 240 fps, but scrolling in the konsole is slow and very CPU consuming. I'm running xorg-server version 1.5.2; xf86-video-i810 version 2.4.2-r2 and KDE 3.5 Not sure if it is the same issue, there are some extra error messages in my X log file: (EE) AIGLX error: drmMap of framebuffer failed (Invalid argument)(EE) AIGLX: reverting to software rendering (EE) intel(0): underrun on pipe A! (EE) intel(0): underrun on pipe B! Any help appreciated. Thanks emerge --info: Portage 2.2_rc12 (default-linux/x86/2007.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo i686) ================================================================= System uname: Linux-2.6.27-gentoo-i686-Intel-R-_Pentium-R-_M_processor_1.50GHz-with-glibc2.0 Timestamp of tree: Tue, 14 Oct 2008 21:00:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.4.4-r14, 2.5.2-r8 dev-python/pycrypto: 2.0.1-r6 dev-util/cmake: 2.4.8 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.3.0-r1 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.26 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -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/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.utf8" LC_ALL="en_US.utf8" LDFLAGS="" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dfx 7zip X a52 aac acl acpi alsa amrnb amrwb apm avi bash-completion bzip2 cairo cdr cli cracklib crypt css cups curl dbus divx divx4linux dri dts dv dvd dvdr dvdread eds emboss encode esd evo exif fam fame firefox garmin gcj gdbm gif gimp gnome gphoto2 gpm gstreamer gtk hal iconv ipv6 isdnlog java javascript jpeg kde kerberos live lm_sensors mad midi mikmod mmx mmx2 mp2 mp3 mpeg mudflap musepack ncurses nptl nptlonly nsplugin ogg oggvorbis opengl openmp oss pam pcre pdf perl pmu png ppds pppd python qt3 qt3support qt4 quicktime readline real reflection samba sasl sdl session snmp spell spl sqlite sse sse2 ssl subtitles svg tcpd theora tiff tls truetype unicode usb userlocales vorbis win32codecs x264 x86 xanim xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 168572 [details] Xorg.log for error on i855GM
Created attachment 168574 [details] xorg.conf for the bug on i855GM
Hi all, I have also a similar problem with an intel gm965. I'm using Xorg 1.4.2 and with the intel driver 2.4.2-r3 scrolling is really slow in some cases, for example konsole and gmail in firefox. However, if I revert back to the stable version of the intel driver (2.1.1) things go really smooth. I tried the proposed solution of adding the exanocomposite option to the device section, but though it improved things a bit, it is still scrolling far worse than with 2.1.1 So, any updates on this matter? Any suggestion I could try?
For now, I'm sorry to say that there's not much to do. I'm currently working on backporting some EXA optimizations from git master onto xorg 1.5. I'll let you know when I have something that builds and runs :) Thanks
I don't have that problem anymore, I'm using X 1.5.2 and xf86-video-i810-2.4.2-r3. It got fixed by updating but it's still a bit slow when there are lots of images on the page.
I'm using Xorg 1.5.2 now with xf86-video-i810-2.5.0. It has improved but the scroll in gmail still feels slower than with 2.1.1. I'll be glad to test any updates
I just tested version 2.5.1 and it works like a charm. Thanks a lot, Rémi!
Thanks for the follow-up. I'd be interested how this version works for the rest of you guys :) Thanks
After I upgraded from xorg-server-1.3.0.0-r6 to xorg-server-1.5.2 (and xf86-video-intel-2.5.1) the graphics speed has decreased significantly. Windows are displayed awfully slow (minimize-restore, switching tabs on the web browser etc.). The problem is on two machines using Intel graphics, one with chipset 865G, the other with 852GM/855GM. It worked like a charm with xf86-video-intel-1.7.4 but it is hard masked now. I tried different driver versions, I tried xorg-server-1.4.2 and different kernel versions (now with 2.6.27.8) but the speed is similar. Scrolling seems to be OK though. On a different machine with ATI graphics speed seems to be OK with xorg-server-1.5.2, so I am suspecting something with Intel driver. Anyone same experience? Any ideas? Thanks. P.S.: Other interesting thing is that 3D is also behaving differently. glxgears shows for all window sizes a frame rate of around 57fps. I was used to get high frame rates for a small window and low ones for big windows. There is also this message displayed when glxgears is started: Failed to initialize TTM buffer manager. Falling back to classic.
Created attachment 175561 [details] X log file
I think that glxgears adapt itself to you monitor refresh rate, if you put 60Hz, no need to to create more images than that and glxgears will show about 60 fps. I have the same thing here with same versions of kernel, drivers and X.
Here's the situation as of today :) Since xf86-video-intel 2.4, EXA is on by default. And since 2.5, the driver uses batchbuffers which unfortunately slows down some EXA operations. To counter this slowdown in Intel's driver, I've backported to xorg-server-1.5.3 an EXA cache which speeds up a *lot* some of the aforementioned operations. Bottom line, please try xorg-server 1.5.3 to see if overall performance improves. Thanks
Hi! I tried xorg-server 1.5.3 and in fact it works faster. I can't tell if it's the same speed as before as I can't compare directly, but it feels about the same. Thanks a lot, now the system is usable again. There is a new issue with 1.5.3 though which may need to be discussed elsewhere - there is some bug with the default font paths. As with HAL xorg.conf is minimal, without explicit font paths listed there only a few fonts are present. According to xlsfonts these are left: -misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1 -misc-fixed-medium-r-semicondensed--13-100-100-100-c-60-iso8859-1 -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1 6x13 cursor fixed After adding a Files section with some FontPath's to xorg.conf that's OK, I can live with this workaround, but 1.5.2 worked without that and IMHO 1.5.3 should do the same. So maybe something got messed up while backporting. Xorg.0.log tells this about it: (==) No FontPath specified. Using compiled-in default. (==) FontPath set to: built-ins
(In reply to comment #26) > I tried xorg-server 1.5.3 and in fact it works faster. I can't tell if it's the > same speed as before as I can't compare directly, but it feels about the same. Great to hear that :) Thanks for testing. > After adding a Files section with some FontPath's to xorg.conf that's OK, I can > live with this workaround, but 1.5.2 worked without that and IMHO 1.5.3 should > do the same. So maybe something got messed up while backporting. Well the overall idea of newer Xorg is to slowly get rid of old fonts by default. Adding them to your xorg.conf is an exercise we'd like to leave up to People Who Know (tm) such as yourself :) But perhaps we do need to discuss the situation wrt old fonts. I'm not quite up to speed on the subject unfortunately... Meanwhile, I'll close this bug fixed then :) Please don't hesitate to open a new bug if you have any issues. Thanks