V3.2 Beta


Simon Brown
 

Writing low-level stuff to squeeze a CPUs performance is fun, haven't really done this in anger for 30 years. Written my own SSE / AVX / AVX2 code for DotProduct, managed to beat Intel's performance library by a factor of two.
forum.sdr-radio.com

Performance enhancements, bug fixes and a new Continuum display.

Have a nice weekend everyone.

--
- + - + -
Please use https://forum.sdr-radio.com:4499/ when posting questions or problems.


rmrrgs
 

Hi

Just extract all to present Console folder, or create a new one for ?

Bob


On Jun 24, 2022, at 1:14 AM, Simon Brown <simon@...> wrote:


Writing low-level stuff to squeeze a CPUs performance is fun, haven't really done this in anger for 30 years. Written my own SSE / AVX / AVX2 code for DotProduct, managed to beat Intel's performance library by a factor of two.
forum.sdr-radio.com

Performance enhancements, bug fixes and a new Continuum display.

Have a nice weekend everyone.

--
- + - + -
Please use https://forum.sdr-radio.com:4499/ when posting questions or problems.


Simon Brown
 

Just install. It'll overwrite as needed.


From: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io> on behalf of rmrrgs via groups.io <rgsrose@...>
Sent: 24 June 2022 10:27
To: main@sdr-radio.groups.io <main@sdr-radio.groups.io>
Subject: Re: [SDR-Radio] V3.2 Beta
 
Hi

Just extract all to present Console folder, or create a new one for ?

Bob


On Jun 24, 2022, at 1:14 AM, Simon Brown <simon@...> wrote:


Writing low-level stuff to squeeze a CPUs performance is fun, haven't really done this in anger for 30 years. Written my own SSE / AVX / AVX2 code for DotProduct, managed to beat Intel's performance library by a factor of two.
forum.sdr-radio.com

Performance enhancements, bug fixes and a new Continuum display.

Have a nice weekend everyone.

--
- + - + -
Please use https://forum.sdr-radio.com:4499/ when posting questions or problems.

--
- + - + -
Please use https://forum.sdr-radio.com:4499/ when posting questions or problems.


Gisle Vanem
 

Simon Brown wrote:

Written my own SSE / AVX / AVX2 code for DotProduct, managed to beat Intel's performance library by a factor of two.

Installed it. But crashes before the GUI comes up.
Running cdb -Z c:\temp\crashdump.dmp + !analyze -v shows this:

WARNING: Unable to verify checksum for SDRDemodulation.dll ... EXCEPTION_RECORD: (.exr -1) ExceptionAddress: 0000000000000000 ExceptionCode: c0000005 (Access violation) ExceptionFlags: 00000000 NumberParameters: 2 Parameter[0]: 0000000000000008 Parameter[1]: 0000000000000000 Attempt to execute non-executable address 0000000000000000 PROCESS_NAME: SDR Console.exe ... STACK_TEXT: 0000002a`71be8e78 00007ff6`a6831643 : 00000000`00000004 00000174`891c2e60 00000000`00000000 00000000`00000000 : 0x0 0000002a`71be8e80 00007ffb`bc993be4 : 00007ffb`bcaa3578 00000000`00000008 00007ffb`bcaa3578 00000174`f5c0c588 : SDR_Console!hookKeyboardProc+0x34f3 0000002a`71befb40 00007ff6`a69092ee : 00000000`0000000a 00000000`00000000 00000000`00000000 00000000`00000000 : mfc140u!AfxWinMain+0x84 0000002a`71befb80 00007ffc`0b2c7034 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : SDR_Console!hookKeyboardProc+0xdb19e 0000002a`71befbc0 00007ffc`0b4e2651 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0x14 0000002a`71befbf0 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x21 SYMBOL_NAME: sdr_console!hookKeyboardProc+34f3 MODULE_NAME: SDR_Console IMAGE_NAME: SDR Console.exe STACK_COMMAND: ~15s ; .ecxr ; kb FAILURE_BUCKET_ID: SOFTWARE_NX_FAULT_STACK_POINTER_MISMATCH_c0000005_SDR_Console.exe!hookKeyboardProc

Seems not related to your SSE/AVX code.


Simon Brown
 

OK,  Few questions:
  • 32-bit or 64-bit?
  • Which kit did you download: Microsoft, Dropbox or Webhost?
This 8could* be a bad download but it shouldn't have installed were that the case. Please go back to the 3.1 release.



From: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io> on behalf of Gisle Vanem via groups.io <gvanem@...>
Sent: 24 June 2022 10:47
To: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io>
Subject: Re: [SDR-Radio] V3.2 Beta
 

Simon Brown wrote:

Written my own SSE / AVX / AVX2 code for DotProduct, managed to beat Intel's performance library by a factor of two.

Installed it. But crashes before the GUI comes up.
Running cdb -Z c:\temp\crashdump.dmp + !analyze -v shows this:

WARNING: Unable to verify checksum for SDRDemodulation.dll ... EXCEPTION_RECORD: (.exr -1) ExceptionAddress: 0000000000000000 ExceptionCode: c0000005 (Access violation) ExceptionFlags: 00000000 NumberParameters: 2 Parameter[0]: 0000000000000008 Parameter[1]: 0000000000000000 Attempt to execute non-executable address 0000000000000000 PROCESS_NAME: SDR Console.exe ... STACK_TEXT: 0000002a`71be8e78 00007ff6`a6831643 : 00000000`00000004 00000174`891c2e60 00000000`00000000 00000000`00000000 : 0x0 0000002a`71be8e80 00007ffb`bc993be4 : 00007ffb`bcaa3578 00000000`00000008 00007ffb`bcaa3578 00000174`f5c0c588 : SDR_Console!hookKeyboardProc+0x34f3 0000002a`71befb40 00007ff6`a69092ee : 00000000`0000000a 00000000`00000000 00000000`00000000 00000000`00000000 : mfc140u!AfxWinMain+0x84 0000002a`71befb80 00007ffc`0b2c7034 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : SDR_Console!hookKeyboardProc+0xdb19e 0000002a`71befbc0 00007ffc`0b4e2651 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0x14 0000002a`71befbf0 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x21 SYMBOL_NAME: sdr_console!hookKeyboardProc+34f3 MODULE_NAME: SDR_Console IMAGE_NAME: SDR Console.exe STACK_COMMAND: ~15s ; .ecxr ; kb FAILURE_BUCKET_ID: SOFTWARE_NX_FAULT_STACK_POINTER_MISMATCH_c0000005_SDR_Console.exe!hookKeyboardProc

Seems not related to your SSE/AVX code.


--
- + - + -
Please use https://forum.sdr-radio.com:4499/ when posting questions or problems.


Gisle Vanem
 

64-bit from Microsoft.
Ok, I'll try another combo.


Gisle Vanem
 

Another thing I've never seen before is that the BugTrap GUI never manages to become the foreground window.

I can see it when I <Alt-Tab> among the top-windows. But it's always shadowed by your opening splash image.
But a huge (115 MByte) c:\temp\SDRConsole_error_report*.zip gets created eventually.


Gisle Vanem
 

Ok, I'll try another combo.

Installed the 64-bit version from DropBox. Same crash.
So running cdb -c g "SDR Console.exe" directly (disabling BugTrap), I got this call-stack:

Lots of your dbg-trace FFT Helper alloc 11SDRFFTHelper: FFT Helper alloc 12 ModLoad: 00007ffb`f67e0000 00007ffb`f67e7000 C:\WINDOWS\SYSTEM32\MSIMG32.dll 12:12:20.840: CSDRSpectrumApp::LoadState Ident0_001, status 112:12:20.990: m_pMainWnd = x0D3F104012:12:20.990: Opened(21ec.7e0): Access violation - code c0000005 (first chance) First chance exceptions are reported before any exception handling. This exception may be expected and handled. 00000000`00000000 ?? ??? 0:000> kp Child-SP RetAddr Call Site 0000001a`ee1e8bc8 00007ff7`a2fc1643 0x0 0000001a`ee1e8bd0 00007ffb`bb553804 SDR_Console!hookKeyboardProc+0x34f3 0000001a`ee1ef890 00007ff7`a30992ee mfc140u!AfxWinMain(struct HINSTANCE__ * hInstance = 0x00007ff7`a27f0000, struct HINSTANCE__ * hPrevInstance = 0x00000000`00000000, wchar_t * lpCmdLine = 0x000001a2`075b0d12 "", int nCmdShow = 0n10)+0x84 0000001a`ee1ef8d0 00007ffc`0b2c7034 SDR_Console!hookKeyboardProc+0xdb19e

Do you make any sense of it?
I'll try the 32-bit version next.


Pekka Sorjonen
 

Hi,

 

FYI. Installed V3.2 Beta, 64-bit, to my Win10. Everything works. Thanks! 😊

 

Pekka

 

Sent from Mail for Windows

 


Simon Brown
 

OK,

I can't handle these dumps you're providing - please show me a screenshot of the error window. I'm making a kit now, I'll archive everything so I can analyse the crash dumps.


From: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io> on behalf of Gisle Vanem via groups.io <gvanem@...>
Sent: 24 June 2022 11:18
To: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io>
Subject: Re: [SDR-Radio] V3.2 Beta
 

