LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-05-2003, 08:18 PM   #1
KuRe
LQ Newbie
 
Registered: Mar 2003
Posts: 16

Rep: Reputation: 0
MESA drivers when it should be ATI?


Right now X seems to be using a standard MESA driver:

OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.3 Mesa 4.0.4

It should be using the ATI driver, how do I change it to use the ATI driver? I remember there was a command for this, but I don't recall it?

Last edited by KuRe; 12-07-2003 at 03:46 PM.
 
Old 12-05-2003, 08:59 PM   #2
burnpile
Member
 
Registered: Dec 2003
Location: Almost Heaven, West Virginia
Distribution: Slackware
Posts: 327

Rep: Reputation: 30
http://www.gentoo.org/doc/en/ati-faq.xml

Yes I realize this a gentoo how-to, but it's a very informative read on exactly what you want to do.
 
Old 12-06-2003, 05:56 AM   #3
zorolowski
LQ Newbie
 
Registered: Sep 2002
Location: Dortmund, Germany
Distribution: slackware
Posts: 25

Rep: Reputation: 15
I had the same problem with the ati-driver. When I installed the driver the first time it woks correct.
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: Radeon 9600 Athlon (3DNow!)
OpenGL version string: 1.3 (X4.3.0-3.2.8)

After I made some changes to the kernel-modules X loaded the MESA driver. Also recompiling the fglrx-module didn't work. I uninstalled the ati-package and deleted the path /lib/modules/fglrx. After a new installation it works.
 
Old 12-07-2003, 01:40 AM   #4
arpi
Member
 
Registered: Dec 2003
Location: Maryland
Distribution: Fedora Core 1
Posts: 52

Rep: Reputation: 15
zorolowski,

i am interested in the ATI 9600 pro mobile (aka M10p )

could you elaborate on the steps you took to get your new installation?


TX
 
Old 12-07-2003, 07:38 AM   #5
some
LQ Newbie
 
Registered: Dec 2003
Posts: 11

Rep: Reputation: 0
You who has problems with ati drivers, do you have kt400 chipset with agp or what?
 
Old 12-07-2003, 08:40 AM   #6
zorolowski
LQ Newbie
 
Registered: Sep 2002
Location: Dortmund, Germany
Distribution: slackware
Posts: 25

Rep: Reputation: 15
I have an ASUS-A7N8X-X with nforce2 chipset.

Arpi, here you will find the installation procedure from CrsH:
http://www.linuxquestions.org/questi...ghlight=opengl
 
Old 12-07-2003, 01:25 PM   #7
KuRe
LQ Newbie
 
Registered: Mar 2003
Posts: 16

Original Poster
Rep: Reputation: 0
I've done exactly the instructions you linked to, and yet I still get the same message:
Code:
# fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.3 Mesa 4.0.4

root@Joe:/home# glxgears
587 frames in 5.0 seconds = 117.400 FPS
500 frames in 5.0 seconds = 100.000 FPS
600 frames in 5.0 seconds = 120.000 FPS

I have an nforce2 board

Last edited by KuRe; 12-07-2003 at 01:30 PM.
 
Old 12-07-2003, 02:13 PM   #8
KuRe
LQ Newbie
 
Registered: Mar 2003
Posts: 16

Original Poster
Rep: Reputation: 0
Here is my glxinfo,lsmod,dmesg:

Code:
# glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_ATI_pixel_format_float,
    GLX_ATI_render_texture
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.3 Mesa 4.0.4
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
    GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
    GL_EXT_texture_lod_bias
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x23 24 tc  1 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  1 0 None
0x24 24 tc  1 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  1 0 None
0x25 24 tc  1 24  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None
0x26 24 tc  1 24  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None
0x27 24 dc  1 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  1 0 None
0x28 24 dc  1 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  1 0 None
0x29 24 dc  1 24  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None
0x2a 24 dc  1 24  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None


