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"
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.
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.
@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.
>@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.
Is Qt compiles with OpenGL support?
>Is Qt compiles with OpenGL support? Yes. Just remerged it as a double check and same problem.
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.
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.
Same problem over here with 0.6.2, in version >=0.7.0 this problem is fixed.
Assuming it's fixed in current versions.