Results 1 to 8 of 8

Thread: SDL performance too slow to be normal

                  
   
  1. #1
    DCEmu Newbie
    Join Date
    Oct 2008
    Posts
    5
    Rep Power
    0

    Default SDL performance too slow to be normal

    I've recently started porting some of my SDL games to the dreamcast among other platforms however my current game is going horribly slow something that should take 1 second is taking about 13. Any ideas?

  2. #2
    Sir Digby Chicken Caesar Darksaviour69's Avatar
    Join Date
    Mar 2004
    Location
    Armagh, Ireland
    Age
    42
    Posts
    7,005
    Rep Power
    50

    Default

    I heard the are a good few problems with the DC sdl port (memory leak? ), but i'm no expert.

  3. #3
    The Long Claw of the Law BlueCrab's Avatar
    Join Date
    Apr 2004
    Age
    37
    Posts
    1,215
    Rep Power
    50

    Default

    The Dreamcast version of SDL is pretty much rubbish. Any serious development for the Dreamcast should avoid it, pretty much at all costs. If you're serious about doing Dreamcast development, its actually very easy to use KallistiOS directly for most things, and you'll generally end up with a much better result.

    One thing to realize though is that the Dreamcast is nowhere near as powerful as any other machines that you're likely testing it against. Something that takes 1 second on a decently specced PC (something at least 2GHz) could very well take 13 seconds on the Dreamcast (which is only 200MHz). Anything compute-intensive will take a lot longer to do on the DC than a decent PC.
    Sylverant PSO Server
    http://crabemu.sourceforge.net/
    irc.freenode.net #dreamcastdev #dcemuuk #yabause #ljsdcdev

  4. #4
    DCEmu Newbie
    Join Date
    Oct 2008
    Posts
    5
    Rep Power
    0

    Default

    Well the games when I had wrote them I made sure that they where light on resources (8MB ram usage tops). The main issue I am having seems to be redrawing stuff on the screen. I guess I could just use KOS instead of SDL though, but are there anyways I can make things run faster?

  5. #5
    The Long Claw of the Law BlueCrab's Avatar
    Join Date
    Apr 2004
    Age
    37
    Posts
    1,215
    Rep Power
    50

    Default

    There are other supposably faster versions of SDL out there for the Dreamcast, but in my experience, they're less stable and more prone to crashing.

    Its easier to rewrite stuff than to try to work around the bugs.
    Sylverant PSO Server
    http://crabemu.sourceforge.net/
    irc.freenode.net #dreamcastdev #dcemuuk #yabause #ljsdcdev

  6. #6
    DCEmu Newbie
    Join Date
    Oct 2008
    Posts
    5
    Rep Power
    0

    Default

    I see, well thanks for the help.

  7. #7

    Default

    BlueCrab is right, using KOS directly is a lot faster than SDL.

    If you wanna do a test, you can try Chui's implementation of SDL and prey to obtain a good speed

  8. #8
    DCEmu Newbie
    Join Date
    Oct 2008
    Posts
    5
    Rep Power
    0

    Default

    I've been using chui's the whole time. But either way I'm just gonna use kos instead less of a hassle.
    Last edited by soundaxis; May 27th, 2010 at 18:49.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. NeoDS - Neo Geo AES/MVS Emulator for Nintendo DS
    By wraggster in forum Nintendo News Forum
    Replies: 183
    Last Post: May 24th, 2010, 21:08
  2. Replies: 0
    Last Post: February 9th, 2010, 22:05
  3. pikey
    By OZBRN5 in forum DCEmu Gaming & General Discussion Forum
    Replies: 5
    Last Post: April 25th, 2009, 00:34
  4. Targus Keyboard Not Working with PSP PDA - Firmware 3.52 M33
    By rocketscout in forum Retro Homebrew, Hosted Releases & Console News Forum
    Replies: 3
    Last Post: April 5th, 2009, 16:15
  5. PSX-P Compatibility List Updated and Sorted by mcshortcut
    By mcshortcut in forum DCEmu Gaming & General Discussion Forum
    Replies: 79
    Last Post: February 10th, 2007, 20:27

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •