Amiga.org

The "Not Quite Amiga but still computer related category" => Amiga Emulation => Topic started by: james666 on February 04, 2006, 05:11:03 PM

Title: How can UAE be made to run at a decent speed on Linux?
Post by: james666 on February 04, 2006, 05:11:03 PM
I started playing with Amiga emulation about 6 years ago when I installed WinUAE 8.8 on a 400 Mhz Pentium II Celeron system running Windows 98.  There were a couple of programs that didn't run and a couple more with minor sound glitches, but overall  the emulation was damn-near flawless.  On full-screen mode it was easy to entertain the fantasy that I had me a real Amiga with a hefty processor upgrade, flixer-fixer and proper monitor.  As far as I'm concerned WinUAE reached its apogee with version 8.8.  Subsequent versions seemed to get slower, glitchier and less stable, JIT or no JIT.

Now I'm a few years older and more paranoid, and I prefer to use Linux (Suse 9.2) as my primary operating system.  The only problem arises when I want to get my Amiga fix, because UAE on Linux runs like a sloth on downers.  Sound is glitchy and scrolling reminds one of an Atari ST on a bad day.  The comparison with WinUAE 8.8 under XP on the same machine or under Win98 on an earlier generation of hardware is painful.  I've tried E-UAE 0.8.28, compiled it with SDL but without JIT or cycle exact emulation and was disappointed.  Then I moved on to UAE-0.8.25, which runs a little smoother, but not much.  Finally I tried UAE-0.8.8, which is the best of the lot so far despite some difficulties persuading it to compile.  It runs a couple of games at full frame rate but still mostly sucks.  What's going on here?  The underlying code is mostly the same between Windows and Unix versions isn't it?  And I don't have any problems running full screen DVDs, which I would have thought would make greater demands
on my video hardware than a 320x256x32 Amiga display.  Has anyone else had more luck?
Title: Re: How can UAE be made to run at a decent speed on Linux?
Post by: Failure on February 04, 2006, 05:21:47 PM
Quote

james666 wrote:
I've tried E-UAE 0.8.28, compiled it with SDL but without JIT or cycle exact emulation and was disappointed.


If I read your post correctly, you are not using JIT when you are in Linux.  Why not?  I've been very happy with the latest E-UAE using JIT.  It used to crash for me on earlier releases but it seems fine now, as well as very fast.  I don't use WinUAE though so I don't really have a good comparison there.
Title: Re: How can UAE be made to run at a decent speed on Linux?
Post by: zefiro on February 04, 2006, 06:21:07 PM
I use e-uae_0.8.28-RC2_linux-i586_sdl and it's very fast !
No problem at all.
Title: Re: How can UAE be made to run at a decent speed on Linux?
Post by: pVC on February 04, 2006, 07:28:00 PM
Have you got bsdsocket-emulation to work on any UAE under Linux? I tried quite recently with E-UAE, but it crashed always when trying to access the net.
Title: Re: How can UAE be made to run at a decent speed on Linux?
Post by: zefiro on February 04, 2006, 09:10:37 PM

@pVC

I have the same problem, any solution ?
Title: Re: How can UAE be made to run at a decent speed on Linux?
Post by: james666 on February 05, 2006, 02:32:57 AM
Quote

Failure wrote:
Quote


If I read your post correctly, you are not using JIT when you are in Linux.  Why not?  I've been very happy with the latest E-UAE using JIT.  It used to crash for me on earlier releases but it seems fine now, as well as very fast.  I don't use WinUAE though so I don't really have a good comparison there.


I gave JIT another try on E-UAE.  I don't see any difference in the graphics and sound emulation speed of 2D games.  It's still a lot slower than UAE 0.8.8.  I guess I just need a faster PC.
Title: Re: How can UAE be made to run at a decent speed on Linux?
Post by: amigadave on February 05, 2006, 05:23:16 AM
@james666,  you aren't still running on a 400mHz Celeron are you?  I suggest at least 800mHz PIII or faster.  For any kind of emulation, faster PC = better emulation.
Title: Re: How can UAE be made to run at a decent speed on Linux?
Post by: james666 on February 05, 2006, 12:58:46 PM
Quote

amigadave wrote:
@james666,  you aren't still running on a 400mHz Celeron are you?  I suggest at least 800mHz PIII or faster.


No, I now have a 1.4Ghz P4.  It is certainly fast enough to run UAE, but so far only under Windows XP.  WinUAE 0.8.8 on the 400Mhz Celeron was also plenty fast enough.  The conclusion I draw is that the Direct X routines in Windows are a lot more efficient than their Linux equivalents.  Pity about the security...