I don't think the drivers S3 released will work properly on savage3D
based cores like the MX/IX chips.  They were designed for savage4 cores
like the prosavage and twister.  You may want to compare the S3 driver
to the utah-glx savage driver.  the utah driver only supports savage3D
cores, but not savage4 cores.  The cores are probably different enough
that the s3 drivers won't "just work."  You would need to adapt the S3
driver to work on MX/IX using utah-glx as a reference.

Alex

--- "Dimitry N. Naldaev" <[EMAIL PROTECTED]> wrote:
> � ��������� �� 16 ��������
2003 21:10 Dimitry N. Naldaev �������:
> > � ��������� �� 10 ��������
2003 02:16 Alex Deucher �������:
> > > The 2D driver supports all savage chips,
> >
> yesterday I did more testing S3 driver on my motebook and there is
> results
> by default DRI is not enabled
> The 2D driver does not work with enlightenment window manager --- the
> screen 
> corrupted, see screenshot in attachment e-bug.png (I have bzip2ed it
> to fit 
> 100kb limit of DRI mail list)
> 
> After that I force init DRI by doing
> >
> > > from savage_driver.c:
> >
> > #if 0
> >
> > >    if ((psav->Chipset == S3_TWISTER)
> > >
> > >         || (psav->Chipset == S3_PROSAVAGE)) {
> > >
> > >         /* Setup DRI after visuals have been established */
> > >         psav->directRenderingEnabled =
> SAVAGEDRIScreenInit(pScreen);
> > >     } else
> > >         psav->directRenderingEnabled = FALSE;
> >
> > # else
> >   psav->directRenderingEnabled = SAVAGEDRIScreenInit(pScreen);
> > #endif
> >
> In the case enlightenment work withoiut screen corruption 
> glxinfo reports DRI enabled
> full output of glxinfo attached
> 
> but when I start glxgears Xserver crashes 
> full X log also attached
> 
> there is an error :
> (EE) SAVAGE(0): Memory manager initialization to (0,0) (1024,-1)
> failed
> this happens inside SavageInitAccel function: the call
> xf86InitFBManager 
> return an error...
> Yep... I find what happens... but I'll fix this when I'll return to
> home...
> 
> Because savage MX have only 8MB vidio memory there is a question what
> things 
> mast stay in vidio memory and what things can go in agp space? 
> 
> > Using AGP dma|
> DBflag:0
> name of display: :2.0
> display: :2  screen: 0
> direct rendering: Yes
> 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 extensions:
>     GLX_EXT_visual_info, GLX_EXT_visual_rating,
> GLX_EXT_import_context
> OpenGL vendor string: S3 Graphics Inc.
> OpenGL renderer string: Mesa DRI SAVAGE Linux_1.1.18
> OpenGL version string: 1.2 Mesa 3.4.2
> OpenGL extensions:
>     GL_ARB_multitexture, GL_ARB_transpose_matrix, GL_EXT_abgr, 
>     GL_EXT_blend_func_separate, GL_EXT_clip_volume_hint, 
>     GL_EXT_compiled_vertex_array, GL_EXT_histogram,
> GL_EXT_packed_pixels, 
>     GL_EXT_polygon_offset, GL_EXT_rescale_normal,
> GL_EXT_stencil_wrap, 
>     GL_EXT_texture3D, GL_EXT_texture_env_add, GL_EXT_texture_object, 
>     GL_EXT_texture_lod_bias, GL_EXT_vertex_array, GL_MESA_window_pos,
> 
>     GL_MESA_resize_buffers, GL_NV_texgen_reflection,
> GL_PGI_misc_hints, 
>     GL_SGIS_pixel_texture, GL_SGIS_texture_edge_clamp
> 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
>
----------------------------------------------------------------------
> 0x22 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  0  0  0  0  0  0 0
> None
> 0x23 16 tc  0 16  0 r  .  .  5  6  5  0  0 16  0  0  0  0  0  0 0
> None
> 0x24 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  8  0  0  0  0  0 0
> Slow
> 0x25 16 tc  0 16  0 r  .  .  5  6  5  0  0 16  8  0  0  0  0  0 0
> Slow
> 0x26 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  0 16 16 16  0  0 0
> Slow
> 0x27 16 tc  0 16  0 r  .  .  5  6  5  0  0 16  0 16 16 16  0  0 0
> Slow
> 0x28 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  8 16 16 16  0  0 0
> Slow
> 0x29 16 tc  0 16  0 r  .  .  5  6  5  0  0 16  8 16 16 16  0  0 0
> Slow
> > If some fields are empty or look unusual you may have an old
version.
> Compare to the current minimal requirements in Documentation/Changes.
>  
> Linux home 2.4.22-home-apm-2 #1 ��� ��� 15 01:20:31 YEKST
2003 i686
> unknown
>  
> Gnu C                  2.95.4
> Gnu make               3.79.1
> util-linux             2.11n
> mount                  2.11n
> modutils               2.4.15
> e2fsprogs              1.27
> reiserfsprogs          3.x.1b
> pcmcia-cs              3.1.33
> Linux C Library        2.2.5
> Dynamic linker (ldd)   2.2.5
> Procps                 2.0.7
> Net-tools              1.60
> Kbd                    [�����...]
> Console-tools          0.2.3
> Sh-utils               2.0.11
> Modules Loaded         parport_pc lp parport slip nls_koi8-r
> nls_cp866 savage maestro3 soundcore ac97_codec
> 

