-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
P3D & P2D window not showing on MacOS Ventura #544
Comments
Confirmed with most recent beta Version 13.0 Beta (22A5331f). It appears the new version of Metal 3 in Ventura is not connecting with the old OpenGL calls. |
Just to confirm that everything works in Monterey as expected. |
JDK 17 release notes client-libs/2d This is currently disabled by default, so rendering still uses OpenGL APIs, which are deprecated by Apple but still available and supported. To enable Metal, an application should specify its use by setting the system property: -Dsun.java2d.metal=true Use of Metal or OpenGL is transparent to applications since this is a difference of internal implementation and has no effect on Java APIs. The metal pipeline requires macOS 10.14.x or later. Attempts to set it on earlier releases will be ignored. For further details, see JEP 382. |
Confirmed to still be an issue with the most recent beta Version 13.0 Beta (22A5342f) (beta5) I don't understand enough to attempt to implement, but perhaps that will help someone with deeper knowledge.
I hope this can be fixed in the next release. |
I tried adding the line
|
Still an issues for the lated beta: Ventura 13.0 Beta (22A5352e). Hopefully this could be fixed before the official release of the OS, which is not far from now. |
Due to limited time, I'll have to wait until the Ventura release before taking a look at any of this, since I'm already supporting 3 versions of macOS across both Intel and Apple Silicon, and can't add an unreleased operating systems to the list. With any luck, this may be fixed by Apple during the Ventura release process. It's definitely happened in the past (another reason I don't test with betas) though I'm not super optimistic. Happy for any help on this one… |
The issue is still there on macOS Ventura Release Candidate, which is equivalent to the final release. |
The issue is persistent in MacOS Ventura officially released today. |
Another workaround(for m1 mac) Add this code in PApplet.java(line 10146)
Tested on macOS 13.0 (22A380) / macbook pro m1 |
I found a simple workaround I switched the order of the functions(initDisplay(), initGL()) in PSurfaceJOGL.java
to
Or add this code to the top of processing code.
Tested on macOS 13.0 (22A380) / macbook pro m1 |
I downloaded source from GitHub and made the very simple changes in the last post from Jaegonlee. I rebuilt from scratch and the new binary works perfectly. The only hiccup is that the new binary is Intel, so I end up having to run using Rosetta again on my M1 Mac Studio. That's fine until the official fix is made. Hopefully this can be fixed in the next release. Thanks Jaegonlee! |
Awesome, many many thanks @jaegonlee… That change is now incorporated and will be part of 4.0.2 when it's released. |
Thanks @jaegonlee @benfry! We have sent out a message to our Mac users to post-pone updating for this reason. Happy to hear that a fix was taken care of swiftly! |
Thank you benfry! Do you know when it's gonna be released the new version? I can't use processing since 2 weeks |
This worked for me. For who uses processing as java library put it inside the settings() function:
|
@WhiteSte How do you get com.jogamp.opengl.GLProfile into your project. I'm using IntelliJ and can't seem of figure out how to access it. |
I did not imported just the core.jar library, but also the following: gluegen-rt-natives-macosx-universal.jar, jogl-all.jar, gluegen-rt.jar, jogl-all-natives-macosx-universal.jar. I suppose that what you are missing stands inside one of those, you can find them where you found the core.jar inside the processing package. Hope it helps :) |
Can't find that file in the source or Processing 4 downloaded from the site. Can you post the path that you have @WhiteSte ? |
Not in the source, but in the built version: ...//Processing/Contents/Java/core/library |
This issue has been automatically locked. To avoid confusion with reports that have already been resolved, closed issues are automatically locked 30 days after the last comment. Please open a new issue for related bugs. |
Description
When using the P3D and P2D renderers, the window is not plotted on MacOS Ventura. With default
size()
, the window shows up correctly.Expected Behavior
The window should show up when using P3D and P2D.
Current Behavior
The code will run, but no window rendered. From Mission Control on MacOS, a silhouette of the window could be seen, but the content is transparent. A thumbnail of the window is also shown at the top of Mission Control. See picture.
![image](https://user-images.githubusercontent.com/50965568/186786559-3b19c42a-58e9-4e22-817d-087ccaf6f67e.png)
Steps to Reproduce
Topics>Textures>TextureCube
Your Environment
The text was updated successfully, but these errors were encountered: