Bug 26717

Summary: mplayer: Mesa 7.6.1 implementation error
Product: Mesa Reporter: Paul <onemda>
Component: Drivers/DRI/i915Assignee: Eric Anholt <eric>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: medium CC: onemda
Version: 7.6Keywords: NEEDINFO
Hardware: x86 (IA32)   
OS: FreeBSD   
Whiteboard:
i915 platform: i915 features:

Description Paul 2010-02-23 12:56:06 UTC
mplayer -vo gl=gl:swapinterval=1:yuv=4:lscale=1:cscale=1 -msglevel vo=9 cathedral-beta2-400extra-crop-avc.mp4
MPlayer SVN-r30722-4.5.0 (C) 2000-2010 MPlayer Team

Playing cathedral-beta2-400extra-crop-avc.mp4.
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x29c7d010]max_analyze_duration reached
[lavf] Video stream found, -vid 2
[lavf] Audio stream found, -aid 3
VIDEO:  [H264]  640x352  24bpp  23.976 fps  401.0 kbps (49.0 kbyte/s)
Clip info:
 major_brand: isom
 minor_version: 0
 compatible_brands: mp41
X11 opening display: :0.0
Xlib:  extension "XFree86-VidModeExtension" missing on display ":0.0".
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x800 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports layers.
[x11] Detected wm supports NetWM.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours LAYER FULLSCREEN STAYS_ON_TOP ABOVE BELOW X atoms
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
[gl] Using 0 as slice height (0 means image height).
Couldn't open video filter 'ass'.
ASS: cannot add video filter
Opening video filter: [screenshot]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 44100 Hz, 2 ch, s16le, 95.0 kbit/6.73% (ratio: 11880->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
[h264 @ 0x8896380]Cannot parallelize deblocking type 1, decoding such frames in sequential order
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x898de80]using unscaled yuv420p -> rgb24 special converter
VO: [gl] 640x352 => 640x352 Planar YV12
[gl] GLX chose visual with ID 0xb7
OpenGL extensions string:
GL_ARB_copy_buffer GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_half_float_pixel GL_ARB_map_buffer_range GL_ARB_multisample GL_ARB_multitexture GL_ARB_point_parameters GL_ARB_point_sprit
e GL_ARB_shadow GL_ARB_sync GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_A
RB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_array_object GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_window_pos GL_EXT_abg
r GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_logic_op GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_cull_vertex GL_EXT_compiled_vertex_array GL_EXT_cop
y_texture GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_gpu_program_parameters GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_pr
ovoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texture GL_EXT_texture3D GL_EXT_t
exture_compression_s3tc GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_te
xture_rectangle GL_EXT_vertex_array GL_3DFX_texture_compression_FXT1 GL_APPLE_client_storage GL_APPLE_packed_pixels GL_APPLE_vertex_array_object GL_ATI_blend_equation_separate GL_ATI_texture_env_combine3 GL_ATI_se
parate_stencil GL_IBM_multimode_draw_arrays GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_INGR_blend_func_separate GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_MESA_window_pos GL_NV_blend_square GL_NV_li
ght_max_exponent GL_NV_texture_env_combine4 GL_NV_texture_rectangle GL_NV_texgen_reflection GL_NV_vertex_program GL_NV_vertex_program1_1 GL_OES_read_format GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_S
GIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays  GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_import_context GLX_EXT_visual_info GLX_EXT_visual_rating GLX_MESA_copy_sub_buffer GLX_MESA_
swap_control GLX_MESA_swap_frame_usage GLX_OML_swap_method 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  GL
X_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
[gl] Running on OpenGL by 'Tungsten Graphics, Inc', versions '1.4 Mesa 7.6.1'
[gl] Settings after autodetection: ati-hack = 0, force-pbo = 0, rectangle = 0, yuv = 4
[gl] Creating 1024x512 texture...
[gl] generated fragment program:
!!ARBfp1.0
OPTION ARB_precision_hint_fastest;TEMP coord, coord2, cdelta, parmx, parmy, a, b, yuv;MAD coord.xy, fragment.texcoord[0], {1.024000e+03, 5.120000e+02}, {0.5, 0.5};TEX parmx, coord.x, texture[4], 1D;MUL cdelta.xz,
parmx.rrgg, {-9.765625e-04, 0, 9.765625e-04, 0};TEX parmy, coord.y, texture[4], 1D;MUL cdelta.yw, parmy.rrgg, {0, -1.953125e-03, 0, 1.953125e-03};ADD coord, fragment.texcoord[0].xyxy, cdelta.xyxw;ADD coord2, fragm
ent.texcoord[0].xyxy, cdelta.zyzw;TEX a.r, coord.xyxy, texture[0], 2D;TEX a.g, coord.zwzw, texture[0], 2D;TEX b.r, coord2.xyxy, texture[0], 2D;TEX b.g, coord2.zwzw, texture[0], 2D;LRP a.b, parmy.b, a.rrrr, a.gggg;
LRP a.a, parmy.b, b.rrrr, b.gggg;LRP yuv.r, parmx.b, a.bbbb, a.aaaa;MAD coord.xy, fragment.texcoord[1], {5.120000e+02, 2.560000e+02}, {0.5, 0.5};TEX parmx, coord.x, texture[4], 1D;MUL cdelta.xz, parmx.rrgg, {-1.95
3125e-03, 0, 1.953125e-03, 0};TEX parmy, coord.y, texture[4], 1D;MUL cdelta.yw, parmy.rrgg, {0, -3.906250e-03, 0, 3.906250e-03};ADD coord, fragment.texcoord[1].xyxy, cdelta.xyxw;ADD coord2, fragment.texcoord[1].xy
xy, cdelta.zyzw;TEX a.r, coord.xyxy, texture[1], 2D;TEX a.g, coord.zwzw, texture[1], 2D;TEX b.r, coord2.xyxy, texture[1], 2D;TEX b.g, coord2.zwzw, texture[1], 2D;LRP a.b, parmy.b, a.rrrr, a.gggg;LRP a.a, parmy.b,
b.rrrr, b.gggg;LRP yuv.g, parmx.b, a.bbbb, a.aaaa;MAD coord.xy, fragment.texcoord[2], {5.120000e+02, 2.560000e+02}, {0.5, 0.5};TEX parmx, coord.x, texture[4], 1D;MUL cdelta.xz, parmx.rrgg, {-1.953125e-03, 0, 1.953
125e-03, 0};TEX parmy, coord.y, texture[4], 1D;MUL cdelta.yw, parmy.rrgg, {0, -3.906250e-03, 0, 3.906250e-03};ADD coord, fragment.texcoord[2].xyxy, cdelta.xyxw;ADD coord2, fragment.texcoord[2].xyxy, cdelta.zyzw;TE
X a.r, coord.xyxy, texture[2], 2D;TEX a.g, coord.zwzw, texture[2], 2D;TEX b.r, coord2.xyxy, texture[2], 2D;TEX b.g, coord2.zwzw, texture[2], 2D;LRP a.b, parmy.b, a.rrrr, a.gggg;LRP a.a, parmy.b, b.rrrr, b.gggg;LRP
 yuv.b, parmx.b, a.bbbb, a.aaaa;PARAM ycoef = {1.164000e+00, 1.164000e+00, 1.164000e+00, 0};PARAM ucoef = {0.000000e+00, -3.910000e-01, 2.018000e+00, 0};PARAM vcoef = {1.596000e+00, -8.130000e-01, 0.000000e+00, 0}
