4 ms·
> Under Vulkan, we will prefer your dedicated graphics card over any integrated graphics, which is a change from OpenGL Did OpenGL not do this?
by ramon156 4mo ago
> Under Vulkan, we will prefer your dedicated graphics card over any integrated graphics, which is a change from OpenGL
Did OpenGL not do this?
- chainingsolid 4mo agoI don't remember being able to pick which card OpenGL uses, while with Vulkan it's a required question the App has to answer...
- ramon156 4mo agoI remember this being a nice API in wgpu, being forced to specify settings through a builder, otherwise it would not compile. Forces you to think how you want this application to operate
- voxic11 4mo agoOpenGL doesn't have any way to do this except sometimes via vendor specific extensions. Basically how OpenGL works is it creates the graphics context on whichever device the system hands it. So you can configure the GPU used by OpenGL on the system level but not at the application level.
- pjmlp 4mo agoIt does so via the respective OS way on how to create OpenGL context.
- FrostKiwi 4mo agoFYI, setting `NvOptimusEnablement` and `AmdPowerXpressRequestHighPerformance` have been the canonical way on Windows, `__NV_PRIME_RENDER_OFFLOAD` + `__GLX_VENDOR_LIBRARY_NAME` on Linux. Though not an OpenGL feature per se, as you mentioned.
- izacus 4mo agoThat would be the vendor extensions they mentioned.
- KellyCriterion 4mo agoAFAIR there was a way to "list" existing output devices, so your app could select the proper one?
- CyborgCabbage 4mo agoI believe if you plug your monitor into your motherboard then OpenGL will use your integrated graphics rather than your card. I think with Vulkan it doesn't matter what port you plug it in, it can coordinate it?