Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 315367 - media-libs/mesa >=7.7.1 considerably slows down and suspends kwin's compositing effects
Summary: media-libs/mesa >=7.7.1 considerably slows down and suspends kwin's compositi...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-15 01:44 UTC by Patrick Lorazo
Modified: 2010-08-26 13:29 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of dmesg (dmesg.txt,15.36 KB, text/plain)
2010-04-15 15:32 UTC, Patrick Lorazo
Details
Content of Xorg.0.log (Xorg.log,46.31 KB, text/plain)
2010-04-15 15:33 UTC, Patrick Lorazo
Details
Output of dmesg. (dmesg.txt,15.18 KB, text/plain)
2010-04-17 17:24 UTC, Patrick Lorazo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lorazo 2010-04-15 01:44:06 UTC
After doing the following upgrade on April 10th (output from genlop) :


     Sat Apr 10 09:20:16 2010 >>> x11-base/xorg-drivers-1.7
     Sat Apr 10 09:20:42 2010 >>> x11-misc/util-macros-1.6.1
     Sat Apr 10 09:22:31 2010 >>> x11-libs/libdrm-2.4.18_pre20100211-r1
     Sat Apr 10 09:23:00 2010 >>> x11-proto/dri2proto-2.3
     Sat Apr 10 09:23:22 2010 >>> x11-proto/xf86bigfontproto-1.2.0
     Sat Apr 10 09:23:53 2010 >>> x11-proto/xf86vidmodeproto-2.3
     Sat Apr 10 09:24:21 2010 >>> x11-proto/xextproto-7.1.1
     Sat Apr 10 09:24:48 2010 >>> x11-proto/fixesproto-4.1.1
     Sat Apr 10 09:25:14 2010 >>> x11-proto/xineramaproto-1.2
     Sat Apr 10 09:25:46 2010 >>> x11-proto/inputproto-2.0
     Sat Apr 10 09:26:15 2010 >>> x11-proto/recordproto-1.14
     Sat Apr 10 09:26:40 2010 >>> x11-proto/scrnsaverproto-1.2.0
     Sat Apr 10 09:27:10 2010 >>> x11-proto/xf86dgaproto-2.1
     Sat Apr 10 09:27:34 2010 >>> x11-proto/xcb-proto-1.6
     Sat Apr 10 09:30:01 2010 >>> x11-libs/libxcb-1.5
     Sat Apr 10 09:36:29 2010 >>> x11-libs/libX11-1.3.3
     Sat Apr 10 09:37:28 2010 >>> x11-libs/libXext-1.1.1
     Sat Apr 10 09:38:50 2010 >>> x11-libs/libXt-1.0.8
     Sat Apr 10 09:39:19 2010 >>> x11-apps/luit-1.0.5
     Sat Apr 10 09:40:18 2010 >>> x11-libs/libXi-1.3
     Sat Apr 10 09:40:52 2010 >>> x11-libs/libXxf86vm-1.1.0
     Sat Apr 10 09:41:28 2010 >>> x11-libs/libXScrnSaver-1.2.0
     Sat Apr 10 09:42:00 2010 >>> x11-libs/libXinerama-1.1
     Sat Apr 10 09:42:35 2010 >>> x11-libs/libXxf86dga-1.1.1
     Sat Apr 10 09:43:08 2010 >>> x11-libs/libXtst-1.1.0
     Sat Apr 10 09:43:38 2010 >>> x11-apps/xinput-1.5.1
     Sat Apr 10 09:44:06 2010 >>> x11-apps/xmessage-1.0.3
     Sat Apr 10 09:44:48 2010 >>> sys-apps/man-pages-3.23
     Sat Apr 10 09:54:20 2010 >>> media-libs/mesa-7.7.1
     Sat Apr 10 10:05:14 2010 >>> x11-base/xorg-server-1.7.6
     Sat Apr 10 10:07:15 2010 >>> x11-drivers/xf86-video-ati-6.12.6
     Sat Apr 10 10:11:24 2010 >>> net-print/hplip-3.9.12-r1

and re-emerging (as recommended) the following packages :

     Sat Apr 10 11:11:24 2010 >>> app-portage/portage-utils-0.2.1
     Sat Apr 10 11:20:13 2010 >>> media-libs/mesa-7.7.1
     Sat Apr 10 11:31:34 2010 >>> x11-base/xorg-server-1.7.6
     Sat Apr 10 11:32:13 2010 >>> x11-drivers/xf86-input-evdev-2.3.2
     Sat Apr 10 11:32:54 2010 >>> x11-drivers/xf86-input-keyboard-1.4.0
     Sat Apr 10 11:33:35 2010 >>> x11-drivers/xf86-input-mouse-1.5.0
     Sat Apr 10 11:35:47 2010 >>> x11-drivers/xf86-video-ati-6.12.6
     Sat Apr 10 11:36:43 2010 >>> x11-drivers/xf86-video-fbdev-0.4.1
     Sat Apr 10 11:37:25 2010 >>> x11-drivers/xf86-video-vesa-2.3.0

kwin's compositing effects have CONSIDERABLY slowed down and are automatically suspended by KDE after a few seconds with the following message :

<<Compositing was too slow and has been suspended. If this was only a temporary
problem, you can resume using [...]>>

Typing "kwin --replace --sync" gives :

<<WARNING: Application calling GLX 1.3 function "glXQueryDrawable" when GLX 1.3
is not supported!  This is an application bug!>>

NOTHING ELSE has been changed.

