[chimerax-users] Specify GPU id for ChimeraX

Tom Goddard goddard at sonic.net
Mon Nov 23 17:02:49 PST 2020


Hi Shasta,

  I don't know if you have multiple displays with different GPUs driving different displays.  I think ChimeraX will use the default GPU for the display it is started on.  This is a question about how to configure Ubuntu and Nvidia drivers.  There is nothing in ChimeraX to control which GPU is used.  ChimeraX simply asks for an OpenGL context using the Qt window toolkit and is given one.

  You'll need to search online for guidance on how Ubuntu 20.04 decides which GPU to use and how to control that.  Please post a message how it is done if you figure it out.

	Tom


> On Nov 23, 2020, at 4:51 PM, Shasha Feng <shaalltime at gmail.com> wrote:
> 
> Hi Tom,
> 
> Sorry about not clarifying my operating system. I am using ubuntu 20.04 with two NVIDIA GPU cards. 
> Do I need to change OpenGL setting or reconfigure the nvidia setting? 
> 
> Thanks,
> Shasha
> 
> 
> 
> On Mon, Nov 23, 2020 at 6:58 PM Tom Goddard <goddard at sonic.net <mailto:goddard at sonic.net>> wrote:
> Hi Shasta,
> 
> ChimeraX has no way to select which GPU it uses.   The operating system or opengl driver decides.  You didn't mention which operating system you are using.  Here is an example of how to set the default OpenGL GPU in Windows.
> 
> 	https://www.techadvisor.co.uk/how-to/pc-components/how-set-default-graphics-card-3612668/ <https://www.techadvisor.co.uk/how-to/pc-components/how-set-default-graphics-card-3612668/>
> 
>   Tom
> 
> 
>> On Nov 23, 2020, at 2:38 PM, Shasha Feng <shaalltime at gmail.com <mailto:shaalltime at gmail.com>> wrote:
>> 
>> Hi,
>> 
>> Is there any way to specify which GPU device for ChimeraX to run on? Currently, it uses the default GPU 0, which can disturb the existing jobs. Thanks.
>> 
>> Best,
>> Shasha
>> 
>> _______________________________________________
>> ChimeraX-users mailing list
>> ChimeraX-users at cgl.ucsf.edu <mailto:ChimeraX-users at cgl.ucsf.edu>
>> Manage subscription:
>> https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users <https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users>
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20201123/0eee44d8/attachment.html>


More information about the ChimeraX-users mailing list