Closed GoogleCodeExporter closed 9 years ago
This is an issue related with Fbo. All the Fbo test will be unavailable for your
hardware on this version :/
Original comment by txprog
on 13 Mar 2009 at 9:31
Original comment by txprog
on 13 Mar 2009 at 9:33
Original comment by txprog
on 13 Mar 2009 at 9:33
Can you run the following code and paste the output?
import pyglet
print pyglet.gl.gl_info.get_extensions()
not sure 2.0 means it automatically supports FBO extension (its still an EXT
function
in 2.0). The output of the above should help us figure out whether your card
supports FBO's. I'll look into using the output to fail gracefully or fallback
on
something else like glCopyPixels (although that would be painfully slow i think)
Original comment by thomas.h...@gmail.com
on 13 Mar 2009 at 9:51
Original comment by thomas.h...@gmail.com
on 13 Mar 2009 at 9:51
Hello and many thanks for quick reply.
here, the result of test.py that you ask :
set(['GL_ARB_texture_compression', 'GL_EXT_texture_rectangle', 'GL_EXT_multi_dra
w_arrays', 'GL_EXT_stencil_two_side', 'GL_EXT_blend_color', 'GL_EXT_blend_subtra
ct', 'GL_NV_texgen_reflection', 'GL_EXT_stencil_wrap', 'GL_IBM_texture_mirrored_
repeat', 'GL_EXT_clip_volume_hint', 'GL_EXT_compiled_vertex_array', 'GL_ARB_shad
ow', 'GL_ARB_vertex_program', 'GL_EXT_texture_compression_s3tc', 'GL_ATI_separat
e_stencil', 'GL_ARB_texture_env_dot3', 'GL_3DFX_texture_compression_FXT1', 'GL_E
XT_bgra', 'GL_SGIS_texture_edge_clamp', 'GL_ARB_vertex_shader', 'GL_ARB_depth_te
xture', 'GL_ARB_texture_env_combine', 'GL_ARB_fragment_shader', 'GL_EXT_abgr', '
GL_ARB_vertex_buffer_object', 'GL_ARB_point_sprite', 'GL_EXT_shadow_funcs', 'GL_
ARB_pixel_buffer_object', 'GL_EXT_framebuffer_object', 'GL_ARB_fragment_program'
, 'GL_EXT_separate_specular_color', 'GL_WIN_swap_hint', 'GL_EXT_texture_env_add'
, 'GL_EXT_texture3D', 'GL_ARB_window_pos', 'GL_ARB_multitexture', 'GL_NV_blend_s
quare', 'GL_EXT_blend_func_separate', 'GL_EXT_secondary_color', 'GL_ARB_texture_
non_power_of_two', 'GL_EXT_texture_env_combine', 'GL_ARB_occlusion_query', 'GL_A
RB_texture_env_crossbar', 'GL_ARB_texture_rectangle', 'GL_EXT_texture_lod_bias',
'GL_ARB_transpose_matrix', 'GL_EXT_draw_range_elements', 'GL_ARB_shading_langua
ge_100', 'GL_ARB_texture_env_add', 'GL_SGIS_generate_mipmap', 'GL_ARB_texture_bo
rder_clamp', 'GL_EXT_fog_coord', 'GL_EXT_texture_filter_anisotropic', 'GL_EXT_bl
end_minmax', 'GL_ARB_texture_cube_map', 'GL_ARB_draw_buffers', 'GL_EXT_packed_pi
xels', 'GL_SGIS_texture_lod', 'GL_EXT_rescale_normal', 'GL_ARB_shader_objects',
'GL_EXT_blend_equation_separate', 'GL_ARB_point_parameters'])
i send you a file and picture of my result of gpu caps viewer
many thanks.
Fabrice Mounin
Original comment by fabrice....@gmail.com
on 14 Mar 2009 at 9:59
Attachments:
mhh, according to that you have : 'GL_EXT_framebuffer_object
might be the render buffer thing for attaching the depth buffer. ill keep
looking at
this, although at the moment i dont really know whats wrong :(
Original comment by thomas.h...@gmail.com
on 15 Mar 2009 at 7:18
From overload_mts on irc :
Traceback (most recent call last):
File "paint.py", line 178, in <module>
pymt_plugin_activate(w, ctx)
File "paint.py", line 149, in pymt_plugin_activate
ctx.canvas = Canvas(pos=(40,40),size=(root.width,root.height))
File "paint.py", line 99, in __init__
self.fbo = Fbo((self.width, self.height), push_viewport=False)
File "/usr/lib/python2.5/site-packages/pymt/graphx.py", line 344, in __init__
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, self.framebuffer)
File "/usr/lib/python2.5/site-packages/pyglet/gl/lib.py", line 105, in errcheck
raise GLException(msg)
pyglet.gl.lib.GLException: invalid operation
Original comment by txprog
on 23 Mar 2009 at 10:27
Well, it's not the same bug :
set(['GL_ARB_texture_compression', 'GL_EXT_cull_vertex',
'GL_IBM_rasterpos_clip',
'GL_EXT_blend_logic_op', 'GL_SGIX_depth_texture', 'GL_MESA_window_pos',
'GL_OES_read_format', 'GL_EXT_blend_color', 'GL_EXT_blend_subtract',
'GL_EXT_subtexture', 'GL_NV_texgen_reflection', 'GL_EXT_stencil_wrap',
'GL_EXT_texture_edge_clamp', 'GL_EXT_texture_rectangle',
'GL_IBM_texture_mirrored_repeat', 'GL_ARB_window_pos', 'GL_APPLE_packed_pixels',
'GL_EXT_compiled_vertex_array', 'GL_ARB_shadow',
'GL_ARB_texture_mirrored_repeat',
'GL_ARB_vertex_program', 'GL_EXT_point_parameters', 'GL_ARB_texture_env_dot3',
'GL_3DFX_texture_compression_FXT1', 'GL_EXT_bgra', 'GL_SGIS_texture_edge_clamp',
'GL_ARB_depth_texture', 'GL_EXT_copy_texture', 'GL_ARB_texture_env_combine',
'GL_NV_vertex_program1_1', 'GL_ARB_vertex_buffer_object',
'GL_EXT_rescale_normal',
'GL_SGIS_texture_border_clamp', 'GL_EXT_shadow_funcs',
'GL_ATI_separate_stencil',
'GL_SUN_multi_draw_arrays', 'GL_NV_texture_rectangle',
'GL_APPLE_client_storage',
'GL_ARB_fragment_program', 'GL_EXT_separate_specular_color',
'GL_NV_point_sprite',
'GL_EXT_texture_env_add', 'GL_EXT_packed_depth_stencil', 'GL_EXT_packed_pixels',
'GL_ARB_multitexture', 'GL_NV_blend_square', 'GL_EXT_secondary_color',
'GL_EXT_blend_func_separate', 'GL_ARB_texture_non_power_of_two',
'GL_EXT_texture',
'GL_EXT_texture_env_combine', 'GL_EXT_blend_equation_separate',
'GL_EXT_texture_object', 'GL_ARB_texture_rectangle', 'GL_EXT_texture_lod_bias',
'GL_EXT_vertex_array', 'GL_MESA_pack_invert', 'GL_ARB_transpose_matrix',
'GL_EXT_abgr', 'GL_MESA_ycbcr_texture', 'GL_EXT_multi_draw_arrays',
'GL_ARB_texture_env_add', 'GL_NV_vertex_program', 'GL_ARB_multisample',
'GL_SGIS_generate_mipmap', 'GL_ARB_texture_border_clamp', 'GL_EXT_fog_coord',
'GL_EXT_polygon_offset', 'GL_EXT_texture_filter_anisotropic',
'GL_NV_light_max_exponent', 'GL_EXT_blend_minmax', 'GL_EXT_clip_volume_hint',
'GL_ARB_texture_cube_map', 'GL_INGR_blend_func_separate',
'GL_ATI_blend_equation_separate', 'GL_ARB_texture_env_crossbar',
'GL_SGIS_texture_lod', 'GL_EXT_draw_range_elements', 'GL_EXT_texture3D',
'GL_ARB_point_parameters', 'GL_EXT_texture_env_dot3'])
Original comment by txprog
on 24 Mar 2009 at 5:14
Hello I've got the same kind of problem here with Mobile Intel(R) 945GM Express
Chipset
Here is the printout:
set(['GL_ARB_texture_compression', 'GL_EXT_cull_vertex',
'GL_EXT_clip_volume_hint',
'GL_EXT_stencil_two_side', 'GL_EXT_blend_color', 'GL_EXT_blend_subtract',
'GL_NV_texgen_reflection', 'GL_EXT_stencil_wrap',
'GL_IBM_texture_mirrored_repeat',
'GL_ARB_window_pos', 'GL_EXT_compiled_vertex_array', 'GL_ARB_shadow',
'GL_ARB_vertex_program', 'GL_EXT_texture_compression_s3tc',
'GL_ARB_texture_env_dot3', 'GL_3DFX_texture_compression_FXT1', 'GL_EXT_bgra',
'GL_SGIS_texture_edge_clamp', 'GL_ARB_depth_texture',
'GL_ARB_texture_env_combine',
'GL_ARB_vertex_buffer_object', 'GL_EXT_rescale_normal', 'GL_EXT_shadow_funcs',
'GL_ARB_fragment_program', 'GL_EXT_separate_specular_color', 'GL_WIN_swap_hint',
'GL_EXT_texture_env_add', 'GL_EXT_texture3D', 'GL_ARB_multitexture',
'GL_NV_blend_square', 'GL_EXT_secondary_color', 'GL_EXT_blend_func_separate',
'GL_EXT_texture_env_combine', 'GL_EXT_packed_pixels', 'GL_EXT_texture_lod_bias',
'GL_ARB_transpose_matrix', 'GL_EXT_abgr', 'GL_EXT_multi_draw_arrays',
'GL_ARB_texture_env_add', 'GL_SGIS_generate_mipmap',
'GL_ARB_texture_border_clamp',
'GL_EXT_fog_coord', 'GL_EXT_texture_filter_anisotropic', 'GL_EXT_blend_minmax',
'GL_ARB_texture_cube_map', 'GL_ARB_texture_env_crossbar', 'GL_SGIS_texture_lod',
'GL_EXT_draw_range_elements', 'GL_ARB_point_parameters'])
++
Olivier Heinry
Original comment by oli4444@gmail.com
on 26 Mar 2009 at 11:02
Here is a snapshot of the cygwin window, sorry, couldnt get a filetext, i'm a
windows
newbie! It crashed after launching 3Ddrawing example from the command line,
pyglet
1.1.3, python 2.5.4, pymt 0.1
Original comment by oli4444@gmail.com
on 26 Mar 2009 at 11:04
Attachments:
[deleted comment]
[deleted comment]
I believe I have a similar problem, but with ATI 1900xtx graphics,
>>> print pyglet.gl.gl_info.get_extensions()
set(['GL_ARB_texture_compression', 'GL_EXT_blend_color', 'GL_EXT_blend_subtract'
, 'GL_EXT_stencil_wrap', 'GL_EXT_vertex_array', 'GL_EXT_texture_compression_s3tc
', 'GL_ATI_separate_stencil', 'GL_ARB_depth_texture', 'GL_ATI_texture_compressio
n_3dc', 'GL_EXT_texture_object', 'GL_EXT_blend_func_separate', 'GL_EXT_texture_c
ube_map', 'GL_ARB_occlusion_query', 'GL_ARB_transpose_matrix', 'GL_ARB_texture_b
order_clamp', 'GL_EXT_fog_coord', 'GL_ARB_texture_cube_map', 'GL_ARB_half_float_
vertex', 'GL_EXT_blend_equation_separate', 'GL_ARB_point_parameters', 'GL_EXT_te
xture_env_dot3', 'GL_ATI_texture_env_combine3', 'GL_EXT_multi_draw_arrays', 'GL_
ARB_shader_texture_lod', 'GL_EXT_texture_env_combine', 'GL_ARB_vertex_program',
'GL_ARB_texture_env_dot3', 'GL_EXT_bgra', 'GL_SGIS_texture_edge_clamp', 'GL_ATI_
fragment_shader', 'GL_ARB_vertex_array_object', 'GL_ARB_texture_env_combine', 'G
L_ARB_vertex_buffer_object', 'GL_ARB_map_buffer_range', 'GL_EXT_shadow_funcs', '
GL_EXT_separate_specular_color', 'GL_WIN_swap_hint', 'GL_EXT_texture_env_add', '
GL_EXT_packed_depth_stencil', 'GL_EXT_texture_mirror_clamp', 'GL_ARB_point_sprit
e', 'GL_EXT_framebuffer_object', 'GL_ARB_vertex_shader', 'GL_ARB_half_float_pixe
l', 'GL_KTX_buffer_region', 'GL_ARB_draw_buffers', 'GL_ARB_fragment_program_shad
ow', 'GL_EXT_texture_sRGB', 'GL_NV_texgen_reflection', 'GL_EXT_compiled_vertex_a
rray', 'GL_EXT_point_parameters', 'GL_EXT_texture_swizzle', 'GL_ARB_texture_floa
t', 'GL_ARB_fragment_shader', 'GL_ATI_texture_float', 'GL_ARB_fragment_program',
'GL_ARB_shader_objects', 'GL_ARB_framebuffer_object', 'GL_ARB_shading_language_
100', 'GL_NV_blend_square', 'GL_ATI_envmap_bumpmap', 'GL_ARB_texture_non_power_o
f_two', 'GL_EXT_texgen_reflection', 'GL_EXT_texture_lod_bias', 'GL_ARB_shadow_am
bient', 'GL_ATI_meminfo', 'GL_EXT_abgr', 'GL_ARB_texture_rectangle', 'GL_ARB_mul
tisample', 'GL_SGIS_generate_mipmap', 'GL_EXT_texture_filter_anisotropic', 'GL_E
XT_blend_minmax', 'GL_EXT_framebuffer_blit', 'GL_ARB_texture_env_crossbar', 'GL_
SGIS_texture_lod', 'WGL_EXT_swap_control', 'GL_EXT_texture_rectangle', 'GL_EXT_s
ubtexture', 'GL_EXT_texture_edge_clamp', 'GL_ARB_window_pos', 'GL_ARB_shadow', '
GL_ARB_texture_mirrored_repeat', 'GL_EXT_gpu_program_parameters', 'GL_EXT_copy_t
exture', 'GL_EXT_framebuffer_multisample', 'GL_EXT_texture3D', 'GL_ARB_multitext
ure', 'GL_EXT_secondary_color', 'GL_ATI_draw_buffers', 'GL_EXT_draw_range_elemen
ts', 'GL_ARB_texture_env_add', 'GL_AMD_performance_monitor', 'GL_EXT_packed_pixe
ls', 'GL_EXT_rescale_normal', 'GL_ARB_pixel_buffer_object'])
Original comment by nicholas...@gmail.com
on 9 Apr 2009 at 5:07
Original comment by txprog
on 29 Aug 2009 at 10:14
This have been resolved by adding an SOFTWARE of FBO.
Check the configuration variable [graphics] fbo=software, or use the pymt-config
software in tools to change on software mode.
Original comment by txprog
on 31 Aug 2009 at 10:07
Original issue reported on code.google.com by
fabrice....@gmail.com
on 13 Mar 2009 at 2:34