-
-
Notifications
You must be signed in to change notification settings - Fork 9
Setup (Ubuntu)
Jason Wang edited this page Sep 4, 2022
·
29 revisions
You will need Ubuntu 20.04. You can either either
- Purchase a dedicated higher performance computer with Nvidia GPU (Recommended)
- The Systemctl gazelle laptop is an affordable high performance linux computer (1500 dollars) (https://system76.com/laptops/gazelle)
- Dual Boot your PC to Ubuntu (Possible)
- Remember to have a USB stick of at least 8-16 GB
Robot Software is quite CPU/GPU heavy and you need a lot of system resources to run them. If you are using dual boot, ensure your computer meets the following requirements
- Make sure its Ubuntu 20.04 LTS and not 18.04.5 LTS and not 22.04 LTS
- Make sure the Ubuntu storage size is at least 200GB.
- At least an 8 core machine with 16 GB RAM is needed
- GPU must be Nvidia based and capable of running CUDA (https://developer.nvidia.com/cuda-gpus#compute)
- https://ubuntu.com/tutorials/create-a-usb-stick-on-windows
- Ubuntu image to download https://releases.ubuntu.com/20.04/
- VM Emulator https://www.vmware.com/products/workstation-pro/workstation-pro-evaluation.html
- Ubuntu Desktop https://releases.ubuntu.com/20.04.4/ Download the Desktop image
- Make sure when you setup the Virtual Machine, move the .iso into the virtual machine files and also enable more CPU for the virtual machine. 50% of your CPU is good
- Configuring Virtual Machine Hardware
- After setting up a virtual machine on VMware, you can head to "Edit virtual machine settings" under the power button for your virtual machine. You can use the settings to dedicate certain resources such as RAM, storage, and video memory but the values will depend on your hardware.
- First for memory dedicate all of your system's RAM so that it can be used by the VM while it is running. This amount will be indicated by the blue bar on the slider labeled "maximum recommended memory".
- For processors, dedicate 50% or more of your CPU (ideally all). The values for the cores will depend on your CPU. For example, an i7-10750H should be set to 6 processors and 2 cores per processor.
- Finally, head on to display and use the maximum amount available for graphics memory. Finally, check the box for "Accelerate 3D Graphics" and save your settings (IMPORTANT).
- Check that nvidia drivers are installed using
nvidia-smi
, otherwise follow instructions here https://linuxconfig.org/how-to-install-the-nvidia-drivers-on-ubuntu-20-04-focal-fossa-linux