# Choosing the EGL device index in pvpython

**URL:** https://discourse.kitware.com/t/choosing-the-egl-device-index-in-pvpython/214
**Category:** Uncategorized
**Created:** [January 10, 2019, 10:33pm UTC](https://discourse.kitware.com/t/choosing-the-egl-device-index-in-pvpython/214 "2019-01-10T22:33:56Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![knolla](https://discourse.kitware.com/letter_avatar_proxy/v4/letter/k/c89c15/32.png) [@knolla](https://discourse.kitware.com/u/knolla)
#### Post date: [January 10, 2019, 10:33pm UTC](https://discourse.kitware.com/t/choosing-the-egl-device-index-in-pvpython/214/1 "2019-01-10T22:33:57Z")

</div>

Is there an equivalent to the command line argument --egl-device-index in pvpython, similarly to what exists in pvserver and paraview executables?

Or, a good way to set it in the python script itself?

Thanks!
