Welcome, Guest. Please login or register.

Author Topic: Linux PPC and Vsync for really smoth scroll  (Read 2182 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline gaula92Topic starter

  • Sr. Member
  • ****
  • Join Date: Dec 2007
  • Posts: 373
    • Show only replies by 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

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2275
  • Country: us
  • Gender: Male
    • Show only replies by 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

  • Party Mix \'87
  • Sr. Member
  • ****
  • Join Date: Apr 2004
  • Posts: 375
    • Show only replies by 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

  • Jr. Member
  • **
  • Join Date: Jun 2006
  • Posts: 51
    • Show only replies by MarkWatson
    • http://www.scrameta.net
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