From: Samuel P. <sam...@gm...> - 2010-08-23 08:32:37
|
Hi Nicolas, I do experience the same "too slow" behavior on VPython with my integrated Intel graphics card. Other OpenGL applications run smoothly. I also get the weird message: i915_program_error: Exceeded max instructions <visual.primitives.sphere object at 0x2314c58> Have you (or anybody in the list) found a fix for this annoyance? It makes my VPython applications unusable! Regards, Samuel On Wed, Aug 18, 2010 at 2:34 AM, Nicolas Bigaouette <nbi...@gm...>wrote: > 2010/8/17 Guenter Schneider <Gue...@ph...> > >> I am not surprised that visual runs on nvidia. I never had problems >> before. For ATI cards the following worked for me (note that my problem was >> never a complete crash on import but a seg fault for particular commands, >> but it may work for you). >> >> import wx >> import visual >> >> The rational is that wx has proper initialization for opengl while visual >> does not. >> >> Guenter >> > > Wow, ok, so that made it: > >> $ python >> Python 2.6.5 (r265:79063, Aug 17 2010, 14:03:21) >> [GCC 4.5.1] on linux2 >> Type "help", "copyright", "credits" or "license" for more information. >> >>> import wx >> >>> import visual >> >>> visual.sphere() >> i915_program_error: Exceeded max instructions >> <visual.primitives.sphere object at 0x22d47e0> >> > and I see a sphere. > > I just tried my script and it seems to work. But it is really slow compared > to pymol with the same data, even on the intel card.. On the nvidia card, > it's blazing fast... > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > |