Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65559 - digikam/digikamplugin crashed when running opengl-slideshow
Summary: digikam/digikamplugin crashed when running opengl-slideshow
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-27 10:36 UTC by Felix Hammer
Modified: 2005-03-06 09:52 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Hammer 2004-09-27 10:36:32 UTC
when i try to run the slideshow from the digikamplugins with opengl-support the programm crashes. i'm using nvidia-glx for opengl.

Reproducible: Always
Steps to Reproduce:
1.emerge digikam-0.6.2 and digikamplugins-0.6.2
2.start digikam
3.run the slideshow with opengl-support
Actual Results:  
digikam: error while loading shared 
libraries: /usr/lib/kde3/digikamplugin_slideshow.so: undefined symbol: 
glEnable 
 


Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r1, 
2.6.8-gentoo-r3) 
================================================================= 
System uname: 2.6.8-gentoo-r3 i686 AMD Athlon(tm) Processor 
Gentoo Base System version 1.4.16 
Autoconf: sys-devel/autoconf-2.59-r4 
Automake: sys-devel/automake-1.8.5-r1 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon -O2 -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.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/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="-march=athlon -O2 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="ftp://ftp.uninett.no/pub/linux/Gentoo 
http://mir.zyrianes.net/gentoo/ ftp://mir.zyrianes.net/gentoo/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="3dnow X aalib alsa apache apm arts avi berkdb bitmap-fonts bonobo cdr 
crypt cups curl divx4linux dvd dvdread encode flash foomaticdbgdbm gif gphoto2 
gpm gtkhtml guile imlib innodb java jpeg kde libg++ libwww linguas_de lzo mad 
mikmod mmx motif mpeg mysql ncurses nls oggvorbis opengl pam pdflib perl php 
png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd tetex 
theora truetype v4l2 x86 xmlxml2 xmms xprint xv xvid zlib"
Comment 1 Maarten Wisse 2004-10-15 02:49:20 UTC
I've been running the opengl slideshow innumerable times, and have never seen a crash. I'm running it on an Acer laptop with an experimental version of Savage OpenGL support.
Comment 2 Chris Smith 2004-10-15 10:25:07 UTC
I get this same error with digikamplugins. Also I cannot rebuild digikamplugins with opengl support because of numerous opengl errors:
 /usr/qt/3/lib -R /usr/X11R6/lib  -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.3/lib  plugin_slideshow.lo slideshow.lo slideshowconfig.lo imlibiface.lo slideshowgl.lo plugin_slideshow.moc.lo slideshow.moc.lo slideshowconfig.moc.lo slideshowgl.moc.lo  -lkparts -ldigikam -L/usr/lib -lImlib -ljpeg -ltiff -lungif -lpng -lz -lm -lXext -L/usr/X11R6/lib -lSM -lICE -lXext -lX11
.libs/slideshowgl.o(.text+0x2f): In function `SlideShowGL::resizeGL(int, int)':
: undefined reference to `glViewport'
.libs/slideshowgl.o(.text+0x3b): In function `SlideShowGL::resizeGL(int, int)':
: undefined reference to `glMatrixMode'
.libs/slideshowgl.o(.text+0x40): In function `SlideShowGL::resizeGL(int, int)':
: undefined reference to `glLoadIdentity'

I'm also using nvidia-glx.
There is also a strange problem that whenever I do an env-update, "opengl-update nvidia" must be rerun or opengl apps will segfault.
Comment 3 Simone Gotti (RETIRED) gentoo-dev 2004-10-15 11:07:46 UTC
@Felix:
If you use the xorg-x11 or xfree opengl implementation, does it crash anyway?
If it not crashes, probably is a problem with the nvidia opengl drivers.

@Chris: you can also try compiling digikam after switching to the xorg-x11 or xfree opengl implementation, and look if it compiles.
Comment 4 Chris Smith 2004-10-15 21:39:55 UTC
>@Chris: you can also try compiling digikam after switching to the xorg-x11 or xfree opengl implementation, and look if it compiles.

I can no longer compile digikamplugins with opengl support. I get the same error after switching with both the xorg-x11 and nvidia implementations.
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2004-10-16 11:36:02 UTC
Is Qt compiles with OpenGL support?
Comment 6 Chris Smith 2004-10-16 13:01:55 UTC
>Is Qt compiles with OpenGL support?

Yes. Just remerged it as a double check and same problem.
Comment 7 Chris Smith 2004-10-16 15:00:43 UTC
What and where is digikamplugins looking for that it can't find? I seem to have all of the libGL* files.
Also my weird loss of opengl support after env-update has been resolved (bug 67708) so it's no longer a factor.
Comment 8 Chris Smith 2004-10-17 11:27:59 UTC
In case it helps...
Relevant part from the Qt configure:
=============
OpenGL auto-detection... ()
  Found GLU lib in /usr/lib
  Found GL lib in /usr/X11R6/lib
  Found Xmu lib in /usr/X11R6/lib
  Found GL/gl.h in /usr/X11R6/include
  Found GL/glu.h in /usr/X11R6/include
OpenGL enabled.
=============

From the digikamplugins configure:
=============
configure: The slideshow plugin requires OpenGL support compiled into Qt!
=============
Nothing else about OpenGL until the compile failure.
Comment 9 Michiel de Bruijne 2005-02-08 07:43:30 UTC
Same problem over here with 0.6.2, in version >=0.7.0 this problem is fixed.
Comment 10 Gregorio Guidi (RETIRED) gentoo-dev 2005-03-06 09:52:56 UTC
Assuming it's fixed in current versions.