Bug#726002: xserver-xorg-video-mga: Dualheading using 1.6.2 segfaults

2013-10-18 Thread Robert Jacobs
Tormod Volden writes:
> On Fri, Oct 18, 2013 at 1:34 AM, Robert Jacobs wrote:
> > Tormod Volden writes:
> >> Mouse droppings, is this traces of the mouse pointer not being cleaned
> >> up? Did dual head at one point work for you without such droppings? In
> >> this case testing of older versions (of server and driver) can help to
> >> spot the regression. Anyway, dual head with mouse droppings is better
> >> than no dual head.
> >
> > Yeah, mouse droppings from the outline moves by ctwm, regardless of
> > whether using EXA or nothing. Bad interactions between the line
> > drawing X calls and whatever is being done for the mouse cursor on the
> > second head.
> >
> > Doesn't happen with XAA or NoAccel on 1.5.0, something worse happens
> > with EXA on 1.5.0 (but we don't care).
> 
> Is that mga 1.5.0? So it is independent of the server?

Oh, no, sorry, I was just using snapshot.debian.net to compare the
entire xorg release as of mga 1.5.0 (core 1.12.4) being in the
repository vs when mga 1.6.2 hit (core 1.14.3)

Using NoAccel, ctwm, with mga 1.6.2 built against debian's
xserver-xorg-core 1.12.4 does not cause mouse droppings on the second
head.  EXA in same context terminates with 

  Xorg: symbol lookup error: /usr/lib/xorg/modules/drivers/mga_drv.so: 
undefined symbol: XAACreateInfoRec

which is just confusing.


1.5.0 doesn't build against debian's xserver-xorg-core 1.14.3 due to
the XAA removal. 

So I guess the mouse droppings are actually the new core's fault?

 - Robert


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1vxih6-0005qa...@eamp.org



Bug#726718: marked as done (libgl1-mesa-dri: adequate reports that libgl1-mesa-dri has undefined symbols)

2013-10-18 Thread Debian Bug Tracking System
Your message dated Fri, 18 Oct 2013 12:42:03 +0200
with message-id <20131018104201.ga27...@crater1.logilab.fr>
and subject line Re: Bug#726718: libgl1-mesa-dri: adequate reports that 
libgl1-mesa-dri has undefined symbols
has caused the Debian Bug report #726718,
regarding libgl1-mesa-dri: adequate reports that libgl1-mesa-dri has undefined 
symbols
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
726718: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=726718
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libgl1-mesa-dri
Version: 9.1.7-1
Severity: normal
User: debian...@lists.debian.org
Usertags: adequate undefined-symbol


Dear Maintainer,
Adequate reports that libgl1-mesa-dri has undefined symbols. Please fix it.

$ adequate libgl1-mesa-dri
libgl1-mesa-dri:amd64: undefined-symbol
/usr/lib/x86_64-linux-gnu/libdricore9.1.7.so.1.0.0 =>
_glapi_tls_Context
libgl1-mesa-dri:amd64: undefined-symbol
/usr/lib/x86_64-linux-gnu/libdricore9.1.7.so.1.0.0 =>
_glapi_tls_Dispatch
libgl1-mesa-dri:amd64: undefined-symbol
/usr/lib/x86_64-linux-gnu/libdricore9.1.7.so.1.0.0 => dlsym
libgl1-mesa-dri:amd64: undefined-symbol
/usr/lib/x86_64-linux-gnu/libdricore9.1.7.so.1.0.0 =>
_glapi_get_dispatch_table_size
libgl1-mesa-dri:amd64: undefined-symbol
/usr/lib/x86_64-linux-gnu/libdricore9.1.7.so.1.0.0 =>
_glapi_get_context
libgl1-mesa-dri:amd64: undefined-symbol
/usr/lib/x86_64-linux-gnu/libdricore9.1.7.so.1.0.0 =>
_glapi_add_dispatch
libgl1-mesa-dri:amd64: undefined-symbol
/usr/lib/x86_64-linux-gnu/libdricore9.1.7.so.1.0.0 =>
_glapi_set_context
libgl1-mesa-dri:amd64: undefined-symbol
/usr/lib/x86_64-linux-gnu/libdricore9.1.7.so.1.0.0 => dlopen
libgl1-mesa-dri:amd64: undefined-symbol
/usr/lib/x86_64-linux-gnu/libdricore9.1.7.so.1.0.0 => dlclose
libgl1-mesa-dri:amd64: undefined-symbol
/usr/lib/x86_64-linux-gnu/libdricore9.1.7.so.1.0.0 =>
_glapi_set_dispatch

-- Package-specific info:
glxinfo:

name of display: :0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
GLX_ARB_create_context, GLX_ARB_create_context_profile,
GLX_ARB_multisample, GLX_EXT_create_context_es2_profile,
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,
GLX_OML_swap_method, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_SGI_swap_control
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_create_context, GLX_ARB_create_context_profile,
GLX_ARB_create_context_robustness, GLX_ARB_framebuffer_sRGB,
GLX_ARB_get_proc_address, GLX_ARB_multisample,
GLX_EXT_create_context_es2_profile, GLX_EXT_framebuffer_sRGB,
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,
GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control,
GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync
GLX version: 1.4
GLX extensions:
GLX_ARB_create_context, GLX_ARB_create_context_profile,
GLX_ARB_get_proc_address, GLX_ARB_multisample,
GLX_EXT_create_context_es2_profile, GLX_EXT_import_context,
GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,
GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control,
GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) G33
OpenGL version string: 1.4 Mesa 9.1.7
OpenGL extensions:
GL_3DFX_texture_compression_FXT1, GL_ANGLE_texture_compression_dxt3,
GL_ANGLE_texture_compression_dxt5, GL_APPLE_object_purgeable,
GL_APPLE_packed_pixels, GL_APPLE_vertex_array_object,
GL_ARB_ES2_compatibility, GL_ARB_copy_buffer, GL_ARB_debug_output,
GL_ARB_depth_texture, GL_ARB_draw_buffers,
GL_ARB_draw_elements_base_vertex, GL_ARB_explicit_attrib_location,
GL_ARB_fragment_program, GL_ARB_fragment_shader,
GL_ARB_framebuffer_object, GL_ARB_get_program_binary,
GL_ARB_half_float_pixel, GL_ARB_internalformat_que

