Re: Mac OS Mojave bug: 64-bit squeak instantly crashes when OpenGL plug-in installed and then used on Mojave

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Mac OS Mojave bug: 64-bit squeak instantly crashes when OpenGL plug-in installed and then used on Mojave

Ronie Salgado
 
Hello,

By OpenGL plugin do you mean the B3DAcceleratorPlugin? Currently I am porting that plugin to Metal, because OpenGL is deprecated by Apple, and is probably going to be removed in favor of Metal in OS X in the next version of OS X. Recently, I ported the VM window renderer from OpenGL to Metal, and that change was recently integrated, so the OpenGL B3DAcceleratorPlugin not working on the 64 bits version of OS X is technically not a bug. Wait for some more days to finish the port of the plugin (This is where I am working on the plugin: https://github.com/ronsaldo/opensmalltalk-vm/tree/feature/metal_b3d ).

If instead you are doing direct OpenGL calls through the FFI, then I recommend to stick with the 32 bits version. Metal does not work on 32 bits, so they have to keep supporting OpenGL there... but there are also going to remove the support for 32 bits...

Greetings,
Ronie

El mar., 26 feb. 2019 a las 22:28, LawsonEnglish (<[hidden email]>) escribió:
 
TItle says it all. 32-bit Squeak still runs OK for now, but 64-bit Squeak crashes instantly when "OpenGL example” is evoked in  64-bit Squeak when running on Mac OS X 10.14.x


Lawson
Reply | Threaded
Open this post in threaded view
|

Re: Mac OS Mojave bug: 64-bit squeak instantly crashes when OpenGL plug-in installed and then used on Mojave

LEnglish
 
My current goal is to simply restart work on my Squeak tutorials, but with a focus on 3D. Since I’m using a Mac, I’ll need to know more about Metal.

I assume that NeHe-like tutorials will be possible http://nehe.gamedev.net/tutorial/lessons_01__05/22004/

Are you familiar with the simple OpenGL morph that Jeroen van Hilst made nearly a decade ago, but it certainly simplified trying to get started with OpenGL. Hopefully using Metal instead won’t be a terrible hassle.


Thanks for responding.

Lawson


On Feb 26, 2019, at 6:27 PM, LawsonEnglish <[hidden email]> wrote:

Hello, 

By OpenGL plugin do you mean the B3DAcceleratorPlugin? Currently I am porting that plugin to Metal, because OpenGL is deprecated by Apple, and is probably going to be removed in favor of Metal in OS X in the next version of OS X. Recently, I ported the VM window renderer from OpenGL to Metal, and that change was recently integrated, so the OpenGL B3DAcceleratorPlugin not working on the 64 bits version of OS X is technically not a bug. Wait for some more days to finish the port of the plugin (This is where I am working on the plugin: https://github.com/ronsaldo/opensmalltalk-vm/tree/feature/metal_b3d ).

If instead you are doing direct OpenGL calls through the FFI, then I recommend to stick with the 32 bits version. Metal does not work on 32 bits, so they have to keep supporting OpenGL there... but there are also going to remove the support for 32 bits...

Greetings,
Ronie