Vision Egg Visual stimulus creation and control
with open source software

Introduction

Home Introduction & News
News
Screenshots Views of the demos
Technologies About Python and OpenGL
Platforms Hardware compatibility
Frame rates Frame rates explained
Synchronization Interfacing with other hardware
Calibration Calibrating displays

Documentation

Programmer's Manual Concept overview
Tutorial Simple demo programs explained
Library Reference
FAQ Frequently asked questions

Download and Install

Downloads Get it now!
Installation overview A quick installation summary
Windows Install Step-by-step
Mac OS X Install Step-by-step
Linux install Step-by-step
SGI IRIX install Step-by-step

Miscellaneous

Mailing list Stay up to date
Eye tracking
Labview GUI/Data acquisition interface
The future Potential upcoming changes to be aware of
Develop! How to help the Vision Egg
Other solutions Links to similar stuff
Thanks Credits
VisionEgg @ SourceForge

FAQ: Frequently asked questions

I enter my desired framerate in the ''What will your monitor refresh's rate be (Hz)'' field of the Vision Egg startup GUI, but I get a different refresh rate. Why?

The Vision Egg does not set your refresh rate, only the resolution. The refresh rate is determined automatically by your video drivers for the specified resolution. So, you must tell your video drivers what the "proper" refresh rate for that resolution is. In Windows, try switching to that resolution, change your refresh rate for that resolution, and go back to your original resolution, start the Vision Egg and see what happens. Also, PowerStrip from Entech may help significantly.

Unfortunately, setting the refresh rate would is OS and video driver dependent and is not something the Vision Egg does. I think PowerStrip does a fantastic job on Windows, Mac OS X only seems to have a handful of video modes, and on linux and IRIX you can generate your own arbitrary modes, albeit not as easily as with PowerStrip.

I am unable to open a graphics window. I get the following exception: ''pygame.error: Couldn't find matching GLX visual''

An attempt was made to open a graphics window, but the requested mode was not found. Try setting the total bit depth to 0 and each RGBA component to 0 to allow automatic matching. Start with a small window (e.g. 640x480) and do not try fullscreen initially.

I can not get the demos to work. The GUI Graphics configuration launches correctly when I try grating.py but when I click ''ok'' a new gray window opens for a few seconds and then closes. Can anyone help???

Your version of Numeric may not be matched to the version with which PyOpenGL was built. Install the Numeric version with which PyOpenGL was built, or rebuild PyOpenGL with your current version of Numeric.

How do I turn off the configuration window?

Pick your method:

  • Edit your config file. The location of this file is in the window itself.
  • Set the environment variable VISIONEGG_GUI_INIT=0.
  • Add the following to your script before you create the screen: import VisionEgg; VisionEgg.config.VISIONEGG_GUI_INIT = 0 (or from VisionEgg import *; config.VISIONEGG_GUI_INIT = 0)

Note that all variables in VisionEgg.config can be modified this way. Please see the documentation for the Configuration module for more information.

I have set up my PC with a dual boot and have been gradually getting used to Linux. I would like to make the transition solely to Linux and the open source movement. However, I am running into one dependency problem after another and have tried RPM and tar.gz files. I even have a few experienced Linux users around and we still can not get all the dependencies installed.

Even though I like the package manager of my preferred linux distribution (Debian), I often install Python packages myself, particularly when I run into trouble like this. Also, experience on a number of platforms has convinced me that it allows me to be most platform-independent to use Python's distutils (simple command-line interface) for installing Python packages. Python's distutils system is the same across all Python platforms and versions back to 1.5.7, and there are countless Python packages you'll find in source form but won't be packaged for individual operating systems.

I do use the binary package manager of my linux system for the python executable and sometimes other packages if they're available. If they're not immediately available (or functioning) I use Python's distutils.

If you have issues with a particular dependency, try sending a message to the appropriate mailing list.


Please direct enquires to the Vision Egg mailing list.
The primary author of the Vision Egg is Andrew Straw
This page last modified 27 Jun 2004.
OpenGL Python powered Hosted by SourceForge Open Source
This website built with Cheetah, reStructuredText, and Pythonic glue.