Ok, I'll try another combo.

Installed the 64-bit version from DropBox. Same crash.
So running cdb -c g "SDR Console.exe" directly (disabling BugTrap), I got this call-stack:

Lots of your dbg-trace FFT Helper alloc 11SDRFFTHelper: FFT Helper alloc 12 ModLoad: 00007ffb`f67e0000 00007ffb`f67e7000 C:\WINDOWS\SYSTEM32\MSIMG32.dll 12:12:20.840: CSDRSpectrumApp::LoadState Ident0_001, status 112:12:20.990: m_pMainWnd = x0D3F104012:12:20.990: Opened(21ec.7e0): Access violation - code c0000005 (first chance) First chance exceptions are reported before any exception handling. This exception may be expected and handled. 00000000`00000000 ?? ??? 0:000> kp Child-SP RetAddr Call Site 0000001a`ee1e8bc8 00007ff7`a2fc1643 0x0 0000001a`ee1e8bd0 00007ffb`bb553804 SDR_Console!hookKeyboardProc+0x34f3 0000001a`ee1ef890 00007ff7`a30992ee mfc140u!AfxWinMain(struct HINSTANCE__ * hInstance = 0x00007ff7`a27f0000, struct HINSTANCE__ * hPrevInstance = 0x00000000`00000000, wchar_t * lpCmdLine = 0x000001a2`075b0d12 "", int nCmdShow = 0n10)+0x84 0000001a`ee1ef8d0 00007ffc`0b2c7034 SDR_Console!hookKeyboardProc+0xdb19e

Do you make any sense of it?
I'll try the 32-bit version next.


--
- + - + -
Please use https://forum.sdr-radio.com:4499/ when posting questions or problems.


Gisle Vanem
 

On Fri, Jun 24, 2022 at 12:46 PM, Simon Brown wrote:

I can't handle these dumps you're providing

It's the Goups.IO Markdown formatter that massacres the mark-up code. Collapses all \r\n onto \n or something.
The only screenshot I was able to get was this inside the BugTrap .zip:

