Git Product home page Git Product logo

Comments (8)

okbalefthanded avatar okbalefthanded commented on July 24, 2024

@astraw
Hi, is this bug being fixed ?

from visionegg.

astraw avatar astraw commented on July 24, 2024

No, I was not working on this. Won't Python 2.7 work for you? (Why not?)

from visionegg.

okbalefthanded avatar okbalefthanded commented on July 24, 2024

same issue on python 2.7 with PyOpenGL 3.1.0

from visionegg.

astraw avatar astraw commented on July 24, 2024

Do you mean the pyopengl multitexturing bug? Otherwise, what exactly is the issue?

from visionegg.

okbalefthanded avatar okbalefthanded commented on July 24, 2024

Sorry my last comment wasn't precise, my issue is when I run any demo from the source code demo list I got this exception:

File "C:\Anaconda2\lib\site-packages\OpenGL\arrays\numpymodule.py", line 28, in
from OpenGL_accelerate.numpy_formathandler import NumpyHandler
File "init.pxd", line 155, in init OpenGL_accelerate.numpy_formathandler (src\numpy_formathandler.c:6155)
ValueError: ('numpy.dtype has the wrong size, try recompiling', 1, <OpenGL.platform.baseplatform.glGenTextures object at 0x0000000003DB32D0>)
Exception AttributeError: 'gl_module' in <bound method TextureObject.del of <VisionEgg.Textures.TextureObject object at 0x00000000082F9480>> ignored

I'm running visionEgg on windows, My python packages are :
Interpereter: Anaconda 2.0.1 64 bit (because of numpy 1.8.1 that support Numeric).
PyOpenGL 3.1.1 64bit (from Gohlke python packages).

PS: I had perfectly run visionegg on ubuntu14.04 with the same packages versions

from visionegg.

okbalefthanded avatar okbalefthanded commented on July 24, 2024

After installing the latest version with pip, I encountered an exception with the multitexturing warning:
"2016-08-15 21:09:22,934 (4368) WARNING: multitexturing not available. Some features will not be available"
for example when running the alpha_texture demo the following exception is returned:

from visionegg.

okbalefthanded avatar okbalefthanded commented on July 24, 2024

Here's the traceback of running Pyff with a visionEgg feedback :

Traceback (most recent call last):
File "D:\kach programmation wela walou\khadmation\byton\pyff\src\FeedbackBase\Feedback.py", line 462, in _playloop
self._on_play()
File "D:\kach programmation wela walou\khadmation\byton\pyff\src\FeedbackBase\Feedback.py", line 197, in _on_play
self.on_play()
File "D:\kach programmation wela walou\khadmation\byton\pyff\src\FeedbackBase\MainloopFeedback.py", line 67, in on_play
self.pre_mainloop()
File "Feedbacks\GazeIndependentSpeller\VisualSpellerVE.py", line 220, in pre_mainloop
self.__idle()
File "Feedbacks\GazeIndependentSpeller\VisualSpellerVE.py", line 413, in __idle
self._presentation.go()
File "C:\Anaconda\lib\site-packages\VisionEgg\FlowControl.py", line 395, in go
viewport.draw()
File "C:\Anaconda\lib\site-packages\VisionEgg\Core.py", line 1374, in draw
stimulus.draw()
File "C:\Anaconda\lib\site-packages\VisionEgg\Text.py", line 179, in draw
VisionEgg.Textures.TextureStimulus.draw(self) # call base class
File "C:\Anaconda\lib\site-packages\VisionEgg\Textures.py", line 1465, in draw
self.texture_object.set_wrap_mode_s( p.texture_wrap_s )
File "C:\Anaconda\lib\site-packages\VisionEgg\Textures.py", line 506, in set_wrap_mode_s
gl.glTexParameteri( self.target, gl.GL_TEXTURE_WRAP_S, wrap_mode)
File "errorchecker.pyx", line 53, in OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError (src\errorchecker.c:1218)
GLError: GLError(
err = 1280,
description = 'invalid enumerant',
baseOperation = glTexParameteri,
cArguments = (
GL_TEXTURE_2D,
GL_TEXTURE_WRAP_S,
GL_CLAMP_TO_EDGE,
)
)

from visionegg.

okbalefthanded avatar okbalefthanded commented on July 24, 2024

I've been trying to figure out how to fix it, what I'de noticed is that the opengl_info.py script shows that the GL_VERSION is newer than the one used by GD generic (in my case it's 3.1.0 - build 9.17.10.4101) and the renderer is not the default microsoft driver, however one running any demo script visionegg uses the GDI Generic driver with OpenGL 1.1.0, do you have any idea how this can be fixed?

from visionegg.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.