Jetson Tk1: Ubuntu 14.04 - non working packages and applications

Unable to compile Audacity:

checking whether C++ compiler accepts -msse… no
configure: error: Need a version of gcc with -msse
configure: error: ./configure failed for lib-src/sbsms

gcc version 4.8.2 (Ubuntu/Linaro 4.8.2-19ubuntu1)

fine, how did you do that ?

This is “streaming” SIMD extension, and requires a CPU with this…only x86 CPUs have this. NEON in ARMv7 might be considered as something of a similar purpose. Bottom line, this application cannot be ported to Jetson without ARM-specific porting of this part of the program. It isn’t just a recompile.

Likely this is a lot of work, but perhaps NEON could outperform it.

I compiled pov-ray from source by installing dependencies and following the instructions.


Granted, with AA and Jitter it took 10 minutes as the program is not CUDA accelerated

That’s some hell of a (small) scene already :)
Blender is so tempting as it supposedly DOES have GPU/CUDA support.
I was quite disappointed to see it crash on the ubuntu14-04 as well but I am not part of Launchpad to ‘force’ that bug.

@enthusi:
Getting a launchpad account is easy:
https://login.launchpad.net/+login

ok - Thank you! added me for the blender and the pepper-flash bug.

Blender dependency, OpenColorIO, compile error:

2014-08-07 00:25:50 (326 KB/s) - ‘/home/ubuntu/src/blender-deps/OpenColorIO-1.0.7.tar.gz’ saved [11844185]

Unpacking OpenColorIO-1.0.7
– The C compiler identification is GNU 4.8.2
– The CXX compiler identification is unknown
– Check for working C compiler: /usr/bin/cc
– Check for working C compiler: /usr/bin/cc – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working CXX compiler: /usr/bin/c++
– Check for working CXX compiler: /usr/bin/c++ – broken
CMake Error at /usr/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:54 (message):
The C++ compiler “/usr/bin/c++” is not able to compile a simple test
program.

It fails with the following output:

Change Dir: /home/ubuntu/src/blender-deps/OpenColorIO-1.0.7/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make “cmTryCompileExec3140967187/fast”

/usr/bin/make -f CMakeFiles/cmTryCompileExec3140967187.dir/build.make
CMakeFiles/cmTryCompileExec3140967187.dir/build

make[1]: Entering directory
`/home/ubuntu/src/blender-deps/OpenColorIO-1.0.7/build/CMakeFiles/CMakeTmp’

/usr/bin/cmake -E cmake_progress_report
/home/ubuntu/src/blender-deps/OpenColorIO-1.0.7/build/CMakeFiles/CMakeTmp/CMakeFiles
1

Building CXX object
CMakeFiles/cmTryCompileExec3140967187.dir/testCXXCompiler.cxx.o

/usr/bin/c++ -fPIC -m32 -march=i686 -o
CMakeFiles/cmTryCompileExec3140967187.dir/testCXXCompiler.cxx.o -c
/home/ubuntu/src/blender-deps/OpenColorIO-1.0.7/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx

c++: error: unrecognized argument in option ‘-march=i686’

c++: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m
armv4 armv4t armv5 armv5e armv5t armv5te armv6 armv6-m armv6j armv6k
armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m
armv8-a armv8-a+crc iwmmxt iwmmxt2 native

c++: error: unrecognized command line option ‘-m32’

make[1]: Leaving directory
`/home/ubuntu/src/blender-deps/OpenColorIO-1.0.7/build/CMakeFiles/CMakeTmp’

make[1]: ***
[CMakeFiles/cmTryCompileExec3140967187.dir/testCXXCompiler.cxx.o] Error 1

make: *** [cmTryCompileExec3140967187/fast] Error 2

CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:1 (project)

