Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 336629 - [x11-overlay] app-admin/eselect-mesa-0.0.5: gallium driver filename mistmatch for r300g_dri.so / radeong_dri.so
Summary: [x11-overlay] app-admin/eselect-mesa-0.0.5: gallium driver filename mistmatch...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-09 17:50 UTC by Alexander Krebs
Modified: 2010-09-10 12:16 UTC (History)
0 users

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


Attachments
diff patch (mesa.eselect.diff,112 bytes, patch)
2010-09-10 01:03 UTC, 5FBCDB43
Details | Diff
RDEPEND check (eselect-mesa-0.0.5-r1.ebuild,557 bytes, text/plain)
2010-09-10 02:02 UTC, 5FBCDB43
Details
new ebuild (eselect-mesa-0.0.6.ebuild,555 bytes, text/plain)
2010-09-10 02:04 UTC, 5FBCDB43
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Krebs 2010-09-09 17:50:08 UTC
eselect-mesa cannot switch to gallium for r300. the option is missing:

localhost ~ # eselect mesa list
i915 (Intel 915, 945)
i965 (Intel 965, G/Q3x, G/Q4x)
r300 (Radeon R300-R500)
 [1] classic *
r600 (Radeon R600-R700)
 [1] classic *
 [2] gallium
sw (Software renderer)
 [1] classic *
 [2] gallium

there seems to be a filename mismatch in between eselect-mesa and mesa from the current git overlay. eselect-mesa requires radeong_dri.so in $PREFIX/lib/mesa, while mesa provides r300g_dri.so only. symlinking "ln -s r300g_dri.so radeong_dri.so" fixes this and r300 gallium can be selected. however, after switching to "r300g_dri.so" this leads to

localhost ~ # glxinfo
Segmentation fault.








Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.31-gentoo-r10 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r10-i686-Intel-R-_Pentium-R-_M_processor_2.00GHz-with-gentoo-1.12.13
Timestamp of tree: Wed, 08 Sep 2010 17:00:22 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de es"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/git-overlays/x11"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl berkdb bzip2 cairo cdparanoia cli cracklib crypt cxx dbus dri emerald extras faac faad fbcon ffmpeg fortran gdbm glitz gpm gtk hal iconv ipv6 jpeg kpathsea mmx mmxext modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl png pppd python qt3support readline reflection session sse sse2 ssl sysfs tcpd truetype tv unicode v4l v4l2 x264 x86 xcb xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de es" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon vesa vga r300 r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always
Comment 1 5FBCDB43 2010-09-10 01:03:16 UTC
Created attachment 246643 [details, diff]
diff patch

Changed the r300 gallium library name to the new one.
Comment 2 5FBCDB43 2010-09-10 01:16:23 UTC
This change in the driver name was done by this commit:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=37f0654fa56a97c6f4ea6220c97758ee95267e0b

The ebuild should have a > DEPEND once a release of mesa that has this commit applied is out.
Comment 3 5FBCDB43 2010-09-10 02:02:13 UTC
Created attachment 246648 [details]
RDEPEND check

Figured I could do this now.
Comment 4 5FBCDB43 2010-09-10 02:04:53 UTC
Created attachment 246649 [details]
new ebuild

Those ebuilds will need a patch on RDEPEND later.
Comment 5 Alexander Krebs 2010-09-10 09:49:01 UTC
(In reply to comment #4)
> Created an attachment (id=246649) [details]
> new ebuild
> 
> Those ebuilds will need a patch on RDEPEND later.
> 

localhost eselect-mesa # ebuild eselect-mesa-0.0.5-r1.ebuild digest
>>> Downloading 'http://distfiles.gentoo.org/distfiles/eselect-mesa-0.0.6.tar.gz'
--2010-09-10 11:42:15--  http://distfiles.gentoo.org/distfiles/eselect-mesa-0.0.6.tar.gz
Resolving distfiles.gentoo.org... 216.165.129.135, 140.211.166.134, 149.20.20.135, ...
Connecting to distfiles.gentoo.org|216.165.129.135|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-09-10 11:42:16 ERROR 404: Not Found.
Comment 6 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-09-10 12:15:53 UTC
Setting DEPEND for mesa will lead to circular dependencies. When eselect-mesa is included in portage, it will be ensured that the latest stable versions will work together.
Comment 7 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-09-10 12:16:01 UTC
Fixed in the x11 overlay.