Hi

I am using sis305 AGP card. I read all the documents.
Including Thomas winiscoffer's sis page.To be specific
the bios says"SiS 305 AGP 2X/4X True Color Graphics
and Video Accelerator".
I compiled sisfb inside the kernel and rest are
modules 

I tried all these options

kernel 2.6.3x  xc of dri+mesa cvs and also xfree-4.4.
when startx I get the following error in XFree86.0.log

(**) SIS(0): Option "AGPSize" "32"
(EE) SIS(0): [drm] Failed to acquire AGP, AGP disabled

Though X works.

And the log also shows 
(--) PCI:*(1:0:0) Silicon Integrated Systems [SiS]
SiS300/305 PCI/AGP VGA Display Adapter rev 144, Mem @
0xe8000000/27, 0xff8e0000/17, I/O @ 0xcc00/7, BIOS @
0xff8d0000/16

lspci -v tells

01:00.0 VGA compatible controller: Silicon Integrated
Systems [SiS] SiS300/305 PCI/AGP VGA Display Adapter
(rev 90) (prog-if 00 [VGA])
        Subsystem: Silicon Integrated Systems [SiS]
SiS300/305 PCI/AGP VGA Display Adapter
        Flags: 66Mhz, medium devsel, IRQ 11
        BIST result: 02
        Memory at e8000000 (32-bit, prefetchable)
[size=128M]
        Memory at ff8e0000 (32-bit, non-prefetchable)
[size=128K]
        I/O ports at cc00 [size=128]
        Expansion ROM at ff8d0000 [disabled]
[size=64K]
        Capabilities: [40] Power Management version 1
        Capabilities: [50] AGP version 1.0
 

glxinfo says
direct rendering "Yes"
but glxgears and tuxracer shows wierd lines emanating
from top left corner

some more info in some instances your code compiled
with dri+mesa cvs, glxinfo segfaults with the
followiing error.
#glxinfo
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 0.1.0 sis (screen
0)
libGL: OpenDriver: trying
/usr/X11R6/lib/modules/dri/sis_dri.so
drmOpenByBusid: Searching for BusID PCI:1:0:0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
Segmentation fault

I feel that this is a bug. How do I correct it. I am
giving more info below

In other instances it gives the follwoing output

name of display: :0.0
libGL: XF86DRIGetClientDriverName: 0.7.0 sis (screen
0)
libGL: OpenDriver: trying
/usr/X11R6/lib/modules/dri/sis_dri.so
drmOpenByBusid: busid is PCI:1:0:0
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports PCI:1:0:0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info,
GLX_EXT_visual_rating, 
    GLX_EXT_import_context, GLX_SGI_make_current_read,
GLX_SGIS_multisample
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample,
GLX_EXT_import_context, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_MESA_allocate_memory, 
    GLX_MESA_swap_control, GLX_MESA_swap_frame_usage,
GLX_OML_swap_method, 
    GLX_OML_sync_control, GLX_SGI_make_current_read,
GLX_SGI_swap_control, 
    GLX_SGI_video_sync, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, 
    GLX_SGIX_visual_select_group
GLX extensions:
    GLX_ARB_get_proc_address, GLX_EXT_import_context,
GLX_EXT_visual_info, 
    GLX_EXT_visual_rating
OpenGL vendor string: Eric Anholt
OpenGL renderer string: Mesa DRI SiS 20030810
x86/MMX+/SSE2
OpenGL version string: 1.2 Mesa 5.0.2
OpenGL extensions:
    GL_ARB_multitexture, GL_ARB_transpose_matrix,
GL_ARB_window_pos, 
    GL_EXT_abgr, GL_EXT_bgra, GL_EXT_clip_volume_hint,

    GL_EXT_compiled_vertex_array, GL_EXT_copy_texture,

    GL_EXT_draw_range_elements, GL_EXT_packed_pixels,
GL_EXT_polygon_offset, 
    GL_EXT_rescale_normal,
GL_EXT_separate_specular_color, GL_EXT_subtexture, 
    GL_EXT_texture, GL_EXT_texture3D,
GL_EXT_texture_object, 
    GL_EXT_texture_lod_bias, GL_EXT_vertex_array,
GL_APPLE_packed_pixels, 
    GL_IBM_rasterpos_clip, GL_MESA_window_pos,
GL_NV_texgen_reflection, 
    GL_SGIS_texture_lod
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  1 16  0 r  .  .  5  6  5  0  0  0  0  0  0
 0  0  0 0 None
0x23 16 tc  1 16  0 r  y  .  5  6  5  0  0  0  0  0  0
 0  0  0 0 None
0x24 16 tc  1 16  0 r  .  .  5  6  5  0  0 16  0  0  0
 0  0  0 0 None
0x25 16 tc  1 16  0 r  y  .  5  6  5  0  0 16  0  0  0
 0  0  0 0 None
0x26 16 tc  1 16  0 r  .  .  5  6  5  0  0 32  0  0  0
 0  0  0 0 None
0x27 16 tc  1 16  0 r  y  .  5  6  5  0  0 32  0  0  0
 0  0  0 0 None
0x28 16 tc  1 16  0 r  .  .  5  6  5  0  0 24  8  0  0
 0  0  0 0 None
0x29 16 tc  1 16  0 r  y  .  5  6  5  0  0 24  8  0  0
 0  0  0 0 None
0x2a 16 tc  1 16  0 r  .  .  5  6  5  0  0  0  0 16 16
16 16  0 0 None
0x2b 16 tc  1 16  0 r  y  .  5  6  5  0  0  0  0 16 16
16 16  0 0 None
0x2c 16 tc  1 16  0 r  .  .  5  6  5  0  0 16  0 16 16
16 16  0 0 None
0x2d 16 tc  1 16  0 r  y  .  5  6  5  0  0 16  0 16 16
16 16  0 0 None
0x2e 16 tc  1 16  0 r  .  .  5  6  5  0  0 32  0 16 16
16 16  0 0 None
0x2f 16 tc  1 16  0 r  y  .  5  6  5  0  0 32  0 16 16
16 16  0 0 None
0x30 16 tc  1 16  0 r  .  .  5  6  5  0  0 24  8 16 16
16 16  0 0 None
0x31 16 tc  1 16  0 r  y  .  5  6  5  0  0 24  8 16 16
16 16  0 0 None

Any help is greatly appreciated.

Debpal

________________________________________________________________________
Yahoo! India Insurance Special: Be informed on the best policies, services, tools and 
more. 
Go to: http://in.insurance.yahoo.com/licspecial/index.html


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to