[visionegg] TextureTooLargeError: texel_data is too wide for your video system

Hi!

I wanted to give VisionEgg a try but encountered a TextureTooLargeError
when trying to run the multi_stim.py demo (full output below -- a
similar error appears with a few other demos as well).
I'm running a recent CVS checkout on a Compaq Presario 2700T laptop with a
ATI Radeon Mobility M6 LY graphics card (32 Mb graphics memory). The OS is
Linux (2.6 Kernel, XFree86 Version 4.3.0.1 [ati driver], Debian sarge).
Does anybody know what's causing this error and how to get around it?

Thanks,
Christoph

Here's the output:

$ python multi_stim.py
2004-12-05 21:40:26,728 (17327) INFO: Script multi_stim.py started Vision
Egg 1.0-cvs with process id 17327.
2004-12-05 21:40:43,673 (17327) INFO: Requesting window 640 x 480 24 bpp
(8 8 8 0 RGBA).
disabling TCL support
2004-12-05 21:40:44,643 (17327) INFO: OpenGL 1.2 Mesa 4.0.4, Mesa DRI
Radeon 20020611 AGP 1x x86/MMX/SSE NO-TCL, Tungsten Graphics, Inc.
2004-12-05 21:40:44,645 (17327) INFO: Video system reports 32 bpp (8 8 8 8
RGBA).
2004-12-05 21:40:44,668 (17327) CRITICAL: Traceback (most recent call
last):
  File "multi_stim.py", line 37, in ?
    color    = (1.0, 1.0, 1.0),
  File "/usr/lib/python2.3/site-packages/VisionEgg/Text.py", line 160, in
__init__
    self._render_text()
  File "/usr/lib/python2.3/site-packages/VisionEgg/Text.py", line 168, in
_render_text
    self._reload_texture()
  File "/usr/lib/python2.3/site-packages/VisionEgg/Textures.py", line
1145, in _reload_texture
    build_mipmaps = self.constant_parameters.mipmaps_enabled )
  File "/usr/lib/python2.3/site-packages/VisionEgg/Textures.py", line 337,
in load
    texture_object.put_new_image( buffer, internal_format=internal_format,
mipmap_level=0 )
  File "/usr/lib/python2.3/site-packages/VisionEgg/Textures.py", line 641,
in put_new_image
    raise TextureTooLargeError("texel_data is too wide for your video
system.")
TextureTooLargeError: texel_data is too wide for your video system.

Traceback (most recent call last):
  File "multi_stim.py", line 37, in ?
    color    = (1.0, 1.0, 1.0),
  File "/usr/lib/python2.3/site-packages/VisionEgg/Text.py", line 160, in
__init__
    self._render_text()
  File "/usr/lib/python2.3/site-packages/VisionEgg/Text.py", line 168, in
_render_text
    self._reload_texture()
  File "/usr/lib/python2.3/site-packages/VisionEgg/Textures.py", line
1145, in _reload_texture
    build_mipmaps = self.constant_parameters.mipmaps_enabled )
  File "/usr/lib/python2.3/site-packages/VisionEgg/Textures.py", line 337,
in load
    texture_object.put_new_image( buffer, internal_format=internal_format,
mipmap_level=0 )
  File "/usr/lib/python2.3/site-packages/VisionEgg/Textures.py", line 641,
in put_new_image
    raise TextureTooLargeError("texel_data is too wide for your video
system.")
VisionEgg.Textures.TextureTooLargeError: texel_data is too wide for your
video system.

======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html

Other related posts: