Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 9 of 9

Thread: Xfree86+GLX vs AccelX on a Matrox G450

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2001
    Location
    Arima, Trinidad and Tobago
    Posts
    7

    Xfree86+GLX vs AccelX on a Matrox G450

    Hi there.

    I just setup X4.0.2 with GLX support for my Matrox G450 cards.

    I have compiled the gears deme to use as a benchmark.

    I am getting 146FPS maximum for the gears demo in Xfree86.

    .

    Now I downlaoded the AccelX 3D LGD for linux and installed it.

    I dont have any GL based benchmark testers.

    Can you all point me to some OpenGL benchmark testers for Linux.

    Thank You.
    ----------------------------------

    Machine specs

    Dual 800P3 with 512MB ram Matrox G450 Dual Head with 32mb .

  2. #2
    Member Regular Contributor
    Join Date
    Sep 2000
    Location
    Vancouver BC Canada
    Posts
    433

    Re: Xfree86+GLX vs AccelX on a Matrox G450

    I also have a dual PIII 800 w/ 1 GB of RAM and a Matrox G450.

    I get 146 fps with gears, default window size, in software mode.

    I get on the order of 600 fps with gears, default window size with DRI enabled.

    Are you sure you have DRI enabled? Or did you resize the gears window to something much bigger than the default?


    Originally posted by bunty:

    Hi there.

    I just setup X4.0.2 with GLX support for my Matrox G450 cards.

    I have compiled the gears deme to use as a benchmark.

    I am getting 146FPS maximum for the gears demo in Xfree86.

  3. #3
    Junior Member Newbie
    Join Date
    Feb 2001
    Location
    Arima, Trinidad and Tobago
    Posts
    7

    Re: Xfree86+GLX vs AccelX on a Matrox G450

    I just recompiled X and the new g450 drivers and I even used -march=pentiumpro.

    Enabled dri and I'm up to 150fps in the gears demo at the normal size.

    Do you do anything abnormally ?

  4. #4
    Junior Member Newbie
    Join Date
    Feb 2001
    Location
    Arima, Trinidad and Tobago
    Posts
    7

    Re: Xfree86+GLX vs AccelX on a Matrox G450

    This is what I get from glxinfo:

    display: :0.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: SGI
    client glx version string: 1.2
    client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_get_proc_address
    GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
    OpenGL vendor string: VA Linux Systems, Inc.
    OpenGL renderer string: Mesa GLX Indirect
    OpenGL version string: 1.2 Mesa 3.4
    OpenGL extensions:
    GL_ARB_multitexture, GL_ARB_texture_cube_map, GL_ARB_tranpose_matrix,
    GL_EXT_abgr, GL_EXT_blend_color, GL_EXT_blend_func_separate,
    GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
    GL_EXT_clip_volume_hint, GL_EXT_compiled_vertex_array, GL_EXT_histogram,
    GL_EXT_packed_pixels, GL_EXT_paletted_texture, GL_EXT_point_parameters,
    GL_EXT_polygon_offset, GL_EXT_rescale_normal,
    GL_EXT_shared_texture_palette, GL_EXT_stencil_wrap, GL_EXT_texture3D,
    GL_EXT_texture_env_add, GL_EXT_texture_env_combine, GL_EXT_texture_object,
    GL_EXT_texture_lod_bias, GL_EXT_vertex_array, GL_HP_occlusion_test,
    GL_INGR_blend_func_separate, GL_MESA_window_pos, GL_MESA_resize_buffers,
    GL_NV_texgen_reflection, GL_PGI_misc_hints, GL_SGI_color_matrix,
    GL_SGI_color_table, GL_SGIS_pixel_texture, GL_SGIS_texture_edge_clamp,
    GL_SGIX_pixel_texture

    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 y . 8 8 8 0 0 16 0 0 0 0 0 0 0 None
    0x24 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 0 0 None
    0x25 24 dc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 0 0 None
    0x26 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 0 0 None

    ----------------------------------
    To the top I notice it says :

    direct rendering: No

    I assume it should say yes.

    What does your glxinfo return ?

    I read the docs and did what they said.

    this is the glx/dri section in my /etc/X11/XF86Config :

    ...
    # This loads the GLX module
    Load "glx"
    # This Loads the DRI module
    Load "dri"
    EndSection

    Section "DRI"
    Mode 0666
    EndSection

    What am I doing wrong ?

    I also loaded the mga.o module for the kernel whcih I built from within the X source.

  5. #5
    Junior Member Newbie
    Join Date
    Feb 2001
    Location
    Arima, Trinidad and Tobago
    Posts
    7

    Re: Xfree86+GLX vs AccelX on a Matrox G450

    Ok. I captured the output from X and logged it. The first thing I notice is that it said that it only does direct rendering in 16 or 32 bit modes. So I changed my colour dept to 16bpp.

    Welp my fps is up to 179fps, but I'm affraid dri is still not working.

    Here is my X output.

    XFree86 Version 4.0.2 / X Window System
    (protocol Version 11, revision 0, vendor release 6400)
    Release Date: 18 December 2000
    If the server is older than 6-12 months, or if your card is
    newer than the above date, look for a newer version before
    reporting problems. (See http://www.XFree86.Org/FAQ)
    Operating System: Linux 2.4.0 i686 [ELF]
    Module Loader present
    (==) Log file: "/var/log/XFree86.0.log", Time: Wed Feb 14 06:59:15 2001
    (==) Using config file: "/etc/X11/XF86Config"
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (??) unknown.
    (==) ServerLayout "Simple Layout"
    (**) |-->Screen "Screen 1" (0)
    (**) | |-->Monitor "ViewSonic PF790"
    (**) | |-->Device "Matrox Millenium G450"
    (**) |-->Input Device "Mouse1"
    (**) |-->Input Device "Keyboard1"
    (**) XKB: rules: "xfree86"
    (**) XKB: model: "pc104"
    (**) XKB: layout: "us"
    (**) FontPath set to "/usr/X11R6/lib/X11/fonts/local/,/usr/X11R6/lib/X11/fonts/m
    (**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
    (==) ModulePath set to "/usr/X11R6/lib/modules"
    (--) using VT number 7

    (II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
    (II) Module bitmap: vendor="The XFree86 Project"
    compiled for 4.0.2, module version = 1.0.0
    (II) Loading /usr/X11R6/lib/modules/libpcidata.a
    (II) Module pcidata: vendor="The XFree86 Project"
    compiled for 4.0.2, module version = 0.1.0
    (II) Loading /usr/X11R6/lib/modules/libscanpci.a
    (II) Module scanpci: vendor="The XFree86 Project"
    compiled for 4.0.2, module version = 0.1.0
    (II) Unloading /usr/X11R6/lib/modules/libscanpci.a
    (--) PCI:*(1:0:0) Matrox MGA G400 AGP rev 130, Mem @ 0xf2000000/25, 0xfeafc000/1
    (II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
    (II) Module dbe: vendor="The XFree86 Project"
    compiled for 4.0.2, module version = 1.0.0
    (II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
    (II) Module extmod: vendor="The XFree86 Project"
    compiled for 4.0.2, module version = 1.0.0
    (II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
    (II) Module type1: vendor="The XFree86 Project"
    compiled for 4.0.2, module version = 1.0.0
    (II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a
    (II) Module freetype: vendor="The XFree86 Project"
    compiled for 4.0.2, module version = 1.1.8
    (II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
    (II) Module glx: vendor="The XFree86 Project"
    compiled for 4.0.2, module version = 1.0.0
    (II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
    (II) Module GLcore: vendor="The XFree86 Project"
    compiled for 4.0.2, module version = 1.0.0
    (II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
    (II) Module dri: vendor="The XFree86 Project"
    compiled for 4.0.2, module version = 1.0.0
    (II) Loading /usr/X11R6/lib/modules/linux/libdrm.a
    (II) Module drm: vendor="The XFree86 Project"
    compiled for 4.0.2, module version = 1.0.0
    (II) Loading /usr/X11R6/lib/modules/drivers/mga_drv.o
    (II) Module mga: vendor="The XFree86 Project"
    compiled for 4.0.2, module version = 1.0.0
    (II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
    (II) Module mouse: vendor="The XFree86 Project"
    compiled for 4.0.2, module version = 1.0.0
    (II) MGA: driver for Matrox chipsets: mga2064w, mga1064sg, mga2164w,
    mga2164w AGP, mgag100, mgag100 PCI, mgag200, mgag200 PCI, mgag400
    (--) Assigning device section with no busID to primary device
    (--) Chipset mgag400 found
    (II) Loading /usr/X11R6/lib/modules/libvgahw.a
    (II) Module vgahw: vendor="The XFree86 Project"
    compiled for 4.0.2, module version = 0.1.0
    (**) MGA(0): Depth 16, (--) framebuffer bpp 16
    (==) MGA(0): RGB weight 565
    (II) Loading /usr/X11R6/lib/modules/drivers/mga_hal_drv.o
    (II) Module mga_hal: vendor="The XFree86 Project"
    compiled for 4.0.2, module version = 1.0.0
    (II) MGA(0): Matrox HAL module used
    (--) MGA(0): Chipset: "mgag400"
    (II) MGA(0): Offscreen memory usage will be limited to 512 lines if the DRI is e
    (==) MGA(0): Using AGP Mode 1x
    (--) MGA(0): Linear framebuffer at 0xF2000000
    (--) MGA(0): MMIO registers at 0xFEAFC000
    (--) MGA(0): Pseudo-DMA transfer window at 0xFE000000
    (--) MGA(0): BIOS at 0xFEAC0000
    (--) MGA(0): Video BIOS info block at offset 0x07720
    (WW) MGA(0): Video BIOS info block not detected!
    (**) MGA(0): VideoRAM: 32678 kByte
    (II) Loading /usr/X11R6/lib/modules/libddc.a
    (II) Module ddc: vendor="The XFree86 Project"
    compiled for 4.0.2, module version = 1.0.0
    (II) Loading /usr/X11R6/lib/modules/libi2c.a
    (II) Module i2c: vendor="The XFree86 Project"
    compiled for 4.0.2, module version = 1.2.0
    (WW) MGA(0): Failed to set up write-combining range (0xf2000000,0x1fe9800)
    (II) MGA(0): I2C bus "DDC" initialized.
    (II) MGA(0): I2C device "DDC:ddc2" registered.
    (II) MGA(0): I2C device "DDC:ddc2" removed.
    (II) MGA(0): I2C Monitor info: (nil)
    (II) MGA(0): end of I2C Monitor info

    (--) MGA(0): No DDC signal
    (II) MGA(0): DDC Monitor info: (nil)
    (II) MGA(0): end of DDC Monitor info

    (==) MGA(0): Using gamma correction (1.0, 1.0, 1.0)
    (==) MGA(0): Min pixel clock is 12 MHz
    (==) MGA(0): Max pixel clock is 360 MHz
    (II) MGA(0): ViewSonic PF790: Using hsync range of 30.00-97.00 kHz
    (II) MGA(0): ViewSonic PF790: Using vrefresh range of 50.00-160.00 Hz
    (II) MGA(0): Clock range: 12.00 to 360.00 MHz
    (WW) MGA(0): Default mode "1024x768" deleted (bad mode clock/interlace/doublesca
    (WW) MGA(0): Default mode "1600x1200" deleted (hsync out of range)
    (WW) MGA(0): Default mode "1792x1344" deleted (hsync out of range)
    (WW) MGA(0): Default mode "1856x1392" deleted (hsync out of range)
    (WW) MGA(0): Default mode "1920x1440" deleted (hsync out of range)
    (WW) MGA(0): Failed to set up write-combining range (0xf2000000,0x1fe9800)
    (--) MGA(0): Has SDRAM
    (--) MGA(0): Virtual size is 1280x1024 (pitch 1280)
    (**) MGA(0): Default mode "1280x1024": 157.5 MHz, 91.1 kHz, 85.0 Hz
    (==) MGA(0): DPI set to (75, 75)
    (II) Loading /usr/X11R6/lib/modules/libfb.a
    (II) Module fb: vendor="The XFree86 Project"
    compiled for 4.0.2, module version = 1.0.0
    (II) Loading /usr/X11R6/lib/modules/libxaa.a
    (II) Module xaa: vendor="The XFree86 Project"
    compiled for 4.0.2, module version = 1.0.0
    (II) Loading /usr/X11R6/lib/modules/libramdac.a
    (II) Module ramdac: vendor="The XFree86 Project"
    compiled for 4.0.2, module version = 0.1.0
    (WW) MGA(0): Failed to set up write-combining range (0xf2000000,0x1fe9800)
    (--) MGA(0): 16 DWORD fifo
    (==) MGA(0): Default visual is TrueColor
    (II) MGA(0): [drm] bpp: 16 depth: 16
    (II) MGA(0): [drm] Sarea 2196+632: 2828
    (0): [drm] created "mga" driver at busid "PCI:1:0:0"
    (0): [drm] added 4096 byte SAREA at 0xc9a33000
    (0): [drm] mapped SAREA 0xc9a33000 to 0x40018000
    (0): [drm] drmAddMap failed
    (EE) MGA(0): [drm] DRIScreenInit Failed
    (II) MGA(0): Using 5529 lines for offscreen memory.
    (II) MGA(0): Using XFree86 Acceleration Architecture (XAA)
    Screen to screen bit blits
    Solid filled rectangles
    Solid filled trapezoids
    8x8 mono pattern filled rectangles
    8x8 mono pattern filled trapezoids
    Indirect CPU to Screen color expansion
    Screen to Screen color expansion
    Solid Lines
    Dashed Lines
    Scanline Image Writes
    Offscreen Pixmaps
    Setting up tile and stipple cache:
    32 128x128 slots
    32 256x256 slots
    16 512x512 slots
    (==) MGA(0): Backing store disabled
    (==) MGA(0): Silken mouse enabled
    (II) MGA(0): Using overlay video
    (II) MGA(0): direct rendering disabled
    (**) Mouse1: Protocol: "Microsoft"
    (**) Mouse1: Core Pointer
    (==) Mouse1: Buttons: 3
    (**) Mouse1: BaudRate: 1200
    (II) Keyboard "Keyboard1" handled by legacy driver
    (II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)


    ------------------------------------
    I notice that it says coming to the end:

    (EE) MGA(0): [drm] DRIScreenInit Failed

    and also

    (II) MGA(0): direct rendering disabled

    .
    ---------------------------------------
    Does anyone know what I'm doing wrong ?
    Any help will be greatly appreciated.

  6. #6
    Member Regular Contributor
    Join Date
    Sep 2000
    Location
    Vancouver BC Canada
    Posts
    433

    Re: Xfree86+GLX vs AccelX on a Matrox G450

    Make sure you are using the latest mga.o kernel module and the agpgart.o kernel module.

    Lots more help available at Matrox Tech Support .

  7. #7
    Junior Member Newbie
    Join Date
    Feb 2001
    Location
    Arima, Trinidad and Tobago
    Posts
    7

    Re: Xfree86+GLX vs AccelX on a Matrox G450

    ok, the matrox docs said to build one from X.

    I have kernel 2.4.1.

    Now I have agpgart built into the kernel.
    Should I take it out and use a module instead ?

    I will attempt it with modules. Thanks
    I'll remove the mga module i built from X.

    Thanks

  8. #8
    Junior Member Newbie
    Join Date
    Feb 2001
    Location
    Arima, Trinidad and Tobago
    Posts
    7

    Re: Xfree86+GLX vs AccelX on a Matrox G450

    Ok, that's a no go on the kernel modules

  9. #9
    Member Regular Contributor
    Join Date
    Sep 2000
    Location
    Vancouver BC Canada
    Posts
    433

    Re: Xfree86+GLX vs AccelX on a Matrox G450

    Originally posted by bunty:
    ok, the matrox docs said to build one from X.
    Yeah... that's what I meant. Build the mga.o in X (it lives in xc/programs/Xserver/hw/os-support/linux) and install it.


    Now I have agpgart built into the kernel.
    Should I take it out and use a module instead ?
    Matter of taste, I think.

    Anyways, like I said, check out the Matrox Forum, lots of help in there.

    [This message has been edited by rts (edited 02-14-2001).]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •