LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Changing OpenGL settings to use the ATI drivers? (https://www.linuxquestions.org/questions/slackware-14/changing-opengl-settings-to-use-the-ati-drivers-123112/)

KuRe 12-05-2003 08:18 PM

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?

burnpile 12-05-2003 08:59 PM

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.

zorolowski 12-06-2003 05:56 AM

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.

arpi 12-07-2003 01:40 AM

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

some 12-07-2003 07:38 AM

You who has problems with ati drivers, do you have kt400 chipset with agp or what?

zorolowski 12-07-2003 08:40 AM

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

KuRe 12-07-2003 01:25 PM

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

KuRe 12-07-2003 02:13 PM

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


zorolowski 12-07-2003 03:13 PM

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

KuRe 12-07-2003 03:35 PM

I looked in my rc.modules, and yes, /sbin/modprobe agpgart is in there. So I guess that wasn't the problem.

KuRe 12-07-2003 03:44 PM

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?

KuRe 12-07-2003 04:59 PM

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


waever 12-08-2003 11:25 AM

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


All times are GMT -5. The time now is 02:02 AM.