Amiga.org

Operating System Specific Discussions => Linux PPC discussion => Topic started by: gaula92 on October 14, 2008, 11:15:04 PM

Title: Linux PPC and Vsync for really smoth scroll
Post by: gaula92 on October 14, 2008, 11:15:04 PM
Back in the Amiga days, we had A LOT of demos, games, etc.. that featured perfect sroll, with smooth graphics. Amiga used exact PAL and/or NTSC timmings, so considering the TV as a cheap, interlaced low-res monitor, it could archieve fixed-sync graphics and effects.

I see Linux is a VERY capable os, not nearly as well-designed for desktop as Amiga and Amiga-like OS, but it features a thin hardware abstraction system that makes it very suitable for old-school programming in my opinion.

The problem is, I just CAN NOT FIND a single game or demo that can archieve smooth 2D scroll in Linux! Most of them use SDL for graphics abstraction, and I think SDL provides optional vsync in the latest versions: can you confirm this? Do you know other methods of archiveing smoth vsynced graphics in PPC-Linux?

Thanks!
Title: Re: Linux PPC and Vsync for really smoth scroll
Post by: SamuraiCrow on October 15, 2008, 01:12:26 AM
A lot of SDL code uses OpenGL internally to improve graphics plotting speed, especially for image rotation, image scaling, and alpha-blending.  OpenGL may support VSync or not, depending on the video drivers you have installed.  That seems to be the first place I'd look if I wanted to find out if my system could do VSync.
Title: Re: Linux PPC and Vsync for really smoth scroll
Post by: mikrucio on October 15, 2008, 02:35:43 AM
just use winaue man. sheeesh..
Title: Re: Linux PPC and Vsync for really smoth scroll
Post by: MarkWatson on October 15, 2008, 04:24:34 AM
I seem to remember mythTV code has a number of vsync methods. Suggest grabbing that and taking a look... Not 100% reliable on all systems though. I seem to remember I had to hack X to get this stuff working better when fiddling with my PVR...

Mark