Problem trying to run Spyserver


Ruben Navarro Huedo (EA5BZ)
 

Hello friends:
Trying to run spyserver with last raspbian i have the next problem:

pi@MeteoElche:~/spyserver $ ./spyserver
./spyserver: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./spyserver)
pi@MeteoElche:~/spyserver $ ls -l  /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
lrwxrwxrwx 1 root root 19 mar  7  2015 /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 -> libstdc++.so.6.0.20
pi@MeteoElche:~/spyserver $

How could i solve it?

Thank's a lot.


prog
 

The first thing to do is to read the quickstart guide. 99.99% of the questions asked in this forums have answers in the website, but people still prefer asking because it's quicker.
Then when you have read it all, think about installing GCC5.


Ruben Navarro Huedo (EA5BZ)
 

A lot of thank's and excuse me becouse not reading quickstart guide.

I didn't know about it.

I had to dist-upgrade to testing version of raspbian becouse we have gcc 4.x on stable.


Ruben Navarro Huedo (EA5BZ)
 

Running fine now with raspberry pi 3.
I must run at device_sample_rate = 2500000
Using 10mhz i have high cpu load on raspberry and audio cuts.
What are recommended for spyserver using raspberry pi 3?

Thank's a lot


prog
 

For RPi3, 2.5 or 3 MSPS is about the right limit. If you use an Odroid XU4, you can fo with 10MSPS without problems.
I think the default configuration should work for all.


Ruben Navarro Huedo (EA5BZ)
 

A lot of thank's.

Doing some tests...in the future i will change to an Odroid.


William Thompson
 

Please remove me from this group.

On Mon, Aug 7, 2017 at 12:16 PM, Ruben Navarro Huedo (EA5BZ) <runahue@...> wrote:
Hello friends:
Trying to run spyserver with last raspbian i have the next problem:

pi@MeteoElche:~/spyserver $ ./spyserver
./spyserver: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./spyserver)
pi@MeteoElche:~/spyserver $ ls -l  /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
lrwxrwxrwx 1 root root 19 mar  7  2015 /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 -> libstdc++.so.6.0.20
pi@MeteoElche:~/spyserver $

How could i solve it?

Thank's a lot.




--
William E. Thompson
(336) 653-4956


Roberto Zinelli
 

Tune buffer in spyserver.config
73 iw4ens

Inviato da OldPhone

Il giorno 08 ago 2017, alle ore 12:29, Ruben Navarro Huedo (EA5BZ) <runahue@...> ha scritto:

Running fine now with raspberry pi 3.
I must run at device_sample_rate = 2500000
Using 10mhz i have high cpu load on raspberry and audio cuts.
What are recommended for spyserver using raspberry pi 3?

Thank's a lot


Roberto Zinelli
 

William, try the link at the bottom of email.

Inviato da OldPhone

Il giorno 08 ago 2017, alle ore 16:18, William Thompson <wetsail.thompson@...> ha scritto:

Please remove me from this group.

On Mon, Aug 7, 2017 at 12:16 PM, Ruben Navarro Huedo (EA5BZ) <runahue@...> wrote:
Hello friends:
Trying to run spyserver with last raspbian i have the next problem:

pi@MeteoElche:~/spyserver $ ./spyserver
./spyserver: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./spyserver)
pi@MeteoElche:~/spyserver $ ls -l  /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
lrwxrwxrwx 1 root root 19 mar  7  2015 /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 -> libstdc++.so.6.0.20
pi@MeteoElche:~/spyserver $

How could i solve it?

Thank's a lot.




--
William E. Thompson
(336) 653-4956


Ruben Navarro Huedo (EA5BZ)
 

Roberto: Are you using Raspberry. What buffer settings are your using? and samplerate?


Roberto Zinelli
 

no, i using a orange pi lite, same processor as raspberry 3..
i see  shuttering disappair tuning buffer.
this mine config:

# Buffer Size (in milliseconds)
#
buffer_size_ms = 20

# Buffer Count
#
buffer_count = 50

73 IW4ENS
Roberto


On Tue, Aug 8, 2017 at 9:28 PM, Ruben Navarro Huedo (EA5BZ) <runahue@...> wrote:
Roberto: Are you using Raspberry. What buffer settings are your using? and samplerate?



Ruben Navarro Huedo (EA5BZ)
 

Thank's a lot.

What sample rate are you using?

10mhz ? or 2mhz?


f1hdi
 

HI Ruben,
Do you succeed in getting an airspy R2 @10MSPS working with an odroid xu4 ?.
Mine is supporting 2,5MSPS at maximum.

Any clue ?
Is this device not powefull enough ?

Kind regards
Jean-Marc


prog
 

On Wed, Jul 25, 2018 at 09:57 AM, f1hdi wrote:
HI Ruben,
Do you succeed in getting an airspy R2 @10MSPS working with an odroid xu4 ?.
Mine is supporting 2,5MSPS at maximum.