media-libs/mesa appears to be the problem. I have media-libs/mesa-7.7.1 installed, but media-libs/mesa-7.8.1 seems to give the same issues (please see bug # 309957).

Reproducible: Always

Steps to Reproduce:
1.upgrade media-libs/mesa to >=7.7.1
2.install (if needed) and start KDE
3.activate kwin compositing effects (if not yet activated)

Actual Results:  
Kwin's compositing effects are CONSIDERABLY slowed down and automatically suspended by KDE.

Expected Results:  
Kwin's compositing effects are expected to work properly without being suspended.

Portage 2.1.7.17 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r10 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r10-i686-Intel-R-_Pentium-R-_4_CPU_2.60GHz-with-gentoo-1.12.13
Timestamp of tree: Wed, 14 Apr 2010 23:25:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.4.6, 2.5.4-r4, 2.6.4-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.1.2, 4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirrors.tera-byte.com/pub/gentoo http://gentoo.mirrors.tera-byte.com/ ftp://gentoo.arcticnetwork.ca/pub/gentoo/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.arcticnetwork.ca/ ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ "
LC_ALL="fr_CA.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="fr pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d a52 aac aalib accessibility acl acpi addbookmarks aiglx alias alsa apm arts asf audacious avahi avi bash-completion berkdb bidi bitmap-fonts bluetooth branding browserplugin bzip2 cairo cdda cdio cdparanoia cdr cjk cli connectionstatus consolekit contactnotes cracklib crypt cups cupsddk cxx dbus dri dts dvd dvdr emboss emovix encode exif extraicons f77 fam fax ffmpeg firefox flac foomaticdb fortran freetype gadu gdbm gif gimp gimpprint glitz gnome gnutls gphoto2 gpm gtk gtk2 hal hddtemp highlight history httpd iconv imagemagick imlib ipod ipv6 java jpeg jpeg2k kde kpathsea lcms ldap libg++ libnotify libwww live logitech-mouse mad mdnsresponder-compat mikmod mmx mng modules motif mozilla mozsvg mp3 mp4 mpeg mudflap mysql nano-syntax ncurses nls nowlistening nptl nptlonly nsplugin oav ogg openal opengl openmp oss pam pango pcre pdf perl png povray ppds pppd python qt qt-static qt3support qt4 quicktime readline reflection samba scanner sdl semantic-desktop session slang sms speex spell spl sql sqlite sse sse2 ssl startup-notification stream svg svga sysfs tcpd texteffect theora threads tiff timidity tk translator truetype truetype-fonts type1-fonts unicode usb v4l vcd vidix vlm vorbis webkit webpresence win32codecs winpopup wxwindows x264 x86 xanim xcb xcomposite xine xml xml2 xorg xosd xpm xprint xulrunner xv xvid xvmc zeroconf 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="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr pl" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev radeon vesa" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-04-15 08:39:24 UTC
Please also attach dmesg and Xorg.0.log
If possible, run kwin from command line. In konsole, enter:
$ kwin --replace &
and give its output.
Comment 2 Patrick Lorazo 2010-04-15 15:32:44 UTC
Created attachment 227927 [details]
Output of dmesg
Comment 3 Patrick Lorazo 2010-04-15 15:33:14 UTC
Created attachment 227929 [details]
Content of Xorg.0.log
Comment 4 Patrick Lorazo 2010-04-15 15:35:01 UTC
The output of kwin --replace & gives

Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
WARNING: Application calling GLX 1.3 function "glXCreatePixmap" when GLX 1.3 is not supported!  This is an application bug!
WARNING: Application calling GLX 1.3 function "glXQueryDrawable" when GLX 1.3 is not supported!  This is an application bug!
WARNING: Application calling GLX 1.3 function "glXDestroyPixmap" when GLX 1.3 is not supported!  This is an application bug!

Thank you.
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-04-15 16:50:44 UTC
1. Please enable VGA_ARB in kernel
2. You seem to have an unrelated issue concerning the event input driver which spams your dmesg, so any messages from the drm driver are no longer in the buffer. Solve that first, then attach dmesg again.
Comment 6 Patrick Lorazo 2010-04-17 17:24:38 UTC
Created attachment 228189 [details]
Output of dmesg.

I upgraded the kernel to 2.6.32 in order to enable VGA_ARB.

Please find attached the output of dmesg.

Thanks.
Comment 7 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-04-18 02:25:20 UTC
That is your problem

[  113.139813] radeonfb 0000:01:00.0: putting AGP V3 device into 8x mode

radeonfb is not compatible with current drm.
Comment 8 Patrick Lorazo 2010-05-31 02:05:57 UTC
(In reply to comment #7)
> That is your problem
> 
> [  113.139813] radeonfb 0000:01:00.0: putting AGP V3 device into 8x mode
> 
> radeonfb is not compatible with current drm.
> 
Hi,

I am sorry for the somewhat late response; I have not been able to look at it earlier.

I have just downgraded media-libs/mesa from 7.7.1 to 7.5.2. The message

May 30 21:46:59 [kernel] [   86.359761] radeonfb 0000:01:00.0: putting AGP V3 device into 8x mode

is still there... but everything works fine !

Should I assume that the problem is indeed with media-libs/mesa ?

Thanks.
Comment 9 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-05-31 07:42:29 UTC
Changes in the direct rendering infrastructure were not matched by radeonfb, because it is mostly unmaintained now. So while it might still work with older versions of mesa, it does not with recent code.
Comment 10 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-08-26 13:29:36 UTC
Resolving as INVALID.