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

Godot 3D Viewport not working correctly on my Linux machine #64909

Closed
yohannes-jo opened this issue Aug 25, 2022 · 13 comments
Closed

Godot 3D Viewport not working correctly on my Linux machine #64909

yohannes-jo opened this issue Aug 25, 2022 · 13 comments

Comments

@yohannes-jo
Copy link

Godot version

3.5 stable

System information

Linux Mint, X11, GLES2/3, Intel HD Graphics 605

Issue description

Any mesh instance I add to the project ends up being black, sometimes it works but then when it doesn't, it won't work again for an unspecified amount of time.
This problem extends to the runtime, 2D viewport works perfectly fine though.

Steps to reproduce

Open a new/old project

  • open a 3d scene
  • create mesh instance and give it a shape (or resource, both end up the same way)
  • that's it

Minimal reproduction project

No response

@yohannes-jo
Copy link
Author

Didn't add a reproduction product since I'm writing through my phone at the moment, really sorry.

@jgillich
Copy link
Contributor

Does setting 2d size fix it? This is probably a duplicate of #55471

@yohannes-jo
Copy link
Author

Does setting 2d size fix it? This is probably a duplicate of #55471

Since I'm using 3.5 stable, the renderer is GL, not vulkan
The 2D viewport works just fine, along with every node under it, it's just something with the mesh instances

@jgillich
Copy link
Contributor

Ah my bad, I didn't realize this is about 3.5

@Calinou
Copy link
Member

Calinou commented Oct 23, 2022

Related to #25512, which occurs on Windows. The Windows Intel driver's codebase is entirely separate from the Linux driver, so rendering bugs aren't expected to be shared across platforms on Intel.

@yohannes-jo Do you have any lights in your projects? Also, please upload a minimal reproduction project to make this easier to troubleshoot.

@Calinou Calinou closed this as not planned Won't fix, can't repro, duplicate, stale Oct 23, 2022
@Calinou Calinou reopened this Oct 23, 2022
@yohannes-jo
Copy link
Author

Related to #25512, which occurs on Windows. The Windows Intel driver's codebase is entirely separate from the Linux driver, so rendering bugs aren't expected to be shared across platforms on Intel.

@yohannes-jo Do you have any lights in your projects? Also, please upload a minimal reproduction project to make this easier to troubleshoot.

Yes, I do have lights in my projects. The problem doesn't stem from the lighting, it stems from the fact that every other time I open the editor, alongside the viewport, the meshes appear black unless light is reflecting off of them.
I would've assumed that happened as a result of lack of light (or a different implementation of it from GLES2, the one I use now as it works just fine) but it only happens half the time. Same with the exported or debug version of the project.
I will be sending a demo project now.

@yohannes-jo
Copy link
Author

DemoProject.zip
I'll also be sending the occasions where it does work and when it does not. (it is not consistent at all)
Photos.zip

@yohannes-jo
Copy link
Author

DemoProject.zip I'll also be sending the occasions where it does work and when it does not. (it is not consistent at all) Photos.zip

**screenshots of the occasions, viewport usually doesn't glitch out until it gets re-opened, but the debug program is a roulette, you won't know what will happen whenever its opened/closed.

@yohannes-jo
Copy link
Author

DemoProject.zip I'll also be sending the occasions where it does work and when it does not. (it is not consistent at all) Photos.zip

**screenshots of the occasions, viewport usually doesn't glitch out until it gets re-opened, but the debug program is a roulette, you won't know what will happen whenever its opened/closed.

Half of the screenshots are the ones when it works as it should, and the rest are when it becomes pitch black.

@yohannes-jo
Copy link
Author

@Calinou here are the required files and descriptions. Sorry for the late reply.

@Calinou
Copy link
Member

Calinou commented Oct 29, 2022

@yohannes-jo PS: In the future, please use the Edit button (located behind the icon in the top-right corner of your comments) instead of multi-posting.

@yohannes-jo
Copy link
Author

@yohannes-jo PS: In the future, please use the Edit button (located behind the icon in the top-right corner of your comments) instead of multi-posting.

Didn't notice it, will do.
Update on the issue: it seems to be only happening on GLES3, 2 works just fine.

But that disables a couple of good features so if there are solutions to this, much appreciated.

@Calinou
Copy link
Member

Calinou commented Oct 29, 2022

Duplicate of #43891. This is the same Intel GPU generation (HD 600 and HD 605), so the bug is likely due to the same cause.

@Calinou Calinou closed this as not planned Won't fix, can't repro, duplicate, stale Oct 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants