[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

i830 dri/xv/hw cursor problems



Hi!

I have some very unlucky i830 chip which doesn't work well even with
reasonably modern drivers. The problem is that when i try to use more
than "VideoRam 8060" memory (and that's needed to use xvideo/hw
cursor/dri) all the three parts fail:
 - i see some random garbage instead of hw cursor
 - i get blue rectangle instead of xvideo output
 - dri is not working (on 4.3.0-2 it uses software rendering, on
   4.3.0-0pre1v4 it used to crash xfree)
 - even 'x11perf -all' displays some garbage on 4.3.0-2 (on
   4.3.0-0pre1v4 it used to crash xfree)
All the releases before 4.3.0-2 used to crash very often, since i
installed 4.3.0-2 it crashes seldom (once in 10-20 minutes) but now i
see much more garbage.
   
As i have these problems since getting new laptop three months ago i
had time to do some research on it. That's what i found so far:
Seems like the problem is in i810_drv.o<->agpgart cooperation. look
like i810_drv allocates some agp memory an then writes to some _other_
memory (btw, agpgart itself works fine, i tested it with standard
agptest and everything including maping memory/writing to
it/unmapping/remapping/checking its contents works ok).
Garbage instead of hw cursor proves this idea because i810 uses agp to
work with wh cursor and looks like this cursor really shows me some
random part of memory while xfree86 writes to some other place.

Attached to this letter are:
XFree86.0.log - log of XFree86 Version 4.3.0-2) w/o crash
glxinfo.txt - glxinfo output (note "direct rendering: No" line)
XF86Config-4 - xfree86 config used to produce all of the above

P.P.S. Please do not replay to my email address - it's no real (thats
the way i fight spam)

-- 
Alexander Barinov
name of display: :0.0
display: :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 extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.3 Mesa 4.0.4
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp, 
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add, 
    GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3, 
    GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color, 
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add, 
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, 
    GL_EXT_texture_lod_bias
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  y  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
0x23 16 tc  1 16  0 r  .  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
0x24 16 tc  1 16  0 r  y  .  5  6  5  0  0 16  8  0  0  0  0  0 0 Slow
0x25 16 tc  1 16  0 r  .  .  5  6  5  0  0 16  8  0  0  0  0  0 0 Slow
0x26 16 tc  1 16  0 r  y  .  5  6  5  0  0 16  0 16 16 16 16  0 0 Slow
0x27 16 tc  1 16  0 r  .  .  5  6  5  0  0 16  0 16 16 16 16  0 0 Slow
0x28 16 tc  1 16  0 r  y  .  5  6  5  0  0 16  8 16 16 16 16  0 0 Slow
0x29 16 tc  1 16  0 r  .  .  5  6  5  0  0 16  8 16 16 16 16  0 0 Slow

Attachment: XF86Config-4.
Description: Binary data

Attachment: XFree86.0.log
Description: Binary data


Reply to: