Skip to content

Navigation Menu

Sign in
Sign up

DSD-NEO Cygwin Issues #2

Locked
romanremus started this conversation in General
Sep 18, 2025 · 99 comments · 75 replies
Discussion options

OK, thanks, but I have a new error in the cygwin compiler.

You must be logged in to vote

Replies: 99 comments 75 replies

Comment options

You must be logged in to vote
1 reply
Comment options

interesting, can you try removing the build directory and re-run? i'm not seeing that, but it seems like a stale/missing cmake file or something... you might want to re-clone the repo if that doesn't work...

rm -r build
cmake --preset dev-release
cmake --build --preset dev-release -j
image
Comment options

I tried again and it's the same error, but the error is only when I downloaded the version with the morning update, this version: rtl-sdr: Fix double audio scaling; enable RTL2832 AGC by default in auto-gain (manual disables); use the driver's automatic tuner bandwidth with the DSD_NEO_TUNER_BW_HZ override. Increased the window used in rtl_... , the previous version compiles ok

You must be logged in to vote
0 replies
Comment options

I really like the new dsd-neo code, it displays a lot of messages now, but I can't enjoy it too much because in my area I don't have P25 or other dmr signals, everywhere it's only TETRA

You must be logged in to vote
1 reply
Comment options

i have the opposite problem, no TETRA for 4000+ miles... so it'll be a long term goal, but not unreasonable. there is already some good work being done in other open source projects, so probably won't be terribly difficult...

Comment options

arancormonk, have you ever thought about dsd-neo being directly compatible with windows, with an interface like dsdplus fastlane, for example?

You must be logged in to vote
2 replies
Comment options

i have and it's not a trivial process. pthreads, pulseaudio, network stuff, etc. don't have a direct port to MSVC, so maybe if i get bored one day i'll attempt it but it's far too much work right now given the state the code is in... and i don't use or dev on Windows.

in the meantime, i'm working on setting up a GitHub action to compile and zip up a portable Cygwin install of dsd-neo so you don't have to compile it. i'll let you know once it's ready. i'll probably run the workflow once a day or after i've introduced enough changes to warrant a new Windows build, but not on every commit.... it's a long build.

fwiw, dsdplus fastlane is pay to play and i'm giving this away for "free".... soo.... if their RTL-SDR support suddenly gets a lot better, you'll know why. 😉

Comment options

here you go: https://github.com/arancormonk/dsd-neo/releases/tag/nightly, the zip file contains portable cygwin install. github actions will update the nightly tag on every push to the main branch.

be aware, windows defender might flag the unsigned exes as a virus... i assure you they're not... but you can always VirusTotal it yourself if you don't believe me: https://www.virustotal.com/gui/file/569fa8b4a5d5ea8a2607d9508049eececcdc7a9dd423ee091f779d4c7a83111b?nocache=1

also, you might want to try pulling down the latest main again and see if it compiles now. i did fix some linkage/ordering issues that might have been causing problems.

This comment was marked as off-topic.

Comment options

arankormonk, I also switched to linux, I'm lying for now, but please, have you seen the idea of ​​why dsd-neo behaves like this? When I receive a signal, everything turns green, but when I no longer receive it, slot 2 remains white when it should be blue

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

Solved here , attron 4 , not attroff , its ok ?

IMG_20250920_083329

You must be logged in to vote
1 reply
Comment options

should be fixed now: 64e580e

Comment options

arancormonk, what do you think about adding selectable ringtones, such as Motorola tones, for the start and end of a call?

You must be logged in to vote
0 replies
Comment options

arancormonk, why don't you run dsd-neo in Xterm? it's much clearer.

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

Help me plizzzzz !!!!

IMG_20250923_204926

You must be logged in to vote
1 reply
Comment options

just guessing.... but do not run cmake from the build directory, follow the instructions: https://github.com/arancormonk/dsd-neo?tab=readme-ov-file#build-from-source

cd ..
rm -r build
# From the repository root
cmake --preset dev-release
cmake --build --preset dev-release -j
Comment options

my mistake, I downloaded the zip file, I recreated a BUILD folder and it worked perfectly, arancormonk, were you able to solve something with autocenter on the frequency? I always make mistakes when setting the ppm

You must be logged in to vote
1 reply
Comment options

i can look into it, a short "training" period during startup might be the best way instead of trying to keep adjusting it... the rtl-sdr should be relatively stable once it has thermally stabilized.