– Configuring incomplete, errors occurred!
See also “/home/ubuntu/src/blender-deps/OpenColorIO-1.0.7/build/CMakeFiles/CMakeOutput.log”.
See also “/home/ubuntu/src/blender-deps/OpenColorIO-1.0.7/build/CMakeFiles/CMakeError.log”.
make: *** No targets specified and no makefile found. Stop.
cp: cannot stat ‘ext/dist/lib/libtinyxml.a’: No such file or directory
cp: cannot stat ‘ext/dist/lib/libyaml-cpp.a’: No such file or directory
make: *** No rule to make target `clean’. Stop.
ERROR! OpenColorIO-1.0.7 failed to compile, exiting
ubuntu@tegra-ubuntu:~/Desktop/blender-2.70/build_files/build_environment$

I noticed that one, too though it is obviously a bug/fault in den Blender sources/configure:

/usr/bin/c++ -fPIC -m32 -march=i686 -o

Hi enthusi, if you are sure that you got your parallel port working, then let me know what it required from the kernel & firmware and the mini-PCIe card you are using, and I’ll post the info on the Wiki in case some other users want to use a parallel port.

Hi,
the parport is working with the MOSCHIP now. However I have to modprobe it with IRQ=none.
auto, or 130 (as given by lspci -v) conflicts with something and the whole system completely freezes then.

lspci -v:

01:00.2 Parallel controller: MosChip Semiconductor Technology Ltd. PCIe 9912 Multi-I/O Controller (prog-if 03 [IEEE1284])
	Subsystem: Device a000:2000
	Flags: bus master, fast devsel, latency 0, IRQ 130
	I/O ports at 1010 
	I/O ports at 1018 
	Memory at 32204000 (32-bit, non-prefetchable) 
	Memory at 32205000 (32-bit, non-prefetchable) 
	Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [78] Power Management version 3
	Capabilities: [80] Express Legacy Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Kernel driver in use: parport_serial

The MOSCHIP has 1 parport and 2 serial ports.

lsmod
Module                  Size  Used by
ppdev                   7755  0 
lp                      6829  0 
parport_serial          6725  0 
parport_pc             14847  2 parport_serial
parport                16565  3 lp,ppdev,parport_pc
nvhost_vi               2908  0

I enabled the kernal-modules you would naively expect:

CONFIG_LOCALVERSION="-gf455cd4"
CONFIG_PPDEV=m
CONFIG_PRINTER=m
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
CONFIG_PARPORT_SERIAL=m

My driver first had issues as it was using direct I/O port access via inb(), outb() as for x86.
I changed it to ioctl() and /dev/parport0

To use the parport, I do:

rmmod lp (not sure if required?)
modprobe parport_pc io=0x1010 irq=none

The drive for the (old) Batronix Eprommer works well now!

dmesg after ‘modprobe parport_pc io=0x1010 irq=130’:

[106469.907355] parport0: PC-style at 0x1010, irq 130 [PCSPP(,...)]
[106469.916246] genirq: Flags mismatch irq 130. 00000000 (parport0) vs. 00000080 (PCIE)
[106469.924602] parport0: irq 130 in use, resorting to polled operation

When I use: ‘modprobe parport_pc io=0x1010 irq=auto’

[ 208.809261] parport0: PC-style at 0x1010, irq 0 [PCSPP(,…)]
[ 208.809346] parport0: irq 0 in use, resorting to polled operation

Same (mis)behavior.

I dont mind, as everythings works well but was wondering if irq=none could be an issue at some point?

Cheers,
Martin

I’ve got audacity on my jetson (under Debian).
I’ve removed jackd, installed libasound-dev and compiled audacity manualy:
./configure --without-sbsms
It work very well ;-)

I got the same error - with ham radio software : FLDigi

I: main: appname: fldigi
I: main: NBEMS.DIR not present
I: main: HomeDir: /home/ubuntu/.fldigi/
I: main: RigsDir: /home/ubuntu/.fldigi/rigs/
I: main: ScriptsDir: /home/ubuntu/.fldigi/scripts/
I: main: PalettesDir: /home/ubuntu/.fldigi/palettes/
I: main: LogsDir: /home/ubuntu/.fldigi/logs/
I: main: PicsDir: /home/ubuntu/.fldigi/images/
I: main: HelpDir: /home/ubuntu/.fldigi/help/
I: main: MacrosDir: /home/ubuntu/.fldigi/macros/
I: main: WrapDir: /home/ubuntu/.fldigi/wrap/
I: main: TalkDir: /home/ubuntu/.fldigi/talk/
I: main: TempDir: /home/ubuntu/.fldigi/temp/
I: main: KmlDir: /home/ubuntu/.fldigi/kml/
I: main: PskMailDir: /home/ubuntu/
I: main: DATA_dir: /home/ubuntu/.fldigi/data/
I: main: NBEMS_dir: /home/ubuntu/.nbems/
I: main: ARQ_dir: /home/ubuntu/.nbems/ARQ/
I: main: ARQ_files_dir: /home/ubuntu/.nbems/ARQ/files/
I: main: ARQ_recv_dir: /home/ubuntu/.nbems/ARQ/recv/
I: main: ARQ_send: /home/ubuntu/.nbems/ARQ/send/
I: main: WRAP_dir: /home/ubuntu/.nbems/WRAP/
I: main: WRAP_recv_dir: /home/ubuntu/.nbems/WRAP/recv/
I: main: WRAP_send_dir: /home/ubuntu/.nbems/WRAP/send/
I: main: WRAP_auto_dir: /home/ubuntu/.nbems/WRAP/auto/
I: main: ICS_dir: /home/ubuntu/.nbems/ICS/
I: main: ICS_msg_dir: /home/ubuntu/.nbems/ICS/messages/
I: main: ICS_tmp_dir: /home/ubuntu/.nbems/ICS/templates/
I: main: FLMSG_dir: /home/ubuntu/.nbems/
I: main: FLMSG_dir_default: /home/ubuntu/.nbems/
I: main: FLMSG_WRAP_dir: /home/ubuntu/.nbems/WRAP/
I: main: FLMSG_WRAP_recv_dir: /home/ubuntu/.nbems/WRAP/recv/
I: main: FLMSG_WRAP_send_dir: /home/ubuntu/.nbems/WRAP/send/
I: main: FLMSG_WRAP_auto_dir: /home/ubuntu/.nbems/WRAP/auto/
I: main: FLMSG_ICS_dir: /home/ubuntu/.nbems/ICS/
I: main: FLMSG_ICS_msg_dir: /home/ubuntu/.nbems/ICS/messages/
I: main: FLMSG_ICS_tmp_dir: /home/ubuntu/.nbems/ICS/templates/
I: storage_filename: Errno=Nie ma takiego pliku ani katalogu with /home/ubuntu/.fldigi/data/NAVTEX_Stations.csv. Trying /usr/share/fldigi/NAVTEX_Stations.csv
I: storage_filename: Errno=Nie ma takiego pliku ani katalogu with /home/ubuntu/.fldigi/data/NAVTEX_Stations.csv. Trying /usr/share/fldigi/NAVTEX_Stations.csv
I: storage_filename: Errno=Nie ma takiego pliku ani katalogu with /home/ubuntu/.fldigi/data/NAVTEX_Stations.csv. Trying /usr/share/fldigi/NAVTEX_Stations.csv
I: LoadAndRegister: Opening:/usr/share/fldigi/NAVTEX_Stations.csv
I: LoadAndRegister: Read:/usr/share/fldigi/NAVTEX_Stations.csv with 204 records in 0 seconds
I: storage_filename: Errno=Nie ma takiego pliku ani katalogu with /home/ubuntu/.fldigi/data/nsd_bbsss.txt. Trying /usr/share/fldigi/nsd_bbsss.txt
I: storage_filename: Errno=Nie ma takiego pliku ani katalogu with /home/ubuntu/.fldigi/data/nsd_bbsss.txt. Trying /usr/share/fldigi/nsd_bbsss.txt
I: storage_filename: Errno=Nie ma takiego pliku ani katalogu with /home/ubuntu/.fldigi/data/nsd_bbsss.txt. Trying /usr/share/fldigi/nsd_bbsss.txt
I: LoadAndRegister: Opening:/usr/share/fldigi/nsd_bbsss.txt
I: LoadAndRegister: Read:/usr/share/fldigi/nsd_bbsss.txt with 11548 records in 0 seconds
I: storage_filename: Errno=Nie ma takiego pliku ani katalogu with /home/ubuntu/.fldigi/data/station_table.txt. Trying /usr/share/fldigi/station_table.txt
I: storage_filename: Errno=Nie ma takiego pliku ani katalogu with /home/ubuntu/.fldigi/data/station_table.txt. Trying /usr/share/fldigi/station_table.txt
I: storage_filename: Errno=Nie ma takiego pliku ani katalogu with /home/ubuntu/.fldigi/data/station_table.txt. Trying /usr/share/fldigi/station_table.txt
I: LoadAndRegister: Opening:/usr/share/fldigi/station_table.txt
I: LoadAndRegister: Read:/usr/share/fldigi/station_table.txt with 1505 records in 0 seconds
I: storage_filename: Errno=Nie ma takiego pliku ani katalogu with /home/ubuntu/.fldigi/data/ToR-Stats-SHIP.csv. Trying /usr/share/fldigi/ToR-Stats-SHIP.csv
I: storage_filename: Errno=Nie ma takiego pliku ani katalogu with /home/ubuntu/.fldigi/data/ToR-Stats-SHIP.csv. Trying /usr/share/fldigi/ToR-Stats-SHIP.csv
I: storage_filename: Errno=Nie ma takiego pliku ani katalogu with /home/ubuntu/.fldigi/data/ToR-Stats-SHIP.csv. Trying /usr/share/fldigi/ToR-Stats-SHIP.csv
I: LoadAndRegister: Opening:/usr/share/fldigi/ToR-Stats-SHIP.csv
I: LoadAndRegister: Read:/usr/share/fldigi/ToR-Stats-SHIP.csv with 1742 records in 0 seconds
I: storage_filename: Errno=Nie ma takiego pliku ani katalogu with /home/ubuntu/.fldigi/data/wmo_list.txt. Trying /usr/share/fldigi/wmo_list.txt
I: storage_filename: Errno=Nie ma takiego pliku ani katalogu with /home/ubuntu/.fldigi/data/wmo_list.txt. Trying /usr/share/fldigi/wmo_list.txt
I: storage_filename: Errno=Nie ma takiego pliku ani katalogu with /home/ubuntu/.fldigi/data/wmo_list.txt. Trying /usr/share/fldigi/wmo_list.txt
I: LoadAndRegister: Opening:/home/ubuntu/.fldigi/data/wmo_list.txt
I: LoadAndRegister: Read:/home/ubuntu/.fldigi/data/wmo_list.txt with 0 records in 0 seconds
I: main: CPU speed factor=50.584657: setting slowcpu=true, sample_converter="Fastest Sinc Interpolator"
I: testCommPorts: Found serial port /dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller-if00-port0
I: testCommPorts: Found serial port /dev/ttyS0
I: testCommPorts: Found serial port /dev/ttyS1
I: testCommPorts: Found serial port /dev/ttyS2
I: testCommPorts: Found serial port /dev/ttyS3
I: testCommPorts: Found serial port /dev/ttyUSB0
I: loadDefault: macro file name: macros.mdf
I: loadDefault: loading: /home/ubuntu/.fldigi/macros/macros.mdf
ALSA lib pcm_dsnoop.c:618:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
bt_audio_service_open: connect() failed: Połączenie odrzucone (111)
bt_audio_service_open: connect() failed: Połączenie odrzucone (111)
bt_audio_service_open: connect() failed: Połączenie odrzucone (111)
bt_audio_service_open: connect() failed: Połączenie odrzucone (111)
ALSA lib pcm_dmix.c:961:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
FATAL: cannot locate cpu MHz in /proc/cpuinfo

You might find this of interest:
https://devtalk.nvidia.com/default/topic/765800/workaround-for-fatal-cannot-locate-cpu-mhz-in-proc-cpuinf/