pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: wip/wsjtx does not decode FT8 radio signals.





El 22/12/25 a las 18:14, Ramiro Aceves escribió:
Hello,

I have compiled wsjtx from pkgsrc-wip but I am not able to get any decodes. I get nice waterfall full of FT8 transmissions.

I have done the TODO things:

1. When math/fftw is packaged,    PKG_OPTIONS.fftw+=     fftw-fortran is required, and this is not default,   pbulk will fail as BROKEN package 2. Requires huge memory, 2.1    on NetBSD 10.99.12      ulimit - d 524288    is required on the shell to start

under File-> Settings-> Audio I select:

input:oss.input.audio

output:oss.output.audio

netbsd-nuc$ audiocfg list 0: [ ] audio2 @ uaudio0: USB audio playback: unavailable record: 2ch, 32000Hz (-R) slinear_le 16/16, 2ch, { 16000 } (-R) slinear_le 16/16, 2ch, { 24000 } (-R) slinear_le 16/16, 2ch, { 32000 } 1: [*] audio3 @ uaudio1: USB audio playback: 2ch, 44100Hz record: 2ch, 48000Hz (P-) slinear_le 16/16, 2ch, { 44100 } (P-) slinear_le 16/16, 2ch, { 44100 } (-R) slinear_le 16/16, 2ch, 8000-48000Hz 2: [ ] audio0 @ hdafg0: Realtek product 0235 playback: 2ch, 48000Hz record: 2ch, 48000Hz (PR) slinear_le 16/16, 2ch, { 44100, 48000, 96000, 192000 } (PR) slinear_le 20/32, 2ch, { 44100, 48000, 96000, 192000 } (PR) slinear_le 24/32, 2ch, { 44100, 48000, 96000, 192000 } ( ) ac3 16/16, 2ch, { 44100, 48000, 96000, 192000 } 3: [ ] audio1 @ hdafg1: Intel HDMI/DP playback: 2ch, 48000Hz record: 2ch, 48000Hz (P-) slinear_le 16/16, 2ch, { 48000 } (P-) slinear_le 16/16, 4ch, { 48000 } (P-) slinear_le 16/16, 6ch, { 48000 } (P-) slinear_le 16/16, 8ch, { 48000 } (PR) slinear_le 16/16, 2ch, 48000-48000Hz

The default card is audio3, M Audio fast Trak Pro USB that is connected to the amateur radio receiver:

[ 2532.229060] uaudio1 at uhub7 port 3 configuration 1 interface 0 [ 2532.229060] uaudio1: M-Audio (0x0763) FastTrack Pro (0x2012), rev 1.10/1.00, addr 15 [ 2532.229060] uaudio1: audio rev 1.00 [ 2532.229060] audio3 at uaudio1: playback, capture, full duplex, independent [ 2532.229060] audio3: slinear_le:16 2ch 44100Hz, blk 10584 bytes (60ms) for playback [ 2532.229060] audio3: slinear_le:16 2ch 48000Hz, blk 12000 bytes (62.5ms) for recording [ 2532.229060] spkr3 at audio3: PC Speaker (synthesized)

I have:

portaudio-190700.20210406nb1 = Portable cross-platform audio API

Also tried pulseaudio just in case:

pulseaudio-17.0nb2 = Sound server for POSIX and Win32 systems

Have you made it work? Any help will be appreciated.

Thanks.

Regards.


Regards.

Ramiro.


It seems that the problem is not audio related but a decoder crash.
Imported FT8 audio files into WSJT leads to

Subprocess error:
Running: /usr/pkg/bin/jt9 -s WSJT-X -w 1 -m 3 -e /usr/pkg/bin -a /home/ramiro/.local/share/WSJT-X -t /tmp/WSJT-X
Process crashed

Calling the decoder manually:

netbsd-x260$ jt9 --ft8 170923_082000.wav

Program received signal SIGABRT: Process abort signal.

Backtrace for this error:
#0  0x7676d4f7f61f in ???
#1  0x7676d4f7eeea in ???
[1]   Abort trap (core dumped) jt9 --ft8 170923_082000.wav
netbsd-x260$



netbsd-x260$ gdb /usr/pkg/bin/jt9 jt9.core
GNU gdb (GDB) 11.0.50.20200914-git
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64--netbsd".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/pkg/bin/jt9...
(No debugging symbols found in /usr/pkg/bin/jt9)
[New process 19385]
Core was generated by `jt9'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007676d4f7eeea in _lwp_kill () from /usr/lib/libc.so.12
(gdb) bt
#0  0x00007676d4f7eeea in _lwp_kill () from /usr/lib/libc.so.12
#1  0x00007676d4f846e0 in abort () from /usr/lib/libc.so.12
#2 0x00007676d5422fdc in __enable_execute_stack (addr=<optimized out>) at enable-execute-stack.c:77
#3  0x00000000b400cffe in ?? ()
#4  0x00000000b40070e2 in ?? ()
#5  0x00000000b4007766 in ?? ()
#6  0x00000000b400505d in ?? ()
#7  0x00007f7e5d80baf8 in ?? () from /usr/libexec/ld.elf_so
#8  0x0000000000000003 in ?? ()
#9  0x00007f7fff886f58 in ?? ()
#10 0x00007f7fff886f5c in ?? ()
#11 0x00007f7fff886f62 in ?? ()
#12 0x0000000000000000 in ?? ()
(gdb)

Recompiled with symbols:

% env CFLAGS=-g INSTALL_UNSTRIPPED=yes make replace

netbsd-x260$ gdb /usr/pkg/bin/jt9 jt9.core
GNU gdb (GDB) 11.0.50.20200914-git
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64--netbsd".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/pkg/bin/jt9...
[New process 23422]
Core was generated by `jt9'.
Program terminated with signal SIGABRT, Aborted.
#0  0x000078935bb7eeea in _lwp_kill () from /usr/lib/libc.so.12
(gdb) bt
#0  0x000078935bb7eeea in _lwp_kill () from /usr/lib/libc.so.12
#1  0x000078935bb846e0 in abort () from /usr/lib/libc.so.12
#2 0x000078935c022fdc in __enable_execute_stack (addr=<optimized out>) at enable-execute-stack.c:77
#3  0x0000000179a0cffe in multimode_decoder (
ss=<error reading variable: value requires 5024672 bytes, which is more than max-value-size>, id2=<error reading variable: value requires 43200000 bytes, which is more than max-value-size>, params=..., nfsample=12000) at /usr/pkgsrc/wip/wsjtx/work/wsjtx/lib/decoder.f90:1 #4 0x0000000179a070e2 in jt9 () at /usr/pkgsrc/wip/wsjtx/work/wsjtx/lib/jt9.f90:342
#5  0x0000000179a07766 in main (argc=<optimized out>, argv=<optimized out>)
    at /usr/pkgsrc/wip/wsjtx/work/wsjtx/lib/jt9.f90:6
#6 0x0000000179a0505d in ___start (cleanup=<optimized out>, ps_strings=0x7f7fff0b6fe0)
    at /usr/src/lib/csu/common/crt0-common.c:350
#7  0x00007f7f52a0baf8 in ?? () from /usr/libexec/ld.elf_so
#8  0x0000000000000003 in ?? ()
#9  0x00007f7fff0b6088 in ?? ()
#10 0x00007f7fff0b608c in ?? ()
#11 0x00007f7fff0b6092 in ?? ()
#12 0x0000000000000000 in ?? ()
(gdb)

all my expertise ends here ;-)

Regards.





Home | Main Index | Thread Index | Old Index