Page 1 of 1

Avoiding running on an Intel Integrated GPU for the demo

Posted: Tue Aug 26, 2014 6:34 pm
by drey08
Hi,

I'm just trying out bullet on a Laptop which has dual-GPUs. One is an Intel Integrated GPU, the other a somewhat decent Nvidia GT 740M. When I run the App_Bullet3_OpenCL_Demos_clew app it will start using the Intel Graphics and fail pretty quickly. Is there any way I can force it to use the Nvidia GPU?

The Nvidia GPU is already set as the preferred GPU, as shown e.g. here.

Re: Avoiding running on an Intel Integrated GPU for the demo

Posted: Tue Aug 26, 2014 6:35 pm
by drey08
Even if I right-click on the executable and use "run with Nvidia GPU" (Win7 feature), it still prefers to run on the Intel card.

Re: Avoiding running on an Intel Integrated GPU for the demo

Posted: Wed Aug 27, 2014 12:41 am
by Erwin Coumans
You will need to pass in a command-line argument to select the OpenCL device (and possibly platform).
You could try one (or more) of those:

--cl_device=1
--cl_platform=1

Scroll down and read the readme.txt at the frontpage of the github project for more command-lline parameters:
https://github.com/bulletphysics/bullet3