qiv exits with > qiv pixies/bilder/mlcp/pac.JPG Gdk-ERROR **: BadMatch (invalid parameter attributes) serial 114 error_code 8 request_code 2 minor_code 0 i tried merging gdk-pixbuf and qiv with less aggressive cflags (just "-march=pentium3") but the error persists. emerge info: Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r13 i686) ================================================================= System uname: 2.6.9-gentoo-r13 i686 Intel(R) Pentium(R) M processor 1600MHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Oct 17 2004, 14:11:45)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.8.5-r2, 1.5, 1.6.3, 1.7.9, 1.4_p6, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r3 virtual/os-headers: 2.4.21-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-Os -mfpmath=sse,387 -ffast-math -ftracer -march=pentium3 -falign-functions=64 -fforce-addr -frename-registers -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -mfpmath=sse,387 -ffast-math -ftracer -march=pentium3 -falign-functions=64 -fforce-addr -frename-registers -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms" GENTOO_MIRRORS="http://home.netzkind.org/portage http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://vimes/gentoo-portage" USE="x86 X aalib acpi alsa apache2 apic apm arts avi berkdb bitmap-fonts cdr crypt cups directfb dvd encode esd f77 fam flac font-server foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imagemagick imlib ipv6 jabber jpeg junit kde libg++ libwww mad mikmod mng motif mozcalendar moznoirc moznoxft mpeg mysql ncurses nls objc oggvorbis opengl oss pam pcmcia pdflib perl png pnp python qt quicktime readline samba sdl sftplogging slang spell ssl svg svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts wifi xine xml xml2 xmms xv zlib linguas_en linguas_de" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS
forgot: qiv-1.9 and gdk-pixbuf-0.22.0-r3
do you have composite extension enabled in xorg.conf? if i do that i get the same error, seems that qiv (the gdk-lib) can't handle the composite extension.
I'm having the same problem, and have the composite extension enabled. I'd that is the problem.
Does the problem still exist with =qiv-2.0?
To answer my own question: it still does.
"XLIB_SKIP_ARGB_VISUALS=1 qiv" obviously works. x11: Have you got any idea regarding how other applications have solved this (looks like xmms had a similar issue)?
No, not offhand. I'm not really aware of any other apps with this problem; you'll have to search around.
Were you able to fix it? I'm having the same issue with qiv 2.0 under amd64.
No progress AFAIK.
Well, uhm - this hasn't seen an upstream release for over 2 years, doubtful that it will ever get fixed. How about punting it? Crashes here as well.
Created attachment 99940 [details, diff] Patch to set the required envvar I had the same problem and wrote this patch. It sets the mentioned environment variable. (The [afaik] only alternative was to rewrite qiv to use gtk2; I don't know enough about gtk to do so) -------------- src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/qiv-composite.patch }
Added Phillip's patch to 2.0-r1, I believe it is the best we have without rewriting the whole thing. Cheers!