Hello all.
I'm trying to "play" with DRI support for SiS boards on xf-4_0_3 branch.
After some work, everything is loaded and the log reports it's
working, but when I try to start any app that uses it (ex. tuxracer
or quake3), I get:
SIS driver : out of video memory
Fatal errors in sis_dri.so
I'm using:
kernel 2.4.3
SiS 6326 chipset
I found no docs for SiS DRI support in the page. I found some msgs in
the mail list archieves, but they're old.
There are lot's of changes in the current XFree CVS related to DRI, but it
looks like SiS support was abandoned.
Any plans for SiS support? Anybody knows who did the actual work in the
kernel? Who is the maintainer? I would like to help in some way.
Thanks in advance.
- Ademar
[root@x sis]# lsmod
Module Size Used by
sis 62208 1
sisfb 40496 0 [sis]
fbcon-cfb32 6096 0 [sisfb]
fbcon-cfb16 5552 0 [sisfb]
fbcon-cfb8 4336 0 [sisfb]
agpgart 22304 3
3c509 7376 1 (autoclean)
[root@x sis]# glxinfo
display: :0.0 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_ARB_get_proc_address
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: Brian Paul
OpenGL renderer string: SiS 300/630/530 DR Mode
OpenGL version string: 1.2 Mesa 3.4
OpenGL extensions:
GL_ARB_multitexture, GL_ARB_tranpose_matrix, GL_EXT_abgr,
GL_EXT_blend_func_separate, GL_EXT_compiled_vertex_array,
GL_EXT_histogram, GL_EXT_packed_pixels, GL_EXT_polygon_offset,
GL_EXT_rescale_normal, GL_EXT_shared_texture_palette, GL_EXT_stencil_wrap,
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_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
----------------------------------------------------------------------
0x22 16 tc 0 16 0 r . . 5 6 5 0 0 0 0 0 0 0 0 0 0 None
0x23 16 tc 0 16 0 r y . 5 6 5 0 0 0 0 0 0 0 0 0 0 None
0x24 16 tc 0 16 0 r . . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
0x25 16 tc 0 16 0 r y . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
0x26 16 tc 0 16 0 r . . 5 6 5 0 0 32 0 0 0 0 0 0 0 None
0x27 16 tc 0 16 0 r y . 5 6 5 0 0 32 0 0 0 0 0 0 0 None
0x28 16 tc 0 16 0 r . . 5 6 5 0 0 24 8 0 0 0 0 0 0 None
0x29 16 tc 0 16 0 r y . 5 6 5 0 0 24 8 0 0 0 0 0 0 None
0x2a 16 tc 0 16 0 r . . 5 6 5 0 0 0 0 16 16 16 16 0 0 None
0x2b 16 tc 0 16 0 r y . 5 6 5 0 0 0 0 16 16 16 16 0 0 None
0x2c 16 tc 0 16 0 r . . 5 6 5 0 0 16 0 16 16 16 16 0 0 None
0x2d 16 tc 0 16 0 r y . 5 6 5 0 0 16 0 16 16 16 16 0 0 None
0x2e 16 tc 0 16 0 r . . 5 6 5 0 0 32 0 16 16 16 16 0 0 None
0x2f 16 tc 0 16 0 r y . 5 6 5 0 0 32 0 16 16 16 16 0 0 None
0x30 16 tc 0 16 0 r . . 5 6 5 0 0 24 8 16 16 16 16 0 0 None
0x31 16 tc 0 16 0 r y . 5 6 5 0 0 24 8 16 16 16 16 0 0 None
[root@x sis]# cat /var/log/XFree86.0.log
[...]
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="The XFree86 Project"
compiled for 4.0.3, module version = 1.0.0
ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension XFree86-DRI
(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.0.3, module version = 1.0.0
[...]
(II) SIS(0): Setting memory clock to 100.226 MHz
(II) SIS(0): [drm] DRI version = 3.0.0
(0): [drm] created "sis" driver at busid "PCI:0:10:0"
(0): [drm] added 4096 byte SAREA at 0xc415c000
(0): [drm] mapped SAREA 0xc415c000 to 0x40027000
(0): [drm] framebuffer handle = 0xe6000000
(0): [drm] added 1 reserved context for kernel
(II) SIS(0): [drm] Registers = 0xde000000
[drm] drmAgpEnabled succeeded
(II) SIS(0): [drm] failure adding irq 0 handler, stereo disabled
(II) SIS(0): [drm] visual configs initialized
(II) SIS(0): Using XFree86 Acceleration Architecture (XAA)
[...]
(0): [drm] installed DRM signal handler
(0): [DRI] installation complete
(II) SIS(0): direct rendering enabled
[... After exiting from XServer ...]
(0): [drm] removed 1 reserved context for kernel
(0): [drm] unmapping 4096 bytes of SAREA 0xc415c000 at 0x40027000
Freeing agp memory
releasing agp module
>From quake3:
...loading /usr/X11R6/lib/libGL.so: Initializing OpenGL display
...setting mode 3: 640 480
Using XFree86-VidModeExtension Version 2.0
XF86DGA Mouse (Version 2.0) initialized
XFree86-VidModeExtension Activated at 640x480
Using 4/4/4 Color bits, 24 depth, 0 stencil display.
[root@x sis]# cat /var/log/messages | grep drm
Apr 16 10:30:39 x kernel: [drm] AGP 0.99 on ALi M1541 @ 0xe0000000 64MB
Apr 16 10:30:39 x kernel: [drm] Initialized sis 1.0.0 20000831 on minor 63
--
==================================================
Ademar de Souza Reis Jr. <[EMAIL PROTECTED]>
Conectiva Inc. - http://www.conectiva.com
CS Student - Federal University of Paraná - Brazil
http://www.ademar.org
iEmacs is the best editor ^[0cwVIM^[:wq!
^[:wq!
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dri-devel