Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79694 - >=media-gfx/qiv-1.9 exits with Gdk-Error
Summary: >=media-gfx/qiv-1.9 exits with Gdk-Error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Graphics Project
URL: http://bugs.debian.org/cgi-bin/bugrep...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-27 03:12 UTC by Adrian von Buttlar
Modified: 2006-12-03 05:42 UTC (History)
4 users (show)

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


Attachments
Patch to set the required envvar (qiv-composite.patch,339 bytes, patch)
2006-10-18 07:50 UTC, Phillip Berndt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian von Buttlar 2005-01-27 03:12:44 UTC
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
Comment 1 Adrian von Buttlar 2005-01-27 03:16:17 UTC
forgot: qiv-1.9 and gdk-pixbuf-0.22.0-r3
Comment 2 anakin.shiva.kjo 2005-02-27 07:52:01 UTC
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.
Comment 3 Pedro Morales 2005-03-01 09:20:03 UTC
I'm having the same problem, and have the composite extension enabled. I'd that is the problem.
Comment 4 Marcelo Goes (RETIRED) gentoo-dev 2006-01-12 17:04:39 UTC
Does the problem still exist with =qiv-2.0?
Comment 5 Marcelo Goes (RETIRED) gentoo-dev 2006-02-05 07:54:58 UTC
To answer my own question: it still does.
Comment 6 Marcelo Goes (RETIRED) gentoo-dev 2006-02-05 08:39:43 UTC
"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)?
Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2006-02-05 12:04:10 UTC
No, not offhand. I'm not really aware of any other apps with this problem; you'll have to search around.
Comment 8 Angel Olivera 2006-06-16 15:24:22 UTC
Were you able to fix it? I'm having the same issue with qiv 2.0 under amd64.
Comment 9 Marcelo Goes (RETIRED) gentoo-dev 2006-06-16 20:59:26 UTC
No progress AFAIK.
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-07-16 04:51:39 UTC
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.
Comment 11 Phillip Berndt 2006-10-18 07:50:57 UTC
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
}
Comment 12 Marcelo Goes (RETIRED) gentoo-dev 2006-12-03 05:42:53 UTC
Added Phillip's patch to 2.0-r1, I believe it is the best we have without rewriting the whole thing.

Cheers!