Bug#726718: libgl1-mesa-dri: adequate reports that libgl1-mesa-dri has undefined symbols

2013-10-18 Thread shirish शिरीष
Package: libgl1-mesa-dri
Version: 9.1.7-1
Severity: normal
User: debian...@lists.debian.org
Usertags: adequate undefined-symbol


Dear Maintainer,
Adequate reports that libgl1-mesa-dri has undefined symbols. Please fix it.

$ adequate libgl1-mesa-dri
libgl1-mesa-dri:amd64: undefined-symbol
/usr/lib/x86_64-linux-gnu/libdricore9.1.7.so.1.0.0 =>
_glapi_tls_Context
libgl1-mesa-dri:amd64: undefined-symbol
/usr/lib/x86_64-linux-gnu/libdricore9.1.7.so.1.0.0 =>
_glapi_tls_Dispatch
libgl1-mesa-dri:amd64: undefined-symbol
/usr/lib/x86_64-linux-gnu/libdricore9.1.7.so.1.0.0 => dlsym
libgl1-mesa-dri:amd64: undefined-symbol
/usr/lib/x86_64-linux-gnu/libdricore9.1.7.so.1.0.0 =>
_glapi_get_dispatch_table_size
libgl1-mesa-dri:amd64: undefined-symbol
/usr/lib/x86_64-linux-gnu/libdricore9.1.7.so.1.0.0 =>
_glapi_get_context
libgl1-mesa-dri:amd64: undefined-symbol
/usr/lib/x86_64-linux-gnu/libdricore9.1.7.so.1.0.0 =>
_glapi_add_dispatch
libgl1-mesa-dri:amd64: undefined-symbol
/usr/lib/x86_64-linux-gnu/libdricore9.1.7.so.1.0.0 =>
_glapi_set_context
libgl1-mesa-dri:amd64: undefined-symbol
/usr/lib/x86_64-linux-gnu/libdricore9.1.7.so.1.0.0 => dlopen
libgl1-mesa-dri:amd64: undefined-symbol
/usr/lib/x86_64-linux-gnu/libdricore9.1.7.so.1.0.0 => dlclose
libgl1-mesa-dri:amd64: undefined-symbol
/usr/lib/x86_64-linux-gnu/libdricore9.1.7.so.1.0.0 =>
_glapi_set_dispatch