Even v3.1 (build 2572) crashes for me now :-(


Simon Brown
 

OK,

Eating - give me 15 minutes.


From: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io> on behalf of Gisle Vanem via groups.io <gvanem@...>
Sent: 24 June 2022 12:19
To: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io>
Subject: Re: [SDR-Radio] V3.2 Beta
 

On Fri, Jun 24, 2022 at 12:46 PM, Simon Brown wrote:

I can't handle these dumps you're providing

It's the Goups.IO Markdown formatter that massacres the mark-up code. Collapses all \r\n onto \n or something.
The only screenshot I was able to get was this inside the BugTrap .zip:

Even v3.1 (build 2572) crashes for me now :-(


--
- + - + -
Please use https://forum.sdr-radio.com:4499/ when posting questions or problems.


Simon Brown
 

Sorry,

Had to go out. let's get rid of all files, so:

  1. Uninstall (select from the Windows menu)
  2. Make sure all files have been removed from the installation folder, usually: C:\Program Files\SDR-Radio.com (V3)
  3. Install.
  4. If you still have problems then make sure the redistributable kits are correctly installed, one of these files could be bad.
  5. Finally try a new identity
My gut feeling is a bad file on the system.


From: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io> on behalf of Simon Brown via groups.io <simon@...>
Sent: 24 June 2022 12:22
To: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io>
Subject: Re: [SDR-Radio] V3.2 Beta
 
OK,

Eating - give me 15 minutes.

From: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io> on behalf of Gisle Vanem via groups.io <gvanem@...>
Sent: 24 June 2022 12:19
To: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io>
Subject: Re: [SDR-Radio] V3.2 Beta
 

On Fri, Jun 24, 2022 at 12:46 PM, Simon Brown wrote:

I can't handle these dumps you're providing

It's the Goups.IO Markdown formatter that massacres the mark-up code. Collapses all \r\n onto \n or something.
The only screenshot I was able to get was this inside the BugTrap .zip:

Even v3.1 (build 2572) crashes for me now :-(


--
- + - + -
Please use https://forum.sdr-radio.com:4499/ when posting questions or problems.

--
- + - + -
Please use https://forum.sdr-radio.com:4499/ when posting questions or problems.


jdow
 

Run the installer and accept defaults except for the question about installing for everybody or just the current user. Otherwise all warranties expressed or implied are void and you get to clean up the mess.

{^_^}

On 20220624 02:27:08, rmrrgs wrote:

Hi

Just extract all to present Console folder, or create a new one for ?

Bob


On Jun 24, 2022, at 1:14 AM, Simon Brown <simon@...> wrote:


Writing low-level stuff to squeeze a CPUs performance is fun, haven't really done this in anger for 30 years. Written my own SSE / AVX / AVX2 code for DotProduct, managed to beat Intel's performance library by a factor of two.
forum.sdr-radio.com

Performance enhancements, bug fixes and a new Continuum display.

Have a nice weekend everyone.

--
- + - + -
Please use https://forum.sdr-radio.com:4499/ when posting questions or problems.


Ian Kelly
 

Build 2645 of SDR Console v3.2 Beta 64 bit downloaded from Microsoft installed on my Windows 11 machine on top of a v3.1 build without a hitch.

Thanks for all your hard work, Simon. 


Ian Kelly
Tilehurst, Reading


On Fri, 24 Jun 2022, 14:55 jdow, <jdow@...> wrote:

Run the installer and accept defaults except for the question about installing for everybody or just the current user. Otherwise all warranties expressed or implied are void and you get to clean up the mess.

{^_^}

On 20220624 02:27:08, rmrrgs wrote:
Hi

Just extract all to present Console folder, or create a new one for ?

Bob


On Jun 24, 2022, at 1:14 AM, Simon Brown <simon@...> wrote:


Writing low-level stuff to squeeze a CPUs performance is fun, haven't really done this in anger for 30 years. Written my own SSE / AVX / AVX2 code for DotProduct, managed to beat Intel's performance library by a factor of two.

Performance enhancements, bug fixes and a new Continuum display.

Have a nice weekend everyone.

--
- + - + -
Please use https://forum.sdr-radio.com:4499/ when posting questions or problems.


Nick Hall-Patch
 

Thank you Simon.

Have been putting the Continuum through its paces on some recorded files, and so far, works as advertised.   Much appreciated.

Nick



At 05:14 2022-06-24, Simon Brown wrote:

SDR Console V3.2 beta now available: https://forum.sdr-radio.com:4499/viewtopic.php?f=66&t=1722
V3.2 Release Notes - It's all about the Software
Writing low-level stuff to squeeze a CPUs performance is fun, haven't really done this in anger for 30 years. Written my own SSE / AVX / AVX2 code for DotProduct, managed to beat Intel's performance library by a factor of two.
forum.sdr-radio.com
Performance enhancements, bug fixes and a new Continuum display.
Have a nice weekend everyone.
Simon Brown
https://g4eli.com
https://sdr-radio.com

--
- + - + -
Please use https://forum.sdr-radio.com:4499/ when posting questions or problems.

Nick Hall-Patch
Victoria, BC
Canada


Mark Cayton
 

Simon,

For an idiot, please, what is Continuum and what is its purpose?

TIA,
Mark


Nick Hall-Patch
 

Groups.io has quite a good search function using a single term , Mark .   I just did a search on "continuum" in the  SDR-Radio group, and you can see the discussion that led to Simon's work on this.

Example (message 66053):

(from SpectraVue manual:  "A continuum display for measuring spectral power over the entire span and/or the peak power within the span.")

The power is a single value displayed over time. The span can be set from one Hz to the full span being monitored.  It's derived from the FFT displayed.


I remembered that one because I sent it in, hi.   But the whole discussion is laid out quite well on the groups.io web page.

best wishes,

Nick









At 23:29 2022-06-24, Mark Cayton wrote:
Simon,

For an idiot, please, what is Continuum and what is its purpose?

TIA,
Mark

Nick Hall-Patch
Victoria, BC
Canada


Gisle Vanem
 

On Fri, Jun 24, 2022 at 03:11 PM, Simon Brown wrote:

My gut feeling is a bad file on the system.

Still the same crash. Running inside cdb it clearly shows that a NULL-pointer is called:

EXCEPTION_RECORD: (.exr -1) ExceptionAddress: 0000000000000000 ExceptionCode: c0000005 (Access violation) ExceptionFlags: 00000000 NumberParameters: 2 Parameter[0]: 0000000000000008 Parameter[1]: 0000000000000000 Attempt to execute non-executable address 0000000000000000

And I was able to get this call-stack from ProcessExplorer when BugTrap kicked in:

https://www.watt-32.net/misc/sdr-console-VCOMP140.png

(Hope that Groups.io does not massacres the above Markdown this time).


Gisle Vanem
 

Besides your uninstall.exe program is way to aggressive IMHO.

I had this directory layout:.
* f:\gv\dx-radio\SDR-Radio the v3.1 version that worked.
* f:\gv\dx-radio\SDR-Radio\v.3.2-beta the latest version that crashes.

Then running f:\gv\dx-radio\SDR-Radio\uninstall.exe wiped everything!