Issue 60: Mandelbrot Example crashes on ATI
Reported by Knoch...@gmail.com, Apr 7, 2009
When running the Mandelbrot example it crashes.

Traceback:
> "C:\Python26\python.exe"
C:\Python26\pymtSVN\examples\mandelbrot\mandelbrot.py
[INFO              ] Fbo will use hardware Framebuffer
[DEBUG             ] shader message: Vertex shader was successfully
compiled to run on hardware.
 
[DEBUG             ] shader message: Fragment shader was successfully
compiled to run on hardware.

[DEBUG             ] shader message: Fragment shader(s) failed to link, 
vertex shader(s) linked. 
Fragment Shader not supported by HW 
[INFO              ] listening for Tuio on 127.0.0.1:3333
[INFO              ] Leaving application in progress...
Traceback (most recent call last):
  File "C:\Python26\pymtSVN\examples\mandelbrot\mandelbrot.py", line 136,
in <module>
    runTouchApp()
  File "C:\Python26\Lib\site-packages\pymt\mtpyglet.py", line 477, in
runTouchApp
    pymt_evloop.run()
  File "C:\Python26\Lib\site-packages\pyglet\app\win32.py", line 47, in run
    self._setup()
  File "C:\Python26\Lib\site-packages\pyglet\app\__init__.py", line 153, in
_setup
    window.dispatch_pending_events()
  File "C:\Python26\lib\site-packages\pyglet\window\win32\__init__.py",
line 842, in dispatch_pending_events
    event[0](*event[1:])
  File "C:\Python26\lib\site-packages\pyglet\window\win32\__init__.py",
line 1120, in _event_size
    self._immediate_redraw()
  File "C:\Python26\lib\site-packages\pyglet\window\win32\__init__.py",
line 1073, in _immediate_redraw
    self.dispatch_event('on_draw')
  File "C:\Python26\lib\site-packages\pyglet\window\__init__.py", line
1217, in dispatch_event
    EventDispatcher.dispatch_event(self, *args)
  File "C:\Python26\Lib\site-packages\pyglet\event.py", line 349, in
dispatch_event
    getattr(self, event_type)(*args)
  File "C:\Python26\Lib\site-packages\pymt\ui\window.py", line 222, in on_draw
    w.dispatch_event('on_draw')
  File "C:\Python26\Lib\site-packages\pymt\ui\widgets\widget.py", line 286,
in dispatch_event
    if getattr(self, event_type)(*args):
  File "C:\Python26\Lib\site-packages\pymt\ui\widgets\widget.py", line 352,
in on_draw
    w.dispatch_event('on_draw')
  File "C:\Python26\Lib\site-packages\pymt\ui\widgets\widget.py", line 286,
in dispatch_event
    if getattr(self, event_type)(*args):
  File "C:\Python26\Lib\site-packages\pymt\ui\widgets\scatter.py", line
163, in on_draw
    super(MTScatterWidget, self).on_draw()
  File "C:\Python26\Lib\site-packages\pymt\ui\widgets\widget.py", line 349,
in on_draw
    self.draw()
  File "C:\Python26\pymtSVN\examples\mandelbrot\mandelbrot.py", line 85, in
draw
    self.shader.use()
  File "C:\Python26\Lib\site-packages\pymt\shader.py", line 73, in use
    glUseProgram(self.program)
  File "C:\Python26\Lib\site-packages\pyglet\gl\lib_wgl.py", line 94, in
__call__
    result = self.func(*args, **kwargs) 
  File "C:\Python26\Lib\site-packages\pyglet\gl\lib.py", line 105, in errcheck
    raise GLException(msg)
pyglet.gl.lib.GLException: invalid operation

> Process Exit Code: 1
> Time Taken: 00:04


System Information:
CPU: AMD Sempron 3000+
RAM: 1Gb
GFX: ATI Radeon 9700 Pro
OS: WinXP Pro SP3
Python: 2.6
PyMT: Rev772

May 7, 2009
Project Member #1 txprog
Thomas, can you have a look at it ?
Having something to check if host can be render shader or not ?
Status: Accepted
Owner: thomas.hansen
May 7, 2009
Project Member #2 txprog
(No comment was entered for this change.)
Labels: Component-Examples Milestone-0.3
Aug 29, 2009
Project Member #3 txprog
(No comment was entered for this change.)
Labels: Milestone-0.4
Aug 29, 2009
Project Member #4 txprog
(No comment was entered for this change.)
Labels: Milestone-1.0
Jan 19, 2010
Project Member #5 txprog
fixed!
Labels: -Milestone-1.0 Milestone-0.4
Jan 19, 2010
Project Member #6 txprog
Ow, actually, no, i was not reading the start of backtrace. 
For this bug, it's not our fault: 

[DEBUG             ] shader message: Fragment shader(s) failed to link, 
vertex shader(s) linked. 
Fragment Shader not supported by HW 

=> You need a better graphics card !
Status: WontFix