-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
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
Compatibility renderer (GLES3) incorrect rendering (half quads / cut off triangles) #79955
Comments
Can you test early versions of Godot (i.e 4.0-stable and 4.0.3) to see if this is an issue that was recently introduced? |
i tested 4.0.3 and the bug doesn't exist |
What Intel driver version are you using? Make sure you're using the latest version provided by Intel (not Windows Update, not your computer's OEM)? Note that Windows 8.1 is EOL, and upgrading to Windows 10 may resolve this issue. Chances are that the latest Intel drivers for Skylake IGPs were only made available for Windows 10, not 8.1. |
it seems the problem from shader_cache folder in godot appData |
For the record I had similar looking rendering issues (though not with triangles) ever since early pre-alpha versions of Godot 4. Example (Win 10, Nvidea 765M, Forward+): #79985 (comment) |
It would be very helpful to test #80680 as it aims to fix some issues with the shader cache as well as provide much better debug information so we can get at the root of issues like this |
The first time I run the game, it works fine. The second time, the editor gets broken. And opening the editor again shows the same issue. |
Binary load format being 1 is pretty fishy. CC @bitsawer For me, this is what I get on the second load:
|
@clayjohn, yeah, load format being 1 looks a bit weird, but who knows. I checked if there is a possibility for some weird overflow/conversion bug as we write GLEnum to file but read uint32_t, but it seems they both should be typedefs for unsigned int. Anyone who can repro this issue, can you build / download #80680 and run it from command line with
This one to run your project in play mode:
Or this to just start the Godot Project List:
and see if fully disabling the cache helps. |
This video shows the operation after the cache is disabled video.mp4The log of the first operation of the newly created project Details
Godot Engine v4.2.dev.custom_build.43479c33b - https://godotengine.org TextServer: Primary interface set to: "ICU / HarfBuzz / Graphite (Built-in)". Second operation log Details
Godot Engine v4.2.dev.custom_build.43479c33b - https://godotengine.org TextServer: Primary interface set to: "ICU / HarfBuzz / Graphite (Built-in)". The video just now is incomplete, so re-demonstrate it video2.mp4 |
I forgot to mention it, but Also, remember to give the project directory after @Vermisse Thanks for testing. Do you think if the |
@bitsawer There is no problem with using the 3.5 version of the program on this computer, I guess it is related to the new version of the shader, in addition, the graphics card I have this problem with is Intel, I read that the proposer of this problem also uses an Intel graphics card, and my own computer with another NVIDIA graphics card does not have this problem |
This comment was marked as off-topic.
This comment was marked as off-topic.
I'm not involved as a contributor to the project, so I'm not sure how much my input is worth, but this happens to me quite consistently. My fix is to turn my laptop performance settings from 'Best Battery Life' to 'Best Performance'. Not technically helpful, but for the regular joe this could be tripping them up. |
I can confirm this problem is also affecting me. I'm on a older laptop with an Intel graphics card as well. I've tried doing a clean uninstall of the driver and reinstall. The final solution was to downgrade to Godot 4.0. This seems to working so far. |
@Cablefish1 can you test with the latest dev release? https://godotengine.org/article/dev-snapshot-godot-4-3-dev-5/ We included some fixes that might help with this |
Just tested it. Problem persists though. There is a significant chance the problem is on my laptop though. I need to do a full windows re-install in order to rule out a problem on my end and I'm not sure when I'll get the time. Thanks for the attempt and for worrying about us lowlifes with older laptops :) |
This comment was marked as off-topic.
This comment was marked as off-topic.
Could affected users share details on:
|
Try running Godot with the ANGLE renderer (add |
I think that might actually have solved the problem. When it happened before it would work for a little while before showing up. So nothing is certain but so far it's working. It's been handling more than it did before when the error manifested itself. Edit: The distorted sprites (the half quads) showed up for a split-second when debugging right when initializing, but they vanished quickly. I'm gonna try to stress test it to see if this is a real solution or another dud. Edit2: Aaaaand the error is back. It seems to be rather independent of what you're doing with godot the error will manifest over time. So far it's isolated to my old game and only in the debugger so maybe the ANGLE renderer does slow down the error but i'm not sure. |
I'm not sure if the argument is passed to the running project, you might need to set it to ANGLE in the project settings as well. |
Sorry i'm still rather green at godot. Where would i go find that setting? There's a Fallback to Angle option under renderer that's flipped on. But other than that i can't find it in the project settings? |
I just did that and can confirm it had a positive effect. The half quads are gone when the debugging the project. I think this might actually be it. For reference to other people: (or did excactly as the picture above suggest) Edit: Did some more testing on a asset-library project with much different graphics than mine. Above workaround definitely has a positive effect! |
I've done a bit of testing on the 4.4 dev snapshot. So far the error hasn't rematerialized and there's some indication that it won't show up again. The error was triggered randomly within a 1-10 minutes of running the engine so there's really no way to make sure it wont just happen at a later time. However the half quads were also shown instantly although VERY briefly when running some graphic intensive 2d templates in the debugger and that hasn't happened either. So i think we can call this issue resolved until proven otherwise. Thanks a lot! |
Closing per the above comment. |
We had a customer send a screenshot of our godot 4.3 game with half the triangles missing just like this issue. They were running on a Hp Laptop 17-BS0XX with i5-7200U and Intel(R) HD Graphics 620. Looks like Gen 9.5 needs to added to the blocklist |
Godot version
4.1.1 stable
System information
windows 8.1 intel hd 520 , compatibility renderer
Issue description
compatibility renderer does not work properly
![comp1](https://private-user-images.githubusercontent.com/66444993/256532771-37a1b20f-d95c-46b8-9886-93dabac143c2.PNG?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwNjYxMzAsIm5iZiI6MTczOTA2NTgzMCwicGF0aCI6Ii82NjQ0NDk5My8yNTY1MzI3NzEtMzdhMWIyMGYtZDk1Yy00NmI4LTk4ODYtOTNkYWJhYzE0M2MyLlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDAxNTAzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY0ZDg3MjJmYTYyMTlmYTM2OGRlNTM1YjA3ZmU2ZjdkMDQyZjY0MDA5NjUxM2IxOTNkMDllYjY0M2QxMzk3YWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.SRIYLFtql7ZI84k1Px_o_RKFzjvoKdHMmKiJYGvS9fY)
![comp2](https://private-user-images.githubusercontent.com/66444993/256532812-567277aa-de84-4585-9e05-4459559543f2.PNG?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwNjYxMzAsIm5iZiI6MTczOTA2NTgzMCwicGF0aCI6Ii82NjQ0NDk5My8yNTY1MzI4MTItNTY3Mjc3YWEtZGU4NC00NTg1LTllMDUtNDQ1OTU1OTU0M2YyLlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDAxNTAzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThlZjJkZTMwZGZjMWI5Yjk5ZWQ4OGI0Zjk0YmY3Nzg4YzE5ZDE4YmFiMDgzYjk1NmFhNDEwN2U1NzAzZmY2MDQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.2pBYQQ9EUttDxeT3oyDh6z7GkIY9fcWh273Jp9CoIf4)
Steps to reproduce
open godot 4.1.1 in compatibility renderer
or change the project to compatibility renderer
Minimal reproduction project
.
The text was updated successfully, but these errors were encountered: