mansrz / pymt

Automatically exported from code.google.com/p/pymt
0 stars 0 forks source link

Mandelbrot Example crashes on ATI #60

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

Original issue reported on code.google.com by Knoch...@gmail.com on 7 Apr 2009 at 8:38

GoogleCodeExporter commented 9 years ago
Thomas, can you have a look at it ?
Having something to check if host can be render shader or not ?

Original comment by txprog on 7 May 2009 at 12:20

GoogleCodeExporter commented 9 years ago

Original comment by txprog on 7 May 2009 at 12:34

GoogleCodeExporter commented 9 years ago

Original comment by txprog on 29 Aug 2009 at 10:13

GoogleCodeExporter commented 9 years ago

Original comment by txprog on 29 Aug 2009 at 10:14

GoogleCodeExporter commented 9 years ago
fixed!

Original comment by txprog on 20 Jan 2010 at 12:39

GoogleCodeExporter commented 9 years ago
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 !

Original comment by txprog on 20 Jan 2010 at 12:40