Comment options

when i select run-dsd-neo-minty.bat i get an error "could not load icon'/Cigwin-Terminal.ico" using the nightly build . can anyone help me please ?

You must be logged in to vote
5 replies
Comment options

it's a command line program, so you'll want to open a terminal/PowerShell and CD into the directory:

image

everywhere you see dsd-neo replace it with run-dsd-neo.bat or run-dsd-neo-mintty.bat, for example: run-dsd-neo.bat -h to view the help... i may end up changing the script naming in the future, but this was to get a quick and dirty way to get a portable build going on Windows so users don't have to install or compile in Cygwin.

Comment options

thats what iam doing and getting a error message flashing up and dissapearing .
Screenshot 2025年09月25日 112915

Comment options

are you opening the terminal this way? right click the folder and select "Open in Terminal"... you might have to pick Show more options if it's not listed.

that .ico error won't stop it from executing and i see dsd-neo running in the background terminal from your screenshot... it just defaults to the help menu when nothing was passed to it. you'll need to provide it some parameters like .\run-dsd-neo.bat -i rtl:0:850M -ft -T -N... run .\run-dsd-neo.bat -h to see all the command line arguments.

image

i might remove the run-dsd-neo-mintty.bat option, i think it works fine in the normal windows shell... though, i don't use windows.

Comment options

fwiw, i'm addressing these issues with a more user friendly .bat script (imo)... should be available in an hour or so.

Comment options

the latest nightly has an updated dsd-neo.bat where you can now double click on it and it will keep the terminal window open. passing arguments to the script should also still work, e.g, dsd-neo.bat -i rtl:0:850M -ft -T -N

image
Comment options

I managed Arancormonk, I think something was missing from Windows, I installed another version of Windows and it works perfectly, even the LRRP decoding, what I change every time is in ncurses_printer to display the entire screen of messages and calls, not just 10, and not to be abbreviated, to display all the content, but please don't forget to make it display everything that is on both time slot 1 and time slot 2 at once.

You must be logged in to vote
0 replies
Comment options

Arancormonk, I found a mistake in LRRP
With RTL input it decodes LRRP as location completely wrong but with TCP input it decodes perfectly, I haven't tried with pulse audio.

You must be logged in to vote
2 replies
Comment options

sounds like another crc issue... can send me short lrrp captures for each path? one with rtl-sdr as input and one with the tcp input? im guessing your tcp input results in cleaner symbols than what is being decoded from the discriminator audio of the rtl-sdr path. what are the rtl gain & filter bw settings you're setting in sdrpp/sdrsharp? if you're seeing a burst in CRC errors near the bad lrrp data/payload then it's probably that.

Comment options

I think you're right Arancormonk, because with RTL input it doesn't decode as many ARS messages as it does with TCP input, somehow it seems to skip them or not see them.

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

Arancormonk, I think it's only in this coordinate that there is an error

IMG_20251227_073722

You must be logged in to vote
0 replies
Comment options

the gain is : 20 db
bw : 12khz

You must be logged in to vote
0 replies
Comment options

Arancormonk, thanks for the changes in DSD-NEO, I left you some .bin files, did you manage to do something with the RTL input?

You must be logged in to vote
1 reply
Comment options

yea, thanks for the files. still investigating, might have to pull out some more rtl tricks to improve performance...

Comment options

Hello Arancormonk, have you ever managed to do anything with RTL as input? I'm referring to LRRP, and I noticed that when I set RTL input, it somehow still escapes messages like ARS

You must be logged in to vote
1 reply
Comment options

you are using the default sampling bw with the rtl, right? 48 khz? latest commit, i added a crc guard to not show anything if all crc blocks fail, but that doesn't really solve the problem... i also added a low sps symbol sampling adjustment to prefer the center instead of edge-pair window, but that shouldn't be necessary if the dsp-bw is at least 24 khz

the latest capture files you provided didn't show any outlier cases, so these adjustment are just based on a hunch... if you can try to capture again with bad lrrp data i can reinvestigate.

Comment options

Good Morning Arancormonk, I ran the latest version of dsd-neo with RTL input, it really doesn't show anything in LRRP.exe, in the terminal DSD-NEO shows a message of LRRP SUPPRESED (CRC ERROR), and I ran the same version of dsd-neo with TCP input from sdrsharp and it works perfectly, I made capture.bin

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

