[LUG.ro] Problema con Z-buffer

Juan Manuel Pittácolo lugro@lugro.org.ar
Thu, 17 Mar 2005 10:38:13 -0300


Estimados:

Instalé hace poco SuSE 9.2. Va todo bien, salvo algún esporádico y decepcionante cuelgue,
pero tengo el problema que detallo a continuación.

Cuando quiero correr DOSBox me aparece el siguiente mensaje de error

[sis_alloc.c:154]: Failure to allocate Z buffer.

También me aparece un mensaje haciendo referencia a problemas con el Z buffer cuando
intento correr TuxRacer.

Según vi en Google, el Z buffer se utiliza para guardar las coordenadas Z cuando se
grafica en 3D usando OpenGL o similares, pero no pude encontrar ninguna solución para este 
problema.

A continuación detallo la salida de glxinfo, por si sirve:

==================8<==================================================

name of display: :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_OML_swap_method, GLX_SGI_make_current_read,
      GLX_SGIS_multisample, GLX_SGIX_fbconfig
client glx vendor string: SGI
client glx version string: 1.4
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_pbuffer, GLX_SGIX_visual_select_group
GLX extensions:
      GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
      GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIS_multisample
OpenGL vendor string: Eric Anholt
OpenGL renderer string: Mesa DRI SiS 20040608 AGP 1x x86/MMX+/3DNow!+
OpenGL version string: 1.2 Mesa 6.1
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_edge_clamp,
      GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_vertex_array,
      GL_APPLE_packed_pixels, GL_IBM_rasterpos_clip, GL_MESA_window_pos,
      GL_NV_light_max_exponent, GL_NV_texgen_reflection,
      GL_SGIS_texture_edge_clamp, 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  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  0  0 0 Slow
0x2b 16 tc  0 16  0 r  y  .  5  6  5  0  0  0  0 16 16 16  0  0 0 Slow
0x2c 16 tc  0 16  0 r  .  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
0x2d 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
0x2e 16 tc  0 16  0 r  .  .  5  6  5  0  0 32  0 16 16 16  0  0 0 Slow
0x2f 16 tc  0 16  0 r  y  .  5  6  5  0  0 32  0 16 16 16  0  0 0 Slow
0x30 16 tc  0 16  0 r  .  .  5  6  5  0  0 24  8 16 16 16  0  0 0 Slow
0x31 16 tc  0 16  0 r  y  .  5  6  5  0  0 24  8 16 16 16  0  0 0 Slow

==================8<==================================================

Y, por las dudas, pego la salida del reporte de hardware referente a video:

==================8<==================================================

    UniqueID=VCu0.WRFLgjfyG+D
      ParentID=_Znp.s4zPh4a_106
      HWClass=graphics card
      Model=Silicon Integrated SiS630 GUI Accelerator+3D
      Configured=yes
      Available=yes
      Needed=yes
      Active=unknown
      Bus=0x4
      Slot=0x100
      BaseClass=0x3
      VendorID=1039
      DeviceID=6300
      SubVendorID=1039
      SubDeviceID=6300
      RevisionID=0x31
      DeviceName=SiS630 GUI Accelerator+3D
      VendorName=Silicon Integrated Systems Corp.
      SubVendorName=Silicon Integrated Systems Corp.
      Drivers=sis
      SysfsID=/devices/pci0000:00/0000:00:02.0/0000:01:00.0
      SysfsBusID=0000:01:00.0
      HWClassList=00100020000000
      Features=0x1
      Res.Memory=0xc0000000,0x8000000,1,3,2
      Res.Memory=0xcfee0000,0x20000,1,3,1
      Res.IO=0xcc00,0x80,1,3
      Res.IO=0x3c0,0x20,1,3

----------------------------------------------------

