Issue 483 in pyglet: gl_info crash with 1.2dev but not 1.1.4 release

7 views
Skip to first unread message

codesite...@google.com

unread,
Apr 30, 2010, 3:16:35 AM4/30/10
to pyglet...@googlegroups.com
Status: New
Owner: ----

New issue 483 by ccanepacc: gl_info crash with 1.2dev but not 1.1.4 release
http://code.google.com/p/pyglet/issues/detail?id=483

What steps will reproduce the problem?
1. run the noisy.py example (or any pyglet app)

Expected:
the simple example running.
Happened:
instant crash with traceback.

Paste in the traceback or error message:
H:\hg_externals\pyglet_default\examples\noisy>noisy.py
Traceback (most recent call last):
File "H:\hg_externals\pyglet_default\examples\noisy\noisy.py", line 85,
in <mo
dule>
window = pyglet.window.Window(640, 480)
File "H:\hg_externals\pyglet_default\pyglet\window\win32\__init__.py",
line 13
1, in __init__
super(Win32Window, self).__init__(*args, **kwargs)
File "H:\hg_externals\pyglet_default\pyglet\window\__init__.py", line
558, in
__init__
self._create()
File "H:\hg_externals\pyglet_default\pyglet\window\win32\__init__.py",
line 26
6, in _create
self.switch_to()
File "H:\hg_externals\pyglet_default\pyglet\window\win32\__init__.py",
line 30
5, in switch_to
self.context.set_current()
File "H:\hg_externals\pyglet_default\pyglet\gl\win32.py", line 210, in
set_cur
rent
super(Win32Context, self).set_current()
File "H:\hg_externals\pyglet_default\pyglet\gl\base.py", line 306, in
set_curr
ent
self._info.set_active_context()
File "H:\hg_externals\pyglet_default\pyglet\gl\gl_info.py", line 91, in
set_ac
tive_context
self.vendor = cast(glGetString(GL_VENDOR), c_char_p).value
File "H:\hg_externals\pyglet_default\pyglet\gl\lib.py", line 105, in
errcheck
raise GLException(msg)
pyglet.gl.lib.GLException: operaci¾n no vßlida





pyglet 1.1 with Python 2.5: Paste in the output of `python -m pyglet.info`
Other: Paste in the output of tools/gl_info.py (included in source distro):
Python
I will paste two infos: first the one obtained with pyglet 1.2dev, which
is not complete because the crash happens precisely in gl_info, then the
one obtained with pyglet 1.1.4 release

Python
------------------------------------------------------------------------------
sys.version: 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit
(Intel)]
sys.platform: win32
os.getcwd(): H:\hg_externals\pyglet_default

pyglet
------------------------------------------------------------------------------
pyglet.version: 1.2dev
pyglet.__file__: pyglet\__init__.pyc
pyglet.options['debug_trace_depth'] = 1
pyglet.options['xlib_fullscreen_override_redirect'] = False
pyglet.options['font'] = ('gdiplus', 'win32')
pyglet.options['xsync'] = True
pyglet.options['debug_trace_flush'] = True
pyglet.options['debug_win32'] = False
pyglet.options['debug_gl_trace'] = False
pyglet.options['debug_x11'] = False
pyglet.options['shadow_window'] = True
pyglet.options['debug_font'] = False
pyglet.options['debug_media'] = False
pyglet.options['debug_trace'] = False
pyglet.options['debug_lib'] = False
pyglet.options['graphics_vbo'] = True
pyglet.options['vsync'] = None
pyglet.options['debug_trace_args'] = False
pyglet.options['debug_gl'] = True
pyglet.options['debug_graphics_batch'] = False
pyglet.options['audio'] = ('directsound', 'pulse', 'openal', 'silent')
pyglet.options['debug_texture'] = False
pyglet.options['debug_gl_trace_args'] = False

pyglet.window
------------------------------------------------------------------------------
platform: <pyglet.window.Platform object at 0x00BB3AD0>
display: <pyglet.canvas.win32.Win32Display object at 0x01785A10>
screens[0]: Win32Screen(x=0, y=0, width=1024, height=768)

