Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-10-2004, 07:50 AM
|
#1
|
LQ Newbie
Registered: May 2004
Distribution: debian unstable
Posts: 3
Rep:
|
ATI Proprietary Drivers (Radeon 9700) correctly installed but no 3D acceleration
I believe I have successfully installed the fglrx kernel module, loaded the agp_gart module,
configured XWindow (4.3) with fglrxconfig. The XFree86 log file shows :
(II) fglrx(0): driver needs XFree86 version: 4.3.x
(II) fglrx(0): detected XFree86 version: 4.3.0
(II) Loading extension ATIFGLRXDRI
(II) fglrx(0): doing DRIScreenInit
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmGetBusid returned ''
(II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:1:0:0"
(II) fglrx(0): [drm] added 8192 byte SAREA at 0xe0a0e000
(II) fglrx(0): [drm] mapped SAREA 0xe0a0e000 to 0x40243000
(II) fglrx(0): [drm] framebuffer handle = 0xf0000000
(II) fglrx(0): [drm] added 1 reserved context for kernel
(II) fglrx(0): DRIScreenInit done
(II) fglrx(0): Kernel Module Version Information:
(II) fglrx(0): Name: fglrx
(II) fglrx(0): Version: 3.7.6
(II) fglrx(0): Date: Mar 5 2004
(II) fglrx(0): Desc: ATI Fire GL DRM kernel module
(II) fglrx(0): Kernel Module version matches driver.
(II) fglrx(0): Kernel Module Build Time Information:
(II) fglrx(0): Build-Kernel UTS_RELEASE: 2.6.5
(II) fglrx(0): Build-Kernel MODVERSIONS: no
(II) fglrx(0): Build-Kernel __SMP__: no
(II) fglrx(0): Build-Kernel PAGE_SIZE: 0x1000
(II) fglrx(0): [drm] register handle = 0xff8f0000
(II) fglrx(0): [agp] Mode=0x1f000217 bridge: 0x8086/0x2560
(II) fglrx(0): [agp] AGP v1/2 disable mask 0x00000000
(II) fglrx(0): [agp] AGP v3 disable mask 0x00000000
(II) fglrx(0): [agp] enabling AGP with mode=0x1f000314
(II) fglrx(0): [agp] AGP protocoll is enabled for grafics board. (cmd=0x1f000314)
(II) fglrx(0): [agp] grafics chipset has AGP v2.0
(II) fglrx(0): [drm] ringbuffer size = 0x00100000 bytes
(II) fglrx(0): [drm] DRM buffer queue setup: nbufs = 100 bufsize = 28672
(II) fglrx(0): [drm] texture shared area handle = 0xe8bc0000
(II) fglrx(0): shared FSAAScale=1
(II) fglrx(0): DRI initialization successfull!
and :
(II) fglrx(0): Acceleration enabled
(II) fglrx(0): X context handle = 0x00000001
(II) fglrx(0): [DRI] installation complete
(II) fglrx(0): Direct rendering enabled
However, when I try to start an OpenGL application, I receive strange error messages. For example, with glxinfo :
jerome@cubitus:~$ glxinfo
name of display: :0.0
[fglrx] API ERROR: could not register entrypoint for DrawRangeElementsEXT
[fglrx] API ERROR: could not register entrypoint for MultiDrawArraysEXT
[fglrx] API ERROR: could not register entrypoint for MultiDrawElementsEXT
[fglrx] API ERROR: could not register entrypoint for WindowPos2dARB
[fglrx] API ERROR: could not register entrypoint for WindowPos2fARB
[fglrx] API ERROR: could not register entrypoint for WindowPos2iARB
[fglrx] API ERROR: could not register entrypoint for WindowPos2sARB
[fglrx] API ERROR: could not register entrypoint for WindowPos2ivARB
[fglrx] API ERROR: could not register entrypoint for WindowPos2svARB
[fglrx] API ERROR: could not register entrypoint for WindowPos2fvARB
[fglrx] API ERROR: could not register entrypoint for WindowPos2dvARB
[fglrx] API ERROR: could not register entrypoint for WindowPos3iARB
[fglrx] API ERROR: could not register entrypoint for WindowPos3sARB
[fglrx] API ERROR: could not register entrypoint for WindowPos3fARB
[fglrx] API ERROR: could not register entrypoint for WindowPos3dARB
[fglrx] API ERROR: could not register entrypoint for WindowPos3ivARB
[fglrx] API ERROR: could not register entrypoint for WindowPos3svARB
[fglrx] API ERROR: could not register entrypoint for WindowPos3fvARB
[fglrx] API ERROR: could not register entrypoint for WindowPos3dvARB
[fglrx] API ERROR: could not register entrypoint for PointParameterfARB
[fglrx] API ERROR: could not register entrypoint for PointParameterfvARB
It looks like the application is requesting unavailable functions from the fglrx kernel module. It is not an access rights problem (I've the same problem when logged as root).
My linux kernel is 2.6.5 (recompiled debian source), I use the kernel agpgart module, lsmod shows :
fglrx 205700 7
intel_agp 15772 1
agpgart 27432 2 intel_agp
I am using Debian unstable.
fglrx : 3.7.6
XWindow is using the DRI capabilities :
cubitus:/proc/dri/0# ls -l
total 0
-r--r--r-- 1 root root 0 2004-05-10 14:44 clients
-r--r--r-- 1 root root 0 2004-05-10 14:44 lock
-r--r--r-- 1 root root 0 2004-05-10 14:44 mem
-r--r--r-- 1 root root 0 2004-05-10 14:44 mem1
-r--r--r-- 1 root root 0 2004-05-10 14:44 name
-r--r--r-- 1 root root 0 2004-05-10 14:44 umm
-r--r--r-- 1 root root 0 2004-05-10 14:44 vm
-r--r--r-- 1 root root 0 2004-05-10 14:44 vma
cubitus:/proc/dri/0# cat clients
a dev pid uid magic ioctls context
n 0 2767 0 0 13767 0x00000001
cubitus:/proc/dri/0# ps auwx | grep 2767
root 2767 10.5 7.1 51396 36728 ? SL 12:46 12:23 /usr/X11R6/bin/X :0 -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7
root 3381 0.0 0.1 2276 760 pts/11 R+ 14:44 0:00 grep 2767
|
|
|
05-10-2004, 10:11 AM
|
#2
|
Member
Registered: Apr 2004
Location: Germany
Distribution: SuSE 11.0, Ubuntu 7.10
Posts: 390
Rep:
|
AFAIK ATI drivers don't support 2.6 kernel.
|
|
|
05-10-2004, 10:59 AM
|
#3
|
Senior Member
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,078
Rep:
|
I think there's a patch for 2.6.x kernel series (i'm quite sure)
|
|
|
05-10-2004, 11:05 AM
|
#4
|
LQ Newbie
Registered: May 2004
Distribution: debian unstable
Posts: 3
Original Poster
Rep:
|
Thanks for your reply, but they seem to support 2.6.x
from /lib/modules/fglrx/build_mod/make.log :
patching 'highmem.h'...
skipping patch for 'drmP.h', not needed
skipping patch for 'drm_os_linux.h', not needed
assuming new VMA API since we do have kernel 2.6.x...
def_vma_api_version=-DFGL_LINUX253P1_VMA_API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.5/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: entrant dans le répertoire « /usr/src/kernel-source-2.6.5 »
and later :
LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.o
Building modules, stage 2.
MODPOST
CC /lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
make[1]: quittant le répertoire « /usr/src/kernel-source-2.6.5 »
build succeeded with return value 0
The module loads and unloads succesfully. Is there a special problem ? I didn't see that in the ATI documentation.
Moreover If I remember correctly I had the same problem with 2.4.21.
|
|
|
05-10-2004, 02:06 PM
|
#5
|
Member
Registered: Apr 2004
Location: Germany
Distribution: SuSE 11.0, Ubuntu 7.10
Posts: 390
Rep:
|
then maybe you've got some problems with libdri.a
When I had an ATI card, I couldn't enable 3d because I had wrong libdri version. Also you should install the XFree86-GLX package.
btw. What does ATI Control report?
|
|
|
05-11-2004, 05:59 AM
|
#6
|
LQ Newbie
Registered: May 2004
Distribution: debian unstable
Posts: 3
Original Poster
Rep:
|
My libdri.a comes from debian package "xfree86-xserver". So it is probably the appropriate version.
ATI Control reports :
Transfer Mode : AGP 4x, SBA, FW
Driver version : 3.07.06
OpenGL vendor unavailable
OpenGL renderer unavailable
OpenGL version unavailable
I installed all xlibmesa related packages ( dri, gl, glu support).
Okay, I just found the problem :
cubitus:/usr/X11R6/lib# ls -l libGL.so*
lrwxrwxrwx 1 root root 12 2004-05-11 00:46 libGL.so -> libGL.so.1.2
lrwxrwxrwx 1 root root 40 2004-05-11 00:47 libGL.so.1 -> libGL.so.1.2.orig.xlibmesa-gl1-dri-trunk
-rwxr-xr-x 1 root root 798806 2004-03-06 02:23 libGL.so.1.2
-rw-r--r-- 1 root root 462896 2003-09-13 20:17 libGL.so.1.2.orig.xlibmesa-gl1-dri-trunk
cubitus:/usr/X11R6/lib# ln -sf libGL.so.1.2 libGL.so.1
cubitus:/usr/X11R6/lib# ls -l libGL.so*
lrwxrwxrwx 1 root root 12 2004-05-11 00:46 libGL.so -> libGL.so.1.2
lrwxrwxrwx 1 root root 12 2004-05-11 12:54 libGL.so.1 -> libGL.so.1.2
-rwxr-xr-x 1 root root 798806 2004-03-06 02:23 libGL.so.1.2
-rw-r--r-- 1 root root 462896 2003-09-13 20:17
libGL.so.1.2.orig.xlibmesa-gl1-dri-trunk
The problem was this symlink from libGL.so.1 to libGL.so.1.2.orig.xlibmesa-gl1-dri-trunk
I think this file came from an old attempt to get working the xfree86 dri, prior to downloading the ATI drivers.
Now I have :
cubitus:/usr/X11R6/lib# fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9700 Generic
OpenGL version string: 1.3 (X4.3.0-3.7.6)
And it does work !
Thanks for you messages. I thought to check these things when you asked about ATI Control.
|
|
|
All times are GMT -5. The time now is 02:41 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|