actions / runner-images

GitHub Actions runner images
MIT License
9.13k stars 2.82k forks source link

macOS ARM (macos-14) has rendering issues with lines and texture when using OpenGL #9712

Open mwestphal opened 2 weeks ago

mwestphal commented 2 weeks ago

Description

I'm the co-creator of F3D, a fast an minimalist cross platform 3D viewer. We have been supporting macOS ARM using cross-compilation for a while but we recently switched to using macos-14 runner instead.

So far it has been behaving great we do have one issue that seems to be caused by the runner images themselves.

Indeed, we struggle to render certain specific part of our models, it very much looks like a driver bug in the OpenGL stack. We do not reproduce on any actual macOS ARM, these issues are specific to macos-14 ARM images on github.

Platforms affected

Runner images affected

Image version and build link

20240415.6

Is it regression?

No

Expected behavior

Correct rendering like this:

TestDXF

TestConfigStemBuild

TestGridX

TestGridZ

Actual behavior

Test Result Diff
TestConfigStemBuild TestConfigStemBuild TestConfigStemBuild diff
TestDXF TestDXF TestDXF diff
TestGridX TestGridX TestGridX diff
TestGridZ TestGridZ TestGridZ diff

Are you can see, certain lines and texture are incorrectly rendered.

Repro steps

Create a PR on F3D but in .github/actions/generic-ci/action.yml:210, remove the -E ctest argument to run all the tests instead of excluding the one that do not render correctly.

Alexey-Ayupov commented 1 week ago

Hello @mwestphal, we will take a look what we can do about it.

mwestphal commented 1 week ago

Thanks! Please let me know if I can help or test anything on my side.

kintel commented 1 week ago

We see a very similar issue with OpenSCAD:

Example of issue:

Screenshot 2024-04-25 at 19 36 48