Skip to content
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

White line in 3D view in editor using Metal on MacOS #95896

Closed
Tracked by #95919
Snowdaw opened this issue Aug 21, 2024 · 7 comments · Fixed by #95945
Closed
Tracked by #95919

White line in 3D view in editor using Metal on MacOS #95896

Snowdaw opened this issue Aug 21, 2024 · 7 comments · Fixed by #95945

Comments

@Snowdaw
Copy link

Snowdaw commented Aug 21, 2024

Tested versions

Happens in v4.4.dev.custom_build [3b3d622]
It says custom due to my spotty internet not being able to successfully git clone the repository. I used the ZIP download which doesn't include the .git folder. This is just a normal build using 3b3d622.

System information

Godot v4.4.dev unknown - macOS 14.3.1 - Metal (Mobile) - integrated Apple M1 (Apple7) - Apple M1 (8 Threads)

Issue description

When loading in a newly created project a white line can be seen in the 3D view.
image

Steps to reproduce

  1. Use an editor build with Metal on MacOS (3b3d622 in my case)
  2. Create a new project
  3. Observe the white line

Minimal reproduction project (MRP)

N/A

@AThousandShips
Copy link
Member

CC @stuartcarnie @clayjohn @bruvzg

@stuartcarnie
Copy link
Contributor

@AThousandShips can reproduce, but only when selecting the Mobile OpenGL renderer; Metal is working 👍🏻

@Snowdaw
Copy link
Author

Snowdaw commented Aug 21, 2024

Hi @stuartcarnie I can confirm that it does not happen when launching with --rendering-driver metal
I assumed that Metal would be enabled by default as is written in #88199
Together with the rather confusing OpenGL API 4.1 Metal message when using OpenGL and just Metal 3.1 when using Metal. I just assumed it was using Metal when I saw it in the first message.

Is it correct behaviour that OpenGL is used by default even when Metal is available?

@clayjohn
Copy link
Member

Just to clarify, the Mobile renderer does use Metal/Vulkan. Only the Compatibility renderer uses OpenGL

@stuartcarnie
Copy link
Contributor

@clayjohn ahh TIL! Sorry for the confusion.

@Calinou
Copy link
Member

Calinou commented Aug 21, 2024

@bruvzg
Copy link
Member

bruvzg commented Aug 21, 2024

Help -> System Info shows the driver and method only based on project settings and ignore command line arguments/fallback (should be fixed by #95887)

And macOS native OpenGL renderer does have Metal in the name at least on Apple Silicon. So it might be confusing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants