xbox-scene.com - your xbox news information source
Quick Links: Main Forums | Xbox360 Forums | Xbox1 Forums | PS3 Forums
Xbox-Scene Forum Help  Search Xbox-Scene Forums   Xbox-Scene Forum Members   Xbox-Scene Calendar

Giganews Usenet Offers: +1150 days binary retention, 99%+ Completion, and Unlimited Speed/Access!

360 ODD Emulators: X360 Key $99 | Wasabi360 FAT $99 | Wasabi360 Slim $99
C4E's iXtreme Burner MAX Drive: LiteOn iHAS124 DROPPED TO JUST $17


Welcome Guest ( Log In | Register )

 Forum Rules Rules
> Framerate With Sdl
hcf
post May 6 2011, 12:08 PM
Post #1


X-S Senior Member
**

Group: Members
Posts: 194
Joined: 29-October 08
Member No.: 393866



I am planning to port a Windows game made with SDL, to the Xbox. So, I have made a first attempt using libSDLx with OpenXDK, but the framerate is horrible (around 7 FPS). I use 640x480 resolution and I must refresh the full screen in every frame (think that it's a SuperMarioBros-like game with scrolling background). Of course if I only refresh a little section of the screen, the FPS boosts up, but it is not possible to do this in this kind of game. And I think that 7 FPS is too much slow...

Do anyone has worked with libSDLx and knows what framerate could be expected? For example, if I use libSDLx with XDK (and not OpenXDK), would I get a better performance? Also, I saw a post of the year 2006 where friedgold said that he made a patch to correct this issue:

http://forums.xbox-scene.com/index.php?sho...amp;mode=linear

But that patch is not online anymore. In any case, I guess that this patch was added to the libSDLx distribution lately, correct?

So, I would need some help from someone who has worked with SDL on the Xbox. What is the way to get a best framerate? XDK is better than OpenXDK? Any option of the Video Mode? (I think that I have tried with all the options...) Any patch for libSDLx to upgrade the framerate?
Thank you very much!!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
weinerschnitzel
post May 20 2011, 06:56 PM
Post #2


X-S Senior Member
**

Group: Dev/Contributor
Posts: 274
Joined: 14-May 05
Member No.: 220875
Xbox Version: v1.0
360 version: v4.0 (jasper)



With directx it would be a matter of changing the back buffer to 1280x720, setting some video flags to enable it, then just making sure the game outputs to that resolution.

With Hyper_Eye's changes to libSDLx, you should just be able to change the resolution like you normally would and if its supported you'll be able to use it. He could probably tell you exactly what to change. I on the other hand haven't played with an SDL front end, so I would have to toy around with it before giving you a definitive answer.

I'll test it for you on HDTV no problem.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post







Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 23rd May 2013 - 06:36 PM