22: PCI(AGP) 100.0: 0300 VGA compatible controller (VGA)
    [Created at pci.243]
    Unique ID: VCu0.WRFLgjfyG+D
    Parent ID: _Znp.s4zPh4a_106
    SysFS ID: /devices/pci0000:00/0000:00:02.0/0000:01:00.0
    SysFS BusID: 0000:01:00.0
    Hardware Class: graphics card
    Model: "Silicon Integrated SiS630 GUI Accelerator+3D"
    Vendor: pci 0x1039 "Silicon Integrated Systems Corp."
    Device: pci 0x6300 "SiS630 GUI Accelerator+3D"
    SubVendor: pci 0x1039 "Silicon Integrated Systems Corp."
    SubDevice: pci 0x6300
    Revision: 0x31
    Driver: "sis"
    Memory Range: 0xc0000000-0xc7ffffff (rw,prefetchable)
    Memory Range: 0xcfee0000-0xcfefffff (rw,non-prefetchable)
    I/O Ports: 0xcc00-0xcc7f (rw)
    I/O Ports: 0x3c0-0x3df (rw)
    Driver Info #0:
      XFree86 v4 Server Module: sis
    Config Status: cfg=yes, avail=yes, need=yes, active=unknown
    Attached to: #21 (PCI bridge)

----------------------------------------------------

46: None 00.0: 11001 VESA Framebuffer
    [Created at manual.277]
    Unique ID: rdCR.QstqgPARaQB
    Hardware Class: framebuffer
    Model: ""
    Vendor: ""
    Device: ""
    SubVendor: ""
    SubDevice:
    Revision: ""
    Memory Size: 63 MB + 960 kB
    Memory Range: 0xc0000000-0xc3feffff (rw)
    Mode 0x0302: 800x600 (+100), 4 bits
    Mode 0x0301: 640x480 (+640), 8 bits
    Mode 0x0300: 640x400 (+640), 8 bits
    Mode 0x0303: 800x600 (+800), 8 bits
    Mode 0x0304: 1024x768 (+128), 4 bits
    Mode 0x0305: 1024x768 (+1024), 8 bits
    Mode 0x0307: 1280x1024 (+1280), 8 bits
    Mode 0x0330: 1600x1200 (+1600), 8 bits
    Mode 0x0331: 1600x1200 (+3200), 16 bits
    Mode 0x030d: 320x200 (+640), 15 bits
    Mode 0x030e: 320x200 (+640), 16 bits
    Mode 0x0310: 640x480 (+1280), 15 bits
    Mode 0x0311: 640x480 (+1280), 16 bits
    Mode 0x0313: 800x600 (+1600), 15 bits
    Mode 0x0314: 800x600 (+1600), 16 bits
    Mode 0x0316: 1024x768 (+2048), 15 bits
    Mode 0x0317: 1024x768 (+2048), 16 bits
    Mode 0x0319: 1280x1024 (+2560), 15 bits
    Mode 0x031a: 1280x1024 (+2560), 16 bits
    Mode 0x0332: 320x240 (+320), 8 bits
    Mode 0x0333: 400x300 (+400), 8 bits
    Mode 0x0334: 512x384 (+512), 8 bits
    Mode 0x0335: 320x240 (+640), 16 bits
    Mode 0x0336: 400x300 (+800), 16 bits
    Mode 0x0337: 512x384 (+1024), 16 bits
    Mode 0x0338: 320x200 (+320), 8 bits
    Mode 0x0339: 640x400 (+1280), 16 bits
    Mode 0x033a: 640x480 (+2560), 24 bits
    Mode 0x033b: 800x600 (+3200), 24 bits
    Mode 0x033c: 1024x768 (+4096), 24 bits
    Mode 0x033d: 1280x1024 (+5120), 24 bits
    Mode 0x033f: 1920x1440 (+1920), 8 bits
    Mode 0x0340: 1920x1440 (+3840), 16 bits
    Config Status: cfg=no, avail=no, need=no, active=unknown

==================8<==================================================

Como comentario adicional, uso un Athlon de 1GHz, 384Mb RAM, con todo on-board, y la 
memoria de video es de 64Mb.

Agradeceré cualquier ayuda y/o sugerencia que me puedan dar.

-- 
Salu2
	JMP