root@Joe:/lib/modules# lsmod
Module                  Size  Used by    Tainted: P
fglrx                 172488   0
soundcore               3844   0  (autoclean)


root@Joe:/lib/modules# dmesg

Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 816M
agpgart: Detected NVIDIA nForce2 chipset
agpgart: AGP aperture is 256M @ 0xb0000000
hub.c: new USB device 00:02.1-1, assigned address 2
printer.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x03F0 pid 0x0517
hub.c: new USB device 00:02.1-2, assigned address 3
input: USB HID v1.10 Joystick [Microsoft SideWinder Joystick] on usb3:3.0
hub.c: new USB device 00:02.0-1, assigned address 2
input: USB HID v1.10 Mouse [Logitech USB Receiver] on usb2:2.0
hub.c: new USB device 00:02.0-2, assigned address 3
usb.c: USB device 3 (vend/prod 0x451/0xe001) is not claimed by any active driver.
eth1: no link during initialization.
[fglrx] Maximum main memory to use for locked dma buffers: 803 MBytes.
[fglrx] module loaded - fglrx 3.2.8 [Sep 21 2003] on minor 0
Fire GL built-in AGP-support
Based on agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 816M
agpgart: Detected nVidia nForce2 chipset
agpgart: Bridge device is in AGP v1/v2 mode
agpgart: AGP aperture is 256M @ 0xb0000000
Power management callback for AGP chipset installed
[fglrx] AGP detected, AgpState   = 0x00000000 (hardware caps of chipset)
[fglrx:firegl_unlock] *ERROR* Process 754 using kernel context 0
[fglrx:drm_ioremapfree] *ERROR* [mappings] Attempt to free NULL pointer
[fglrx] module unloaded - fglrx 3.2.8 [Sep 21 2003] on minor 0
[fglrx] Maximum main memory to use for locked dma buffers: 803 MBytes.
[fglrx] module loaded - fglrx 3.2.8 [Sep 21 2003] on minor 0
[fglrx] module unloaded - fglrx 3.2.8 [Sep 21 2003] on minor 0
[fglrx] Maximum main memory to use for locked dma buffers: 803 MBytes.
[fglrx] module loaded - fglrx 3.2.8 [Sep 21 2003] on minor 0
[fglrx] module unloaded - fglrx 3.2.8 [Sep 21 2003] on minor 0
[fglrx] Maximum main memory to use for locked dma buffers: 803 MBytes.
[fglrx] module loaded - fglrx 3.2.8 [Sep 21 2003] on minor 0
[fglrx] module unloaded - fglrx 3.2.8 [Sep 21 2003] on minor 0
[fglrx] Maximum main memory to use for locked dma buffers: 803 MBytes.
[fglrx] module loaded - fglrx 3.2.8 [Sep 21 2003] on minor 0
Fire GL built-in AGP-support
Based on agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 816M
agpgart: Detected nVidia nForce2 chipset
agpgart: Bridge device is in AGP v1/v2 mode
agpgart: AGP aperture is 256M @ 0xb0000000
Power management callback for AGP chipset installed
[fglrx] AGP detected, AgpState   = 0x00000000 (hardware caps of chipset)
[fglrx:firegl_unlock] *ERROR* Process 2016 using kernel context 0
[fglrx:drm_ioremapfree] *ERROR* [mappings] Attempt to free NULL pointer
[fglrx] module unloaded - fglrx 3.2.8 [Sep 21 2003] on minor 0
[fglrx] Maximum main memory to use for locked dma buffers: 803 MBytes.
[fglrx] module loaded - fglrx 3.2.8 [Sep 21 2003] on minor 0
[fglrx] module unloaded - fglrx 3.2.8 [Sep 21 2003] on minor 0
[fglrx] Maximum main memory to use for locked dma buffers: 803 MBytes.
[fglrx] module loaded - fglrx 3.2.8 [Sep 21 2003] on minor 0
Fire GL built-in AGP-support
Based on agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 816M
agpgart: Detected nVidia nForce2 chipset
agpgart: Bridge device is in AGP v1/v2 mode
agpgart: AGP aperture is 256M @ 0xb0000000
Power management callback for AGP chipset installed
[fglrx] AGP detected, AgpState   = 0x00000000 (hardware caps of chipset)
[fglrx:firegl_unlock] *ERROR* Process 23854 using kernel context 0
[fglrx:drm_ioremapfree] *ERROR* [mappings] Attempt to free NULL pointer
 
