Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116569 - ati-drivers 8.20.8 do not allow 3d on modular xorg (xorg-server)
Summary: ati-drivers 8.20.8 do not allow 3d on modular xorg (xorg-server)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-23 21:09 UTC by Gustavo Ribeiro Alves
Modified: 2006-01-25 07:34 UTC (History)
2 users (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 Gustavo Ribeiro Alves 2005-12-23 21:09:52 UTC
ati-drivers 8.20.8 do not provide glx to modular xorg. 2d Accell works ok.


I'm using an amd64.

Relevant info:

gralves gralves # eselect opengl show
ati
gralves gralves # emerge -p ati-drivers

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] x11-drivers/ati-drivers-8.20.8
gralves gralves # glxinfo
name of display: :0.0
X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  144 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Serial number of failed request:  17
  Current serial number in output stream:  18
gralves gralves # lsmod |grep fglrx
fglrx                 494748  7
Comment 1 Serkan Hosca 2005-12-26 07:16:07 UTC
(In reply to comment #0)
> ati-drivers 8.20.8 do not provide glx to modular xorg. 2d Accell works ok.
> 
> 
> I'm using an amd64.
> 
> Relevant info:
> 
> gralves gralves # eselect opengl show
> ati
> gralves gralves # emerge -p ati-drivers
> 
> These are the packages that I would merge, in order:
> 
> Calculating dependencies ...done!
> [ebuild   R   ] x11-drivers/ati-drivers-8.20.8
> gralves gralves # glxinfo
> name of display: :0.0
> X Error of failed request:  BadAlloc (insufficient resources for operation)
>   Major opcode of failed request:  144 (GLX)
>   Minor opcode of failed request:  3 (X_GLXCreateContext)
>   Serial number of failed request:  17
>   Current serial number in output stream:  18
> gralves gralves # lsmod |grep fglrx
> fglrx                 494748  7
> 

To get 3d working i had to create a link from /usr/lib64/modules -> /usr/lib64/xorg/modules


Comment 2 Gustavo Ribeiro Alves 2005-12-26 09:38:16 UTC
That worked. But I think the drivers should do that(or something else) themself.
Comment 3 Maciej Paszta 2006-01-09 07:24:32 UTC
Well I created symlink /usr/lib64/modules -> /usr/lib64/xorg/modules/\
But know I've noticed that in console the fillowing error appears:
__GLcontextMode with visual class = 1 (32774), nplanes = 24 

fgl_glxgears:
sproint ~ # fgl_glxgears
Using GLX_SGIX_pbuffer
Floating point exception

sproint ~ # LIBGL_DEBUG=verbose fglrxinfo
libGL: XF86DRIGetClientDriverName: 8.20.8 fglrx (screen 0)
libGL: OpenDriver: trying /usr/lib32/modules/dri//fglrx_dri.so
libGL error: dlopen /usr/lib32/modules/dri//fglrx_dri.so failed (/usr/lib32/modules/dri//fglrx_dri.so: cannot open shared object file: No such file or directory)
libGL: OpenDriver: trying /usr/lib64/modules/dri/fglrx_dri.so
libGL: XF86DRIGetClientDriverName: 8.20.8 fglrx (screen 0)
drmOpenByBusid: busid is PCI:1:5:0
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports PCI:1:5:0
Can't open configuration file /etc/fglrxrc: No such file or directory.
Can't open configuration file /etc/drirc: No such file or directory.
Can't open configuration file /root/.drirc: No such file or directory.
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON XPRESS 200M Series SW TCL Generic
OpenGL version string: 1.3.5519 (X4.3.0-8.20.8)

sproint ~ # emerge --info
Portage 2.0.53 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.6-r2, 2.6.14-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r5 x86_64 AMD Turion(tm) 64 Mobile ML-28
Gentoo Base System version 1.12.0_pre13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -fomit-frame-pointer -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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 /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -pipe -fomit-frame-pointer -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en pl"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdr crypt cups curl dlloader dri dvd dvdread eds emboss encode exif expat extras fam ffmpeg foomaticdb fortran gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 hal iconv idn ieee1384 imagemagic imagemagick imlib ipv6 java jpeg junit kde kdeenablefinal kqemu lcms libwww lua lzw lzw-tiff mad mng mp3 mpeg ncurses nls nptl ogg oggvorbis opengl pam pcre pdflib perl png python qt quicktime readline samba sdl slang spell ssl svg tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis xine xml xml2 xpm xv xvid zlib video_cards_radeon linguas_en linguas_pl

Whenever I try to run something that uses 3d it immediately crashes (games, mplayer -vo gl)... any suggestions?
Comment 4 Maciej Paszta 2006-01-19 10:18:33 UTC
Well it seems that after installing ati-8.21.7 __GLContext errors still appear but  OpenGL works perfectly
Comment 5 Gustavo Ribeiro Alves 2006-01-19 12:48:37 UTC
How did you install 8.21.7?
Comment 6 Gustavo Ribeiro Alves 2006-01-25 07:34:59 UTC
Ok, I rebuild a new system from scratch and this problem seems to be gone.