Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132757 - x11-drivers/ati-drivers-8.24.8 - No 32-bit 3D on amd64
Summary: x11-drivers/ati-drivers-8.24.8 - No 32-bit 3D on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-08 21:28 UTC by Will Briggs
Modified: 2007-10-26 19:19 UTC (History)
1 user (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 Will Briggs 2006-05-08 21:28:28 UTC
G'day,

Upgraded to 8.24.8.  32-bit (bin) apps are now really slow and chunky like they have no dri.  fglrxinfo reports correct (ATI) details.  glxinfo reports dri is a "yes".  But both those apps are 64-bit and 64-bit apps _are_ hardware accelerated - it's just 32-bit ones that aren't.

An ldd reports that 32-bit apps are linked to libGL.so.1 => /usr/lib32/opengl/ati/lib/libGL.so.1 (0xf7dce000) but they are still chunky and slow.

32-bit apps I've tested are darwinia-demo and gish-demo

I have eselected backwards and forwards from xorg-x11 to ati.  I have source /etc/profile.  I have toggled use of internal agp in xorg.conf  I have rebooted etc. No luck

Hopefully I haven't missed anything obvious but I've reached the end of where I can go to diagnose, hence the bug report.

emerge --info
Portage 2.1_pre10-r4 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.4-r2, 2.6.16-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 2800+
Gentoo Base System version 1.12.0_pre19
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18
sys-devel/autoconf:  2.13, 2.59-r7
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-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -pipe -ftracer -march=athlon64"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -pipe -ftracer -march=athlon64"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig buildpkg ccache distlocks metadata-transfer multilib-strict sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://batman/gentoo-portage"
USE="amd64 X aac aalib acl alsa arts avi bash-completion berkdb bitmap-fonts bzip2 cdr cli crypt cups curl divx4linux dri dvd dvdr eds emboss encode esd ffmpeg foomaticdb fortran gecko-sdk gif gpm gstreamer gtk gtk2 hal idn imagemagick imlib isdnlog java javascript jpeg kde lcms ldap lzw lzw-tiff mbox mp3 mpeg ncurses network nls nptl nptlonly nsplugin ogg oggvorbis opengl pam pcre pdflib perl png ppds pppd python qt quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts usb vcd vorbis wmf xcomposite xine xml xmms xorg xpm xrandr xv xvid zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux userland_GNU video_cards_fglrx video_cards_ati"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 gent_bz 2006-05-08 23:14:34 UTC
I recently upgraded my system from an athlon-xp to an opteron, so I happen to have my old system hanging around.

-- old x86 fglrxinfo (running on current amd64 system)
$ /old/opt/ati/bin/fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.2)

-- new amd64 fglrxinfo
$ fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9700 PRO Generic
OpenGL version string: 2.0.5755 (8.24.8)

Old glxgears is unaccelerated, new is accelerated.


A quick diff of the previous ebuild to the latest one and the change of note is
227c226
< LIBGL_DRIVERS_PATH="$ATI_LIBGL_PATH"
---
> LIBGL_DRIVERS_PATH="\$LIBGL_DRIVERS_PATH $ATI_LIBGL_PATH"


That should be a : after LIBGL_DRIVERS_PATH rather than a space.

i.e. the line should look like this : 

LIBGL_DRIVERS_PATH="\$LIBGL_DRIVERS_PATH:$ATI_LIBGL_PATH"



Making that change in /etc/env.d/09ati (and env-update && . /etc/profile) results in working 32 bit opengl apps.

$ /old/opt/ati/bin/fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9700 PRO Generic
OpenGL version string: 2.0.5755 (8.24.8)
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-10-26 19:18:00 UTC
> A quick diff of the previous ebuild to the latest one and the change of note is
> 227c226
> < LIBGL_DRIVERS_PATH="$ATI_LIBGL_PATH"
> ---
> > LIBGL_DRIVERS_PATH="\$LIBGL_DRIVERS_PATH $ATI_LIBGL_PATH"

Been fixed ages ago.