GL is working, but glxinfo doesn't think so

I’m a bit confused, and I’m hoping someone here can explain.

Hardware-accelerated OpenGL (via DRI) seems to be working on my system. I’m running Debian Sarge and have the following OpenGL packages installed:

[john@avocado ~]$ COLUMNS=90 dpkg -l | grep -i mesa
ii  xlibmesa-dri     4.3.0.dfsg.1-8   Mesa 3D graphics library modules [XFree86]
ii  xlibmesa-gl      4.3.0.dfsg.1-10  Mesa 3D graphics library [XFree86]
ii  xlibmesa-gl-dev  4.3.0.dfsg.1-10  Mesa 3D graphics library development files [XFre
ii  xlibmesa-glu     4.3.0.dfsg.1-10  Mesa OpenGL utility library [XFree86]
ii  xlibmesa-glu-dev 4.3.0.dfsg.1-10  Mesa OpenGL utility library development files [X

My video card is a Radeon 9000 64 MB DDR AGP card.

Among other things, dmesg tells me:

agpgart: Detected VIA Twister-K/KT133x/KM133 chipset
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: AGP aperture is 64M @ 0xd0000000

agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
[drm] Loading R200 Microcode

and my /var/log/XFree86.0.log tells me (among other things, which have been snipped-out):

XFree86 Version 4.3.0.1 (Debian 4.3.0.dfsg.1-8 20040928112350 fabbione@XXXXXXXXXXXX)
Release Date: 15 August 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.26 i686 [ELF] 

OS Kernel: Linux version 2.6.8-1-k7 (joshk@XXXXXXX) (gcc version 3.3.5 (Debian 1:3.3.5-2)) #1 Thu Nov 
25 04:13:37 UTC 2004

(--) PCI:*(1:0:0) ATI Technologies Inc Radeon R250 If [Radeon 9000] rev 1, Mem @ 0xd4000000/26, 0xdd0000
00/16, I/O @ 0xc000/8
(--) PCI: (1:0:1) ATI Technologies Inc Radeon R250 [Radeon 9000] (Secondary) rev 1, Mem @ 0xd8000000/26,
 0xdd010000/16

(WW) RADEON: No matching Device section for instance (BusID PCI:1:0:1) found

(II) Loading sub module "radeon"
(II) LoadModule: "radeon"
(II) Reloading /usr/X11R6/lib/modules/drivers/radeon_drv.o

(II) Setting vga for screen 0.
(II) RADEON(0): MMIO registers at 0xdd000000

(II) RADEON(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(II) RADEON(0): PCI bus 1 card 0 func 0
(**) RADEON(0): Depth 24, (--) framebuffer bpp 32
(II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
(==) RADEON(0): Default visual is TrueColor
(==) RADEON(0): RGB weight 888
(II) RADEON(0): Using 8 bits per RGB (8 bit DAC)

(II) RADEON(0): initializing int10
(II) RADEON(0): Primary V_BIOS segment is: 0xc000
(--) RADEON(0): Chipset: "ATI Radeon 9000/PRO If (AGP/PCI)" (ChipID = 0x4966)
(--) RADEON(0): Linear framebuffer at 0xd4000000
(--) RADEON(0): VideoRAM: 65536 kByte (128 bit DDR SDRAM)
(II) RADEON(0): AGP card detected

(II) RADEON(0): I2C bus "DDC" initialized.
(II) RADEON(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) RADEON(0): I2C device "DDC:ddc2" removed.
(II) RADEON(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) RADEON(0): I2C device "DDC:ddc2" removed.
(II) RADEON(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) RADEON(0): I2C device "DDC:ddc2" removed.
(II) RADEON(0): DDC Type: 2, Detected Type: 0
(II) RADEON(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) RADEON(0): I2C device "DDC:ddc2" removed.
(II) RADEON(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) RADEON(0): I2C device "DDC:ddc2" removed.
(II) RADEON(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) RADEON(0): I2C device "DDC:ddc2" removed.
(II) RADEON(0): DDC Type: 4, Detected Type: 0
(II) RADEON(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) RADEON(0): I2C device "DDC:ddc2" removed.
(II) RADEON(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) RADEON(0): I2C device "DDC:ddc2" removed.
(II) RADEON(0): DDC Type: 3, Detected Type: 1
(II) RADEON(0): Displays Detected: Monitor1--Type 1, Monitor2--Type 0

(II) RADEON(0): Monitor1 EDID data ---------------------------
(II) RADEON(0): Manufacturer: NEC  Model: 6591  Serial#: 16843009
(II) RADEON(0): Year: 2001  Week: 44
(II) RADEON(0): EDID Version: 1.2
(II) RADEON(0): Analog Display Input,  Input Voltage Level: 0.700/0.300 V
(II) RADEON(0): Sync:  Separate
(II) RADEON(0): Max H-Image Size [cm]: horiz.: 30  vert.: 23
(II) RADEON(0): Gamma: 2.20
(II) RADEON(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display
(II) RADEON(0): First detailed timing is preferred mode
(II) RADEON(0): redX: 0.598 redY: 0.338   greenX: 0.319 greenY: 0.565
(II) RADEON(0): blueX: 0.155 blueY: 0.126   whiteX: 0.302 whiteY: 0.317
(II) RADEON(0): Supported VESA Video Modes:
(II) RADEON(0): 720x400@70Hz
(II) RADEON(0): 640x480@60Hz
(II) RADEON(0): 640x480@67Hz
(II) RADEON(0): 640x480@72Hz
(II) RADEON(0): 640x480@75Hz
(II) RADEON(0): 800x600@56Hz
(II) RADEON(0): 800x600@60Hz
(II) RADEON(0): 800x600@72Hz
(II) RADEON(0): 800x600@75Hz
(II) RADEON(0): 832x624@75Hz
(II) RADEON(0): 1024x768@60Hz
(II) RADEON(0): 1024x768@70Hz
(II) RADEON(0): 1024x768@75Hz
(II) RADEON(0): Manufacturer's mask: 0
(II) RADEON(0): Supported Future Video Modes:
(II) RADEON(0): #0: hsize: 640  vsize 480  refresh: 75  vid: 20273
(II) RADEON(0): #1: hsize: 800  vsize 600  refresh: 75  vid: 20293
(II) RADEON(0): Supported additional Video Mode:
(II) RADEON(0): clock: 78.8 MHz   Image Size:  304 x 228 mm
(II) RADEON(0): h_active: 1024  h_sync: 1040  h_sync_end 1136 h_blank_end 1312 h_border: 0
(II) RADEON(0): v_active: 768  v_sync: 769  v_sync_end 772 v_blanking: 800 v_border: 0
(II) RADEON(0): Ranges: V min: 55  V max: 75 Hz, H min: 24  H max: 60 kHz, PixClock max 80 MHz
(II) RADEON(0): Monitor name: NEC LCD1525X
(II) RADEON(0): Serial No: 1X00656IA
(II) RADEON(0): End of Monitor1 EDID data --------------------
(II) RADEON(0): 
(II) RADEON(0): Primary Display == Type 1
(==) RADEON(0): Using gamma correction (1.0, 1.0, 1.0)
(II) RADEON(0): Validating modes on Primary head ---------
(II) RADEON(0): nec_1525x: Using hsync range of 25.00-60.00 kHz
(II) RADEON(0): nec_1525x: Using vrefresh range of 57.00-75.00 Hz
(II) RADEON(0): Clock range:  20.00 to 400.00 MHz
(II) RADEON(0): Not using default mode "640x350" (vrefresh out of range)
(II) RADEON(0): Not using default mode "320x175" (bad mode clock/interlace/doublescan)
(II) RADEON(0): Not using default mode "640x400" (vrefresh out of range)
[lots of modeline stuff snipped here]
(++) RADEON(0): DPI set to (100, 100)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.a
(II) Module fb: vendor="The XFree86 Project"
        compiled for 4.3.0.1, module version = 1.0.0
        ABI class: XFree86 ANSI C Emulation, version 0.2

(II) RADEON(0): AGP Fast Write disabled by default
(II) RADEON(0): Depth moves disabled by default
(II) Loading sub module "shadowfb"
(II) LoadModule: "shadowfb"
(II) Loading /usr/X11R6/lib/modules/libshadowfb.a
(II) Module shadowfb: vendor="The XFree86 Project"
        compiled for 4.3.0.1, module version = 1.0.0
        ABI class: XFree86 ANSI C Emulation, version 0.2
(II) RADEON(0): Page flipping disabled
(!!) RADEON(0): For information on using the multimedia capabilities
        of this adapter, please see http://gatos.sf.net.
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  No, I don't.

(==) RADEON(0): Write-combining range (0xd4000000,0x4000000)
(II) RADEON(0): Wrote: rd=12, fd=140, pd=2
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmGetBusid returned ''
(II) RADEON(0): [drm] loaded kernel module for "radeon" driver
(II) RADEON(0): [drm] created "radeon" driver at busid "PCI:1:0:0"
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xd0979000
(II) RADEON(0): [drm] mapped SAREA 0xd0979000 to 0x44265000
(II) RADEON(0): [drm] framebuffer handle = 0xd4000000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(II) RADEON(0): [agp] Mode 0x1f000201 [AGP 0x1106/0x0305; Card 0x1002/0x4966]
(II) RADEON(0): [agp] 8192 kB allocated with handle 0x00000001
(II) RADEON(0): [agp] ring handle = 0xd0000000
(II) RADEON(0): [agp] Ring mapped at 0x44267000
(II) RADEON(0): [agp] ring read ptr handle = 0xd0101000
(II) RADEON(0): [agp] Ring read ptr mapped at 0x44368000
(II) RADEON(0): [agp] vertex/indirect buffers handle = 0xd0102000
(II) RADEON(0): [agp] Vertex/indirect buffers mapped at 0x44369000
(II) RADEON(0): [agp] GART texture map handle = 0xd0302000
(II) RADEON(0): [agp] GART Texture map mapped at 0x44569000
(II) RADEON(0): [drm] register handle = 0xdd000000
(II) RADEON(0): [dri] Visual configs initialized
(II) RADEON(0): CP in BM mode
(II) RADEON(0): Using 8 MB GART aperture
(II) RADEON(0): Using 1 MB for the ring buffer
(II) RADEON(0): Using 2 MB for vertex/indirect buffers
(II) RADEON(0): Using 5 MB for GART textures
(II) RADEON(0): Memory manager initialized to (0,0) (1024,8191)
(II) RADEON(0): Reserved area from (0,768) to (1024,770)
(II) RADEON(0): Largest offscreen area available: 1024 x 7421
(II) RADEON(0): Will use back buffer at offset 0xc00000
(II) RADEON(0): Will use depth buffer at offset 0xf00000
(II) RADEON(0): Will use 47104 kb for textures at offset 0x1200000
(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
        Screen to screen bit blits
        Solid filled rectangles
        8x8 mono pattern filled rectangles
        Indirect CPU to Screen color expansion
        Solid Lines
        Scanline Image Writes
        Offscreen Pixmaps
        Setting up tile and stipple cache:
                32 128x128 slots
                32 256x256 slots
                16 512x512 slots
(II) RADEON(0): Acceleration enabled
(==) RADEON(0): Backing store disabled
(==) RADEON(0): Silken mouse enabled
(II) RADEON(0): Using hardware cursor (scanline 770)
(II) RADEON(0): Largest offscreen area available: 1024 x 7417
(II) RADEON(0): X context handle = 0x00000001
(II) RADEON(0): [drm] installed DRM signal handler
(II) RADEON(0): [DRI] installation complete
(II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers
(II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers
(II) RADEON(0): [drm] dma control initialized, using IRQ 10
(II) RADEON(0): [drm] Initialized kernel GART heap manager, 5111808
(II) RADEON(0): Direct rendering enabled

tuxracer is installed and works great. glxgears runs and gives me 154.600 FPS.

That said, what’s confusing me is that the end of the glxinfo report (the table that comes out at the end) seems to be telling me that everything is either “None” or “Slow” (???).

glxinfo output:

   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  0 24  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x24 24 tc  0 24  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x25 24 tc  0 24  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x26 24 tc  0 24  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x27 24 tc  0 24  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x28 24 tc  0 24  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x29 24 tc  0 24  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x2a 24 tc  0 24  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2b 24 dc  0 24  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x2c 24 dc  0 24  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x2d 24 dc  0 24  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x2e 24 dc  0 24  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2f 24 dc  0 24  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x30 24 dc  0 24  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x31 24 dc  0 24  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x32 24 dc  0 24  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow

or in a wider format:

Vis  Vis   Visual Trans  buff lev render DB ste  r   g   b   a  aux dep ste  accum buffers  MS   MS
 ID Depth   Type  parent size el   type     reo sz  sz  sz  sz  buf th  ncl  r   g   b   a  num bufs
----------------------------------------------------------------------------------------------------
0x23 24 TrueColor    0     24  0  rgba   0   0   8   8   8   8   0   24  0   0   0   0   0   0   0
0x24 24 TrueColor    0     24  0  rgba   0   0   8   8   8   8   0   24  8   0   0   0   0   0   0
0x25 24 TrueColor    0     24  0  rgba   0   0   8   8   8   8   0   24  0  16  16  16  16   0   0
0x26 24 TrueColor    0     24  0  rgba   0   0   8   8   8   8   0   24  8  16  16  16  16   0   0
0x27 24 TrueColor    0     24  0  rgba   1   0   8   8   8   8   0   24  0   0   0   0   0   0   0
0x28 24 TrueColor    0     24  0  rgba   1   0   8   8   8   8   0   24  8   0   0   0   0   0   0
0x29 24 TrueColor    0     24  0  rgba   1   0   8   8   8   8   0   24  0  16  16  16  16   0   0
0x2a 24 TrueColor    0     24  0  rgba   1   0   8   8   8   8   0   24  8  16  16  16  16   0   0
0x2b 24 DirectColor  0     24  0  rgba   0   0   8   8   8   8   0   24  0   0   0   0   0   0   0
0x2c 24 DirectColor  0     24  0  rgba   0   0   8   8   8   8   0   24  8   0   0   0   0   0   0
0x2d 24 DirectColor  0     24  0  rgba   0   0   8   8   8   8   0   24  0  16  16  16  16   0   0
0x2e 24 DirectColor  0     24  0  rgba   0   0   8   8   8   8   0   24  8  16  16  16  16   0   0
0x2f 24 DirectColor  0     24  0  rgba   1   0   8   8   8   8   0   24  0   0   0   0   0   0   0
0x30 24 DirectColor  0     24  0  rgba   1   0   8   8   8   8   0   24  8   0   0   0   0   0   0
0x31 24 DirectColor  0     24  0  rgba   1   0   8   8   8   8   0   24  0  16  16  16  16   0   0
0x32 24 DirectColor  0     24  0  rgba   1   0   8   8   8   8   0   24  8  16  16  16  16   0   0

Can anyone tell me if I’ve got OpenGL support installed correctly, or else what those None/Slow messages at the end of the glxinfo output mean?

Thanks.

For ATI cards, as for Nvidia cards, it is recommander to install the proprietary drivers.

However with what I know from ATI cards, drivers might not work well. You really should test them anyway.

As I could see from your post, you only have AGP 1x. You use Mesa that does not communicate well with such cards (Radeon,Geforce…).

Tuxracer and glxgears are very little programs that does not consume a lot of GPU. This is why you have good results. Just try out the Unreal Tournament 2004 demo or another one to verify that your system isn’t at an optimal stage.

Hope this helps.

So, glxinfo is reporting the everything is fine. The ‘None’ and ‘Slow’ that you see is the visual caveat field. This field was added (in 1996!) by the GLX_EXT_visual_rating extension. Basically, a visual can have a caveat of none (i.e., perfectly normal OpenGL visual), nonconformant (i.e., some rendering in this type of visual may not be 100% OpenGL conformant), or slow (i.e., uh…it’s slow).

What you’re seeing here is that visuals that support an accumulation buffer are marked as slow. This is because there is no hardware accumulation support on that hardware, so all accumulation operations are done in software. I’ve seen some Nvidia drivers mark visuals that do multisampling using supersampling as nonconformant.

jide – thanks for the tip, however, I’d really prefer to use the open DRI/mesa driver. I don’t know if my Radeon card supports anything faster than AGP 1x, but the motherboard likely does not (it’s a slightly older Tyan Athlon board). I may have to try that UT demo you mention though.

idr – thanks for the insights, and for the informative link. Looks like I’m humming along quite nicely after all. :slight_smile:

—J

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.