Arancormonk, would you please add that the ringtone can be selected either at the beginning, on data, or at the end of the call from the menu?

You must be logged in to vote
1 reply
Comment options

i'll think about it, i'm leaning more towards making it user configurable to load/play a file from the local machine rather than packaging any copyrighted stuff. i guess simple tones would be easy to generate, but then i have to get creative 😝.

Comment options

What do You thing 😉😉😉😉 ????
IMG_20260120_140634

You must be logged in to vote
3 replies
Comment options

that's actually a very good idea, if you want make a pull request with these changes please do so!

Comment options

Can you leave me your personal email address? This is mine romanremusvasile@yahoo.com

Comment options

my personal email!? i dunno about that... nothing against you, but the internet is a terrible place 😝

in the meantime....you can attach files to github, zip files should be fine i think:

Screenshot_20260125_182712
Comment options

Hello, On the main screen, under "Audio Decode", what % should the "In Level" be? I find it varies greatly between 20 to 100% depending on the specific system. I am using SDR++ with the "Rigctl server" for the feed. How is the percentage level adjusted?

Also, is there a list of keyboard shortcuts? Like, how can I hold on a specific talkgroup?

You must be logged in to vote
7 replies
Comment options

ah, yes. i should have prefaced with that, all the shortcuts present in fme should be present in neo. if you find one that doesn't work, let me know... the input handler has been completely rewritten, so i might have missed something.

Comment options

Hello,
A possible issue with DMR trunking. I use SDR++ with the Rigctl TCP connection. When tuned to the DMR control channel, the program will run fine initially. Once the program plays the first transmission, the "In Level" % drops to zero, and the program stops working until it is restarted. It's like the program doesn't return to the control channel after the first transmission. This doesn't affect P25 systems

Comment options

can you post a screenshot of the terminal output (no -N switch) so i can see what it's doing during the failed retune? i wonder if it's because of LCN mismatch or something, i'll have to check with a DMR T3 system out here... i'm in the middle of nowhere, so it's tricky to find a test subject at times...i added some ui notification logic to the nxdn path, i might add the same to dmr trunking

can you share command line arguments you're using and the csv file with LCN and freq pairings?

Comment options

arancormonk, did you receive the info that you requested from me?

Comment options

arancormonk, did you receive the info that you requested from me?

i did not, can you post it to this github discussion? i'm looking into this now, sorry for the delay... i had to do the job that pays the bills first 😉

Comment options

See attachedments.

Command line used to launch:

dsd-neo -F -fs -i tcp -T -U 4532 -C TIER-III.csv -G BC-DMR-GROUPS.csv -N

NOTE: Same results on a different PC

The same .csv and .bat files work fine in DSD.FME
ATT1.csv
ATT2.csv
SNIP-001

You must be logged in to vote
15 replies
Comment options

Thank you for all the effort you are putting into this!

Comment options

try the latest build.. again. i rearranged some stuff in the code, event history is working for me with p25 trunking in windows...

image
Comment options

The latest version worked for me the first time I tried it. I then closed the terminal window, then re-launched the program, and Event History no longer worked. This is both P25 and DMR trunked systems. NXDN trunked systems don't seem to have an issue.
The screenshot shows the program after it's been running on a busy P25 system for about 10 minutes. I get the same results on three different Windows 11 machines. I have no idea.
NEO-SNIP

Comment options

i just thought of something... are you loading aliases files for both dmr and p25? can you try running without loading the aliases files? (no -G switch)

Comment options

I just tried that. Made no difference.
BUT...as the terminal window was just opening, there were two extra lines under the Event History that are usually present when it's working properly. But these extra lines disappeared after the terminal window was up and running.

Comment options

I have installed under Linux Mint. For P25 phase 1 systems, I can use the -f1 or -ft switches in the command line. Either one works. But for P25 phase 2 systems, -f2 doesn't work at all. "In Level" remains at 0%, it doesn't hear anything. For P25 phase 2, -ft is the only thing that works. Is this the expected behavior?

You must be logged in to vote
1 reply
Comment options

i don't think -f2 will work without a TDMA/p25p2 control channel or a strictly p25p2 recording/playback. for p25p1/2 trunked systems, -ft should be all you need... the code is smart enough to switch SPS between p25p1 and p25p2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

AltStyle によって変換されたページ (->オリジナル) /