Bug 19568 - >=x11-libs/libpciaccess-0.10.4 causes delays in desktop refresh
Summary: >=x11-libs/libpciaccess-0.10.4 causes delays in desktop refresh
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/pciaccess (show other bugs)
Version: 7.4 (2008.09)
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-14 13:26 UTC by Szymluk
Modified: 2010-08-09 13:18 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
xorg.log.diff.gz (2.05 KB, application/gzip)
2009-04-07 10:09 UTC, Fabio Rossi
no flags Details

Description Szymluk 2009-01-14 13:26:32 UTC
After I did upgrade libpciaccess to 0.10.4 version and higher, appear delays in
refreshment my desktop, windows.



Reproducible: Always

Steps to Reproduce:
1.I did upgrade libpciaccess .
2. Appear delays in refreshment desktop, windows.
3. I did downgrade libpciaccess to normally working version.

Actual Results:  
x11-libs/libpciaccess-0.10.3 works perfect.


Info;
lspci                        
00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host
Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc.
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237
AC97 Audio Controller (rev 50)
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400]
(rev b2)

emerge --info                
Portage 2.1.6.4 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r1,
2.6.28-rc2-mm1 i686)
=================================================================
System uname: Linux-2.6.28-rc2-mm1-i686-AMD_Athlon-tm-with-glibc2.0
Timestamp of tree: Tue, 30 Dec 2008 15:00:14 +0000
app-shells/bash:     3.2_p48
dev-lang/python:     2.5.2-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.1-r1
sys-apps/sandbox:    1.3.2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
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"
ARCH="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=athlon-xp -pipe -s -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLISION_IGNORE="/lib/modules"
COLORFGBG="15;0"
COLORTERM="rxvt"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf
/etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo
/etc/udev/rules.d"
CVS_RSH="ssh"
CXXFLAGS="-Os -march=athlon-xp -pipe -s"
DISPLAY=":0.0"
DISTDIR="/usr/portage/distfiles"
EDITOR="vim"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--ask --verbose --alphabetical"
EMERGE_WARNING_DELAY="10"
FEATURES="collision-protect distlocks fixpackages parallel-fetch protect-owned
sandbox sfperms strict unmerge-orphans userfetch"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}"
"${URI}""
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="http://gd.tuwien.ac.at/opsys/linux/gentoo/
http://gentoo.po.opole.pl http://gentoo.supp.name/"
HISTFILE="/root/.zsh_history"
HISTSIZE="2000"
HOME="/root"
HUSHLOGIN="FALSE"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.19/info:/usr/share/gcc-data/i486-pc-linux-gnu/4.1.2/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.3.2/info"
INPUT_DEVICES="mouse keyboard"
KERNEL="linux"
LANGUAGE="48"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text"
LC_ALL="pl_PL.UTF-8"
LDFLAGS="-s -z combreloc"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LINGUAS="pl"
LOGNAME="root"
MAKEOPTS="-j2 -s"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.19/man:/usr/share/gcc-data/i486-pc-linux-gnu/4.1.2/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.3.2/man"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb
php profiler soa visualweb webcommon websvccommon xml"
OLDPWD="/home/ska"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/sbin:/bin:/usr/sbin:/usr/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc s390 amd64 x86 ppc64 x86-fbsd m68k arm sparc sh mips ia64
alpha hppa sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_COUNTER_HASH="172178ecd0efb5414733a5b3b26c7274"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="warn error log"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_NICENESS="19"
PORTAGE_PYM_PATH="/usr/lib/portage/pym"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/banned_branches"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PWD="/home/ska"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O
"${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/opt/bin:/usr/i486-pc-linux-gnu/gcc-bin/4.1.2:/usr/i686-pc-linux-gnu/gcc-bin/4.3.2"
RPMDIR="/usr/portage/rpm"
SANE_BACKENDS="gt68xx"
SANE_CONFIG_DIR="/etc/sane.d"
SAVEHIST="2000"
SHELL="/bin/zsh"
SHLVL="6"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TERM="rxvt-unicode"
USB_DEVFS_PATH="/dev/bus/usb"
USE="X aac acl alsa berkdb bzip2 cdr cli cracklib crypt dri dvdr encode flac
fortran gdbm gif gpm gtk iconv ipv6 isdnlog jpeg midi mmx mp3 mudflap musepack
ncurses nls nptl nptlonly ogg openal opengl openmp pam pcre perl png pppd
python quicktime readline reflection session spell spl sse ssl svg sysfs tcpd
truetype unicode vorbis x86 xorg 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="mouse keyboard"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="nv"
USER="root"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS
CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS
INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS
NETBEANS_MODULES USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="nv"
WINDOWID="27262982"
WINDOWPATH="7"
XAUTHORITY="/root/.xauthJUPJ8E"
_="/usr/bin/emerge"

