[visionegg] Re: screen position and graphics artifacts

  • From: Simeon Fitch <simeon.fitch@xxxxxxxxxxxxx>
  • To: visionegg@xxxxxxxxxxxxx
  • Date: Mon, 7 Nov 2005 13:14:59 -0500

Andrew,

When we see an entry such as this that would be helpful to have in the FAQ,
do you mind if we add it to the Wiki ourselves, or whould you prefer us to
submit a request to you for inclusion?

Best,

Simeon

On 11/7/05, Adam Light <aclight@xxxxxxxxx> wrote:
>
>
>
> On 11/4/05, Andrew Straw <astraw@xxxxxxxxxxx> wrote:
> >
> >
> > The screen position is determined automatically by the OS, I think. SDL
> > (which is wrapped by pygame, which is wrapped by the Vision Egg) has
> > some environment variables which are supposed to allow specification of
> > screen position. see:
> >
> > //www.freelists.org/archives/visionegg/08-2003/msg00000.html
> >
> > Unfortunately, I think these environment variables aren't "officially
> > supported" in SDL, and thus are subject to future non inclusion. (In
> > fact, a recent build of pygame/SDL on Windows XP seems to ignore them,
> > which I was planning on following up... Wait, it looks like it's
> > discussed here:
> > http://www.devolution.com/pipermail/sdl/2005-April/068395.html )
>
>
> I tried the lines mentioned in the first link:
>
> import os
> os.environ['SDL_VIDEO_WINDOW_POS']="0,0"
>
> and those worked perfectly.  My pygame version is 1.7.1release
> , so perhaps it's older and thus still allows for this environment variable.
>
>
>
>
> > This is the well-known 'tearing' artifact. Googling that should give you
> > a better idea of what the problem is. You can either try to fix it by
> > clicking the "sync buffer swaps to vertical retrace" button on the
> > Vision Egg initial GUI popup window, or by forcing this (often called
> > "VSync") in your video drivers. If you need further help, let us know,
> > and be sure to specify your OS and video card.
>
>
> I did have the "sync buffer swaps to vertical retrace" option checked, but
> I had to force the setting in my graphics card options (NVidia Quadro FX
> 1300 on WinXP).
>
> Thanks for your help
> Adam
>
>
>


--
Simeon H.K. Fitch, Owner
Mustard Seed Software
1634 Brandywine Drive
Charlottesville, VA 22901
210.867.1616

Other related posts: