DSD-Neo code 1 error

jimlawrence

Member
Joined
Apr 17, 2004
Messages
290
Reaction score
16
The last few dsd-neo nightly updates have been throwing out a
dsd-neo exited with code 1.
error.
I'm installing the cygwin version of the program running on windows 8, which has been working fine up until a couple of days ago.
Does anyone know where a list of error codes for dsd-neo exists so I can fix this problem?
 

arancormonk

Newbie
Joined
Dec 12, 2025
Messages
4
Reaction score
6
hi, try killing pulse audio if it hasn't been killed recently... i found a bug in my .bat script and pulse audio defaults/packaging that might need a clean restart. and make sure you're running inside the extracted zip folder using the provided .bat to launch dsd-neo.

also, you might need to check if any security software is nuking a dll or quarantining any of the zip contents because of these changes... these are unsigned releases, so it may cause windows defender to freakout.

fwiw, i'm moving to phase out cygwin and offer native msvc and/or mingw exes... it's a significant undertaking, but making progress with only a few remaining issues to resolve. stay tuned.

 
Last edited:

jimlawrence

Member
Joined
Apr 17, 2004
Messages
290
Reaction score
16
Hi @arancormonk. Thanks for your reply. I'm not sure how pulseaudio got loaded but I did find it floating around in my processes shown by task manager and ended the process. I make sure I'm inside the folder I extracted the files and folders to when I start dsd-neo.

I'm happy to read you're aware of this problem and actively working on it. I'll wait a few more nightly updates then re-install dsd-neo clean.

I really like dsd-neo. It runs great and I've been happily using it for some time.

Is there some place where we can see all the error codes, what they mean and how to resolve them?

Thank you for all your work on this excellent product!
 

arancormonk

Newbie
Joined
Dec 12, 2025
Messages
4
Reaction score
6
Hi @arancormonk. Thanks for your reply. I'm not sure how pulseaudio got loaded but I did find it floating around in my processes shown by task manager and ended the process. I make sure I'm inside the folder I extracted the files and folders to when I start dsd-neo.

I'm happy to read you're aware of this problem and actively working on it. I'll wait a few more nightly updates then re-install dsd-neo clean.

I really like dsd-neo. It runs great and I've been happily using it for some time.

Is there some place where we can see all the error codes, what they mean and how to resolve them?

Thank you for all your work on this excellent product!
1 is a generic error code, this codebase is not that sophisticated... the core application is written in C, so there's no proper exception handling or anything like that...yet. it's on my todo list after untangling all the spaghetti code.
 

gary123

Member
Joined
Sep 11, 2002
Messages
2,973
Reaction score
1,401
I do not see a NEO master thread so I aplogise in advanced if this is the wrong place to post this. I do not wish to hijack the thread.

Does Neo output the raw deinterleaved data? If so what is the recommended switch. Ideally if it output the MI from the CC and continued to output the VC frames from the voice channel as the SDR is steered from frequency to frequency. DSD-FME uses the -Z switch. and outputs this. I am hoping Neo does the same.

Code:
15:32:09        P25p2 LCH 0  MAC_PTT  
 VCH 0 - TG 7070 SRC 40820 
      ALG ID: 0x84(AES-256) KEY ID: 0x9099 MI: E717EAAD267A8320 MPTT
      ALG ID: 0x84(AES-256) KEY ID: 0x9099 MI(128): E717EAAD267A8320AC740F02A1274C54
 MAC_PTT_PAYLOAD_F OFFSET: 0 RES: 0 
 [20][E7][17][EA][AD][26][7A][83][20][00][84][90]
 [99][3F][2F][14][B7][DE][1F][60][00][00][00][00]
15:32:09        P25p2 LCH 1  MAC_IDLE 
15:32:09        P25p2 LCH 0  4V 1
 AMBE 43B576CE37BB00 err = [0] [0] 
 AMBE F2BB972703D980 err = [0] [0] 
 AMBE 221FC662BE3E80 err = [0] [0] 
 AMBE 9639AD4B60E800 err = [0] [0]
 

arancormonk

Newbie
Joined
Dec 12, 2025
Messages
4
Reaction score
6
I do not see a NEO master thread so I aplogise in advanced if this is the wrong place to post this. I do not wish to hijack the thread.

Does Neo output the raw deinterleaved data? If so what is the recommended switch. Ideally if it output the MI from the CC and continued to output the VC frames from the voice channel as the SDR is steered from frequency to frequency. DSD-FME uses the -Z switch. and outputs this. I am hoping Neo does the same.

Code:
15:32:09        P25p2 LCH 0  MAC_PTT 
 VCH 0 - TG 7070 SRC 40820
      ALG ID: 0x84(AES-256) KEY ID: 0x9099 MI: E717EAAD267A8320 MPTT
      ALG ID: 0x84(AES-256) KEY ID: 0x9099 MI(128): E717EAAD267A8320AC740F02A1274C54
 MAC_PTT_PAYLOAD_F OFFSET: 0 RES: 0
 [20][E7][17][EA][AD][26][7A][83][20][00][84][90]
 [99][3F][2F][14][B7][DE][1F][60][00][00][00][00]
15:32:09        P25p2 LCH 1  MAC_IDLE
15:32:09        P25p2 LCH 0  4V 1
 AMBE 43B576CE37BB00 err = [0] [0]
 AMBE F2BB972703D980 err = [0] [0]
 AMBE 221FC662BE3E80 err = [0] [0]
 AMBE 9639AD4B60E800 err = [0] [0]
dsd-neo was forked from dsd-fme, it shares the bulk of the cli arguments other than a few additions/modifications i've made: dsd-neo/docs/cli.md at main · arancormonk/dsd-neo
 

jimlawrence

Member
Joined
Apr 17, 2004
Messages
290
Reaction score
16
@arancormonk: The new native build seems to work fine when accessing the rtl-sdr directly. Thanks for the fix!! I'll keep playing with it as I prefer to use SDR++ to feed it so I'll set up a .bat file to do that. Great job!!
 

jimlawrence

Member
Joined
Apr 17, 2004
Messages
290
Reaction score
16
Got it running decoding conventional DMR using SDR++ and the following commands in a .bat file:
@Echo off
cd c:\dsd-neo
bin\dsd-neo.exe -fs -i tcp:127.0.0.1:7355 -N 2>NUL
Let me know if you have any other suggestions I can try to help with debugging, development, etc. Thank you!!
 
Top