Apple Silicon Mac M1

Linux geeks and Mac OS hipsters unite! A board for discussion of Supermodel on non-Windows platforms.
Forum rules
Keep it classy!

  • No ROM requests or links.
  • Do not ask to be a play tester.
  • Do not ask about release dates.
  • No drama!

Re: Apple Silicon Mac M1

Postby Cel_da » Wed Jan 12, 2022 4:33 am

Thanks Bart!
Yeh, I was able to do that before, but now I can't, I follow that steps and when I type the command to make the file executable (chmod +x script_name.sh) nothing happens...I think the last osx update messed with something...and if I edit an old "shortcut" I made before I get that "App Is Damaged and Can’t Be Opened. You Should Move It To The Trash" if I open one that works with the text editor and edit it and save I get the same thing..."

But it's ok I just type the commands on terminal. :cry:
Cel_da
 
Posts: 52
Joined: Thu Apr 16, 2015 2:51 am
Location: Portugal

Re: Apple Silicon Mac M1

Postby Ian » Wed Jan 12, 2022 4:11 pm

Might be of interest to apple users: https://github.com/openglonmetal/MGL
It's an opengl to metal wrapper. Not sure how mature the project is, but opengl on apple is in a pretty bad state
Ian
 
Posts: 2044
Joined: Tue Feb 23, 2016 9:23 am

Re: Apple Silicon Mac M1

Postby PapaTechnik » Tue Mar 15, 2022 12:27 pm

Wow, for me as an Windows and Apple User (Intel MacBook & M1 Mac Mini) is this an awesome News! Ok, i'm late to the party, but that's just me ;)
Have tried the Supermodel 3 GUI Version on my Ryzen 7 5800x and RTX 3070 and it runs super smooth and crisp. Now i think its time to test it on my Mac mini M1.

On my PC i have just configured my Logitech G29 Steering wheel.
I guess there is also an option for this wheel on Mac but i didn't searched and read about it.

Great Work guys! :)
PapaTechnik
 
Posts: 1
Joined: Fri Dec 04, 2020 2:14 pm

Re: Apple Silicon Mac M1

Postby drezzito » Fri Apr 22, 2022 2:17 pm

Hi guys,

Got myself a M1 and I got the following error in terminal when trying to start up the emulator:
dyld[2954]: missing symbol called

Has anyone got this? If so, is there anyway around it?

Thx in advance!
drezzito
 
Posts: 2
Joined: Thu May 28, 2020 3:12 am

Re: Apple Silicon Mac M1

Postby TheOldDragon » Thu May 19, 2022 6:48 am

drezzito wrote:Hi guys,

Got myself a M1 and I got the following error in terminal when trying to start up the emulator:
dyld[2954]: missing symbol called

Has anyone got this? If so, is there anyway around it?

Thx in advance!


Where did you get the binary from (or did you build it yourself)?

You need the SDL framework installed, and SDL_net if you have the networking capabilities baked in ; that's likely your problem.
Can you post your logs if you're still not able to get it to work?

I provided pre-built files for x64 and Apple Silicon (supermodel and the SDL_net framework):
viewtopic.php?f=5&t=2062&p=19513#p19513

Those should still work fine.

I haven't built a newer version in a while, but may have a go in the near future.
TheOldDragon
 
Posts: 62
Joined: Sat May 30, 2020 5:39 am

Re: Apple Silicon Mac M1

Postby Bart » Thu May 19, 2022 2:09 pm

I have an M1 Mac that is currently acting as a paperweight. Pass me replicable build instructions and I may be able to create a build bot for M1 binaries.
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: Apple Silicon Mac M1

Postby drezzito » Tue May 31, 2022 11:44 am

TheOldDragon wrote:
drezzito wrote:Hi guys,

Got myself a M1 and I got the following error in terminal when trying to start up the emulator:
dyld[2954]: missing symbol called

Has anyone got this? If so, is there anyway around it?

Thx in advance!


Where did you get the binary from (or did you build it yourself)?

You need the SDL framework installed, and SDL_net if you have the networking capabilities baked in ; that's likely your problem.
Can you post your logs if you're still not able to get it to work?

I provided pre-built files for x64 and Apple Silicon (supermodel and the SDL_net framework):
viewtopic.php?f=5&t=2062&p=19513#p19513

Those should still work fine.

I haven't built a newer version in a while, but may have a go in the near future.


Thx for the reply but it's working now. I got a bit ahead of myself by not installing frameworks! Runs fine now thx to you! :D
drezzito
 
Posts: 2
Joined: Thu May 28, 2020 3:12 am

Re: Apple Silicon Mac M1

Postby ottebit » Sat Aug 27, 2022 10:36 am

TheOldDragon wrote:
all4sr2 wrote:sorry for my noobiness... :oops:

it doesn't start, it says:

no suitable image found. Did find:
/Library/Frameworks/SDL2_net.framework/Versions/A/SDL2_net: mach-o, but wrong architecture

i installed all sdl2 libraries from https://libsdl.org/download-2.0.php, and the sdl2_net from https://www.libsdl.org/projects/SDL_net/
in the /library/frameworks folder (simply drag & drop like I did in my old intel Mac mini)

what I'm doing wrong?

the word "architecture" let me think about arm/x86/x64...I saw there is only sdl2_net for intel... :oops:


I'm happy to help, and sorry it didn't work for you... luckily it's an easy fix...

I had compiled it with the NET_BOARD=1 option [I just do it automatically without thinking], so it's looking for the sdl2_net framework, and you'll need an M1 native one since you're using the M1 Supermodel binary....

You're correct that there's no M1 native framework posted yet at https://www.libsdl.org/projects/SDL_net/
I've previously downloaded the sdl2_net source and built the framework myself...which is why it was working without problems for me.

I've rebuilt Supermodel without networking enabled so that you don't need sdl2_net and added it to the .zip file.... I've also added the x86-64 binary [for anyone who wants it].

Here's the new file/link:
https://www.dropbox.com/s/ampfe90o9bm0v5j/Supermodel-macos-r846.zip?dl=0

I've also zipped/uploaded the compiled SDL2_net framework - native for M1 - as a separate download in case you want the network functionality...
https://www.dropbox.com/s/hhkpw2pgmim88bf/SDL2_net-m1-2.0.1.framework.zip?dl=0


It's great that you compiled this and made it available. I run the m1 nonet, but still get a network error though?

/supermodel-m1-nonet-svn-r846 ./roms/daytona2.zip -legacy3d
dyld[5709]: Library not loaded: '@rpath/SDL2.framework/Versions/A/SDL2'
Referenced from: '/Users/x/Desktop/Supermodel-macos-r846/supermodel-m1-nonet-svn-r846'
Reason: tried: '/Library/Frameworks/SDL2.framework/Versions/A/SDL2' (no such file), '/System/Library/Frameworks/SDL2.framework/Versions/A/SDL2' (no such file)
zsh: abort
ottebit
 
Posts: 1
Joined: Tue Aug 16, 2022 5:51 pm

Re: Apple Silicon Mac M1

Postby TheOldDragon » Tue Nov 01, 2022 8:23 am

ottebit wrote:It's great that you compiled this and made it available. I run the m1 nonet, but still get a network error though?

/supermodel-m1-nonet-svn-r846 ./roms/daytona2.zip -legacy3d
dyld[5709]: Library not loaded: '@rpath/SDL2.framework/Versions/A/SDL2'
Referenced from: '/Users/x/Desktop/Supermodel-macos-r846/supermodel-m1-nonet-svn-r846'
Reason: tried: '/Library/Frameworks/SDL2.framework/Versions/A/SDL2' (no such file), '/System/Library/Frameworks/SDL2.framework/Versions/A/SDL2' (no such file)
zsh: abort

Sorry for the late response, I've been away from this forum for a few months...

If you're still having issue, then it looks like you haven't installed the SDL2 framework (the base one, not the network one).


Just go to https://github.com/libsdl-org/SDL/releases and download the latest* (".dmg") file and follow the instructions to install it (they're included in the .dmg file when you open it, but very simple **).
(*Latest version is 2.4.2 as of writing this).
(**Basically, you just open the .dmg file and then move the SDL framework folder into /Library/Frameworks )
TheOldDragon
 
Posts: 62
Joined: Sat May 30, 2020 5:39 am

Re: Apple Silicon Mac M1

Postby Ian » Fri Nov 04, 2022 4:41 am

Is everyone using the legacy engine on apple? Does the new3d engine not work? Or run too slow?
Ian
 
Posts: 2044
Joined: Tue Feb 23, 2016 9:23 am

PreviousNext

Return to Alternative Fashion

Who is online

Users browsing this forum: No registered users and 1 guest