[visionegg] Re: max priority issue

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

Other related posts: