Avoiding running on an Intel Integrated GPU for the demo

Post Reply
drey08
Posts: 2
Joined: Tue Aug 26, 2014 6:28 pm

Avoiding running on an Intel Integrated GPU for the demo

Post 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.
drey08
Posts: 2
Joined: Tue Aug 26, 2014 6:28 pm

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

Post 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.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA
Contact:

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

Post 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
Post Reply