Any clue ?
Is this device not powefull enough ?

Kind regards
Jean-Marc
What kernel are you using? Copy the output of this command: uname -a
In any case, you should be using one of the older 3.10.* branches to get proper USB performance until they fix the new kernels.


f1hdi
 

Hi Youssef,

odroid@odroid:~$ uname -a
Linux odroid 4.14.18-106 #1 SMP PREEMPT Mon Feb 12 04:00:47 UTC 2018 armv7l armv                           7l armv7l GNU/Linux , which is the latest I found for this board.

Humm, you mean I have to take one older of this repository  http://de.eu.odroid.in/ubuntu_16.04lts/old/  or even an older kernel and make a full reinstall ?.

If you could point me to the exact 'best distribution' I'll thank you.

Kind regards

Jean-Marc


Le 25/07/2018 à 09:59, prog a écrit :
On Wed, Jul 25, 2018 at 09:57 AM, f1hdi wrote:
HI Ruben,
Do you succeed in getting an airspy R2 @10MSPS working with an odroid xu4 ?.
Mine is supporting 2,5MSPS at maximum.

Any clue ?
Is this device not powefull enough ?

Kind regards
Jean-Marc
What kernel are you using? Copy the output of this command: uname -a
In any case, you should be using one of the older 3.10.* branches to get proper USB performance until they fix the new kernels.


prog
 

On Wed, Jul 25, 2018 at 11:57 AM, f1hdi wrote:

Hi Youssef,

odroid@odroid:~$ uname -a
Linux odroid 4.14.18-106 #1 SMP PREEMPT Mon Feb 12 04:00:47 UTC 2018 armv7l armv                           7l armv7l GNU/Linux , which is the latest I found for this board.

Humm, you mean I have to take one older of this repository  http://de.eu.odroid.in/ubuntu_16.04lts/old/  or even an older kernel and make a full reinstall ?.

If you could point me to the exact 'best distribution' I'll thank you.

Kind regards

Jean-Marc

https://wiki.odroid.com/odroid-xu4/os_images/linux/ubuntu/20170731

And stick to 3.10.


f1hdi
 

Youssef,

Fresh reflash of the EMM card of the xu4g, reboot, ssh to the unit

odroid@odroid:~$ uname -r
3.10.103-124

Now to rebuild spyserver and other stuff.

By the way do you know if gqrx has now the capability to connect to spyserver ? I red so but wasn't able to find 'how to'

Kind regards

Jean-Marc


Le 25/07/2018 à 11:57, prog a écrit :
On Wed, Jul 25, 2018 at 11:57 AM, f1hdi wrote:

Hi Youssef,

odroid@odroid:~$ uname -a
Linux odroid 4.14.18-106 #1 SMP PREEMPT Mon Feb 12 04:00:47 UTC 2018 armv7l armv                           7l armv7l GNU/Linux , which is the latest I found for this board.

Humm, you mean I have to take one older of this repository  http://de.eu.odroid.in/ubuntu_16.04lts/old/  or even an older kernel and make a full reinstall ?.

If you could point me to the exact 'best distribution' I'll thank you.

Kind regards

Jean-Marc

https://wiki.odroid.com/odroid-xu4/os_images/linux/ubuntu/20170731

And stick to 3.10.


f1hdi
 

Youssef,

I hate to say that, but you're right .

odroid xu4g + airspy R2 @10MSPS working

Now to the next step

Kind regards

Jean-Marc


Le 25/07/2018 à 11:57, prog a écrit :
On Wed, Jul 25, 2018 at 11:57 AM, f1hdi wrote:

Hi Youssef,

odroid@odroid:~$ uname -a
Linux odroid 4.14.18-106 #1 SMP PREEMPT Mon Feb 12 04:00:47 UTC 2018 armv7l armv                           7l armv7l GNU/Linux , which is the latest I found for this board.

Humm, you mean I have to take one older of this repository  http://de.eu.odroid.in/ubuntu_16.04lts/old/  or even an older kernel and make a full reinstall ?.

If you could point me to the exact 'best distribution' I'll thank you.

Kind regards

Jean-Marc

https://wiki.odroid.com/odroid-xu4/os_images/linux/ubuntu/20170731

And stick to 3.10.


JJI <jarkko.iisakkala@...>
 

It's actually not that bad.

You can use latest kernel, but you need to manually address the spyserver thread(s) to the processors 4-7 by using command "taskset -p --cpu-list 4-7 XXXX", where the XXXX is the process number.

You might need to do this a few times depending on the number of processes running, which you can see from htop.

At least I'm not experiencing any output problems when the tasks are addressed to processors 4-7. If the tasks are on the processors 0-3, chopping etc occurs.

WIth older kernel (3.10) tasks were always on the 4-7, which may explain the difference in the initial performance.