I tried to install mythtv today and it fails "switch 'opengl-update xorg-x11' or 'opengl-update xfree'. I tried to switch to xorg-x11 and xfree. But it doesn't seem to accept these parameters and shows the default help-message to me instead. I have x11-base/opengl-update-1.8.1-r1 installed. Reproducible: Always Steps to Reproduce: 1.opengl-update xfree 2. 3. Actual Results: antares /home/benni # opengl-update xorg-x11 usage: opengl-update <GL implementation> note: This utility switches between OpenGL implementations. Currently there are five supported implementations, "xorg-x11" "xfree" "nvidia" "ati" and "mtx", the implementations for X.org, XFree86, nVidia, ATi and Matrox drivers respectively. examples: opengl-update xorg-x11 This will setup things to use libGL.so from X.org. opengl-update nvidia This will setup things to use libGL.so from the nVidia drivers. or antares /home/benni # opengl-update xfree usage: opengl-update <GL implementation> note: This utility switches between OpenGL implementations. Currently there are five supported implementations, "xorg-x11" "xfree" "nvidia" "ati" and "mtx", the implementations for X.org, XFree86, nVidia, ATi and Matrox drivers respectively. examples: opengl-update xorg-x11 This will setup things to use libGL.so from X.org. opengl-update nvidia This will setup things to use libGL.so from the nVidia drivers. Expected Results: antares /home/benni # opengl-update xorg-x11 * Switching to xorg-x11 OpenGL interface ... [ ok ] antares /home/benni # emerge --info Portage 2.0.51-r2 (default-linux/x86/2004.2/gcc34, gcc-3.4.2, glibc- 2.3.4.20041006-r0,glibc-2.3.4.20040808-r0, 2.6.8-gentoo-r3 i686) ================================================================= System uname: 2.6.8-gentoo-r3 i686 AMD Athlon (TM) Gentoo Base System version 1.6.4 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1,sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-tbird -O2 -pipe -mmmx -m3dnow" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1 /share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/conf ig /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-tbird -O2 -pipe -mmmx -m3dnow" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs candy ccache distlocks keepwork noauto sandbox sfperms userpriv usersandbox" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://sunsite.dk/mirrors/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/benni/development/ebuilds" SYNC="rsync://vega/portage" USE="X Xaw3d aalib alsa apache apache2 apm arts avi berkdb bitmap-fonts bonobo cdr crypt cscope cups dga directfb dvd emacs encode esd f77 fam flac flash foomaticdb gb gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib informix innodb jack jikes jpeg kde kerberos ldap libg++ libwww lirc mad maildir mbox mikmod mmmx motif mozilla mpeg mysql ncurses nls nocardbus nofbc nptl oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline samba sasl scanner sdl slang speex spell ssl svga tcltk tcpd tiff truetype unicode usb wmf x86 xml xml2 xmms xprint xv zlib"
Which xorg-x11 version? Also, `ls /usr/lib/opengl/`
antares /home/benni # emerge -p xorg-x11 These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] x11-base/xorg-x11-6.8.0-r2 antares /home/benni # ls /usr/lib/opengl/ global nvidia antares /home/benni #
Could you give this another try with the current 6.8.0-r2? I just built a package of it, and things look fine. supernova xorg-x11-6.8.0-r2 # find usr/lib/opengl/ -type f usr/lib/opengl/xorg-x11/lib/libGL.so.1.2 usr/lib/opengl/xorg-x11/lib/libGL.la usr/lib/opengl/xorg-x11/lib/libGL.a usr/lib/opengl/xorg-x11/extensions/libglx.a usr/lib/opengl/xorg-x11/include/gl.h usr/lib/opengl/xorg-x11/include/glx.h usr/lib/opengl/xorg-x11/include/glxtokens.h usr/lib/opengl/xorg-x11/include/glext.h
Works now. I noticed a Useflag "glx" which I didn't see before. Maybe that was the reason for this bug. However it *could* be a good idea to bring some verbosity to opengl-update like "blablabla cannot find it in /usr/lib/opengl/...". Anyway: Thanks for your help, donnie. :) I take the freedom to close this one.
opengl-update >=2 actually shows the available implementations rather than just printing a generic help message. It also should work properly on 6.8.0-r2. And yeah, the glx flag will do it. I've just renamed that flag to opengl, incidentally, and you'll also want to enable dri if you want the 3D drivers built. If you use binary drivers, don't worry about it.