Old 12-07-2003, 03:13 PM   #9
zorolowski
LQ Newbie
 
Registered: Sep 2002
Location: Dortmund, Germany
Distribution: slackware
Posts: 25

Rep: Reputation: 15
Maybe the problem is, that the agpgart module was not load into your kernel. Did you compile it as a kernel module? If so, look to /etc/rc.d/rc.modules and check, that /sbin/modprobe agpgart is activatet. This is my lsmod:
Module Size Used by Tainted: P
serial 46564 0 (autoclean) (unused)
parport_pc 13476 0 (autoclean)
parport 13408 0 (autoclean) [parport_pc]
nvnet 25664 2
i810_audio 22824 0
ac97_codec 13448 0 [i810_audio]
sound 57492 0 (unused)
soundcore 3652 4 [i810_audio sound]
fglrx 172456 156
ide-scsi 10192 0
agpgart 15208 19
 
Old 12-07-2003, 03:35 PM   #10
KuRe
LQ Newbie
 
Registered: Mar 2003
Posts: 16

Original Poster
Rep: Reputation: 0
I looked in my rc.modules, and yes, /sbin/modprobe agpgart is in there. So I guess that wasn't the problem.
 
Old 12-07-2003, 03:44 PM   #11
KuRe
LQ Newbie
 
Registered: Mar 2003
Posts: 16

Original Poster
Rep: Reputation: 0
Okay, so I rebooted and started X, and this is my new lsmod:

Module Size Used by Tainted: P
soundcore 3844 0 (autoclean)
fglrx 172488 0
agpgart 15496 0 (unused)

agpgart should not be having the (unused) thing next to it, should it? Any idea why?
 
Old 12-07-2003, 04:59 PM   #12
KuRe
LQ Newbie
 
Registered: Mar 2003
Posts: 16

Original Poster
Rep: Reputation: 0
Woo! I got it! Instead of

Code:
Option "UseInternalAGPGART"         "yes"
I changed it to

Code:
Option "UseInternalAGPGART"         "no"
And it works!

Code:
fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: Radeon 9700 PRO Athlon (3DNow!)
OpenGL version string: 1.3 (X4.3.0-3.2.8)

root@Joe:/usr/src/linux-2.4.23# glxgears
15984 frames in 5.0 seconds = 3196.800 FPS
19197 frames in 5.0 seconds = 3839.400 FPS
19248 frames in 5.0 seconds = 3849.600 FPS
19278 frames in 5.0 seconds = 3855.600 FPS
 
Old 12-08-2003, 11:25 AM   #13
waever
Member
 
Registered: Oct 2003
Location: Hamilton,ON
Distribution: LFS
Posts: 46

Rep: Reputation: 16
I tried that, it doesn't work for me... it is still using the mesa GLX indirect.
it fixes the unused agpgart problem though..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenGL problem with ATI Drivers Crube Linux - Software 5 08-21-2005 02:42 PM
Trying to get new ATI OpenGL drivers to work jgpatton SUSE / openSUSE 2 07-31-2005 06:51 PM
ATI Drivers will not enable OpenGL? flapinux Linux - Hardware 2 07-02-2005 07:38 AM
OpenGL Lockups with ATI 3.7.6 Drivers anti_trend Linux - Hardware 0 04-04-2004 12:01 AM
Changing from MESA OpenGL to ATI OpenGL tillyoubreakit Linux - Hardware 19 10-07-2003 07:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration