[Linux] Graphics vsync unchangeable
Archives Forums/BlitzMax Bug Reports/[Linux] Graphics vsync unchangeable
| ||
Unchangeable from on, that is. Start up the code, note fps (should be rather high), press space (turning on vsync). Now the fps should be at your monitor's refresh rate. After that, trying to turn off vsync does not show any change in fps. I've been able to visually see this (via lag - apart from fps alone) in another project. |
| ||
(Nevermind, didn't see the 'linux' part) |
| ||
For me it's unchangeable from 'off' (~235 fps) regardless of how the app starts. |
| ||
Hi, Not really sure what to do about vsync on Linux. The enable/disable vsync extension seems to be pretty much randomly useful - as does whether vsync is on or off in fullscreen. Must be REALLY, REALLY tricky to implement or something... bmx used to do a flaky 'is vsync working' timing loop, but this caused flickers on a few setups so I removed it and (stupidly) decided to 'trust' the driver - ie: if the extension was advertised as working, it should, erm, work. Perhaps I should restore this? Currently then, the only way to guarantee vsync is to do manual timing and *try* to turn vsync off. Sorry about this, but Linux is pretty frustrating when it comes this stuff! |