English Amiga Board


Go Back   English Amiga Board > Support > support.FS-UAE

 
 
Thread Tools
Old 29 September 2015, 16:26   #21
tlosm
Registered User
 
Join Date: Sep 2014
Location: italy
Posts: 189
Quote:
Originally Posted by Hypex View Post
I don't have OpenAL in my Frameworks. Only SDL, I presume to be SDL 1.

But it is opening OpenAL from somewhere since it did crash in an OpenAL method. ;-)

The hangs appear to be different.
Install SDL2 i had been noticed where you can find it ... openAL is needed .. i have it in my frameworks probably come with some software or with lastest osx dev kit for leopard ppc :-) in any way better have the frameworks in the library dir :-P
tlosm is offline  
Old 09 October 2015, 19:43   #22
eastone
Registered User
 
Join Date: Nov 2014
Location: Vaasa
Posts: 23
Quote:
Originally Posted by Hypex View Post
.....So OS4 started to boot off CD. And then it crashed on a red and blue screen. Sigh...
I have the same problem
Before crash this is the last screen what I can see: "Loading AmigaOS 4.1 Final Edition Kiskstart.."
The last working for me version is 2.5.30
eastone is offline  
Old 09 October 2015, 21:02   #23
tlosm
Registered User
 
Join Date: Sep 2014
Location: italy
Posts: 189
Quote:
Originally Posted by eastone View Post
I have the same problem
Before crash this is the last screen what I can see: "Loading AmigaOS 4.1 Final Edition Kiskstart.."
The last working for me version is 2.5.30
yes SnakeCoils forgot to put the patches on last builds.
tlosm is offline  
Old 09 October 2015, 23:32   #24
eastone
Registered User
 
Join Date: Nov 2014
Location: Vaasa
Posts: 23
Quote:
Originally Posted by eastone View Post
I have the same problem
Before crash this is the last screen what I can see: "Loading AmigaOS 4.1 Final Edition Kiskstart.."
The last working for me version is 2.5.30
It is not even crashing, just does not load qemu plugin
https://plus.google.com/u/0/11351068...86010520773635

eastone is offline  
Old 10 October 2015, 00:58   #25
SnakeCoils
Registered User
 
Join Date: Mar 2014
Location: Italy
Posts: 164
Quote:
Originally Posted by tlosm View Post
yes SnakeCoils forgot to put the patches on last builds.
I forgot nothing. I always pick the official source and I compile it following the steps I have illustrated here:

http://eab.abime.net/showpost.php?p=...&postcount=229

If the resulting build is not suitable for your needs (for mine it works) please install the dev tools on your system and make the modifications you want.
As far I can understand the problem with Amiga PPC environment is related to an external plugin not to the FS-UAE main structure so it will be more productive to focus the efforts on this point instead of patching something that is not strictly needed. What I am saying here is that every issue must be solved in the source when the origin of the problem is in the source, if it is outside is not a Frode's business.
I am not the OSX PPC mantainer for FS-UAE, I simply compile it from the source and then I do a quick test to see bugs or improvements giving a feedback to Frode if needed. But everyone else can do this.
I am not interested in the Amiga PPC evolution, only the 68k chapter is important to me and I am doing my best to do a quick and accurate report of issues on this side.
Tlosm, I do not include your patch because I think that an AmigaPPC machine that is not fully functional starting from the source should not be enabled because when users reports an issue about that is not clear if the origin is in the FS-UAE source or in the modification made to allow it to boot: if you made changes to the source you are responsible for that changes and you must provide support for that. Can you see the point?

Last edited by SnakeCoils; 10 October 2015 at 08:58.
SnakeCoils is offline  
Old 10 October 2015, 20:47   #26
tlosm
Registered User
 
Join Date: Sep 2014
Location: italy
Posts: 189
Quote:
Originally Posted by eastone View Post
It is not even crashing, just does not load qemu plugin
https://plus.google.com/u/0/11351068...86010520773635

Did you installed my last one qemu plugin ?

https://www.dropbox.com/s/x2srrvbata...mu-uae.so?dl=0

@SnakeCoils
I will mantain it but im swapping home and need to clean my Quad G5 because i make to much rubbish inside the dev box and not build nothing any moore ...
In november i think i will start again build it
tlosm is offline  
Old 10 October 2015, 22:03   #27
eastone
Registered User
 
Join Date: Nov 2014
Location: Vaasa
Posts: 23
Quote:
Originally Posted by tlosm View Post
Did you installed my last one qemu plugin ?

https://www.dropbox.com/s/x2srrvbata...mu-uae.so?dl=0
I also tried this version but the same effect.
eastone is offline  
Old 11 October 2015, 17:36   #28
tlosm
Registered User
 
