Login  Register

2.5.0 refresh problem only on intel mac?

classic Classic list List threaded Threaded
10 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

2.5.0 refresh problem only on intel mac?

imakerobots
66 posts
I run this program, everything is fine on windows and apple silicon.
the triangle is missing on intel macs and the cursor is hard to find.

Editor3.java

I believe it was working in 2.4.0 as the problem has only recently been reported.

In case it's relevant, I've also attached my pom.  I'm packaging a fat jar that includes the native drivers.

pom.xml
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: 2.5.0 refresh problem only on intel mac?

gouessej
Administrator
6039 posts
Do you reproduce this problem with a GLCanvas too?
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: 2.5.0 refresh problem only on intel mac?

imakerobots
66 posts
I tried, but I can't get GLCanvas to load.  I keep getting "unable to determine graphics configuration".

GLException: Unable to determine GraphicsConfiguration: WindowsWGLGraphicsConfiguration[DefaultGraphicsScreen[WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle 0x0, owner false, NullToolkitLock[obj 0x2af4139b]], idx 1], pfdID 2, ARB-Choosen true,
	requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 32/8/0, dbl, mono  , hw, GLProfile[GL2/GL4bc.hw], on-scr[.]],
	chosen    GLCaps[wgl vid 2 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 32/8/0, dbl, mono  , hw, GLProfile[GL2/GL4bc.hw], on-scr[.]]]

I tried wrapping the GLCanvas in a Panel and making sure it was added and revalidated before setVisible()... but setVisible() still mad.  Then I tried removing all Capability requests so it's just default values.  Same result.
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: 2.5.0 refresh problem only on intel mac?

imakerobots
66 posts
Here's my GLCanvas test that won't run at all.   Editor4.java
Any hint what to do would be great, thank you :)
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: 2.5.0 refresh problem only on intel mac?

gouessej
Administrator
6039 posts
It's a matter of using --add-opens, I already posted about that several times.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: 2.5.0 refresh problem only on intel mac?

imakerobots
66 posts
Screenshot_2025-04-02_101316.png

And the parser syntax link is 404.  So... I can't see it posted several times even if I want to.
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: 2.5.0 refresh problem only on intel mac?

imakerobots
66 posts
Ok, I found https://github.com/jzy3d/jogl/issues/4#issuecomment-1004895538

It executes and I see a flash of the triangle, then all-white in the GLCanvas.  
If I resize the window I see flashes of triangle while resizing.  about a 30/70 chance I let go and still have the triangle on screen.
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: 2.5.0 refresh problem only on intel mac?

gouessej
Administrator
6039 posts
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: 2.5.0 refresh problem only on intel mac?

imakerobots
66 posts
With an animator... intel mac user reports same problem in both 2.4.0 and 2.5.0.

Editor4.java
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: 2.5.0 refresh problem only on intel mac?

imakerobots
66 posts
Here's all the code: https://github.com/MarginallyClever/RepaintMacIntel
Here's where I track progress on the issue: https://github.com/MarginallyClever/Makelangelo-software/issues/813

Thanks, everyone!