jung1981 / linux-track

Automatically exported from code.google.com/p/linux-track
MIT License
0 stars 0 forks source link

linuxtrack 64-bit with OpenCV installs but does not run on Ubuntu 13.04 64-bit. #46

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I installed linuxtrack with compiled OpenCV, 64-bit onto my Ubuntu 13.04 64-bit 
OS for use with X-Plane 10.20.  Linuxtrack GUI works.  Face tracking locks 
freezes linuxtrack, but not a real problem because I have TrackIR.  Installed 
linuxtrack plugin to X-Plane through linuxtrack GUI.  Files appear to have been 
placed in both 32-bit and 64-bit linuxtrack folders, but on running 64-bit 
X-Plane, linuxtrack does not appear as an option under plugins or in joystick 
and equipment settings.  It does appear in 32-bit X-Plane and functions 
perfectly.

Original issue reported on code.google.com by scotland...@cox.net on 23 Oct 2013 at 3:33

GoogleCodeExporter commented 9 years ago
Hello,
could you please navigate in terminal to the XPlane directory, then to 
Resources/plugins/xlinuxtrack folder and run the following commands?

find . -type f -exec file {} \;
find . -type f -exec ldd {} \;

Please attach/post their output here...

One more question - if you run ltr_pipe in terminal, do you get any output?
Kind regards,

Michal

Original comment by f.jo...@email.cz on 23 Oct 2013 at 5:32

GoogleCodeExporter commented 9 years ago
Here is the output to the commands you gave - basically, no output.  ltr_pipe 
did work, I attached some of the output below as well.  Thanks for looking into 
this!

scot@scotPC:~/X-Plane 10/Resources/plugins/xlinuxtrack$ find . -type f -exec 
ldd {} \;
scot@scotPC:~/X-Plane 10/Resources/plugins/xlinuxtrack$ find . -type f -exec 
file {} \;
scot@scotPC:~/X-Plane 10/Resources/plugins/xlinuxtrack$ 

Below is a paste of some of the ltr_pipe output:

130.000000  -80.000000  -45.000000  -300.000000 300.000000  0.000000    3580
130.000000  -80.000000  -45.000000  -300.000000 300.000000  0.000000    3592
130.000000  -80.000000  -45.000000  -300.000000 300.000000  0.000000    3604
130.000000  -80.000000  -45.000000  -300.000000 300.000000  0.000000    3616
130.000000  -80.000000  -45.000000  -300.000000 300.000000  0.000000    3621
130.000000  -80.000000  -45.000000  -300.000000 300.000000  0.000000    3628
^Cltr_pipe: Exiting
ltr_pipe: Bye.

Original comment by scotland...@cox.net on 26 Oct 2013 at 1:31

GoogleCodeExporter commented 9 years ago
Hello,
the ltr_pipe's output is somewhat strange, but the fact it does something means 
the 64-bit path is functional.

Now to the plugin - the fact, that you didn't get any output is strange; one 
thing to try would be to open the ltr_gui and re-install the XPlane plugin. If 
that doesn't help, please try the following command in terminal in 
Resources/plugins/xlinuxtrack directory:

ls -lsaF *

And just out of curiosity, you mentioned facetracking freezing; you mean in 
ltr_gui? If so, could you try to use just the webcam (without that facetracker 
suffix) as a tracking device and check if it freezes too? And when the freeze 
occurs, does the frame counter advance, or does it stay at zero?

Thank you,

Michal

Original comment by f.jo...@email.cz on 26 Oct 2013 at 10:41

GoogleCodeExporter commented 9 years ago
I tried reinstalling the plugin a few times, same results.

Output of ls -lsaF * is as follows:

scot@scotPC:~/X-Plane 10/Resources/plugins/xlinuxtrack$ ls -lsaF *
0 lrwxrwxrwx 1 scot scot 59 Oct 30 23:26 lin.xpl -> 
/opt/linuxtrack_0.0_130127/lib/linuxtrack/xlinuxtrack9.so.0*
scot@scotPC:~/X-Plane 10/Resources/plugins/xlinuxtrack$

Yes, the gui crashes when I try to use webcam facetracker, but not when I just 
use webcam.  When I try facetracker I get a white screen instead of the camera 
image, the frame counter advances a few times, then the whole thing just 
freezes and causes a core dump.

Thanks for trying to figure this out...getting closer!!!

Original comment by scotland...@cox.net on 31 Oct 2013 at 3:34

GoogleCodeExporter commented 9 years ago
This is strange - the plugin points to the old linuxtrack installation. I'd 
say, that you are still using the old version (0.0_130127) - maybe a path is 
set wrong?

When in terminal, try command 'which ltr_gui' - if it does give you the old 
linuxtrack installation (/opt/linuxtrack_0.0_130127/bin/ltr_gui), then please 
change the path to point to the new install. If you are using some desktop 
"icon" (launcher), make sure it points to the right ltr_gui.

And to make sure you run the right version, in the titlebar of the ltr_gui you 
should see v0.99.7 there (there is a new package available, fixing 13.10 
problem).

As for the facetracker, may I ask you to make a backtrace for me? Just open a 
terminal, run command 'gdb /opt/linuxtrack-0.99.7/bin/ltr_gui' (I hope I got it 
right, can't test it right now), when the debugger loads it just type 'run' and 
ltr_gui should start; now start the facetracking and when it freezes, you 
should see in the terminal that the debugger kicks in; then run the following 
commands:
set pagination off
thread apply all backtrace
exit

It will probably ask you, if it is ok to shut down the thing, so just press 'y' 
and enter. Then please attach the output of the above here, so I can have peek 
where things go wrong.

Thank you,

Michal

Original comment by f.jo...@email.cz on 31 Oct 2013 at 6:09

GoogleCodeExporter commented 9 years ago
linuxtrack_0.0_130127 is the only version I've ever installed on this hard 
drive.  'which ltr_gui' gives the result /opt/linuxtrack/bin/ltr_gui.  I 
haven't been using a launcher, only the command 'ltr_gui'.  I do NOT see 
anything in the titlebar of ltr_gui other than "Linuxtrack".

Looking through my downloads folder it looks like I downloaded more than one 
version and must have clicked on the wrong version.  I was trying to load the 
version with OpenCV already compiled so I could try headtracking.  Can I just 
delete the current linuxtrack directory and reinstall?  Which version should I 
use?

Original comment by scotland...@cox.net on 2 Nov 2013 at 1:07

GoogleCodeExporter commented 9 years ago
Hello,
please install the 0.99.7 version, it is the latest one; just make sure it ends 
in /opt/linuxtrack-0.99.7. I use commands:

cd ~/Downloads
unzip linuxtrack-0.99.7-64.zip
cd /opt
sudo tar xfz ~/Downloads/linuxtrack-0.99.7-64.tar.gz

Kind regards,

Michal

Original comment by f.jo...@email.cz on 2 Nov 2013 at 11:36