Jump to content

[SOLVED] Configuration option to select between multiple GPUs?


photo

Recommended Posts

I have a laptop which has two GPUs - an integrated Intel HD Graphics 350, and a discrete NVIDIA Quadro M1200.

Is there some command-line or configuration option that can select which GPU to use? I can only find the -video_app option to select between OpenGL/DirectX etc.

For example, I see this output in the console:

---- Render ----
Renderer: NVidia 4096MB
OpenGL vendor:   Intel
OpenGL renderer: Intel(R) HD Graphics 530
OpenGL version:  4.3.0 - Build 21.20.16.4664
OpenGL flags:    Core Profile
Found required GL_ARB_gpu_shader5
Found required GL_ARB_geometry_shader4
Found required GL_ARB_shader_bit_encoding
Found required GL_ARB_tessellation_shader
Found required GL_ARB_texture_storage
Found optional GL_ARB_compute_shader
Found optional GL_ARB_shader_image_load_store
Found optional GL_ARB_shader_storage_buffer_object
Found optional GL_ARB_clip_control
Shading language:        4.30 - Build 21.20.16.4664
Maximum texture size:    16384
Maximum texture units:   192
Maximum texture renders: 8

It appears to detect both NVidia and Intel GPUs, but then decides to use the Intel GPU?

How can I select this?

Thanks

  • Like 1
Link to comment
  • 1 year later...

Hello,

In 2.8 we've added new option that allows to choose the GPU. It's called -video_adapter.

For instance, you can run your app like this: my_application.exe -video_adapter 1. This will enable second available GPU in your system List of available GPUs can be found in the engine's log.

You can find more info here: https://developer.unigine.com/en/docs/2.8/code/command_line

If you use earlier version I suggest applying method described above.

Thank you.

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment
  • silent changed the title to [SOLVED] Configuration option to select between multiple GPUs?
×
×
  • Create New...