Summary: | slowly responding system (especially web browsing very slow) with xorg 7.2 and mesa 6.5.2 on amd64 and r300 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michal Pytasz <mpytasz> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | bevan, Hloupy.Honza |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
log of xorg 7.2 starting
xorg.conf |
Description
Michal Pytasz
2007-02-07 09:24:06 UTC
# emerge --info --verbose Portage 2.1.2-r8 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 x86_64) ================================================================= System uname: 2.6.19-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System release 1.12.9 Timestamp of tree: Wed, 07 Feb 2007 06:00:01 +0000 dev-java/java-config: 1.3.7, 2.0.31-r3 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 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 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.20 ABI="amd64" ACCEPT_KEYWORDS="amd64 ~amd64" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ARCH="amd64" ASFLAGS_x86="--32" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CDEFINE_amd64="__x86_64__" CDEFINE_x86="__i386__" CFLAGS="-O2 -pipe -march=k8" CFLAGS_x86="-m32 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib" CHOST="x86_64-pc-linux-gnu" CHOST_amd64="x86_64-pc-linux-gnu" CHOST_x86="i686-pc-linux-gnu" CLASSPATH="." CLEAN_DELAY="5" 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/terminfo" CVS_RSH="ssh" CXXFLAGS="-O2 -pipe -march=k8" DEFAULT_ABI="amd64" DISPLAY=":0.0" DISTDIR="/usr/portage/distfiles" EDITOR="/bin/nano" ELIBC="glibc" EMERGE_WARNING_DELAY="10" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -P ${DISTDIR} ${URI}" GCC_SPECS="" GDK_USE_XFT="1" GENERATION="2" GENTOO_MIRRORS="http://gentoo.po.opole.pl/ http://src.gentoo.pl/ http://gentoo.intergenia.de/" G_BROKEN_FILENAMES="1" G_FILENAME_ENCODING="UTF-8" HOME="/root" INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.17/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/info" INPUT_DEVICES="mouse keyboard evdev joystick" JAVAC="/etc/java-config-2/current-system-vm/bin/javac" JAVA_HOME="/etc/java-config-2/current-system-vm" JDK_HOME="/etc/java-config-2/current-system-vm" KDEDIRS="/usr/kde/3.5:/usr:/usr/local" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LDFLAGS_x86="-m elf_i386 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib" LESS="-R -M --shift 5" LESSOPEN="|lesspipe.sh %s" LIBDIR_amd64="lib64" LIBDIR_x86="lib32" LINGUAS="pl" LOGNAME="root" LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:" MAKEOPTS="-j2" MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.17/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/man:/opt/blackdown-jdk-1.4.2.03/man:/etc/java-config/system-vm/man/:/usr/qt/3/doc/man" MULTILIB_ABIS="amd64 x86" MULTILIB_STRICT_DENY="64-bit.*shared object" MULTILIB_STRICT_DIRS="/lib /usr/lib /usr/kde/*/lib /usr/qt/*/lib /usr/X11R6/lib" MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage)" OLDPWD="/root" OPENGL_PROFILE="xorg-x11" PAGER="/usr/bin/less" PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.1:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin" PKGDIR="/usr/portage/packages" PKG_CONFIG_PATH="/usr/qt/3/lib64/pkgconfig" PORTAGE_ARCHLIST="ppc s390 amd64 x86 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha ppc-macos hppa sparc-fbsd" PORTAGE_BINHOST_CHUNKSIZE="3000" PORTAGE_BIN_PATH="/usr/lib/portage/bin" PORTAGE_CONFIGROOT="/" PORTAGE_DEBUG="0" PORTAGE_DEPCACHEDIR="/var/cache/edb/dep" PORTAGE_ELOG_CLASSES="log warn error" PORTAGE_ELOG_MAILFROM="portage" PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}" PORTAGE_ELOG_MAILURI="root" PORTAGE_GID="250" PORTAGE_INST_GID="0" PORTAGE_INST_UID="0" PORTAGE_PYM_PATH="/usr/lib/portage/pym" 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_RSYNC_RETRIES="3" PORTAGE_TMPDIR="/var/tmp" PORTAGE_WORKDIR_MODE="0700" PORTDIR="/usr/portage" PWD="/root/madwifi" PYTHONPATH="/usr/lib/portage/pym" QMAKESPEC="linux-g++" QTDIR="/usr/qt/3" RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -P ${DISTDIR} ${URI}" ROOT="/" ROOTPATH="/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.1:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin" RPMDIR="/usr/portage/rpm" SHELL="/bin/bash" SHLVL="1" STAGE1_USE="nptl nptlonly unicode" SYMLINK_LIB="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" TERM="xterm" USE="X alsa amd64 arts aspell avi berkdb bitmap-fonts bzip2 cli cracklib crypt cups dbus dlloader dri dv dvd dvdr dvdread encode ffmpeg flac fortran gdbm gif gpm gtk gtk2 hal iconv ipv6 isdnlog jack java jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility libg++ lm_sensors logitech-mouse logrotate madwifi midi mikmod mp3 mysql ncurses nls nptl nptlonly nsplugin ogg opengl oss pam pcre pdf perl png postgres ppds pppd python qt qt3 rdesktop readline reflection samba sdl session sndfile spl ssl symlink tcl tcpd theora tiff timidity tk trascode truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd vorbis wifi xinerama xml xorg xv xvid zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="ati radeon" USER="root" USERLAND="GNU" USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS USERLAND VIDEO_CARDS" USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND" USE_ORDER="env:pkg:conf:defaults:pkginternal" VIDEO_CARDS="ati radeon" VMHANDLE="blackdown-jdk-1.4.2" XARGS="xargs -r" XAUTHORITY="/root/.xauthWifmbm" XDG_DATA_DIRS="/usr/share:/usr/kde/3.5/share:/usr/local/share" _="/usr/bin/emerge" # lspci 00:00.0 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge 00:00.1 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge 00:00.2 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge 00:00.3 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge 00:00.4 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge 00:00.7 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge 00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 South] 00:06.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01) 00:07.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder (rev 03) 00:07.1 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] (rev 03) 00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10) 00:0f.0 IDE interface: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80) 00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) 00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) 00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) 00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) 00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) 00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86) 00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South] 00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60) 00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration 00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control 01:00.0 VGA compatible controller: ATI Technologies Inc RV350 AS [Radeon 9550] 01:00.1 Display controller: ATI Technologies Inc RV350 AS [Radeon 9550] (Secondary) Which version of xf86-video-ati do you have installed? Did you try rebuilding after installing X7.2? Also, please attach Xorg.0.log from starting 7.2. Created attachment 109484 [details]
log of xorg 7.2 starting
Created attachment 109486 [details]
xorg.conf
I attached Xorg.0.log and xorg.conf. Honestly, I could not find any useful information related to the problem there. my xf86-video-ati is 6.6.3 BTW, I also tried to rebuild the whole system on a separate disk, suspecting some reverse-dependency problem with some library, unfortunately I get exactly the same result so it seems to be somewhere in xorg-server or mesa, or both. I have similar problem, but I relate it rather to the kernel than to xorg. On my laptop (Sempron 2600+, 32-bit only k8 architecture, VIA K8N800 chipset, Synaptics touchpad) I boot alternatively to kernels 2.6.18-gentoo, 2.6.19-gentoo-r1 and 2.6.20-gentoo (lately experimenting only with 2.6.18 and 2.6.20). Under xorg-x11-7.2 I use fluxbox-1.0_rc2-r2 with gkrellm-2.2.10; with 2.6.18 kernel I have idle load of processor 0-1%, while with 2.6.20 (as well as 2.6.19) I get touchpad response beyond usability, idle load being over 40% (100% as soon as I try to move the pointer), shared about equally among X and gkrellm2. I think recompilation of the synaptics driver (or compilaton of libsynaptics) partially helped with 2.6.19 kernel, making my machine to respond annoyingly slowly, but within usable limits; with 2.6.20 I'm currently trying various recompilation of xorg drivers and protocols, still having the pointer next to unusable. Significant load of processor continues to hinder my laptop usage even if I resort to keyboard-only interaction. No recompilation (with /usr/src/linux pointing to the 2.6.20 sources, of course, and laptop booted into 2.6.20 kernel) has affected X usability under 2.6.18 kernel yet, with 2.6.18 I can use my laptop, X and everything quite well. I'm completely ignorant of the possible cause and look for it blindly. After reading this bugreport, I'm going to try downgrading xorg -- but if it really helps, I'll be confused even more. I think attaching the diff of my kernel configs might help. Since I see there several unnecessary differences, I'll first try to recompile 2.6.18 (or better upgrade to 2.6.18-gentoo-r3) and 2.6.20 with as many options identical as possible, check the results, and then post my kernel configs diff. Well, somewhere deep in the drawer I have Sempron 2800+ laptop with via unichrome - it does not seem to have a problem with xorg7.2, I think it might be r300 related (at least in my case), since on amd64 desktop it happens with various versions of kernel. I have not checked it in terms of memory usage, I will do it as soon as I get back from work, but the beaviour is as if the pc had 128MB not 1GB. Moreover, always with recompilation of xorg-server I rebuild mesa, xf86-input-all-i-have (no synaptics on the desktop though, just mouse and keyboard) and xf86-video-ati. (In reply to comment #8) I've tried downgrading Mesa -- masking >=media-libs/mesa-6.5.2 and reemerging -- to deal with bug 163581. Looks like my problems with the X slowdown under 2.6.20 kernel are solved now too. Right after startx I still had my server slowed down and processor load unreasonably high, though usable with enough patience, and I'm not sure if just waiting some time was needed or if it was the test of opengl screensavers preview what helped, but now my X seems to work OK. Bug 163581 makes me believe that it's Mesa, what's essentially wrong, yet the slowdown apparently arose from its interaction with the recent kernels, not affecting 2.6.18 one. Puzzles me. I have 1 addition. The sleuth of the system is only wit EXA, having changed AccelMethod to XAA solved the problem Michał Pytasz (In reply to comment #10) > I have 1 addition. The sleuth of the system is only wit EXA, having changed > AccelMethod to XAA solved the problem For me (VIA Unichrome graphics) EXA does not work at all -- X freezes on start. Having found a Ubuntu forum thread http://ubuntuforums.org/showthread.php?t=342115 recommending DisableIRQ option for via driver, I tried that and got not only much better response of X with 2.6.21 kernel (as well as 2.6.19 and 2.6.20 series), but noticeably shorter start time of X with 2.6.18 too. Before I disabled IRQ use, I was able to end the high CPU load, low response state of my X with kernel >2.6.18 by issuing `xset dpms force off; xset dpms force on`. Now I've filed bug 178600 for my problems with media-libs/mesa-6.5.2(-r1). Those are related not only to VIA graphics, but to a Radeon (9200SE) too. While with VIA hardware I still have to stick to mesa-6.5.1-r4, with Radeon upgrading to mesa-6.5.3 (currently in portage, but masked for testing) seems to solve my problems. Even EXA acceleration seems to work. I had the same issue here. Both emerge -uD world and revdep-rebuild failed to discover that xorg-x11 and mesa needed updated. mesa-6.5.2-r1 resolves the issue for me. I guess this problem got obsolete |