Skip to content

tetra on Windows selects an integrated GPU when a discrete GPU is available #302

@ghost

Description

Summary

I have a laptop with dual Windows/Ubuntu boot and I have noticed a performance difference between the two systems when running a tetra app. It turns out that the same app compiled on Windows selects an integrated GPU while on Ubuntu it selects a discrete one.

Steps to Reproduce

Take any of the examples, use ContextBuilder::debug_info and run on Windows 10.

Additional Info

On Windows 10 I get:

OpenGL Vendor: Intel
OpenGL Renderer: Intel(R) HD Graphics 630
OpenGL Version: 3.2.0 - Build 27.20.100.8681
GLSL Version: 1.50 - Build 27.20.100.8681

On Ubuntu 21.10:

OpenGL Vendor: NVIDIA Corporation
OpenGL Renderer: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2
OpenGL Version: 3.2.0 NVIDIA 470.82.00
GLSL Version: 1.50 NVIDIA via Cg compiler 

The same thing happens on 0.6.7 and the main branch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: GraphicsIssues related to graphics/rendering.Area: PlatformIssues relating to the platform layerPlatform Specific: WindowsIssues that are specific to systems running Windows.Type: BugProblems with the code/documentation that need to be fixed.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions