This application note outlines the installation of XCAP software and drivers for PIXCI® frame grabbers on the nVidia TK1 with ARM‑armv7l processor running Linux. Changes to the TK1 and its Linux can be expected; this application note was written for use with TK1 and Linux released circa January 2017 (Linux for Tegra r21.5).
apt-get update
apt-get -y install openjdk-jre-8
(Use of
''default-jre''
is not recommended; specifically, issues have been noted with
openjdk‑jre‑11 and is not recommended).
Note: If the Java JRE for Linux is not already installed, newer releases of the XCAP installer (below) will offer to install the Java JRE from the Linux distribution and repository.
xcaplnx_armv7l.bin
from
www.epixinc.com/support/files.php.
The current Or download with:
wget ftp://ftp.epixinc.com/software/xcap_v38/xcaplnx_armv7l.bin
for the current release version, or:
wget ftp://ftp.epixinc.com/downloads/xcaplnx_armv7l.bin
for the (next) prerelease version.
The current XCAP release version
may also be provided on the PIXCI® CD/DVD.
Do:
chmod a+x xcaplnx_armv7l.bin
./xcaplnx_armv7l.bin
to execute the XCAP installer.
Some versions of the JRE do not accept a
''-client''
option.
It may be necessary to
edit
/usr/local/xcap/xcaplnx
and
/usr/local/xcap/program/xcaplnx
and remove the
''-client''
option.
Problems have been reported with OpenJDK V1.6, causing XCAP to crash. Use a different version of Java.
Problems have been reported with OpenJDK V1.7, resulting in:
Internal Error (os_linux_zero.cpp:285)
fatal error: caught unhandled signal 11
Adding the
''-jamvm''
option
has been suggested by the Java community to remedy the problem;
edit
/usr/local/xcap/xcaplnx
and
/usr/local/xcap/program/xcaplnx
and add the
''-jamvm''
option (after the
''java''
command).
Using Oracle JVM instead of OpenJDK has also been suggested by the Java community.
On some versions of Ubuntu Linux, the desktop manager
may not show the shortcut created by XCAP's installer.
Using the Linux file browser, find
/usr/share/applications/xcap.desktop,
then copy same and paste onto the desktop.
xcap
from a terminal prompt.
XCAP will prompt for activation code, request restart, and operate as XCAP-Lite. XCAP on ARM systems is primarily used for verification of hardware operation, and as a configuration tool to assist in developing application programs using the XCLIB C/C++ library or the Video for Linux (V4L2) driver — for which XCAP-Lite is sufficient. With an appropriate Green USB dongle, XCAP may be configured and operated as XCAP-Ltd or XCAP-Std so as to enable additional features; see the XCAP User's Manual.
PIXCI®
PIXCI® Open/Close
Close (if open)
Driver Assistant
Install PIXCI® Driver
Install Precompiled Driver
Apply
Alternately, the PIXCI® driver can be compiled so as to match the current kernel's version. Install the kernel build modules:
apt-get update
apt-get -y install build-essential
apt-get -y install module-assistant
cd /usr/src/linux-headers-$(uname -r)
make modules_prepare
where
''$(uname -r)''
is replaced with the current kernel version.
Use XCAP's:
PIXCI®
PIXCI® Open/Close
Close (if open)
Driver Assistant
Install PIXCI® Driver
Compile & Install Driver
Apply
/boot/extlinux/extlinux.conf
and add, for example:
coherent_pool=2M
or
vmalloc=512M cma=64M coherent_pool=32M
to the kernel command line so as to allow additional frame buffer memory.
Note: The long kernel command line
may be displayed by the editor
as split into several lines; but it must be edited so as to produce
a single line without line break.
(Use
''cat /proc/cmdline''
to verify the current kernel command line).
There are many considerations in selecting these and other boot parameters for the nVidia TK1; this application note is not intended as a treatise on the subject.
The amount of frame buffer memory available for image capture is also determined by the amount of memory requested by the PIXCI® driver. This is set in the same manner as for x86 or x86‑64 systems; typically using XCAP:
PIXCI®
PIXCI® Open/Close
Close (if open)
Driver Assistant
Set Frame Buffer Memory Size
...
XCAP's
''Forceful Memory Allocation''
option,
used with the memory architecture of x86 and x86‑64 systems,
is not applicable to the TK1.
jetson_clocks.sh
command and
http://elinux.org/Jetson/Performance.
While this application note makes note of this Jetson feature, its impact on PCIe bandwidth has not been confirmed.
xclib_armv7l.bin
or
xclip_armv7l.bin
from
www.epixinc.com/support/files.php.
Install with:
chmod a+x xclib_armv7l.bin
./xclib_armv7l.bin
or
chmod a+x xclip_armv7l.bin
./xclip_armv7l.bin
Copyright (C) EPIX, Inc. All Rights Reserved
Updated: 11-Aug-2025