[Ohrrpgce] [Bug 617] Fix screen tearing
http://gilgamesh.hamsterrepublic.com/cgi-bin/bugzilla/show_bug.cgi?id=617 --- Comment #2 from [EMAIL PROTECTED] 2008-03-12 00:05 --- Well bug 611 must be caused by some bug, probably in allmodex or the way that that menu interacts with it, while tearing is just a natural effect of drawing to the screen that all programs without vsync see. I was looking through FB's gfxlib2 code, which is an amazingly huge C library. It has drivers for all sorts of platforms and seems to be able to mix them and use bits of several at once to do different things. I couldn't make sense of the code to select the driver. I'm guessing that the reason that you see no tearing is because FB is running a different driver on your computer. There seem to be some flags to select the driver we want. I also found a comment in a header about the driver vsync function being allowed to wait instead of actually doing any syncing if it couldn't. And yes, I want to fix up gfx_sdl too. -- Configure bugmail: http://gilgamesh.hamsterrepublic.com/cgi-bin/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
Re: [Ohrrpgce] [Bug 617] Fix screen tearing
--- Comment #2 from [EMAIL PROTECTED] 2008-03-12 00:05 --- Well bug 611 must be caused by some bug, probably in allmodex or the way that that menu interacts with it, while tearing is just a natural effect of drawing to the screen that all programs without vsync see. I was looking through FB's gfxlib2 code, which is an amazingly huge C library. It has drivers for all sorts of platforms and seems to be able to mix them and use bits of several at once to do different things. I couldn't make sense of the code to select the driver. I'm guessing that the reason that you see no tearing is because FB is running a different driver on your computer. There seem to be some flags to select the driver we want. I also found a comment in a header about the driver vsync function being allowed to wait instead of actually doing any syncing if it couldn't. And yes, I want to fix up gfx_sdl too. I can't seem to get bugzilla to load from here at the moment, so I'll just reply via the list. In my other FB programs, I think the only way I found to avoid tearing was to use flip. I'll have to check this when I get home, but I remember having a lot of trouble with other combinations that should have worked. They would have been built with FB 0.17 or earlier, but I'm not sure the core of gfxlib has changed much. I also seem to remember that the Linux version was the reason the earlier fixes were backed out. That might still be a problem with flip. Cheers, Simon ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
Re: [Ohrrpgce] [Bug 617] Fix screen tearing
On Wed, Mar 12, 2008 at 01:17:52PM +, Simon Bradley wrote: I can't seem to get bugzilla to load from here at the moment, so I'll just reply via the list. I am concerned about that myself. For the past five days or so, every few hours, a mysql thread on gilgamesh spins out of control, and eats up 100% of cpu time. I have to restart the mysql server to fix it. I thought I had fixed the problem yesterday, but apparently not :( --- James Paige ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
[Ohrrpgce] [Bug 617] Fix screen tearing
http://gilgamesh.hamsterrepublic.com/cgi-bin/bugzilla/show_bug.cgi?id=617 --- Comment #1 from [EMAIL PROTECTED] 2008-03-11 14:02 --- Hmmm. Interesting. Is what you describe in bug 611 related to screen tearing? I did notice a very tiny amount of tearing when I was running at 100% cpu usage to test that bug, but it was barely noticeable. However, if this is a freebasic graphics library flaw, I wonder if it would be easier to just fix up the gfx_sdl backend :P -- Configure bugmail: http://gilgamesh.hamsterrepublic.com/cgi-bin/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org