pyglet.gl.glu_info
------------------------------------------------------------------------------
glu_info.get_version(): 1.2.2.0 Microsoft Corporation
glu_info.get_extensions():
GL_EXT_bgra

pyglet.gl.glx_info
------------------------------------------------------------------------------
GLX not available.

pyglet.media
------------------------------------------------------------------------------
audio driver: <pyglet.media.drivers.directsound.DirectSoundDriver object
at 0x017B7B10>

pyglet.media.avbin
------------------------------------------------------------------------------
AVbin not available.

pyglet.media.drivers.openal
------------------------------------------------------------------------------
OpenAL not available.

pyglet.input.wintab
------------------------------------------------------------------------------
WinTab not available.


###########################################################################

Begins the info obtained with pyglet 1.1.4
------------------------------------------------------------------------------
sys.version: 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit
(Intel)]
sys.platform: win32
os.getcwd(): H:\hg_externals\pyglet_default\examples\noisy

pyglet
------------------------------------------------------------------------------
pyglet.version: 1.1.4
pyglet.__file__: H:\hg_externals\pyglet-1.1.4\pyglet\__init__.pyc
pyglet.options['debug_trace_depth'] = 1
pyglet.options['font'] = ('gdiplus', 'win32')
pyglet.options['xsync'] = True
pyglet.options['debug_trace_flush'] = True
pyglet.options['debug_win32'] = False
pyglet.options['debug_gl_trace'] = False
pyglet.options['debug_x11'] = False
pyglet.options['shadow_window'] = True
pyglet.options['debug_font'] = False
pyglet.options['debug_media'] = False
pyglet.options['debug_trace'] = False
pyglet.options['debug_lib'] = False
pyglet.options['graphics_vbo'] = True
pyglet.options['vsync'] = None
pyglet.options['debug_trace_args'] = False
pyglet.options['debug_gl'] = True
pyglet.options['debug_graphics_batch'] = False
pyglet.options['audio'] = ('directsound', 'openal', 'alsa', 'silent')
pyglet.options['debug_texture'] = False
pyglet.options['debug_gl_trace_args'] = False

pyglet.window
------------------------------------------------------------------------------
platform: <pyglet.window.win32.Win32Platform object at 0x01606510>
display: <pyglet.window.win32.Win32Display object at 0x01606490>
screens[0]: Win32Screen(x=0, y=0, width=1024, height=768)
config['double_buffer'] = True
config['stereo'] = False
config['buffer_size'] = 32
config['aux_buffers'] = 0
config['sample_buffers'] = 0
config['samples'] = 0
config['red_size'] = 8
config['green_size'] = 8
config['blue_size'] = 8
config['alpha_size'] = 8
config['depth_size'] = 24
config['stencil_size'] = 8
config['accum_red_size'] = 0
config['accum_green_size'] = 0
config['accum_blue_size'] = 0
config['accum_alpha_size'] = 0
context: Win32Context()

pyglet.gl.gl_info
------------------------------------------------------------------------------
gl_info.get_version(): 3.2.9704 Compatibility Profile Context
gl_info.get_vendor(): ATI Technologies Inc.
gl_info.get_renderer(): ATI Radeon HD 3200 Graphics
gl_info.get_extensions():
GL_AMDX_name_gen_delete
... snipped ...

##########################################################################

Any additional info (platform/language/hardware) that may be relevant?
The example (and any pyglet app) runs ok with 1.1.4 release
After seeing the problem with a pyglet 1.2dev hg clone from sometime ago
(that was working ok with other hardware) I made a fresh clone from
googlecode, the precise version:
H:\hg_externals\pyglet_default\examples\noisy>hg summary
parent: 2477:64e3a450c83b
If it serves to narrow when the problem popped, the prev old when I
spotted the problem was
H:\hg_externals\wk_pyglet>hg summary
parent: 2458:ac0ba7acdb02 tip

OS: windows xp sp3 32 bits, spanish


--
You received this message because you are subscribed to the Google Groups "pyglet-issues" group.
To post to this group, send email to pyglet...@googlegroups.com.
To unsubscribe from this group, send email to pyglet-issue...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pyglet-issues?hl=en.

Reply all
Reply to author
Forward
0 new messages