New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DAB / DAB + demodulator #853
Comments
Looks like neither demoddab.dll nor dab_lib.dll are installed. It does when I build my own installer - so not sure what the problem might be. Perhaps not detecting zlib or faad when building? |
Spotted this in the latest log of the MSVC build in Appveor:
This seems to confirm that zlib or faad is not detected (most probably zlib). |
Ok, I think I see the problem. find_package(zlib) added for Linux is overwriting the manual setting of ZLIB_FOUND for WIN32. Patch shortly. |
The new .exe does install the DAB demod plugin which is accessible from the application. |
Can confirm the new .exe installs the DAB demod plugin. Application crashes every time after selecting service from a DAB ensemble. Sometimes 1-2 seconds proper audio audible prior to crash. Right click onto speaker symbol in DAB demod shows no reaction. Windows 10 Home x64. In any case amazing work, guys. |
Found reason for application crash. Had forgot to adjust sample rate to exactly 2.048MHz. |
I think you need at least 2.048 MHz a higher value would do also. |
Indeed it seems to work better with 2.048 MHz or multiples (4.096), but still not stable. Application always closes some seconds after selecting any audio program from any DAB or DAB+ ensemble. Not much hints in the .log - btw is it normal, that .log is only written if application is run in elevated mode? Windows is sooo lovely... I am running my tests with PlutoSDR, SDRplay RSP2 and a cheap RTL-SDR stick. |
I made further observations with the DAB demodulator which I better log as separate ticket, as they do not seem to be related to the initial installation process. |
Whether you need elevation to write the log will depend upon the location of the log file (and possibly the permissions of the existing file). You will need elevation if the log is created in c:\program files\sdrangel - but not in c:\users\you (unless perhaps the log was originally created when run with elevation). Trying pointing the log to c:\users\you\sdrangel.log and make sure to delete all existing logs before running. |
Thanks for clear explanation. That is exactly the case. Now I know how to solve. |
Fix right-click for DAB audio device selection as mentioned on issue #853
ok i see the DAB / DAB demodulator in the Windows.exe last version but after selecting a DAB radio it works fine but sdrangel crashes after about 20s of listening. I am on rtlsdr at SR 2048 MHz with a good antenna (this is ok with Welle.io for example) same crash problem on Ubuntu 20 10. |
Are you able to run under gdb on linux to get a stack track when it crashes?
After the crash
Then copy and paste the output here? |
Does it happen on every channel? For every program? For every sample rate? For DAB and DAB+? |
SDRAngel 6.10.1 installed with .deb Ubuntu 20 10 radio Dab+ crash 20 s Thread 45 "QThread" received signal SIGSEGV, Segmentation fault. |
crash without gdb : |
Thanks - that looks deep inside the DAB library. |
Crashed here also after a few seconds on Win10pro 64Bit I5 6. Generation w 8GB Ram. Tried with RSPduo, RTLSDR (R820T) and PlutoSDR as Frontend. 73s Holger, DF6DBF |
If issue is with the DAB library it must be for MSVC only. I can let it run for hours in Linux/Ubuntu. |
Well, the stack trace from choupette-change is from Linux. As we're all in different parts of the world, perhaps there is something different in the DAB broadcast where some people are that isn't supported? Would anyone be able to use the FileSink to record an .sdriq file so we can try to recreate it? |
Good point. I haven't tried many programs in the same feed either just my favorite ... I also noticed that some programs seem to overdrive the audio. |
I recorded a 60 second .sdriq file of a DAB+ ensemble. Most of the time the app closes during file playback within these 60 seconds. Sometimes it takes a bit longer, so the best is to let the file loop by the app. Sooner or later it does crash. If that sounds interesting, how to share that 1 GB file? |
Yep, great. I'd suggesting zipping the file then putting on something like Google Drive, Dropbox or OneDrive if you have an account. |
https://www.filemail.com/d/srhaqxaxeiqlxof Hope it works |
Yep - got it thanks. |
Yes got it and I've played the file ~20 times around without crash. |
I've found one problem that can cause a crash, but will only effect windows build. Patch shortly. |
Patch is on my dab-cmdline fork - which should fix the Windows crash. However, looks like there is another problem. It doesn't result in a crash, but when playing Radio RADIESCHEN using a debug build, Visual Studio reports stack corruption in reedSolomon::decode_rs. |
I've added a possible workaround for the stack corruption issue and reported the bug upstream. |
@srcejon many thanks for your findings. Due to a lack of a local build environment I personally need to wait for the next available Windows .exe. But I will try to set something up for future opportunities. Found the excellently documentes Linux build instruction and might follow that unless you have a better recommendation, preferrably for Windows. But that is off-topic. |
@IrishCoffee17 I've added Windows build instructions in issue #864 |
@srcejon Whow pretty cool, thanks! Can do that tonight. |
I compiled by the sources under Ubuntu 20 10, lastest release v6.10.2 with gdb Thread 35 "QThread" received signal SIGSEGV, Segmentation fault. |
@choupette-change are you able to create a .sdriq file so we can reproduce the problem? |
I created a 915.1 MB .sdriq but how do I send it to you on the github? |
It's too big for github, so you'll need to use something like DropBox, GoogleDrive, OneDrive, FileMail etc. Thanks, |
https://drive.google.com/file/d/1fjwEoFuYEDeAtVVKUYeUpzsYiHLx6uJL/view?usp=sharing |
Thanks, I can reproduce the failure here. |
Here too on Ubuntu 20.10 with "BONHEUR" station.
that in fact this is the function size_t fwrite ( const void * ptr, size_t size, size_t count, FILE * stream ); it seems the |
I am now running the IQ file fine with "BONHEUR" program. Thanks! |
Latest fix deployed in v6.10.3 |
Hmm... v6.18.1 is missing DAB/DAB+ on NixOS, but I'm not sure what to add here: https://github.com/NixOS/nixpkgs/blob/nixos-22.05/pkgs/applications/radio/sdrangel/default.nix - anybody know? Thanks |
Probably the dab library not built: https://github.com/srcejon/dab-cmdline.git Not familar with that build system though. |
Hello everyone, the DAB / DAB + demodulator does not appear in the Windows version ??? but ok version Ubuntu 20 10. Another demodulator to provide AIS VHF position of ships at sea. Good luck
The text was updated successfully, but these errors were encountered: