X2Go enables you to access a graphical desktop of a computer over a low bandwidth (or high bandwidth) connection. In x2go only mode,if using terasic's hardware templates which includes no vedio ip core to build the OpenCL aocx file,you can get more fpga resouce for OpenCL.
To install add-apt-repository on Ubuntu
sudo apt-get install software-properties-common
Once add-apt-repository is installed, run these commands
sudo add-apt-repository ppa:x2go/stable
sudo apt-get update
sudo apt-get install x2goserver x2goserver-xsession
LXDE bindings
sudo apt-get all x2golxdebindings
For Ubuntu
sudo apt-add-repository ppa:x2go/stable
sudo apt-get update
sudo apt-get install x2goclient
For Windows
https://code.x2go.org/releases/binary-win32/x2goclient/releases/4.1.1.1-2018.03.01/x2goclient-4.1.1.1-2018.03.01-setup.exe
- check the host IP on board.
- login user: knat password: knat.
- using "sudo su" to get root privileges
In x2go only mode,there is no vip logic in rbf(aocx) and vip driver will not be loading.
Item | VGA or HDMI (VIP Core) | X2GO only (Ethernet) |
---|---|---|
Hardware template | de10_nano_sharedonly_hdmi | de10_nano_sharedonly (form terasic) |
opencl.rbf | contain VIP core | no VIP Core |
socfpga.dtb | contain VIP core description | no VIP core description |
init_opencl_16.1.sh | add CL_CONTEXT_COMPILER_MODE_ALTERA=3 | delete CL_CONTEXT_COMPILER_MODE_ALTERA=3 |
init_opencl_17.1.sh | add CL_CONTEXT_COMPILER_MODE_INTELFPGA=3 | delete CL_CONTEXT_COMPILER_MODE_INTELFPGA=3 |
host reprogram fpga | manual (by aocl program look here) | enable |
-
get terasic's hardware templates,such as
de10_nano_sharedonly
,which includes no vedio ip core to build the OpenCL aocx file and rbf file. -
update the device tree block file with the one which contains no vedio ip core descriptoin,such as
socfpga_cyclone5_de10_nano_x2go.dtb
. -
delete the CL_CONTEXT_COMPILER_MODE_xxx flag in initial shell file.
-
install x2go server in sd card
-
add '#' as following in rc.local to disable loading the altvipfb driver .(for c5soc_opencl_lxde_fpga_reconfigurable.img)
#modprobe altvipfb
#service lightdm start