Bug 16729 - [815]3D apps cause horizontal line corruption and freezes
Summary: [815]3D apps cause horizontal line corruption and freezes
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL: https://bugs.launchpad.net/ubuntu/+so...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-16 04:41 UTC by Bryce Harrington
Modified: 2010-04-16 13:40 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Bryce Harrington 2008-07-16 04:41:02 UTC
This is a bug forwarded from a Ubuntu reporter:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/214168

When running 3D apps such as screensavers or glxgears on i815 hardware (8086,1132:1028,00be), it produces corruption in the form of horizontal lines across the entire screen:  

Screenshot:  http://launchpadlibrarian.net/13261436/Screenshot.png
Xorg.0.log:  http://launchpadlibrarian.net/13298395/Xorg.0.log


The problem is the same whether -intel or the legacy -i810 driver is used.

Original Report:

"Running glxgears spreads the moving gears over the whole screen
past the border of the box. The same happens with screensavers
with motion. Running those screensavers can also freeze the
system. Screenshot of glxgears is attaches.

lshw output for video:
 *-pci
          description: Host bridge
          product: 82815 815 Chipset Host Bridge and Memory Controller Hub
          vendor: Intel Corporation
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 04
          width: 32 bits
          clock: 33MHz
          configuration: driver=agpgart-intel module=intel_agp
        *-display
             description: VGA compatible controller
             product: 82815 Chipset Graphics Controller (CGC)
             vendor: Intel Corporation
             physical id: 2
             bus info: pci@0000:00:02.0
             version: 04
             width: 32 bits
             clock: 66MHz
             capabilities: pm vga_controller bus_master cap_list
             configuration: driver=i810_smbus latency=0 module=i2c_i810

glxinfo:
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_import_context, GLX_EXT_texture_from_pixmap,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
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_copy_sub_buffer, 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_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
OpenGL vendor string: Keith Whitwell
OpenGL renderer string: Mesa DRI i815 20050821 x86/MMX/SSE
OpenGL version string: 1.2 Mesa 7.0.3-rc2
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture,
    GL_ARB_texture_compression, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
    GL_ARB_texture_mirrored_repeat, GL_ARB_texture_rectangle,
    GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object, GL_ARB_window_pos,
    GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_minmax,
    GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
    GL_EXT_compiled_vertex_array, GL_EXT_convolution, GL_EXT_copy_texture,
    GL_EXT_draw_range_elements, GL_EXT_histogram, GL_EXT_packed_pixels,
    GL_EXT_polygon_offset, GL_EXT_rescale_normal,
    GL_EXT_separate_specular_color, GL_EXT_stencil_wrap, GL_EXT_subtexture,
    GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
    GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
    GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_texture_rectangle,
    GL_EXT_vertex_array, GL_APPLE_packed_pixels, GL_IBM_rasterpos_clip,
    GL_IBM_texture_mirrored_repeat, GL_MESA_ycbcr_texture, GL_MESA_window_pos,
    GL_NV_blend_square, GL_NV_light_max_exponent, GL_NV_texture_rectangle,
    GL_NV_texgen_reflection, GL_OES_read_format, GL_SGI_color_matrix,
    GL_SGI_color_table, GL_SGIS_generate_mipmap, GL_SGIS_texture_edge_clamp,
    GL_SGIS_texture_lod

   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
----------------------------------------------------------------------
0x23 16 tc 0 16 0 r y . 5 6 5 0 0 16 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 8 0 0 0 0 0 0 Slow
0x26 16 tc 0 16 0 r . . 5 6 5 0 0 16 8 0 0 0 0 0 0 Slow
0x27 16 tc 0 16 0 r y . 5 6 5 0 0 16 0 16 16 16 0 0 0 Slow
0x28 16 tc 0 16 0 r . . 5 6 5 0 0 16 0 16 16 16 0 0 0 Slow
0x29 16 tc 0 16 0 r y . 5 6 5 0 0 16 8 16 16 16 0 0 0 Slow
0x2a 16 tc 0 16 0 r . . 5 6 5 0 0 16 8 16 16 16 0 0 0 Slow
0x2b 16 dc 0 16 0 r y . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
0x2c 16 dc 0 16 0 r . . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
0x2d 16 dc 0 16 0 r y . 5 6 5 0 0 16 8 0 0 0 0 0 0 Slow
0x2e 16 dc 0 16 0 r . . 5 6 5 0 0 16 8 0 0 0 0 0 0 Slow
0x2f 16 dc 0 16 0 r y . 5 6 5 0 0 16 0 16 16 16 0 0 0 Slow
0x30 16 dc 0 16 0 r . . 5 6 5 0 0 16 0 16 16 16 0 0 0 Slow
0x31 16 dc 0 16 0 r y . 5 6 5 0 0 16 8 16 16 16 0 0 0 Slow
0x32 16 dc 0 16 0 r . . 5 6 5 0 0 16 8 16 16 16 0 0 0 Slow
0x4c 32 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 Ncon
"
Comment 1 Michael Fu 2008-07-16 05:46:54 UTC
Bryce, sorry to let you know that we won't support i81x HW anymore. the spec is open and we don't have enough resource to cover all... thanks.
Comment 2 Bryce Harrington 2008-07-17 02:53:14 UTC
Okay, thanks for letting us know about this.  Let's keep this bug open in case community members would like to do the debugging on this one.

Can you offer some suggestions for approaches to take in debugging it, or particular parts of the code that should be examined?
Comment 3 Gordon Jin 2008-07-17 20:06:04 UTC
sorry, I don't have idea.
Comment 4 Fabio Pedretti 2008-08-19 03:22:10 UTC
There are some more infos and a workaround in the Ubuntu bug: setting this

        Subsection "Display"
                Modes "1152x864"
        EndSubSection

in the Screen section appear to fix the problem. See the comments starting from 2008-07-29. Maybe it's possible to integrate somehow this workaround in the driver?
Comment 5 Jiří Procházka 2008-12-10 15:21:06 UTC
I confirm this bug.

GPU:
-[0000:00]-+-00.0  Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub
           +-02.0  Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller
           +-02.1  Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller

drivers:
xf86-video-intel 2.4.3

xorg-server 1.5.3
Comment 6 Fabio Pedretti 2009-01-16 07:28:06 UTC
I noticed the bug is there since - at least - 1.7.4 version of the i810 driver (tried with a 7.04 Ubuntu LiveCD). However no one noticed the bug since the default xorg.conf shipped (maybe generated by some startup script) included by default the Subsection "Display" with some Modes (the first being the actual screen resolution). Commenting the Subsection "Display" make indeed the bug appears.

The bug started to be noticeable when the distribution started to use a simple xorg.conf file, without the Subsection "Display" and its Modes.

It would be nice to have this fixed.
Comment 7 Jesse Barnes 2009-05-11 11:21:12 UTC
Adjusting severity: crashes & hangs should be marked critical.
Comment 8 Bryce Harrington 2009-07-13 22:06:19 UTC
[Dropping priority/severity since this is i815.]
Comment 9 Daniel Vetter 2010-04-16 13:40:00 UTC
Should be fixed in xf86-video-intel master


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.