Create Nvidia Mosaic Configuration authored by xiaoyi-cai's avatar xiaoyi-cai
## **Nvidia Mosaic**
_The text is longer than 1048576 characters and has been visually truncated._
**Note**: if the Scalable Display Manager on Armstrong can detect all 8 projectors and successfully engage the Scalable Display Client on Thor, there's no need to follow the rest that is intended for setting up from scratch.
---
# **Set up Nvidia Mosaic from scratch**
To run Scalable Display (SD) properly, the display settings on Thor has to match the settings in Scalable Display Manager on the Vicon computer (Armstrong). To do so, we have to configure Nvidia Mosaic such that 8 projectors are aligned and treated as a single desktop. Here's the [official video from Scalable Display on how to configure Nvidia Mosaic](https://www.youtube.com/watch?v=cjTASrxBIrM&ab_channel=ScalableDisplayTechnologies), whose setting is easier since a non-projector display is available.
In our case, since the only 8 display connections are all used by projectors, we have to use the highbay floor as the monitor to configure Nvidia Mosaic. But can't this be achieved by NoMachine that remotely access the Thor desktop? Before changing the mosaic setting, it's required to terminate background processes by NoMachine and Scalable Display client that are running on Thor, so no remote access by display is allowed.
## **Initial configuration**
**Preparation on Thor:**
* All projectors are connected to GPUs via display connections.
* Bluetooth keyboard and mouse connected to Thor.
* Use NoMachine to remotely access Thor. Right click the desktop and select **Screen Resolution** (or via **Control Panel**), and to set all 8 projectors with:
* Resolution = 1920 x 1200
* Orientation = Landscape (required by Nvidia Mosaic)
* Set Projector 1 as the main display to make things easier later. Projector 1 is the one at the northwest corner of the highbay.
* For simplicity, align monitors into a 4x2 grid. (Do not confuse this with Nvidia Mosaic. So far all projectors are treated as separate monitors)
![image](uploads/da4cc0eb27f916b41f40dd6a636ab50c/image.png)
If everything has been configured correctly, one can see the Thor desktop in the west highbay. It's a good time to move a table into the highbay with the bluetooth keyboard and mouse.
## Nvidia Mosaic
From the highbay floor, right click the Thor desktop and select **Nvidia Control Panel**. On the left menu bar, expand **Workstation** and select **Set up Mosaic**. Ensure that there are 2 GPUs with 8 projectors in total. Click **Create new configuration**. Use the parameters shown below:
* Number of displays: 8
* Topology: 2 x 4
* Orientation of displays: Portrai (flipped)
Select **Next** to proceed.
![image](uploads/a10d71a851a8e9d9a647981e9d8b6294/image.png)
In "**2. Select displays**" penal, ensure that the resolution per display is correctly set as **1920 x 1200**. Furthermore, check that all 8 projectors are present. Click **Next**.
In "**3. Arrange displays**" penal, drag the displays such that we have
* First row: 1 (0, 0) | 2 (0, 1) | 3 (0, 2) | 4 (0, 3)
* Second row: 5 (1, 0) | 6 (1, 1) | 7 (1, 2) | 8 (1, 3)
Make sure total resolution is **4800 x 3840**. When clicking **Apply**, warning will be issued regarding the background processes, such as _DisplayClient (Scalable)_, _nxnode (NoMachine node)_ and so on. Use **Task Manager** to kill these related programs. **Note**: **NoMachine node will not exit if any user is connected to Thor, so make sure to terminate any lingering connections.** Once warning disappears, click **Apply**. It takes roughly 30s and screens will flicker. Then 15s will be available to click **Yes** to save the new configuration.
Lastly, click **Finish** to exit Nvidia Mosaic, and there's _no need_ to do "**4. Adjust overlap and bezel correction**".
Double-check in the **Nvidia Control Penal** to make sure configuration has been saved and look like the following ![image](uploads/8cec84bd9e605dc0777386f27e925926/image.png)
Now, if we open **Screen Resolution** by right-clicking the desktop, we should see a single unified display like the following![image](uploads/6327aee108e3a74ea9ca36af9cef6e2e/image.png)
\ No newline at end of file