Re: [VirtualGL-Users] automatically choosing GPU with vglrun

2013-09-19 Thread DRC
I don't know why you're getting different screen numbers, but like I said, the generic solution for this needs to be able to handle an arbitrary mapping anyhow, since some people will choose to configure multiple GPUs as multiple independent X servers instead of multiple screens. I would

Re: [VirtualGL-Users] automatically choosing GPU with vglrun

2013-09-18 Thread DRC
Neat trick. :) I don't think that the issue you're seeing has anything to do with VGL per se. I think it's how your X server is configured. $gpu in your examples below refers to an X screen number. Typically, in a VirtualGL multi-GPU environment, one would configure the X server such that

[VirtualGL-Users] automatically choosing GPU with vglrun

2013-09-18 Thread Rafael Guimaraes
Hi folks, I have built a script that checks which GPU is currently being less used (through nvidia-smi) and calls vglrun with this information so that my processes are balanced among the available GPUs. The problem is that I use the same script in two different machines (both with 4 GPUs) and