> ATTACHMENT part 4 application/x-bzip2 name=e-bug.jpg.bz2
> 
> XFree86 Version 4.2.1 (Debian 4.2.1-3 20021019202935
> [EMAIL PROTECTED]) / X Window System
> (protocol Version 11, revision 0, vendor release 6600)
> Release Date: 3 September 2002
>       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/)
> Build Operating System: Linux 2.4.19 i686 [ELF] 
> Module Loader present
> Markers: (--) probed, (**) from config file, (==) default setting,
>          (++) from command line, (!!) notice, (II) informational,
>          (WW) warning, (EE) error, (NI) not implemented, (??)
> unknown.
> (==) Log file: "/var/log/XFree86.2.log", Time: Wed Sep 17 00:49:19
> 2003
> (==) Using config file: "/etc/X11/XF86Config-4"
> (==) ServerLayout "Default Layout"
> (**) |-->Screen "Default Screen" (0)
> (**) |   |-->Monitor "Generic Monitor"
> (**) |   |-->Device "Generic Video Card"
> (**) |-->Input Device "Generic Keyboard"
> (**) Option "AutoRepeat" "250 30"
> (**) Option "XkbRules" "xfree86"
> (**) XKB: rules: "xfree86"
> (**) Option "XkbModel" "pc104"
> (**) XKB: model: "pc104"
> (**) Option "XkbLayout" "ru"
> (**) XKB: layout: "ru"
> (**) Option "XkbOptions" "grp:shift_toggle"
> (**) XKB: options: "grp:shift_toggle"
> (==) Keyboard: CustomKeycode disabled
> (**) |-->Input Device "Configured Mouse"
> (**) FontPath set to
>
"/usr/lib/X11/fonts/misc/:unscaled,unix/:7110,/usr/lib/X11/fonts/Type1,/usr/lib/X11/fonts/Speedo"
> (==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
> (==) ModulePath set to "/usr/X11R6/lib/modules"
> (--) using VT number 11
> 
> (II) Open APM successful
> (II) Module ABI versions:
>       XFree86 ANSI C Emulation: 0.1
>       XFree86 Video Driver: 0.5
>       XFree86 XInput driver : 0.3
>       XFree86 Server Extension : 0.1
>       XFree86 Font Renderer : 0.3
> (II) Loader running on linux
> (II) LoadModule: "bitmap"
> (II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
> (II) Module bitmap: vendor="The XFree86 Project"
>       compiled for 4.2.1, module version = 1.0.0
>       Module class: XFree86 Font Renderer
>       ABI class: XFree86 Font Renderer, version 0.3
> (II) Loading font Bitmap
> (II) LoadModule: "pcidata"
> (II) Loading /usr/X11R6/lib/modules/libpcidata.a
> (II) Module pcidata: vendor="The XFree86 Project"
>       compiled for 4.2.1, module version = 0.1.0
>       ABI class: XFree86 Video Driver, version 0.5
> (II) PCI: Probing config type using method 1
> (II) PCI: Config type is 1
> (II) PCI: stages = 0x03, oldVal1 = 0x80003b40, mode1Res1 = 0x80000000
> (II) PCI: PCI scan (all values are in hex)
> (II) PCI: 00:00:0: chip 8086,7190 card 1043,1040 rev 03 class
> 06,00,00 hdr 00
> (II) PCI: 00:01:0: chip 8086,7191 card 0000,0000 rev 03 class
> 06,04,00 hdr 01
> (II) PCI: 00:06:0: chip 125d,1988 card 1043,1049 rev 12 class
> 04,01,00 hdr 80
> (II) PCI: 00:06:1: chip 125d,1989 card 1043,1049 rev 12 class
> 07,80,00 hdr 80
> (II) PCI: 00:07:0: chip 8086,7110 card 0000,0000 rev 02 class
> 06,01,00 hdr 80
> (II) PCI: 00:07:1: chip 8086,7111 card 0000,0000 rev 01 class
> 01,01,80 hdr 00
> (II) PCI: 00:07:2: chip 8086,7112 card 0000,0000 rev 01 class
> 0c,03,00 hdr 00
> (II) PCI: 00:07:3: chip 8086,7113 card 0000,0000 rev 03 class
> 06,80,00 hdr 00
> (II) PCI: 00:08:0: chip 10ec,8139 card 1043,1045 rev 10 class
> 02,00,00 hdr 00
> (II) PCI: 00:0a:0: chip 1180,0476 card 4000,0000 rev 80 class
> 06,07,00 hdr 82
> (II) PCI: 00:0a:1: chip 1180,0476 card 4800,0000 rev 80 class
> 06,07,00 hdr 82
> (II) PCI: 01:00:0: chip 5333,8c10 card 1043,1042 rev 13 class
> 03,00,00 hdr 00
> (II) PCI: End of PCI scan
> (II) LoadModule: "scanpci"
> (II) Loading /usr/X11R6/lib/modules/libscanpci.a
> (II) Module scanpci: vendor="The XFree86 Project"
>       compiled for 4.2.1, module version = 0.1.0
>       ABI class: XFree86 Video Driver, version 0.5
> (II) UnloadModule: "scanpci"
> (II) Unloading /usr/X11R6/lib/modules/libscanpci.a
> (II) Host-to-PCI bridge:
> (II) PCI-to-ISA bridge:
> (II) PCI-to-PCI bridge:
> (II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x08 (VGA_EN is
> set)
> (II) Bus 0 I/O range:
>       [0] -1 0        0x00000000 - 0x0000ffff (0x10000) IX[B]
> (II) Bus 0 non-prefetchable memory range:
>       [0] -1 0        0x00000000 - 0xffffffff (0x0) MX[B]
> (II) Bus 0 prefetchable memory range:
>       [0] -1 0        0x00000000 - 0xffffffff (0x0) MX[B]
> (II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x8c (VGA_EN is
> set)
> (II) Bus 1 I/O range:
> (II) Bus 1 non-prefetchable memory range:
>       [0] -1 0        0xf0000000 - 0xf7ffffff (0x8000000) MX[B]
> (II) Bus 1 prefetchable memory range:
> (II) Bus -1: bridge is at (0:7:0), (0,-1,0), BCTRL: 0x08 (VGA_EN is
> set)
> (II) Bus -1 I/O range:
> (II) Bus -1 non-prefetchable memory range:
> (II) Bus -1 prefetchable memory range:
> (--) PCI:*(1:0:0) S3 Savage/MX-MV rev 19, Mem @ 0xf0000000/27
> (II) Addressable bus resource ranges are
>       [0] -1 0        0x00000000 - 0xffffffff (0x0) MX[B]
>       [1] -1 0        0x00000000 - 0x0000ffff (0x10000) IX[B]
> (II) OS-reported resource ranges:
>       [0] -1 0        0xffe00000 - 0xffffffff (0x200000) MX[B](B)
>       [1] -1 0        0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
>       [2] -1 0        0x000f0000 - 0x000fffff (0x10000) MX[B]
>       [3] -1 0        0x000c0000 - 0x000effff (0x30000) MX[B]
>       [4] -1 0        0x00000000 - 0x0009ffff (0xa0000) MX[B]
>       [5] -1 0        0x0000ffff - 0x0000ffff (0x1) IX[B]
>       [6] -1 0        0x00000000 - 0x000000ff (0x100) IX[B]
> (II) Active PCI resource ranges:
>       [0] -1 0        0xfedffc00 - 0xfedffcff (0x100) MX[B]
>       [1] -1 0        0xf8000000 - 0xfbffffff (0x4000000) MX[B]
>       [2] -1 0        0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
>       [3] -1 0        0x0000f000 - 0x0000f0ff (0x100) IX[B]
>       [4] -1 0        0x0000fce0 - 0x0000fcff (0x20) IX[B]
>       [5] -1 0        0x0000fcd0 - 0x0000fcdf (0x10) IX[B]
>       [6] -1 0        0x0000f400 - 0x0000f4ff (0x100) IX[B]
>       [7] -1 0        0x0000f800 - 0x0000f8ff (0x100) IX[B]
> (II) Active PCI resource ranges after removing overlaps:
>       [0] -1 0        0xfedffc00 - 0xfedffcff (0x100) MX[B]
>       [1] -1 0        0xf8000000 - 0xfbffffff (0x4000000) MX[B]
>       [2] -1 0        0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
>       [3] -1 0        0x0000f000 - 0x0000f0ff (0x100) IX[B]
>       [4] -1 0        0x0000fce0 - 0x0000fcff (0x20) IX[B]
>       [5] -1 0        0x0000fcd0 - 0x0000fcdf (0x10) IX[B]
>       [6] -1 0        0x0000f400 - 0x0000f4ff (0x100) IX[B]
>       [7] -1 0        0x0000f800 - 0x0000f8ff (0x100) IX[B]
> (II) OS-reported resource ranges after removing overlaps with PCI:
>       [0] -1 0        0xffe00000 - 0xffffffff (0x200000) MX[B](B)
>       [1] -1 0        0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
>       [2] -1 0        0x000f0000 - 0x000fffff (0x10000) MX[B]
>       [3] -1 0        0x000c0000 - 0x000effff (0x30000) MX[B]
>       [4] -1 0        0x00000000 - 0x0009ffff (0xa0000) MX[B]
>       [5] -1 0        0x0000ffff - 0x0000ffff (0x1) IX[B]
>       [6] -1 0        0x00000000 - 0x000000ff (0x100) IX[B]
> (II) All system resource ranges:
>       [0] -1 0        0xffe00000 - 0xffffffff (0x200000) MX[B](B)
>       [1] -1 0        0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
>       [2] -1 0        0x000f0000 - 0x000fffff (0x10000) MX[B]
>       [3] -1 0        0x000c0000 - 0x000effff (0x30000) MX[B]
>       [4] -1 0        0x00000000 - 0x0009ffff (0xa0000) MX[B]
>       [5] -1 0        0xfedffc00 - 0xfedffcff (0x100) MX[B]
>       [6] -1 0        0xf8000000 - 0xfbffffff (0x4000000) MX[B]
>       [7] -1 0        0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
>       [8] -1 0        0x0000ffff - 0x0000ffff (0x1) IX[B]
>       [9] -1 0        0x00000000 - 0x000000ff (0x100) IX[B]
>       [10] -1 0       0x0000f000 - 0x0000f0ff (0x100) IX[B]
>       [11] -1 0       0x0000fce0 - 0x0000fcff (0x20) IX[B]
>       [12] -1 0       0x0000fcd0 - 0x0000fcdf (0x10) IX[B]
>       [13] -1 0       0x0000f400 - 0x0000f4ff (0x100) IX[B]
>       [14] -1 0       0x0000f800 - 0x0000f8ff (0x100) IX[B]
> (II) LoadModule: "GLcore"
> (II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
> (II) Module GLcore: vendor="The XFree86 Project"
>       compiled for 4.2.1, module version = 1.0.0
>       ABI class: XFree86 Server Extension, version 0.1
> (II) LoadModule: "bitmap"
> (II) Reloading /usr/X11R6/lib/modules/fonts/libbitmap.a
> (II) Loading font Bitmap
> (II) LoadModule: "dbe"
> (II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
> (II) Module dbe: vendor="The XFree86 Project"
>       compiled for 4.2.1, module version = 1.0.0
>       Module class: XFree86 Server Extension
>       ABI class: XFree86 Server Extension, version 0.1
> (II) Loading extension DOUBLE-BUFFER
> (II) LoadModule: "ddc"
> (II) Loading /usr/X11R6/lib/modules/libddc.a
> (II) Module ddc: vendor="The XFree86 Project"
>       compiled for 4.2.1, module version = 1.0.0
>       ABI class: XFree86 Video Driver, version 0.5
> (II) LoadModule: "dri"
> (II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
> (II) Module dri: vendor="The XFree86 Project"
>       compiled for 4.2.1, module version = 1.0.0
>       ABI class: XFree86 Server Extension, version 0.1
> (II) Loading sub module "drm"
> (II) LoadModule: "drm"
> (II) Loading /usr/X11R6/lib/modules/linux/libdrm.a
> (II) Module drm: vendor="The XFree86 Project"
>       compiled for 4.2.1, module version = 1.0.0
> 
=== message truncated ===


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to