I use open nvidia drivers
qlist -I x11-drivers
x11-drivers/xf86-input-keyboard
x11-drivers/xf86-input-mouse
x11-drivers/xf86-video-nv

xorg.conf
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
#       RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/75dpi/"
        FontPath     "/usr/share/fonts/util"
        FontPath     "/usr/share/fonts/corefonts"
        FontPath     "/usr/share/fonts/cyrillic"
        FontPath     "/usr/share/fonts/encodings"
        FontPath     "/usr/share/fonts/terminus"
EndSection

Section "Module"
        Load  "GLcore"
        Load  "dbe"
        Load  "dri"
        Load  "extmod"
        Load  "glx"
#       Load  "record"
#       Load  "xtrap"
        Load  "freetype"
#       Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbRules"  "xorg"
        Option      "XkbModel"  "pc105"
        Option      "XkbLayout"     "pl,ru(phonetic)"
        Option      "XkbOptions"    "grp:lwin_toggle,grp_led:scroll"
        Option      "nodeadkeys"    "true" 

EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/psaux"
        Option      "Buttons" "5"
        Option      "ZAxisMapping" "4 5 6 7"
        Option      "Emulate3Buttons" "false"
        Option      "ChordMiddle"

EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        Option       "DPMS"
        HorizSync       30-70
        VertRefresh     50-160
# 1024x768 @ 85.00 Hz (GTF) hsync: 68.60 kHz; pclk: 94.39 MHz
        Modeline "1024x768_85.00"  94.39  1024 1088 1200 1376  768 769 772 807 
-HSync +Vsync
# 800x600 @ 72.00 Hz (GTF) hsync: 45.07 kHz; pclk: 46.87 MHz
        Modeline "800x600_72.00"  46.87  800 840 920 1040  600 601 604 626 
-HSync +Vsync

EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "nv"
        VendorName  "nVidia Corporation"
        BoardName   "NV11 [GeForce2 MX/MX 400]"
        BusID       "PCI:1:0:0"
#       Option      "NoLogo" "true"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Viewport   0 0
                Depth     1
                Modes   "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
                Modes   "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
                Modes   "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
                Modes   "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
                Modes   "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes   "1024x768" "800x600"
        EndSubSection
EndSection

X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.28-rc2-mm1 i686 
Current Operating System: Linux maszynka 2.6.28-rc2-mm1 #3 SMP Fri Dec 26 23:49:11 CET 2008 i686
Build Date: 08 January 2009  09:40:51PM
Comment 1 Szymluk 2009-01-15 00:54:25 UTC
I tried rebuild xorg and libpciaccess with safe C{XX}FLAGS, f.e -O2 -pipe and use stable kernel, too - This don't solve problem.
Comment 2 Fabio Rossi 2009-04-07 10:09:24 UTC
Created attachment 24647 [details]
xorg.log.diff.gz

I can confirm the problem, I use Gentoo too with kernel 2.6.27.12 (gentoo-r8) but with the following video card:

00:02.0 VGA compatible controller: Intel Corporation 82G965 Integrated Graphics Controller (rev 02)

I'm attaching the Xorg.log diff using libpcaccess-0.10.3 and libpcaccess-0.10.5.
Comment 3 Adam Jackson 2010-08-09 13:18:11 UTC
Betting this is solved with libpciaccess 0.12.0.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.