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.