All, I have noticed two bugs with recent git versions of gl-enabled pcb (6507083b0401e0). 1) Garbage is displayed outside of board area. Contents are flashing annoyingly (black/background color) on every mouse move event within the PCB drawing area. Contents of the drawing area not occupied by the board depend on what was displayed in other windows, ie after switching virtual desktops content from previous application can be seen in the background. Output of glxinfo and screenshot after rotating an empty board in 3d space are attached. 2) pcb sometimes segfaults in glEnable() during startup. I'm using tiling WM and in some cases pcb segfaults during startup. I suspect this depends on the order of X events being sent to the application. Stack trace is attached. If needed I can do more debugging/build with debug libs, but I'm no X expert :) Should I create items for these in the bug tracker? Anybody observed anything similar? Best regards, -- Krzysztof KoÅciuszkiewicz "Simplicity is the ultimate sophistication" -- Leonardo da Vinci
(gdb) run Starting program: /home/kokr/geda/bin/pcb [Thread debugging using libthread_db enabled] [New Thread 0xb68a2aa0 (LWP 15078)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb68a2aa0 (LWP 15078)] 0xb6dec616 in glEnable () from /usr/lib/libGL.so.1 (gdb) bt #0 0xb6dec616 in glEnable () from /usr/lib/libGL.so.1 #1 0x081194f7 in ghid_show_crosshair (show=0) at hid/gtk/gui-output-events.c:614 #2 0x0811a129 in ghid_port_window_leave_cb (widget=0x829d5e0, ev=0x83fc148, out=0x81db6a0) at hid/gtk/gui-output-events.c:2302 #3 0xb74ee374 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #4 0x0829d5e0 in ?? () #5 0x083fc148 in ?? () #6 0x081db6a0 in ?? () #7 0xb70765ba in ?? () from /usr/lib/libgobject-2.0.so.0 #8 0x00000002 in ?? () #9 0x00000008 in ?? () #10 0xb6cf73c0 in ?? () from /lib/i686/cmov/libc.so.6 #11 0xb70925a4 in g_type_check_instance_is_a () from /usr/lib/libgobject-2.0.so.0 #12 0xb7077f62 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #13 0xb708c3a8 in ?? () from /usr/lib/libgobject-2.0.so.0 #14 0x08410430 in ?? () #15 0xbfd00c24 in ?? () #16 0x00000002 in ?? () #17 0x0843d4f0 in ?? () #18 0xbfd00c10 in ?? () #19 0x0843d4f0 in ?? () #20 0xbfd00bc8 in ?? () #21 0xb707a272 in g_object_ref () from /usr/lib/libgobject-2.0.so.0 #22 0xb708d5b8 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #23 0xb708dba6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #24 0xb760aafe in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #25 0x0829d5e0 in ?? () #26 0x0000002d in ?? () #27 0x00000000 in ?? () (gdb) fr 2 #2 0x0811a129 in ghid_port_window_leave_cb (widget=0x829d5e0, ev=0x83fc148, out=0x81db6a0) at hid/gtk/gui-output-events.c:2302 2302 ghid_show_crosshair (FALSE); (gdb) p widget $6 = (GtkWidget *) 0x829d5e0 (gdb) p *widget $7 = {object = {parent_instance = {g_type_instance = {g_class = 0x83f31c8}, ref_count = 4, qdata = 0x84129d0}, flags = 73664}, private_flags = 3584, state = 0 '\0', saved_state = 0 '\0', name = 0x0, style = 0x8228458, requisition = {width = 0, height = 0}, allocation = {x = 0, y = 0, width = 547, height = 806}, window = 0x84110a8, parent = 0x8232778} (gdb) p ev $8 = (GdkEventCrossing *) 0x83fc148 (gdb) p *ev $9 = {type = GDK_LEAVE_NOTIFY, window = 0x84110a8, send_event = 0 '\0', subwindow = 0x0, time = 248194684, x = 388, y = 328, x_root = 541, y_root = 380, mode = GDK_CROSSING_NORMAL, detail = GDK_NOTIFY_ANCESTOR, focus = 0, state = 16} (gdb) p out $10 = (GHidPort *) 0x81db6a0 (gdb) p *out $11 = {top_window = 0x8225850, drawing_area = 0x829d5e0, trackball = 0x8408000, pixmap = 0x8403480, mask = 0x0, drawable = 0x8403480, width = 547, height = 806, glconfig = 0x81fdc78, trans_lines = 0, bg_color = {pixel = 15066597, red = 58853, green = 58853, blue = 58853}, offlimits_color = {pixel = 13421772, red = 52428, green = 52428, blue = 52428}, grid_color = { pixel = 0, red = 0, green = 0, blue = 0}, colormap = 0x8200818, X_cursor = 0x8426368, X_cursor_shape = GDK_LEFT_PTR, has_entered = 1, panning = 0, zoom = 1096.892138939671, view_x0 = 0, view_y0 = 0, view_width = 600000, view_height = 500000, view_x = 116400, view_y = 98400, x_crosshair = 116000, y_crosshair = 98000}
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_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group client glx vendor string: Mesa Project and 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_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 OpenGL vendor string: DRI R300 Project OpenGL renderer string: Mesa DRI R300 (RV410 5653) 20090101 x86/MMX/SSE2 TCL OpenGL version string: 1.5 Mesa 7.7.1 OpenGL extensions: GL_EXT_compiled_vertex_array, GL_EXT_texture_env_add, GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program, GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_occlusion_query, GL_ARB_point_parameters, GL_ARB_provoking_vertex, GL_ARB_shadow, GL_ARB_shadow_ambient, 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_MESAX_texture_float, GL_ARB_texture_mirrored_repeat, GL_ARB_texture_rectangle, GL_ARB_transpose_matrix, GL_ARB_vertex_array_bgra, GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_window_pos, GL_EXT_abgr, 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_convolution, GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_gpu_program_parameters, GL_EXT_histogram, GL_EXT_multi_draw_arrays, GL_EXT_packed_depth_stencil, GL_EXT_packed_pixels, GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_provoking_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_texture_cube_map, GL_EXT_texture_edge_clamp, GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp, GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_texture_sRGB, GL_EXT_vertex_array, GL_EXT_vertex_array_bgra, GL_APPLE_packed_pixels, GL_ATI_blend_equation_separate, GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once, GL_ATI_separate_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_light_max_exponent, GL_NV_packed_depth_stencil, GL_NV_texture_rectangle, GL_NV_texgen_reflection, GL_NV_vertex_program, GL_OES_read_format, GL_SGI_color_matrix, GL_SGI_color_table, GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays 8 GLX Visuals 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 ---------------------------------------------------------------------- 0x21 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None 0x22 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None 0x68 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow 0x69 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow 0x6a 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None 0x6b 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow 0x6c 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow 0x5f 32 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 Ncon 8 GLXFBConfigs: 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 ---------------------------------------------------------------------- 0x60 0 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None 0x61 0 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow 0x62 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None 0x63 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow 0x64 0 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None 0x65 0 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow 0x66 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None 0x67 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
Attachment:
garbage.png
Description: PNG image
_______________________________________________ geda-user mailing list geda-user@xxxxxxxxxxxxxx http://www.seul.org/cgi-bin/mailman/listinfo/geda-user