Problem creating openGL viewport. I've also enclosed my glxinfo for
supported extensions on my card.
It's an oldie but goodie.
Thanks!
FR
[EMAIL PROTECTED]:/tmp$ cat elisa_OX9fxF.txt
<type 'exceptions.RuntimeError'>
Python 2.5.1: /usr/bin/python
Tue Sep 25 12:03:51 2007
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/usr/bin/elisa in <module>()
5 from pkg_resources import load_entry_point
6
7 sys.exit(
8 load_entry_point('elisa==0.3.1', 'gui_scripts', 'elisa')()
9 )
load_entry_point = <function load_entry_point at 0xb7c5bfb4>
/usr/lib/python2.5/site-packages/elisa/core/application.py in
main(args=['/usr/bin/elisa'])
523 raise
524 else:
525 app.initialize()
526 app.start()
527 reactor.run()
app = <elisa.core.application.Application object at 0xb7c7b98c>
app.initialize = <bound method Application.initialize of
<elisa.core.application.Application object at 0xb7c7b98c>>
/usr/lib/python2.5/site-packages/elisa/core/application.py in
initialize(self=<elisa.core.application.Application object at 0xb7c7b98c>)
413 self._input_manager.initialize()
414 self._player_controller.initialize()
415 self._interface_controller.initialize()
416
417 self.bus.send_message(bus_message.ComponentsLoaded())
self = <elisa.core.application.Application object at 0xb7c7b98c>
self._interface_controller =
<elisa.core.interface_controller.InterfaceController object at 0x8a59f8c>
self._interface_controller.initialize = <bound method
InterfaceController.initialize of ...troller.InterfaceController object
at 0x8a59f8c>>
/usr/lib/python2.5/site-packages/elisa/core/interface_controller.py in
initialize(self=<elisa.core.interface_controller.InterfaceController
object at 0x8a59f8c>)
67 default=[])
68 for frontend_path in frontend_paths:
69 self._create_frontend(frontend_path)
70
71
self = <elisa.core.interface_controller.InterfaceController object at
0x8a59f8c>
self._create_frontend = <bound method
InterfaceController._create_fronte...troller.InterfaceController object
at 0x8a59f8c>>
frontend_path = 'frontend1'
/usr/lib/python2.5/site-packages/elisa/core/interface_controller.py in
_create_frontend(self=<elisa.core.interface_controller.InterfaceController
object at 0x8a59f8c>, frontend_name='frontend1')
158 # Create a Context needed by the root View to render
159 try:
160 context =
plugin_registry.create_component(root_view.context_path)
161 except:
162 self.warning("Cannot create context %r for frontend %r",
context undefined
plugin_registry = <elisa.core.plugin_registry.PluginRegistry object at
0x87838cc>
plugin_registry.create_component = <bound method
PluginRegistry.create_component of...gin_registry.PluginRegistry object
at 0x87838cc>>
root_view = <poblenou_frontend.elisa_view.ElisaView object at 0x8c95a6c>
root_view.context_path = 'pigment:pigment_context'
/usr/lib/python2.5/site-packages/elisa/core/plugin_registry.py in
create_component(self=<elisa.core.plugin_registry.PluginRegistry object
at 0x87838cc>, component_path='pigment:pigment_context')
455 component.plugin = plugin
456 component.load_config(self._app_config)
457 component.initialize()
458 self.info("Component %s loaded" % component.name)
459 else:
component = <pigment.pigment_context.PigmentContext object at 0x8caa5cc>
component.initialize = <bound method PigmentContext.initialize of
<pigm...ment_context.PigmentContext object at 0x8caa5cc>>
/usr/lib/python2.5/site-packages/elisa/plugins/pigment/pigment_context.py
in initialize(self=<pigment.pigment_context.PigmentContext object at
0x8caa5cc>)
52
53 # OpenGL viewport creation
54 factory = pgm.ViewportFactory('opengl')
55 viewport = factory.create()
56 self.viewport_handle = viewport
factory undefined
global pgm = <module 'pgm' from
'/usr/lib/python2.5/site-packages/pgm/__init__.pyc'>
pgm.ViewportFactory = <type 'pgm.ViewportFactory'>
<type 'exceptions.RuntimeError'>: could not create PgmViewportFactory object
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/usr/bin/elisa", line 8, in <module>
load_entry_point('elisa==0.3.1', 'gui_scripts', 'elisa')()
File "/usr/lib/python2.5/site-packages/elisa/core/application.py",
line 525, in main
app.initialize()
File "/usr/lib/python2.5/site-packages/elisa/core/application.py",
line 415, in initialize
self._interface_controller.initialize()
File
"/usr/lib/python2.5/site-packages/elisa/core/interface_controller.py",
line 69, in initialize
self._create_frontend(frontend_path)
File
"/usr/lib/python2.5/site-packages/elisa/core/interface_controller.py",
line 160, in _create_frontend
context = plugin_registry.create_component(root_view.context_path)
File "/usr/lib/python2.5/site-packages/elisa/core/plugin_registry.py",
line 457, in create_component
component.initialize()
File
"/usr/lib/python2.5/site-packages/elisa/plugins/pigment/pigment_context.py",
line 54, in initialize
factory = pgm.ViewportFactory('opengl')
RuntimeError: could not create PgmViewportFactory object
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.3
server glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control
client glx vendor string: NVIDIA Corporation
client glx version string: 1.3
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync,
GLX_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer,
GLX_SGI_swap_control, GLX_NV_float_buffer
GLX version: 1.3
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: RIVA TNT2/AGP/SSE
OpenGL version string: 1.5.3 NVIDIA 71.84
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_point_parameters,
GL_ARB_texture_env_add, GL_ARB_texture_mirrored_repeat,
GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object,
GL_ARB_window_pos,
GL_EXT_texture_env_add, GL_EXT_abgr, GL_EXT_bgra,
GL_EXT_compiled_vertex_array, GL_EXT_draw_range_elements,
GL_EXT_fog_coord, GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels,
GL_EXT_pixel_buffer_object, GL_EXT_point_parameters,
GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_stencil_wrap,
GL_EXT_texture_edge_clamp, GL_EXT_texture_env_combine,
GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_vertex_array,
GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat,
GL_KTX_buffer_region, GL_NV_blend_square, GL_NV_fog_distance,
GL_NV_light_max_exponent, GL_NV_packed_depth_stencil,
GL_NV_texgen_reflection, GL_NV_texture_env_combine4,
GL_SGIS_multitexture,
GL_SUN_slice_accum
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 0 4 24 8 16 16 16 16 0 0 None
0x22 24 dc 0 32 0 r y . 8 8 8 0 4 24 8 16 16 16 16 0 0 None
0x23 24 tc 0 32 0 r y . 8 8 8 8 4 24 8 16 16 16 16 0 0 None
0x24 24 tc 0 32 0 r . . 8 8 8 0 4 24 8 16 16 16 16 0 0 None
0x25 24 tc 0 32 0 r . . 8 8 8 8 4 24 8 16 16 16 16 0 0 None
0x26 24 tc 0 32 0 r y . 8 8 8 0 4 0 0 16 16 16 16 0 0 None
0x27 24 tc 0 32 0 r y . 8 8 8 8 4 0 0 16 16 16 16 0 0 None
0x28 24 tc 0 32 0 r . . 8 8 8 0 4 0 0 16 16 16 16 0 0 None
0x29 24 tc 0 32 0 r . . 8 8 8 8 4 0 0 16 16 16 16 0 0 None
0x2a 24 dc 0 32 0 r y . 8 8 8 8 4 24 8 16 16 16 16 0 0 None
0x2b 24 dc 0 32 0 r . . 8 8 8 0 4 24 8 16 16 16 16 0 0 None
0x2c 24 dc 0 32 0 r . . 8 8 8 8 4 24 8 16 16 16 16 0 0 None
0x2d 24 dc 0 32 0 r y . 8 8 8 0 4 0 0 16 16 16 16 0 0 None
0x2e 24 dc 0 32 0 r y . 8 8 8 8 4 0 0 16 16 16 16 0 0 None
0x2f 24 dc 0 32 0 r . . 8 8 8 0 4 0 0 16 16 16 16 0 0 None
0x30 24 dc 0 32 0 r . . 8 8 8 8 4 0 0 16 16 16 16 0 0 None
0x80 32 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
--
---------------------------------------------
Francis Reyes M.Sc.
215 UCB
University of Colorado at Boulder
gpg --keyserver pgp.mit.edu --recv-keys 67BA8D5D
8AE2 F2F4 90F7 9640 28BC 686F 78FD 6669 67BA 8D5D
begin:vcard
fn:Francis Reyes
n:Reyes;Francis
email;internet:[EMAIL PROTECTED]
x-mozilla-html:TRUE
version:2.1
end:vcard