[visionegg] Re: max priority issue

thank you, Andrew!

where shall I look for buffer swaps with the VSYNC signal on 
ATI cards?

I will just check the code with the time.sleep(0.0001) workaround and
will let you know, whether it works

Lpt-polling, won't work with max priority option on! ...shit (sorry).
hope, that with the workaround above we can get it to work, but 0.0001s
won't be enough, I suppose...

I am afraid that the whole project dies, just because of these problems;
would be a pity.

Let's try it
christoph
On Mon, 2002-12-16 at 09:39, Andrew Straw wrote:
> Hi Christoph,
> 
> This may be a challenging problem.  Because the Vision Egg doesn't 
> currently support synchronizing buffer swaps with the VSYNC signal on 
> ATI cards, the Vision Egg runs the go loop as quickly as it can.  When 
> it's in max priority mode, I suspect that it is never yielding the 
> processor to other applications, including whatever handles mouse 
> input.  If you can figure out how to synchronize buffer swaps on the 
> ATI drivers under linux, we could add that code.  Otherwise, try 
> something like time.sleep(0.0001) in your function that gets called on 
> every frame to purposefully yield the processor.  Either of these may 
> cause you to skip frames.  Also, you could try reducing the priority 
> the Vision Egg raises itself to by modifying the appropriate line of 
> _maxpriority.c, but I'm not sure this would help.
> 
> Cheers!
> Andrew
> 
> On Saturday, December 14, 2002, at 03:01  AM, Christoph Lehmann wrote:
> 
> > do you think, you can fix VE, so that even with max priority the mouse 
> > works
> > (and what about LPT polling in max priority?). thanks!! would be 
> > great, since at
> > my thinkpad no frames are missed only in max priority mode (even 
> > unplugged from
> > the net)
> 
> ======================================
> The Vision Egg mailing list
> Archives: http://www.freelists.org/archives/visionegg
> Website: http://www.visionegg.org/mailinglist.html
-- 
Christoph Lehmann 
Department of Psychiatric Neurophysiology 
University Hospital of Clinical Psychiatry 
Waldau 
CH-3000 Bern 60 
Switzerland 

Phone:  ++41 31 930 93 83 
Fax:    ++41 31 930 96 61 
Email:  lehmann@xxxxxxxxxxxx 
Web:    

======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html

Other related posts: