Amiga.org

The "Not Quite Amiga but still computer related category" => Amiga Emulation => Topic started by: TheMagicM on October 18, 2012, 01:36:30 AM

Title: E-UAE segfaults on Linux Mint 13
Post by: TheMagicM on October 18, 2012, 01:36:30 AM
Anyone using E-UAE successfully on LM13 64bit ?   Sucks that I cant emulate under Linux at the moment.

themagicm@mintsamsung:~$ e-uae
E-UAE 0.8.29-WIP4
Build date: Jun  8 2010 05:19:30
SDLGFX: Initialized.
SDLGFX: Using SDL version 1.2.14.
SDLGFX: Display is 32 bits deep.
SDLGFX: Found screenmode: 1280x800.
SDLGFX: Found screenmode: 1024x768.
SDLGFX: Found screenmode: 800x600.
SDLGFX: Found screenmode: 640x480.
Found 0 joystick(s)
Found x11pc raw keyboard mapping
Using cooked keymap
Opening cfgfile '/home/themagicm/.e-uaerc'...okay.
unknown config entry: 'sdl.use_gl=false'
unknown config entry: 'alsa.device=default'
unknown config entry: 'alsa.verbose=false'
Testing the RDTSC instruction ... done.
TSC frequency: 1995.000000 MHz
Found x11pc raw keyboard mapping
Using cooked keymap
Segmentation fault (core dumped)

dmesg output:

[ 2927.640382] e-uae[2700]: segfault at f00ae064 ip 00007f99fda84cdd sp 00007f99f68179e0 error 4 in libgobject-2.0.so.0.3200.3[7f99fda55000+4d000]
Title: Re: E-UAE segfaults on Linux Mint 13
Post by: Blizzard on October 18, 2012, 08:25:52 AM
Quote from: TheMagicM;711830
Anyone using E-UAE successfully on LM13 64bit ?   Sucks that I cant emulate under Linux at the moment.

themagicm@mintsamsung:~$ e-uae
E-UAE 0.8.29-WIP4
Build date: Jun  8 2010 05:19:30
SDLGFX: Initialized.
SDLGFX: Using SDL version 1.2.14.
SDLGFX: Display is 32 bits deep.
SDLGFX: Found screenmode: 1280x800.
SDLGFX: Found screenmode: 1024x768.
SDLGFX: Found screenmode: 800x600.
SDLGFX: Found screenmode: 640x480.
Found 0 joystick(s)
Found x11pc raw keyboard mapping
Using cooked keymap
Opening cfgfile '/home/themagicm/.e-uaerc'...okay.
unknown config entry: 'sdl.use_gl=false'
unknown config entry: 'alsa.device=default'
unknown config entry: 'alsa.verbose=false'
Testing the RDTSC instruction ... done.
TSC frequency: 1995.000000 MHz
Found x11pc raw keyboard mapping
Using cooked keymap
Segmentation fault (core dumped)

dmesg output:

[ 2927.640382] e-uae[2700]: segfault at f00ae064 ip 00007f99fda84cdd sp 00007f99f68179e0 error 4 in libgobject-2.0.so.0.3200.3[7f99fda55000+4d000]



Why not switch to FS-UAE? Its based on the latest WinUAE sources and E-UAE is getting old now. Not sure about ur error tho, Iv never had a problem running either on PCLinuxOS. If you must use E-UAE could you try a different build?
Title: Re: E-UAE segfaults on Linux Mint 13
Post by: TheMagicM on October 18, 2012, 12:59:12 PM
because its a pain in the butt to have to edit a text file to change settings, insert new disks etc..  Dont know if that functionality is there since the last time I used it.
Title: Re: E-UAE segfaults on Linux Mint 13
Post by: _ThEcRoW on October 18, 2012, 01:48:37 PM
Why not use winuae under wine?. It works ok, and is better than e-uae.
Title: Re: E-UAE segfaults on Linux Mint 13
Post by: Blizzard on October 18, 2012, 05:50:18 PM
Quote from: TheMagicM;711861
because its a pain in the butt to have to edit a text file to change settings, insert new disks etc..  Dont know if that functionality is there since the last time I used it.

There is now FS-UAE launcher which is supposed to give a WinUAE style interface for configuring options, Ive not used it tho as I just have a A4000/040 setup with AmigaSYS and WHDLoad games so i just setup it up once and be done with it.

Floppys can be easily mounted via the bulit in gui.

Also, as said if not tried WinUAE via Wine is another great alternative although I have always had issues changing between native & p96 graphic modes on the fly...
Title: Re: E-UAE segfaults on Linux Mint 13
Post by: TheMagicM on October 20, 2012, 08:29:33 PM
Well.. WinUAE "works" but sound is choppy.   I'm running this on a M1330 Laptop, 4gb ram, core2duo 2ghz.  

Even though E-UAE was dated, it worked much better than WinUAE.  Damn.  Hopefully the author of E-UAE replies to my email and fixes the problem.  Havent heard from him though.

EDIT: ok..just updated to the latest FS-UAE with the Launcher.. I like the interface.  Time to test :-)

EDIT 2:  meh.  not that great.  Sound gets choppy, game lags as if my system is too slow.  (SideWinder was the test game).

EDIT 3: lol...ok, if I use it in A4000 68040 mode, much smoother as if I was using an A500.
Title: Re: E-UAE segfaults on Linux Mint 13
Post by: Blizzard on October 21, 2012, 01:06:21 AM
Quote from: TheMagicM;712097
Well.. WinUAE "works" but sound is choppy.   I'm running this on a M1330 Laptop, 4gb ram, core2duo 2ghz.  

Even though E-UAE was dated, it worked much better than WinUAE.  Damn.  Hopefully the author of E-UAE replies to my email and fixes the problem.  Havent heard from him though.

EDIT: ok..just updated to the latest FS-UAE with the Launcher.. I like the interface.  Time to test :-)

EDIT 2:  meh.  not that great.  Sound gets choppy, game lags as if my system is too slow.  (SideWinder was the test game).

EDIT 3: lol...ok, if I use it in A4000 68040 mode, much smoother as if I was using an A500.


Have you got jit enabled? Makes a fair difference but dont think its enabled by default. I run it on a 2gb 1.8ghz core2duo laptop and get fantastic results.
Title: Re: E-UAE segfaults on Linux Mint 13
Post by: TheMagicM on October 21, 2012, 01:08:54 AM
Quote from: Blizzard;712110
Have you got jit enabled? Makes a fair difference but dont think its enabled by default. I run it on a 2gb 1.8ghz core2duo laptop and get fantastic results.


I dont have that option in FS UAE Launcher.  I dont know if its enabled when I select "Amiga 4000/040".
Title: Re: E-UAE segfaults on Linux Mint 13
Post by: Blizzard on October 21, 2012, 01:45:55 AM
Quote from: TheMagicM;712112
I dont have that option in FS UAE Launcher.  I dont know if its enabled when I select "Amiga 4000/040".


Might be something you have to dig into the config file for... look for uae_cachesize which should = 8192.

Jit was available from versions 1.3.5 up x86 32bit builds only :)
Title: Re: E-UAE segfaults on Linux Mint 13
Post by: FrodeSolheim on October 24, 2012, 08:29:55 PM
Quote from: TheMagicM;712097
EDIT: ok..just updated to the latest FS-UAE with the Launcher.. I like the interface.  Time to test :-)
EDIT 2:  meh.  not that great.  Sound gets choppy, game lags as if my system is too slow.  (SideWinder was the test game).
EDIT 3: lol...ok, if I use it in A4000 68040 mode, much smoother as if I was using an A500.


Hi, Amiga emulation at highest accuracy is a bit demanding. If you set accuracy to "less accurate" in FS-UAE Launcher (corresponding to FS-UAE option "accuracy = 0"), Amiga 500 emulation will no longer be cycle exact, and will require a lot less CPU to emulate. For most games, this is not a problem, and should generally be much more compatible with games than using the A4000/040 model (A4000 emulation is never cycle exact, which is why it runs faster).

Another thing that will make FS-UAE run lighter is to disable syncing to the display refresh. In the launcher, you can open the settings dialog (the rightmost toolbar icon), go to "Custom Settings", and put in this line:
Code: [Select]

video_sync = off


Not directly related to your case, also note that 68020 emulation is much more demanding than 68000, so it's normally a good idea to use A500/A600 rather than A1200 if the game does not need or benefit from the latter.
Title: Re: E-UAE segfaults on Linux Mint 13
Post by: bison on January 24, 2013, 05:26:34 AM
Quote from: TheMagicM;712097
Hopefully the author of E-UAE replies to my email and fixes the problem.  Havent heard from him though.


Did he ever get back to you?  I'm looking for a solution to the same problem.
Title: Re: E-UAE segfaults on Linux Mint 13
Post by: TheMagicM on January 24, 2013, 01:58:24 PM
No.  I gave up..and now that FS-UAE is coming along well, I'm using that instead.
Title: Re: E-UAE segfaults on Linux Mint 13
Post by: bison on January 24, 2013, 06:51:47 PM
Yeah, I switched to FS-UAE as well, but I have this weird problem where exiting full screen mode will cause my X session to end.  So all my apps close, and I'm sitting there looking at the GDM.  It doesn't happen all the time.

I'm using Mint 13 with 14 back-ports, but I'm thinking of trying Mint 14 to see if the E-UAE problem has been fixed.