# Crystal Eyes mode in server and client

**URL:** https://discourse.paraview.org/t/crystal-eyes-mode-in-server-and-client/3132
**Category:** ParaView Support
**Created:** [December 7, 2019, 10:55am UTC](https://discourse.paraview.org/t/crystal-eyes-mode-in-server-and-client/3132 "2019-12-07T10:55:40Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![lyz](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/l/e47774/32.png) [@lyz](https://discourse.paraview.org/u/lyz)
#### Post date: [December 7, 2019, 10:55am UTC](https://discourse.paraview.org/t/crystal-eyes-mode-in-server-and-client/3132/1 "2019-12-07T10:55:40Z")

</div>

I have some questions about stereo mode of Paraview 5.7.  
I build Paraview 5.7 with MPI 10.1.2, VR plugin, and I test Paraview in client/server mode for stereo display. I use one master node as server, and three render nodes as client. I start server in master using “Crystal Eyes” mode, and then connect three render nodes. However, the “Crystal Eyes” mode just work in master node, and doesn’t work in render nodes.  
The command like this:

```auto
> mpiexec -hosts 3 renderleft rendermiddle renderright
> paraview --stereo --stereo-type="Crystal Eyes"

```

Is there some command to control “Server Stereo type”?

 ![0cf93b87384b75778e38638512388fa](https://discourse.paraview.org/uploads/default/original/2X/5/5e8dfb902ef04c5e3696cd0c712a796347b3847b.jpeg)

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [December 9, 2019, 10:40am UTC](https://discourse.paraview.org/t/crystal-eyes-mode-in-server-and-client/3132/2 "2019-12-09T10:40:01Z")

</div>

Hello,

What is your GPU ?

In order to make it work, you need to pass the crystal eyes args to the server as well.

`pvserver --stereo --stereo-type="Crystal Eyes"`

@utkarsh.ayachit : FYI

---

<div class="post-metadata">

### Author: ![lyz](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/l/e47774/32.png) [@lyz](https://discourse.paraview.org/u/lyz)
#### Post date: [December 9, 2019, 1:15pm UTC](https://discourse.paraview.org/t/crystal-eyes-mode-in-server-and-client/3132/3 "2019-12-09T13:15:34Z")

</div>

The GPU is NVIDIA Quadro K4200. The Crystal Eyes mode works in localhost.  
Now, when I use “mpiexec -hosts 1 renderleft …”, it works, however, when I use “mpiexec -hosts 2 renderleft rendermiddle” it doesn’t work. Is there variable need to be set in cmake. Here is the **mpi** variable I use, can you help me to check these.

 ![mpi](https://discourse.paraview.org/uploads/default/original/2X/d/d7b4d3051c13f67ce0a0f6420181d3e378fda624.png)

---

<div class="post-metadata">

### Author: ![utkarsh.ayachit](https://discourse.paraview.org/user_avatar/discourse.paraview.org/utkarsh.ayachit/32/39_2.png) [@utkarsh.ayachit](https://discourse.paraview.org/u/utkarsh.ayachit)
#### Post date: [December 10, 2019, 4:07pm UTC](https://discourse.paraview.org/t/crystal-eyes-mode-in-server-and-client/3132/4 "2019-12-10T16:07:58Z")

</div>

Just to confirm, you’re running in plain-old client-server mode i.e. not in tile-display mode or CAVE mode. Is that correct? In that case, the stereo results are expected to only be shown on the client i.e. the Qt application. Are you saying that the client does not show stereo correctly when connected to a parallel server, but works correctly when connected to a single-rank pvserver?

---

<div class="post-metadata">

### Author: ![lyz](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/l/e47774/32.png) [@lyz](https://discourse.paraview.org/u/lyz)
#### Post date: [December 11, 2019, 1:01am UTC](https://discourse.paraview.org/t/crystal-eyes-mode-in-server-and-client/3132/5 "2019-12-11T01:01:59Z")

</div>

Thanks. Finally, it works when I use pvserver --stereo --stereo-type=“Crystal Eyes”. The server and client can show stereo very well.

---

<div class="post-metadata">

### Author: ![lyz](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/l/e47774/32.png) [@lyz](https://discourse.paraview.org/u/lyz)
#### Post date: [December 11, 2019, 1:07am UTC](https://discourse.paraview.org/t/crystal-eyes-mode-in-server-and-client/3132/6 "2019-12-11T01:07:22Z")

</div>

Thanks for your reply. And I have other question, can I adjust **stereo type** in the Paraview application (I mean in the GUI panel) without pass **–stereo** parameter in command line? I read your another proposal post [active stereo and paraview](https://discourse.paraview.org/t/active-stereo-and-paraview/1872), and which version I can use this function?

---

<div class="post-metadata">

### Author: ![utkarsh.ayachit](https://discourse.paraview.org/user_avatar/discourse.paraview.org/utkarsh.ayachit/32/39_2.png) [@utkarsh.ayachit](https://discourse.paraview.org/u/utkarsh.ayachit)
#### Post date: [December 11, 2019, 11:35am UTC](https://discourse.paraview.org/t/crystal-eyes-mode-in-server-and-client/3132/7 "2019-12-11T11:35:34Z")

</div>

> [@lyz](#):
>
> can I adjust **stereo type** in the Paraview application (I mean in the GUI panel) without pass **–stereo** parameter in command line?

This is currently not possible. The command line argument is necessary.
