Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 136371

Summary: ati-drivers-8.24.8 (on AMD64) or higher do not work with 32-bit OpenGL applications
Product: Gentoo Linux Reporter: Niels van Aert <olger901>
Component: New packagesAssignee: X11 External Driver Maintainers <x11-drivers>
Status: RESOLVED DUPLICATE    
Severity: major CC: eduedix, mangobrain
Priority: High    
Version: 2006.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Niels van Aert 2006-06-11 03:16:34 UTC
Hello all,

It seems that the ati-drivers for AMD64 are broke once again, as I and other people are unable to run 32-Bit OpenGL applications using drivers 8.24.8 or higher.

I tried wine: Performance is incredibly jerky.
I tried Enemy Territory (which is a 32-Bit game!) which gives this error (note only the relevant part is copy/pasted):

Using XFree86-VidModeExtension Version 2.2
Xlib:  extension "XFree86-DGA" missing on display ":0.0".
Failed to detect XF86DGA Mouse
XFree86-VidModeExtension Activated at 800x600
Using 8/8/8 Color bits, 24 depth, 0 stencil display.
GL_RENDERER: Mesa GLX Indirect


***********************************************************

 You are using software Mesa (no hardware acceleration)!
 Driver DLL used: libGL.so.1
 If this is intentional, add
       "+set r_allowSoftwareGL 1"
 to the command line when starting the game.

While I run glxinfo I am getting this (note only a part is pasted as it's too much code to paste):

OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON X700 Generic
OpenGL version string: 2.0.5814 (8.25.18)


More info on this topic: http://forums.gentoo.org/viewtopic-t-466809.html

I also submitted a bug to cchtml's ati bug report: http://ati.cchtml.com/show_bug.cgi?id=405
Comment 1 Niels van Aert 2006-06-11 03:18:16 UTC
Oops forgot: emerge --info

Gentoo Base System version 1.6.14
Portage 2.1 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r7 x86_64 Mobile AMD Athlon(tm) 64 Processor 3400+
dev-lang/python:     2.4.2
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.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.scarlet-internet.nl/pub/gentoo ftp://mirror.nutsmaas.nl/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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X aac accessibility acl acpi alsa artworkextra avi berkdb bitmap-fonts browserplugin bzip2 cairo cdr cli crypt cups curl daap dbus dri dvd dvdr eds effects emboss encode esd expat fat ffmpeg firefox flac foomaticdb fortran ftp gif gimpprint glut gnome gpm gstreamer gtk gtk2 gtkhtml guile hal howl ieee1394 imagemagick imlib ipod ipv6 isdnlog java joystick jpeg jpeg2k lcms libnotify lm_sensors lzw lzw-tiff mad mikmod mng mp3 mpeg msn musicbrainz ncurses nls nptl nsplugin ntfs ogg oggvorbis openal opengl oss pam pcre pdflib perl png pppd python quicktime readline reflection samba sdl session spell spl ssl tagwriting tcpd tiff timidity toolbar truetype truetype-fonts type1-fonts usb vcd vorbis wifi wmf xine xml xorg xpm xprint xv xvid yahoo zlib elibc_glibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 2 Marcin Deranek 2006-06-14 14:00:26 UTC
It seems problem is with ati-drivers ebuild and LIBGL_DRIVERS_PATH variable set in /etc/env.d/09ati (it only affects amd64 platform).
There is a missing colon (should replace space) between $LIBGL_DRIVERS_PATH and extra paths:
Broken:
LIBGL_DRIVERS_PATH="$LIBGL_DRIVERS_PATH /usr/lib32/xorg/modules/dri/:/usr/lib64/xorg/modules/dri"
Works (fixed):
LIBGL_DRIVERS_PATH="$LIBGL_DRIVERS_PATH:/usr/lib32/xorg/modules/dri/:/usr/lib64/xorg/modules/dri"

Can you try to add an extra colon to /etc/env.d/09ati, run 'env-update' and then run as user 'source /etc/profile' and your 32-bit OpenGL application.. and let us know if it fixes your problem..
Comment 3 Niels van Aert 2006-06-15 02:20:45 UTC
Okay, Ill test it as soon as I get home, perhaps it's a wise idea to do a rev bump afterwards if it works?
Comment 4 Niels van Aert 2006-06-15 09:10:48 UTC
Yes this does indeed fix the bug :)
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-11-10 14:15:15 UTC
*** Bug 136893 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-11-10 15:07:44 UTC
*** Bug 135070 has been marked as a duplicate of this bug. ***
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-01-14 22:42:41 UTC
Not really fixed anywhere in the tree.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-01-14 22:42:53 UTC

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