From: Samuel H. <cri...@ge...> - 2001-08-29 22:07:48
|
On Wednesday 29 August 2001 2:59pm, Jacob Greig wrote: > tuxmath runs too slow on my system (it always is insulting me by saying > "Never waited; CPU too slow!" even though my system is a 400Mhz machine :) Actually, looking at the code, it doesn't necessarily mean your CPU is too slow, just that your XFree86 driver and/or your graphic card doesn't support double buffering. It's not surprising you get this... AFAIK most XFree86 drivers don't support double buffering yet (neither my desktop nor my laptop do). > so I was tryin to come up with a dirty blit option to the game. i lifted > some code from tuxtype, and compiled it. but now I get this error: > > X Error of failed request: BadValue (integer parameter out of range for > operation) Major opcode of failed request: 147 (MIT-SHM) > Minor opcode of failed request: 3 (X_ShmPutImage) > Value in failed request: 0x55 > Serial number of failed request: 241 > Current serial number in output stream: 303 I would bet that it is trying to perform an update rects or blit rect or something outside of the screen's boundaries (we used to have these things all the time in Tux Typing, untill I added in checking code to ensure that we didn't blit outside the window ;-) Can you place your code online somewhere (I think you still have Noink access on my site, so you could use that if you wanted) so we can look at it? -- Sam "Criswell" Hart <cri...@ge...> AIM, Yahoo!: <criswell4069> Homepage: < http://www.geekcomix.com/snh/ > PGP Info: < http://www.geekcomix.com/snh/contact/ > Tux4Kids: < http://www.geekcomix.com/tux4kids/ > |