-- Package-specific info:
glxinfo:

name of display: :0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
GLX_ARB_create_context, GLX_ARB_create_context_profile,
GLX_ARB_multisample, GLX_EXT_create_context_es2_profile,
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,
GLX_OML_swap_method, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_SGI_swap_control
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_create_context, GLX_ARB_create_context_profile,
GLX_ARB_create_context_robustness, GLX_ARB_framebuffer_sRGB,
GLX_ARB_get_proc_address, GLX_ARB_multisample,
GLX_EXT_create_context_es2_profile, GLX_EXT_framebuffer_sRGB,
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,
GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control,
GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync
GLX version: 1.4
GLX extensions:
GLX_ARB_create_context, GLX_ARB_create_context_profile,
GLX_ARB_get_proc_address, GLX_ARB_multisample,
GLX_EXT_create_context_es2_profile, GLX_EXT_import_context,
GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,
GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control,
GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) G33
OpenGL version string: 1.4 Mesa 9.1.7
OpenGL extensions:
GL_3DFX_texture_compression_FXT1, GL_ANGLE_texture_compression_dxt3,
GL_ANGLE_texture_compression_dxt5, GL_APPLE_object_purgeable,
GL_APPLE_packed_pixels, GL_APPLE_vertex_array_object,
GL_ARB_ES2_compatibility, GL_ARB_copy_buffer, GL_ARB_debug_output,
GL_ARB_depth_texture, GL_ARB_draw_buffers,
GL_ARB_draw_elements_base_vertex, GL_ARB_explicit_attrib_location,
GL_ARB_fragment_program, GL_ARB_fragment_shader,
GL_ARB_framebuffer_object, GL_ARB_get_program_binary,
GL_ARB_half_float_pixel, GL_ARB_internalformat_query,
GL_ARB_invalidate_subdata, GL_ARB_map_buffer_range, GL_ARB_multisample,
GL_ARB_multitexture, GL_ARB_pixel_buffer_object, GL_ARB_point_parameters,
GL_ARB_point_sprite, GL_ARB_provoking_vertex, GL_ARB_robustness,
GL_ARB_sampler_objects, GL_ARB_shader_objects,
GL_ARB_shading_language_100, 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_ARB_texture_mirrored_repeat,
GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle,
GL_ARB_texture_storage, GL_ARB_transpose_matrix,
GL_ARB_vertex_array_object, GL_ARB_vertex_buffer_object,
GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ARB_window_pos,
GL_ATI_blend_equation_separate, GL_ATI_draw_buffers,
GL_ATI_separate_stencil, GL_ATI_texture_env_combine3, GL_EXT

xserver-xorg-video-intel: Changes to 'ubuntu-quantal'

2013-10-18 Thread Timo Aaltonen
 src/scripts/clock-graph.5c |  174 -
 src/scripts/clock.5c   |   40 --
 src/scripts/fix.5c |   14 ---
 src/scripts/tv.5c  |  128 -
 src/sna/brw/brw_eu_debug.c |   95 
 src/sna/brw/brw_eu_util.c  |  126 
 6 files changed, 577 deletions(-)

New commits:
commit 99f67a2fe7e1ef3eefff56880f9eedde89d29bb4
Author: Timo Aaltonen 
Date:   Fri Oct 18 09:37:16 2013 +0300

clean crap from the branch to make reviewing more pleasant

diff --git a/src/scripts/clock-graph.5c b/src/scripts/clock-graph.5c
deleted file mode 100644
index 324febf..000
--- a/src/scripts/clock-graph.5c
+++ /dev/null
@@ -1,174 +0,0 @@
-autoload Cairo;
-import Cairo;
-library "examples/sort.5c";
-import Sort;
-
-int width = 1000, height = 200;
-int min_vco = 14;
-int max_vco = 28;
-int min = 0x;
-int max = 0;
-
-int max_clocks = 2000;
-int[4][max_clocks] clocks;
-int[4][max_clocks] vcos;
-int[4] clock_count = {0...};
-
-int[4] p2vals = {5,10,7,14};
-
-cairo_t cr = Cairo::new(width, height);
-
-void calc_p2(int p2i)
-{
-   int p2 = p2vals[p2i];
-   int min_p, max_p;
-
-   clocks[p2i] = (int [max_clocks]){0...};
-
-   if (p2 == 7 || p2 == 14) {
-   /* LVDS */
-   min_p = 7;
-   max_p = 98;
-   } else {
-   /* SDVO/DAC */
-   min_p = 5;
-   max_p = 80;
-   }
-
-   for (int m1 = 10; m1 <= 22; m1++) {
-   for (int m2 = 5; m2 <= 9; m2++) {
-   for (int n = 1; n <= 5; n++) {
-   for (int p1 = 1; p1 <= 8; p1++) {
-   int ref = 9600;
-   int m = 5 * (m1 + 2) + (m2 + 2);
-   int p = p1 * p2;
-   int vco = floor(ref * m / (n + 2));
-   int clock = floor(vco / p);
-
-   if (p < min_p || p > max_p)
-   continue;
-   if (m < 70 || m > 120)
-   continue;
-   if (m2 > m1)
-   continue; /* won't happen */
-   if (vco < min_vco || vco > max_vco)
-   continue;
-
-/*
-   printf("clock: %d (%d,%d), %d, "
-   "(%d,%d)\n",
-   floor(clock / 1000),
-   m1, m2, n, p1, p2);
-*/
-
-   clocks[p2i][clock_count[p2i]] = clock;
-   vcos[p2i][clock_count[p2i]] = vco;
-   clock_count[p2i]++;
-   }
-   }
-   }
-   }
-}
-
-bool sort_p2(poly a, poly b)
-{
-   return a > b;
-}
-
-int min_rate = 25000 * 1000;
-int max_rate = 20 * 1000;
-
-real scale_x(real clock)
-{
-   int min_x = 75, max_x = width - 50;
-
-   real frac = (clock - min_rate) / (max_rate - min_rate);
-
-   return min_x + frac * (max_x - min_x);
-}
-
-for (p2i = 0; p2i < dim(p2vals); p2i++) {
-   int p2 = p2vals[p2i]; 
-   calc_p2(p2i);
-   real row_y1 = (p2i + 1) / (dim(p2vals) + 1) * height;
-   real row_y2 = p2i / (dim(p2vals) + 1) * height;
-
-   /*qsort(&p2vals[p2i], sort_p2);*/
-
-   switch (p2) {
-   case 5:
-   set_source_rgb(cr, 1,0,0);
-   break;
-   case 10:
-   set_source_rgb(cr, 0,1,0);
-   break;
-   case 7:
-   set_source_rgb(cr, 0,0,1);
-   break;
-   case 14:
-   set_source_rgb(cr, 0,0,0);
-   break;
-   }
-
-   /* draw the line for the clock */
-   for (int i = 0; i < clock_count[p2i]; i++) {
-   int clock = clocks[p2i][i];
-   real xpos;
-
-   if (clock < min_rate || clock > max_rate)
-   continue;
-
-   xpos = scale_x(clock);
-   move_to(cr, xpos, row_y1);
-   line_to(cr, xpos, row_y2);
-   stroke(cr);
-   }
-
-   set_source_rgb(cr, 1, 1, 1);
-   /* add a mark for the vco value of the clocks at each location */
-   for (int i = 0; i < clock_count[p2i]; i++) {
-   int clock = clocks[p2i][i];
-   int vco = vcos[p2i][i];
-   real mark_center;
-
-   if (clock < min_rate || clock > max_rate)
-   continue;
-
-   real xpos = scale_x(clock);
-   real vcofra