Download and install RVS

RVS-WIN-CPU/GPU software installation

Hardware configuration requirements for WINDOWS

Requirements Configuration
CPU I3 6300 Dual core 4 threads
GPU CPU version: NVIDIA graphics card
GPU version: NVIDIA GTX 1060 (6G)and above
Internal memory Minimum:8G
Recommended:16G
Hard disk 128G Free
System Windows11 and above

Install the RVS software

The RVS CPU and GPU versions are installed in the same way. The following uses the CPU version as an example to describe how to install RVS.

The installation steps are as follows:

  1. In figure overflow website > developer community > RVS developer community > download link, download RVS software package.

  2. Decompress the package.

    • CPU version compression package name:RobotVisionSuite_XXX_ WinCPU.zip

    • GPU version compression package name:RobotVisionSuite_XXX_ WinGPU.zip

  3. Get the installation file.

    • CPU version file name:RobotVisionSuite_XXX_WinCPU.exe

    • GPU version file name:RobotVisionSuite_XXX_WinGPU.exe

  4. Double-click the exe to start the installer.

    Note: If the window displays a similar security warning,please select "Remove protectio and open".

    image-20231206152547675

  5. Please enter the admin user name and password, click yes.

    image-20231206153356761

  6. Select the installation language, “English” is recommended, and click OK.

    image-20231206153453366

  7. Browse the RobotVisionSuite Software License Agreement and clickNext .

    image-20231206153708765

  8. Select the installation location.

    Note: The path does not contain Chinese characters. Disk C is not recommended. If you have to install C disk, please remember to set administrator rights for subsequent use.

    image-20231116083431689

  9. It is recommended to choose the Create desktop shortcut, which contains the rvsruntime directory, and is convenient for subsequent projects.

    image-20231116083645290

  10. Click Install.

    image-20231116083716524

  11. Click Finish when the installation is complete

    image-20231116084547500

Run the RVS software for the first time

Install Percipio camera driver

A USB driver is required for the first use of the Tuyang USB camera.

  1. Right clickon on the RVS desktop shortcut and select Open File Location.

    image-20231206153752360

  2. Find the cyusb3.inf file in the {installation directory}\RvsResources\tyCamDriverx64 directory and install it.

    image-20231206153808328

Give permission to the software administrator

This step is mandatory for users whose software is installed on drive C or other administrator drive letters. Other users can skip this step.

Right-click the shortcut -> Properties -> Shortcut -> Advanced -> Select Run as administrator -> OK ->Apply

image-20231206155022218

Run and activate (Apply for version license)

  1. Double-click the shortcut to start RVS for the first time. After the startup animation ends, the following prompt will appear.

    image-20231116082642662

  2. Click “OK” and click “Copy” in the license dialog box to copy the machine code.

    image-20231116085126117

  3. Email the machine code to Info@percipio.xyz or contact Percipio sales staff. The content of the email includes but is not limited to, the subject is RVS authorization and the content is user information or your company information.Please upload a txt file containing the machine code .Subsequently, the authorization code and common Q&A files will be sent to the email address specified by the customer through rvs-support@percipio.xyz.

The received activation file is a license.txt or a string. Save the file as license.txt. Copy the txt file to the License directory in the RVS installation directory.

Operation steps:

  1. Desktop shortcut Right-click → Open the location of the file → Find the license folder

  2. Copy the license.txt file to the License directory.

    Note: When Windows hides file extensions by default, a common mistake is to write a file extension with two suffixes, such as the license.txt file extension with the wrong license.txt.txt.

    image-20231206154548517

At this point, RVS activation is complete. Double-click the desktop shortcut again to start.

Trial License

Trial License need not apply directly to RVS developer community - > trial License download to download.

After you click the link, a string is displayed and save it as license.txt. Copy the txt file to the License directory in the RVS installation directory.

The procedure is the same as that for applying for a version license.

Q&A

White screen after software startup (software interface is all white)

Phenomenon: After double-clicking to start the software, the pop-up software interface is always white, and the console is displayed as follows:

p1_4_1

Solution : This problem is usually caused by the laptop is not enabled by the graphics card (due to not connected to the power supply or non-high performance mode, or the default setting does not enable the graphics card, etc.).

Steps : Go to Windows11 Settings → System → Screen → Display Card → Custom Options of Applications → Add Applications (or Browse), find RobotVisionSuite.exe, and then use a unique display for this selection.

For devices without NVIDIA graphics cards, this software is not considered compatible at this time.

Flash back when activating machine code generation

Check your computer’s network card Settings for any virtual network cards that are not enabled or in the wrong state.

Unable to save project data pictures and logs

Check whether the software installation path or save path is the C disk address that requires administrator privileges, refer to the [give software administrator privileges](# give software administrator privileges) section of this article or reinstall the software to another disk.

XXX.dll not found

Check the environment variable to see if “{RVS installation path}\RvsResources\bin” exists under the path entry, if not, manually add this directory to the PATH.

The terminal prints Error: Error=XML_ERROR_FILE_NOT_FOUND

Check the environment variable to see if there is an entry RVS_ROOT with the value of RVS installation directory. If not, add it manually.

Update Online

Note: RVS 1.3.239 and above can only be updated online.

Operation steps:

  1. Open a command line window and go to the RVS installation path or open a command line window under the RVS installation path.

  2. See usage help.

    RVSUpdateTool.exe -h
    
  3. Check for updates.

    RVSUpdateTool.exe check
    
  4. Perform the update.

    RVSUpdateTool.exe update
    
  5. Rollback from the backup copy.

    RVSUpdateTool.exe fallback
    

    image-20231116082922401

RVS-Ubuntu-GPU version software installation

Install and configure the GPU software

Requirements Configuration
CPU I7 6700 4 cores 8 threads or more
GPU The minimum:NVIDIA GTX1050 (AI module can only reason, not train)
Recommended:NVIDIA GTX1060 (Full features)
Internal memory Minimum:8G
Recommended:16G
Hard disk 128G Free
System Ubuntu 20.04 STL

Update the NVIDIA driver

Installation Method 1

  1. Open the system menu bar and select Software & UpdatesAdditional Drivers.

  2. Select driver version 470 and above and click Apply changes.

  3. Wait until the installation is complete and restart the computer.

    image-20231116142706075

Installation Method 2

  1. Keep the domestic source of Ubuntu 20.04 native system unchanged.

  2. Update the source list.

    sudo apt-get update  
    
  3. Added nvidia graphics driver dedicated source.

    sudo add-apt-repository ppa:graphics-drivers/ppa
    
  4. Update the download source.

    sudo apt-get update
    
  5. Lists the current system’s video card driver information and drivers that can be installed.

    ubuntu-drivers devices
    
  6. Select the driver version 470 or later, nvidia-driver-470-distro non-free recommended.

    sudo apt-get install nvidia-470
    
  7. Restarting after installation will overwrite the original driver, so there is no need to manually mask the old driver.

    sudo reboot
    
  8. After restarting, check the graphics card information: nvidia-smi, if there is normal graphics card information output, the installation is successful, as shown below:

    p222

Note: Unable to access system issues

If the ubuntu OS is dual, a black screen may be displayed after the restart or the Ubuntu OS cannot be accessed. There are two reasons for this problem.

Reason 1 : The new graphics driver is not loaded by ubuntu

The solution:After booting into grub selection interface, press “e” to enter the boot script editing mode. Add acpi_osi=linux nomodeset after quiet splash to tell the kernel that linux is about to start, and then load linux related drivers. In this way, you can match the newly installed nvidia driver. nomodeset means to tell the kernel not to load the graphics card and to use BIOS mode until the graphical interface runs. This configuration item needs to be added to /boot/grub/grub.cfg after boot.

Reason 2: The computer does not support the above installation method to install the graphics card

Solution: Go to the official website to download NVIDIA closed source driver package.deb for manual installation, after installation will shield ubuntu built-in driver, no need to manually shield.

Install the RVS software

  1. Download the RVS package with the file name RobotVisionSuite-XX-GPU.run. This case uses RobotVisionSuite-1.5-GPU.run.

  2. Give the user executable permission for the software package:

Method 1 : Right-clicksoftware package, select Properties, in the content ofPermissions, check the box after Execute.

image-20231116144030552

Method 2 : Open the terminal and enter the command.

chmod a+x RobotVisionSuite-XXX-GPU.run (Note the path)

p232

  1. Double-click the installation package to install it, or enter./RobotVisionSuite-XXX-GPU.run on the terminal (note the path). Click Next.

    p233

  2. The default installation directory is ~/rvs-installed. Click Next.

    p234

  3. Select the installed component, usually Select All , select Select All, and click Next.

    p235

  4. For the license, select ‘I accept the license’ and click Next.

    p236

  5. To start the installation, click install.

    p237

  6. If the Installer Error pop-up window is displayed during the installation process, Ignore can be used.

    p238

  7. The user password is required here.

    p239

  8. Wait for the installation to Finish and click Finish.

p2310

Start RVS

Run RVS for the first time

  1. Script to start RVS: Open the terminal, first go to the script in the RVS installation directory:

    cd ~/rvs-installed/script/
    
  2. Start the software:

    ./rvs_start.sh
    

    p241

  3. If the page starts normally, skip this step. If the page fails to start normally, a message is displayed indicating that the library is missing, for example, error while loading shared libraries:XXX:cannot open shared object file,RVS environment dependencies need to be supplemented.

    Still under script in the RVS installation directory, execute rvs_pre_install.sh. Enter the following command.

    sudo ./rvs_pre_install.sh
    

    p242

  4. When the interface starts normally, the pop-up window that needs to activate the file will pop up. Click OK.

    image-20231116144356514

  5. The License window will then pop up to activate the software.

    image-20231116144448410

Get software activation (Apply for version license)

Click copy this string of machine code and send an email to Info@percipio.xyz or contact percipio sales staff. The content of the email includes but is not limited to, the subject is RVS authorization and the content is user information or your company information. Please upload the txt file containing machine code in the attachment. Subsequently, the authorization code and common Q&A files will be sent to the mailbox designated by the customer through rvs-support@percipio.xyz.

The activation file name is license.txt. Copy this txt file to the Licenses (~/ rvs-installed /Licenses) in the RVS installation directory to complete rvs activation.

image-20231116144540001

Get software activation (trial license)

Trial License need not apply directly to RVS developer community - > trial License download to download.

After you click the link, a string is displayed and save it as license.txt. Copy the txt file to the License directory in the RVS installation directory.

The procedure is the same as that for applying for a version license.

Icon to run RVS

After activation, the boot mode is still script boot: script Start RVS: Open the terminal and go to Script in the RVS installation directory.

cd ~/rvs-installed/script/

Start the software:

./rvs_start.sh

Or you can use the icon to quickly access the RVS software:

When the script is started for the first time, find the RVS software icon in the dock bar, right-click the icon and select Add to Favorites to fix it in the dock bar.

RVS-GPU version of docker image installation

The docker image of RVS is applicable to the working environment where node needs to be compiled. However, you can still manually add the compiled dynamic link library to rvs_sdk/build/lib in the RVS installation directory (if no manual creation is required). This allows devices that do not have an image installed to use the compiled dynamic library.

Install docker

Download dockerInstall Installation script. The file name is dockerInstall.sh.

./dockerInstall.sh

Test whether docker was installed successfully.

sudo docker run --rm --gpus all nvidia/cuda:11.0.3-base-ubuntu20.04 nvidia-smi

p251

If the output is similar to the above table style, it proves successful. If cuda11.0 is not installed, this step will be automatically installed.

Ubuntu adds users to docker group users, running without sudo

Method 1 : Executing the docker command directly will encounter permission problems, because the /var/run/docker.sock file, except the root user, only docker group users can read and write.

  1. View all group users.

    cat /etc/group
    
  2. Add the current user to the docker group.

    sudo gpasswd -a 用户名 docker
    
  3. Then logout the current user, log in again, or restart, and cat /etc/group is shown below.

    p253

Method 2: If docker does not exist in /etc/group/, sudo permissions are not required to add a user to a docker user group using the following method.

  1. Create a user group first.

    sudo groupadd docker
    
  2. Add a user to a group.

    sudo gpasswd -a${USER}docker
    
  3. Restart the service.

    sudo service docker restart
    
  4. The current session is switched to the new group.

    newgrp - docker
    

Docker loading the image

Download rvs-runtime - x.x.x.tar. gz installation package, extract the file after called rvs-runtime-x.x.x.tar.

In the decompressed directory, type:

docker load -i rvs-runtime-x.x.x.tar

After loading, run the docker images command to view the currently loaded image, as shown in the figure:

p254

Docker start software

  1. Script start docker: Open the terminal. First go to script in the RVS installation directory:

    cd ~/rvs-installed/script/
    

    Start the docker image:

    ./docker_run.sh
    

    Enter the docker container:

    ./docker_exec.sh
    

    If you successfully enter docker, you will appear as the root user.

    image-20230510145543513

  2. Start RVS software: Enter runtime in docker to quickly enter the project directory.

    runtime
    

    Start RVS

    RobotVisionSuite
    

    p256 When activating the RVS-GPU version, you can start the software interface normally. However, when you want to enter the docker environment of RVS-GPU to start the software interface, the dialog box “no license file exists!” is displayed. Please enter the following command in the terminal that has entered docker:

    export RVS_LICENSE_DIR="/rvs/Licenses"
    

    In general, it is only recommended to compile in docker, and try not to launch a graphical interface in docker.

  3. You can also manually enter the projects directory to manage multiple projects:

    cd /rvs/projects
    

    Browse for multiple items in the current folder.

    ls
    

    image-20230510151203647

Online update

Note: RVS 1.5.239 and above can only be updated online.

**Operation steps: **

  1. Open the command line window in./rvs-installed/script.

  2. See usage help.

    ./RVSUpdateTool -h
    
  3. Check for updates.

    ./RVSUpdateTool check
    
  4. Perform the update.

    ./RVSUpdateTool update
    
  5. Rollback from the backup copy.

    ./RVSUpdateTool fallback
    

    image-20231116150444829

RVS-Ubuntu-CPU version software installation

Install and configure the CPU software

Requirements Configuration
CPU I3 6300 Dual core 4 threads
GPU No GPU required or GPU below 1050
Internal memory Minimum: 8G
Recommended: 16G
Hard disk 128G Free
System Ubuntu 20.04STL

Install the RVS software

The CPU and GPU versions are installed the same way. Reference RVS - Ubuntu - GPU installation operation.

Install docker

Download the dockerInstall installation script in dockerinstall-cpu.sh. In addition to testing whether the docker installation is successful and the GPU is different, the rest of the docker image installation and startup software are consistent with the GPU description, which will not be described in this chapter. Refer to RVS - Ubuntu - GPU section operation.

./dockerInstall-cpu.sh

To test whether docker was installed successfully:

docker run ubuntu:20.04 /bin/echo “Hello world”

p331

If the output is similar to the above table style, it proves successful. If the ubuntu20.04 image is not installed, this step will be automatically installed.