;PARAM offsets = {-8.741648e-01, 5.313255e-01, -1.085992e+00, 0.125};TEMP res;MAD res, yuv.rrrr, ycoef, offsets;MAD res.rgb, yuv.gggg, ucoef, res;MAD res.rgb, yuv.bbbb, vcoef, res;TEX result.color.r, res.raaa, tex
ture[3], 2D;ADD res.a, res.a, 0.25;TEX result.color.g, res.gaaa, texture[3], 2D;ADD res.a, res.a, 0.25;TEX result.color.b, res.baaa, texture[3], 2D;END
[gl] Program statistics:
[gl]   instructions: 51/16384
[gl]   native instructions: 51/96
[gl]   temporaries: 9/256
[gl]   native temporaries: 9/16
[gl]   parameters: 11/64
[gl]   native parameters: 11/32
[gl]   attribs: 3/12
[gl]   native attribs: 3/11
[gl]   ALU instructions: 29/16384
[gl]   TEX instructions: 21/16384
[gl]   TEX indirections: 0/16384
[gl]   native ALU instructions: 29/64
[gl]   native TEX instructions: 21/32
[gl]   native TEX indirections: 0/4
[gl] Resize: 640x352
Mesa 7.6.1 implementation error: i915_program_error: Exceeded max nr indirect texture lookups
Please report at bugzilla.freedesktop.org
Mesa 7.6.1 implementation error: i915_program_error: Exceeded max ALU instructions
Please report at bugzilla.freedesktop.org


MPlayer interrupted by signal 11 in module: filter video
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.
Comment 1 Eric Anholt 2010-02-24 10:50:18 UTC
Could you try again with current Mesa?  I think some of my fixes to indirection counting landed after that.
Comment 2 Paul 2010-02-24 17:40:59 UTC
I was unable to test latest Mesa from git, for some reason it forces to use dri2, and 2.7.1 intel driver doesnt support it, resulting in AIGLX disabled and swrast being used.
Comment 3 Ian Romanick 2010-03-07 14:54:01 UTC
(In reply to comment #2)
> I was unable to test latest Mesa from git, for some reason it forces to use
> dri2, and 2.7.1 intel driver doesnt support it, resulting in AIGLX disabled and
> swrast being used.

Mesa 7.7 is the most recent official release.  Though I'm not sure if that wiil work with 2.7.1 of the 2D driver either.  DRI1 was deprecated some time ago, and support has since been removed from both the 2D and 3D drivers.
Comment 4 Eric Anholt 2010-08-31 11:50:12 UTC
feedback timeout for testing with current drivers.

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.