Welcome, Guest. Please login or register.
Amiga Kit Amiga Store Iridium Banner AMIStore App Store A1200/A600 4xIDE Interface

AuthorTopic: Linux PPC and Vsync for really smoth scroll  (Read 1385 times)

0 Members and 1 Guest are viewing this topic.

Offline gaula92

Linux PPC and Vsync for really smoth scroll
« 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!
 

Offline SamuraiCrow

Re: Linux PPC and Vsync for really smoth scroll
« Reply #1 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.
 

Offline mikrucio

Re: Linux PPC and Vsync for really smoth scroll
« Reply #2 on: October 15, 2008, 02:35:43 AM »
just use winaue man. sheeesh..
 

Offline MarkWatson

Re: Linux PPC and Vsync for really smoth scroll
« Reply #3 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