Page 4 of 4

Re: Apple Silicon Mac M1

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

Re: Apple Silicon Mac M1

PostPosted: Fri Nov 04, 2022 2:23 pm
by Ian
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

Re: Apple Silicon Mac M1

PostPosted: Fri Nov 04, 2022 8:00 pm
by TheOldDragon
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).

Re: Apple Silicon Mac M1

PostPosted: Fri Apr 28, 2023 7:27 am
by GamerGee
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