Default to Opengl3 driver when using the project manager #67593
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This only applies when starting the project manager without command line args and only applies if OpenGL3 support is compiled in to the binary (i.e. when
GLES3_ENABLED
is defined).The main rationale for this change is performance. On certain systems initializing Vulkan can be quite slow. Since there is no need to use Vulkan in the ProjectManager, it is better to use OpenGL and just have it open quicker for everyone.
In the coming weeks we will update the project selection dialogue to include the OpenGL 3 backend.
Performance
Here is a basic performance comparison table showing the difference on both debug vs release and opening on a system with only an integrated CPU and one with both and integrated CPU and a GPU.
Based on the table it appears something is going wrong with the CPU-only system and it is having a poor interaction with Vulkan so take the results with a grain of salt, they may not represent the experience of a typical user.
Details
Opening with Intel Integrated graphics only (dedicated GPU disabled) - Debug
Opening with dedicated GPU - Debug
Opening with Intel Integrated graphics only (dedicated GPU disabled) - Release
Opening with dedicated GPU - Release
Notes:
Users will notice a new error upon started:
I don't know if it comes from the TextServer or the XRServer, but it appears to be a harmless error