Join Date: Sep 2014
Location: italy
Posts: 189
Quote:
Originally Posted by eastone View Post
I also tried this version but the same effect.
The SnakeCoils is not with my PPC patch for have Os4 running on it .
you can download my old build from here

Dev 2.5.30

https://www.dropbox.com/s/cv58e26vkr....5.30.zip?dl=0
tlosm is offline  
Old 12 October 2015, 17:35   #29
eastone
Registered User
 
Join Date: Nov 2014
Location: Vaasa
Posts: 23
@tlosm

No change
Please check my log:

fs-uae.log.txt.zip
eastone is offline  
Old 13 October 2015, 03:06   #30
Hypex
Registered User
 
Join Date: May 2015
Location: Australia
Posts: 131
Hello again. I see my thread is still active. Here is a link to SDL2 if needed.
https://www..com/?z271aj8pts8wr
Hypex is offline  
Old 13 October 2015, 12:16   #31
SnakeCoils
Registered User
 
Join Date: Mar 2014
Location: Italy
Posts: 164
Looking in The Zone! seems that someone has niceley compiled a modified 2.7.2dev with OS4 compatibility...
SnakeCoils is offline  
Old 15 October 2015, 14:26   #32
tlosm
Registered User
 
Join Date: Sep 2014
Location: italy
Posts: 189
Quote:
Originally Posted by SnakeCoils View Post
Looking in The Zone! seems that someone has niceley compiled a modified 2.7.2dev with OS4 compatibility...
@SnakeCoils who is this one ? ;-)
tlosm is offline  
Old 21 October 2015, 03:19   #33
Hypex
Registered User
 
Join Date: May 2015
Location: Australia
Posts: 131
Quote:
Originally Posted by SnakeCoils View Post
Looking in The Zone! seems that someone has niceley compiled a modified 2.7.2dev with OS4 compatibility...
Thanks for the hint. I tested this with a default config and it loaded up but seemed dead slow. The sound stuttered badly and it took ages for AROS KS to load up. I think it also took a toll on my system. I was able to close it once I got my pointer back. Any log output be useful in seeing what was holding it up?
Hypex is offline  
Old 22 October 2015, 22:16   #34
SnakeCoils
Registered User
 
Join Date: Mar 2014
Location: Italy
Posts: 164
@Hypex
A big effort has been put in FS-UAE to have an highly portable emulator that can run on a variety of different platforms and therefore is little optimized for specific platforms, the poor performance on PPC hosts is because a great accuracy in the Amiga emulation but also for the lack of a JIT recompiler for PPC hosts (like PowerMacs) that could boost a lot some things.
Additionally when the PPC guest emulation is needed (Blizzard or CyberStorm PPC) the PPC hosts (PowerMacs) cannot at present take advantage of this, since every instruction must be "rebuilt" and not passed to the host CPU directly.
If you want to run AmigaOS4 in a useful manner go straight to x86 hosts, you will not be disappointed expecially after the recent progress on JIT x86 recompiler.
The only solution for PowerMac users (or other PPC systems) is that someone skilled enough in PPC assembly would join the FS-UAE development to add a proper JIT recompiler also for PPC hosts, a 68k recompiler would be already a big, big improvement.
SnakeCoils is offline  
Old 22 October 2015, 22:41   #35
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
Btw, there already exists a M68K -> PPC JIT compiler (for E-UAE): http://euaejit.blogspot.no/. Should be possible to integrate, but probably requires at least a semi-skilled developer (I haven't look at the code)
FrodeSolheim is offline  
Old 23 October 2015, 20:24   #36
tlosm
Registered User
 
Join Date: Sep 2014
Location: italy
Posts: 189
Quote:
Originally Posted by FrodeSolheim View Post
Btw, there already exists a M68K -> PPC JIT compiler (for E-UAE): http://euaejit.blogspot.no/. Should be possible to integrate, but probably requires at least a semi-skilled developer (I haven't look at the code)
Yes Frode was made by a friend of mine:Almos ... and it is really working good .
On AmigaPPC and on Apples PPC . it was Tested by me :-P
tlosm is offline  
Old 23 October 2015, 23:10   #37
SnakeCoils
Registered User
 
Join Date: Mar 2014
Location: Italy
Posts: 164
It would be great if Almos will give the permission to use his 68k JIT engine in the FS-UAE emulator, additionally there are optimized versions also for G4 and G5 PPC hosts.
I really hope the E-UAE JIT integration in FS-UAE will happen and it will not cause too much headaches to Frode ;-)
SnakeCoils is offline  
Old 24 October 2015, 04:41   #38
Hypex
Registered User
 
Join Date: May 2015
Location: Australia
Posts: 131
Argh!!! It's done it again! Twice! EAB asked me to log in when I wanted to preview it and deleted my entire post again! This site is frustrating. And a lot of sites are doing this now. Time to give up and uninstall the internet from my computer!

Quote:
Originally Posted by SnakeCoils View Post
@Hypex
A big effort has been put in FS-UAE to have an highly portable emulator that can run on a variety of different platforms
As long as that platform is little endian.

Quote:
and therefore is little optimized for specific platforms, the poor performance on PPC hosts is because a great accuracy in the Amiga emulation but also for the lack of a JIT recompiler for PPC hosts (like PowerMacs) that could boost a lot some things.
In my case I don't need JIT at all. I was just using a generic setup with an AROS A500. It has no cache.

But maybe this is a Mac thing. Despite having OpenGL and HW acceleration I always find UAE performance on my Mac is crap. I play Worms AGA on my G3 800Mhz A1 with EUAE and it's fine. On my Mac G4 1.5Ghz it stutters! :-?

Using it as an RTG setup appears to work fine. My G3 500Mhz Mac was okay emulating Workbench and I even booted it to use the OS3.9 search feature when I couldn't figure out how to use Spotlight. Which still misses files.

Quote:
Additionally when the PPC guest emulation is needed (Blizzard or CyberStorm PPC) the PPC hosts (PowerMacs) cannot at present take advantage of this, since every instruction must be "rebuilt" and not passed to the host CPU directly.
Well PPC performance is not my problem. My problem is I can't even get the PPC to work at all. I am emulating a dead PPC CPU! I've seen the real thing.

Quote:
If you want to run AmigaOS4 in a useful manner go straight to x86 hosts, you will not be disappointed expecially after the recent progress on JIT x86 recompiler.
I just want to run it at all! I just want to see it boot! But it seems on PPC this is too hard. There is no user friendly compile of FS-UIAE you can download from a public place that works out of the box. This is what I can gather. So you need to download this program from this forum you don't have an account on in a section you need to register another account on. Then download this file from another site where you also don't have an account on and rip some system file out and stick it in your system. Then you need this other system file and good luck finding it! And you should have XCode and all this other stuff installed and use it to install these other files. I'm serious! This has pretty much been my experience! And that didn't include all the ROM files you need aside from FS-UAE itself! :O

I am using Mac OSX, where it is meant to have user friendliness and higher standards. I am not using Amiga x.x where the standards are lowered because Amiga programmers don't know nor care to package things correctly nor test it on a base system and the users accept it because it's Amiga. Just because I am using an Amiga related program why do I have to search all over the internet looking for system files? Sorry but I find the standards in the Amiga scene have really dropped in recent years.

A friend asked me to send links of where to get FS-UAE and what ever else needed. Being new to OSX/PPC. I was almost filled with dread. I spent over an hour trying to collect all files and email it. That mostly were on my system. OSX doesn't help when it converts zips to folders and doesn't let you look inside a zip. Especially when the download link is broken. The one I posted is broken now and I don't know where you get SDL2 from now. And I don't know if it will even work on another system.

Quote:
The only solution for PowerMac users (or other PPC systems) is that someone skilled enough in PPC assembly would join the FS-UAE development to add a proper JIT recompiler also for PPC hosts, a 68k recompiler would be already a big, big improvement.
As stated, there is already 68K JIT. But I don't think a PPC JIT would be needed. Well not like for x86. Being the host is PPC it makes sense to execute the code directly and the OS4 powerpc.library is an example of this. 604e code can be quite compatible with a G3/G4. I think if it examines code, copy what's compatible then filter out what isn't and convert it to a substitute, that could work. The only problem then is memory read/write access where it tends to get converted into a hook call. Possibly the MMU could be programmed here so the original code could run and exceptions used to hook into memory access. Then the code could run at near host native speeds. On par with x86 speed but still short.
Hypex is offline  
Old 24 October 2015, 10:48   #39
tlosm
Registered User
 
Join Date: Sep 2014
Location: italy
Posts: 189
Hypex,
from my side on my quad working mine old ports and the last SnakeCoils too. everything run like it have to .
im pretty sure you need some library in your mac... in past i had crashes because i dont know why leopard installer install x86 libraries and not PPC
tlosm is offline  
Old 01 November 2015, 14:14   #40
Hypex
Registered User
 
Join Date: May 2015
Location: Australia
Posts: 131
Hello back after some testing.

Well I've put everything in that I've read about. It would help if each build included all the needed libs and whatnot. It seems a bit pointless to me for someone to say it needs this or that with their build of software when they could just include it! Yes I know it's in a beta state but people will be unable to test if they need to be a programmer with a full dev set up on their Mac. Not everyone is like that. ;-)

I've found with the FS-UAE 2.7.2dev build that it can be tripped easy and crash. For example I was testing with cdrom_drive_0 and used cdrom_image_ 0 instead. It just crashed randomly.

There is a problem with the PPC emulation. I found today it doesn't load it for some reason. And then crashes. Given it looks like a loading error I wonder why it crashes. Seems to be a bit disorganised for an OS to just crash when a binary doesn't load.

Here is a log I managed to grab from the CLI:
Code:
UAE: Initializing core derived from WinUAE 3200b15
LOG: /Users/Damien/Documents/FS-UAE/Cache/Logs/fs-uae.log.txt
UAE: KS ROM 917100a0 (524288 bytes)
 -- stub -- my_setcurrentdir curdir="/Users/Damien/Documents/FS-UAE/CD-ROMs" oldcur=""
 -- stub -- my_setcurrentdir curdir="/Users/Damien/Documents/FS-UAE/CD-ROMs" oldcur=""
 -- stub -- my_setcurrentdir curdir="/Users/Damien/Documents/FS-UAE/CD-ROMs" oldcur=""
 -- stub -- my_setcurrentdir curdir="/Users/Damien/Documents/FS-UAE/CD-ROMs" oldcur=""
 -- stub -- my_setcurrentdir curdir="/Users/Damien/Documents/FS-UAE/CD-ROMs" oldcur=""
MESSAGE: Error loading qemu-uae plugin

WARNING: Error loading qemu-uae plugin

MESSAGE: PPC: Error loading qemu-uae plugin

WARNING: PPC: Error loading qemu-uae plugin

Bus error
And an excerpt from the resulting crash:
Code:
Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread:  6

Thread 6 Crashed:
0   ???                           	0000000000 0 + 0
1   no.fengestad.fs-uae           	0x00264610 0x2000 + 2500112
2   no.fengestad.fs-uae           	0x00212214 0x2000 + 2163220
3   no.fengestad.fs-uae           	0x00213160 0x2000 + 2167136
4   no.fengestad.fs-uae           	0x0007d49c 0x2000 + 504988
5   no.fengestad.fs-uae           	0x0007de48 0x2000 + 507464
6   no.fengestad.fs-uae           	0x00323e98 0x2000 + 3284632
7   no.fengestad.fs-uae           	0x0022e1d0 0x2000 + 2277840
8   no.fengestad.fs-uae           	0x0022fc1c 0x2000 + 2284572
9   no.fengestad.fs-uae           	0x001d398c 0x2000 + 1907084
10  no.fengestad.fs-uae           	0x00245a48 0x2000 + 2374216
11  no.fengestad.fs-uae           	0x0000d5fc 0x2000 + 46588
12  no.fengestad.fs-uae           	0x009f6064 0x2000 + 10436708
13  libglib-2.0.0.dylib           	0x0575e098 g_thread_proxy + 164
14  libSystem.B.dylib             	0x96ca5f74 _pthread_start + 320
15  ???                           	0000000000 0 + 0

Thread 6 crashed with PPC Thread State 32:
  srr0: 0x00000000  srr1: 0x4200d030   dar: 0xf0697050 dsisr: 0x42000000
    r0: 0x00000000    r1: 0xf030a900    r2: 0xffffffff    r3: 0x00000000
    r4: 0x00200000    r5: 0x00000000    r6: 0x00000000    r7: 0x00000001
    r8: 0x00cc0b58    r9: 0x00000000   r10: 0x053e39e0   r11: 0x000000c0
   r12: 0x00000000   r13: 0x00c0f418   r14: 0x000109c7   r15: 0x043030f0
   r16: 0x01e9f418   r17: 0x042e30f0   r18: 0x000109aa   r19: 0x054a46e0
   r20: 0x000109be   r21: 0x01e9f418   r22: 0x00c0f418   r23: 0x00cd3050
   r24: 0x042f30f0   r25: 0x042e30f0   r26: 0x00000000   r27: 0x00d2d448
   r28: 0x00000000   r29: 0x00000001   r30: 0x01f013d0   r31: 0x002645b0
    cr: 0x28022424   xer: 0x20000004    lr: 0x00264610   ctr: 0x00000000
vrsave: 0x00000000
Hypex is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
FS-UAE for G4 ppc OSX 10.5.8 elowan support.FS-UAE 35 10 November 2014 19:22
OSX (PPC) build and CD32 audio tracks snakecoils support.FS-UAE 9 28 March 2014 00:04
[Solved] FS-UAE 2.1.10 build fails on OSX PPC mr_a500 support.FS-UAE 6 12 April 2013 18:40
FS-UAE (OSX-PPC) - No OSD menu? snakecoils support.FS-UAE 10 22 March 2013 22:51
FS-UAE 2.0: How make an OSX PPC build? [Solved] snakecoils support.FS-UAE 8 04 November 2012 17:06

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 19:42.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.51760 seconds with 16 queries