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 TheOldDragon » Fri Nov 04, 2022 2:06 pm

Ian wrote:Is everyone using the legacy engine on apple? Does the new3d engine not work? Or run too slow?


new3d engine has never worked on macOS / OS X as far back as I've been building/running it.
I've assumed that it's just that Apple's [long since deprecated] OpenGL implementation is missing necessary features required for the new3d engine.
[I'm sure the M1 GPU is more than sufficient to run it well..]

We discussed it here: viewtopic.php?f=5&t=1911#p18044
There's a screen shot and console output in that post... of what the new3d engine looks like.

I just built cloned and built the latest code fromGithub, and here's the info output and the error I get with "-new3d - quad-rendering" - and the graphics are mostly corrupted/missing... same as my previous post... there's no difference on an x86 machine versus Apple Silicon.
Code: Select all
% ./supermodel-git-20221104-m1-net   -print-gl-info                                                 
Supermodel: A Sega Model 3 Arcade Emulator (Version 0.3a-WIP)
Copyright 2003-2022 by The Supermodel Team
OpenGL information:

  Vendor                   : Apple
  Renderer                 : Apple M1
  Version                  : 2.1 Metal - 83
  Shading Language Version : 1.20
  Maximum Vertex Array Size: 1048575 vertices
  Maximum Texture Size     : 16384 texels
  Maximum Vertex Attributes: 16
  Maximum Vertex Uniforms  : 4096
  Maximum Texture Img Units: 16

Code: Select all
% % ./supermodel-git-20221104-m1-net  ./Roms/scudplus.zip -new3d -quad-rendering -wide-screen -res=1280,720 -show-fps
Supermodel: A Sega Model 3 Arcade Emulator (Version 0.3a-WIP)
Copyright 2003-2022 by The Supermodel Team
    Title:          Scud Race Plus (Export, Twin/DX, Revision A)
    ROM Set:        scudplus
    Developer:      Sega
    Year:           1997
    Stepping:       1.5
    Extra Hardware: Digital Sound Board (Type DSB1), Drive Board, Net Board

ERROR: 0:3: '' :  version '450' is not supported
ERROR: 0:3: '' : syntax error: #version
ERROR: 0:5: 'layout' : syntax error: syntax error

ERROR: 0:3: '' :  version '450' is not supported
ERROR: 0:3: '' : syntax error: #version
ERROR: 0:29: ';' : syntax error: Uniform blocks may not have identifiers in GLSL 140

ERROR: 0:3: '' :  version '450' is not supported
ERROR: 0:3: '' : syntax error: #version
ERROR: 0:47: 'noperspective' : syntax error: syntax error

ERROR: One or more attached shaders not successfully compiled
TheOldDragon
 
Posts: 62
Joined: Sat May 30, 2020 5:39 am

Re: Apple Silicon Mac M1

Postby Ian » Fri Nov 04, 2022 2:23 pm

What about without quad rendering?
Quad rendering needs open 4.5 which apple doesn't support.

But the regular shader only needs gl 2.1

The texture lod error should be fixed with the latest updated
Ian
 
Posts: 2044
Joined: Tue Feb 23, 2016 9:23 am

Re: Apple Silicon Mac M1

Postby TheOldDragon » Fri Nov 04, 2022 8:00 pm

Ian wrote:What about without quad rendering?
Quad rendering needs open 4.5 which apple doesn't support.

But the regular shader only needs gl 2.1

The texture lod error should be fixed with the latest updated


Yep, per the discussion on GitHub, new3d is working fine on macOS now (without quad-rendering enabled).
TheOldDragon
 
Posts: 62
Joined: Sat May 30, 2020 5:39 am

Re: Apple Silicon Mac M1

Postby GamerGee » Fri Apr 28, 2023 7:27 am

Thanks for all the info. I always wondered if this would work on a Silicon Apple. Now it is working.
I had to rise from the grave to check this one out. :-D
Machine: Mac Pro 2,2 (Dual Quad Xeon @ 3GHZ)
OSX 10.6.7 / (Bootcamp 64-Bit Windows 7 Ultimate)
9GB Ram
ATI Radeon 5770 (PC Flashed To EFI Mac)
X360 Pad Soon To Be G27 Wheel
GamerGee
 
Posts: 187
Joined: Wed Nov 30, 2011 9:45 am

Previous

Return to Alternative Fashion

Who is online

Users browsing this forum: No registered users and 0 guests