Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155457 - eselect-opengl is inconsistent with ati-drivers
Summary: eselect-opengl is inconsistent with ati-drivers
Status: RESOLVED DUPLICATE of bug 142584
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: eselect (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo eselect Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-17 01:14 UTC by delimy
Modified: 2006-11-17 04:23 UTC (History)
0 users

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 delimy 2006-11-17 01:14:46 UTC
I have app-admin/eselect-opengl-1.0.3 and x11-drivers/ati-drivers-8.30.3-r1 installed.
After switching to x11-xorg driver:
$ sudo eselect opengl list
Available OpenGL implementations:
  [1]   ati *
  [2]   xorg-x11
$ sudo eselect opengl set xorg-x11

DRI was disabled.
Eventually I found that r300_dri.so(I have a M10 video card) shipped with mesa-6.5.1-r1(emerge with video_cards_radeon flag) was installed as /usr/lib/dri/r300_dri.so, and ati-drivers installed fglrx_dri.so in /usr/lib/xorg/modules/dri/.
I also found that in /etc/env.d/09ati installed by ati-drivers, there's a line:

LIBGL_DRIVERS_PATH="$LIBGL_DRIVERS_PATH::/usr/lib/xorg/modules/dri"

and

$ echo $LIBGL_DRIVERS_PATH
::/usr/lib/xorg/modules/dri

So that's the only place set this variable.

After "ln -s /usr/lib/dri/r300_dri.so /usr/lib/xorg/modules/dri", DRI works again.
Perhaps add "LIBGL_DRIVERS_PATH="$LIBGL_DRIVERS_PATH:/usr/lib/dri" to /etc/env.d/03opengl is better, so I file a bug here.

------------------------------------------------------------
$ emerge --info
Portage 2.1.1-r1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r1 i686)
=================================================================
System uname: 2.6.18-gentoo-r1 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.12.6
Last Sync: Thu, 16 Nov 2006 20:30:07 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp3.tsinghua.edu.cn/mirror/gentoo"
LANG="zh_CN.UTF-8"
LINGUAS="zh_CN"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://ftp3.tsinghua.edu.cn/gentoo/gentoo-portage"
USE="x86 3dnow 3dnowext X aiglx alsa arts berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dlloader dri dvd dvdr eds elibc_glibc emboss encode esd fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux ldap libg++ linguas_zh_CN mad mikmod mmx mmxext mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl sse ssl tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_fglrx video_cards_radeon video_cards_vesa vorbis win32codecs xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-17 04:23:30 UTC

*** This bug has been marked as a duplicate of 142584 ***