[visionegg] Re: max priority issue
- From: Andrew Straw <andrew.straw@xxxxxxxxxxxxxxx>
- To: visionegg@xxxxxxxxxxxxx
- Date: Mon, 16 Dec 2002 01:39:22 -0700
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
- Follow-Ups:
- [visionegg] Re: max priority issue
- From: Christoph Lehmann
- References:
- [visionegg] max priority issue
- From: Christoph Lehmann
Other related posts:
- » [visionegg] max priority issue
- » [visionegg] Re: max priority issue
- » [visionegg] Re: max priority issue
(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
- [visionegg] Re: max priority issue
- From: Christoph Lehmann
- [visionegg] max priority issue
- From: Christoph Lehmann