RTLSDR/HDSDR buffer underruns

925 views
Skip to first unread message

machinegeek

unread,
May 20, 2012, 1:04:44 PM5/20/12
to ultra-c...@googlegroups.com
I have the RTLSDR installed and configured to RX with HDSDR. I am seeing signals and able to tune without problems; however, the audio is choppy regardless of the type of signal/mode I'm trying to monitor, and I see 1000+ buffer underruns on the EXTio tab. Sampling is set as high as 2.5.  Any ideas on how to correct?

Miguel A. Vallejo

unread,
May 20, 2012, 4:41:08 PM5/20/12
to ultra-c...@googlegroups.com
Try sampling as low as 1 Msps or even 0.900001 Msps (the absolute minimum!).

Also play a bit with the readlen values:

RTL tuner=e4k readlen=65536
RTL tuner=e4k readlen=131072
RTL tuner=e4k readlen=262144
RTL tuner=e4k readlen=524288

Good luck!

L A Smith

unread,
May 20, 2012, 5:29:25 PM5/20/12
to ultra-c...@googlegroups.com


Miguel: tried these settings/values and still choppy and unreadable. CPU usage is near 100%.
--
You received this message because you are subscribed to the Google Groups "Ultra Cheap SDR" group.
To post to this group, send email to ultra-c...@googlegroups.com.
To unsubscribe from this group, send email to ultra-cheap-s...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ultra-cheap-sdr?hl=en.

Steve Smith

unread,
May 20, 2012, 6:05:32 PM5/20/12
to ultra-c...@googlegroups.com
Can you provide some computer details (CPU type, memory, OS, etc.)? Just to confirm this is not a virtual machine?


On Sunday, May 20, 2012 2:29:25 PM UTC-7, machinegeek wrote:


Miguel: tried these settings/values and still choppy and unreadable. CPU usage is near 100%.

On May 20, 2012, at 4:41 PM, "Miguel A. Vallejo" <ea4...@gmail.com> wrote:

machinegeek wrote:

>>> I have the RTLSDR installed and configured to RX with
>>> HDSDR. I am seeing signals and able to tune without
>>> problems; however, the audio is choppy regardless of
>>> the type of signal/mode I'm trying to monitor, and I
>>> see 1000+ buffer underruns on the EXTio tab. Sampling
>>> is set as high as 2.5.  Any ideas on how to correct?


Try sampling as low as 1 Msps or even 0.900001 Msps (the absolute minimum!).

Also play a bit with the readlen values:

RTL tuner=e4k readlen=65536
RTL tuner=e4k readlen=131072
RTL tuner=e4k readlen=262144
RTL tuner=e4k readlen=524288

Good luck!

--
You received this message because you are subscribed to the Google Groups "Ultra Cheap SDR" group.
To post to this group, send email to ultra-cheap-sdr@googlegroups.com.
To unsubscribe from this group, send email to ultra-cheap-sdr+unsubscribe@googlegroups.com.

Adam Nielsen

unread,
May 20, 2012, 6:15:45 PM5/20/12
to ultra-c...@googlegroups.com
> Miguel: tried these settings/values and still choppy and unreadable. CPU usage
> is near 100%.

I think you answered your own question there! If there's not enough CPU power
available to do the decoding, it will sound choppy.

Cheers,
Adam.

Youssef

unread,
May 22, 2012, 9:52:04 AM5/22/12
to ultra-c...@googlegroups.com
Just for fun, can you try SDR# (sdrsharp) on that machine? I just wonder how it will perform.

Youssef

geo_stef

unread,
May 28, 2012, 7:17:04 PM5/28/12
to ultra-c...@googlegroups.com
i have the same problem here,
i use winxp sp3 in virtual machine but i gave 4 cores to vm

cpu is amd 1100t 6 core the host os is debian 64bit

James Hall

unread,
May 28, 2012, 7:19:58 PM5/28/12
to ultra-c...@googlegroups.com

Turn up your readlen value. I've had goodish luck with 32768.

--
You received this message because you are subscribed to the Google Groups "Ultra Cheap SDR" group.
To view this discussion on the web visit https://groups.google.com/d/msg/ultra-cheap-sdr/-/2oB8gcEyhAQJ.

Paulino Kenji Sato

unread,
May 28, 2012, 7:36:14 PM5/28/12
to ultra-c...@googlegroups.com
Hi,
This is a alsa issue.
Underruns and overflow is very common on SDR (RT) applications
running on Linux box.
I suggest do test 4Front OSS, http://www.opensound.com/ , if you have
patience to modify all audio sub system. I don`t have patience to do.


Paulino

GEORGE STEFANIDIS

unread,
May 28, 2012, 7:39:45 PM5/28/12
to ultra-c...@googlegroups.com
i dont think is alsa because i use hdsdr in windows machine, tomorrow
i am going to try using an external usb sound card

2012/5/29, Paulino Kenji Sato <pks...@gmail.com>:
> --
> You received this message because you are subscribed to the Google Groups
> "Ultra Cheap SDR" group.
> To post to this group, send email to ultra-c...@googlegroups.com.
> To unsubscribe from this group, send email to
> ultra-cheap-s...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/ultra-cheap-sdr?hl=en.
>
>


--
geo_stef
George Stefanidis

Miguel A. Vallejo

unread,
May 28, 2012, 8:39:50 PM5/28/12
to ultra-c...@googlegroups.com
Try really large readlen values. Try also buflvl=0:

RTL tuner=e4k readlen=131072 buflvl=0

RTL tuner=e4k readlen=262144 buflvl=0

RTL tuner=e4k readlen=524288 buflvl=0

RTL tuner=e4k readlen=1048576 buflvl=0

Reply all
Reply to author
Forward
0 new messages