V3.2 Beta
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
|
--
On Jun 24, 2022, at 1:14 AM, Simon Brown <simon@...> wrote:
SDR Console V3.2 beta now available: https://forum.sdr-radio.com:4499/viewtopic.php?f=66&t=1722
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.
Sent: 24 June 2022 10:27
To: main@sdr-radio.groups.io <main@sdr-radio.groups.io>
Subject: Re: [SDR-Radio] V3.2 Beta
On Jun 24, 2022, at 1:14 AM, Simon Brown <simon@...> wrote:
SDR Console V3.2 beta now available: https://forum.sdr-radio.com:4499/viewtopic.php?f=66&t=1722
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 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.
- 32-bit or 64-bit?
- Which kit did you download: Microsoft, Dropbox or Webhost?
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.
--
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.
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.
Hi,
FYI. Installed V3.2 Beta, 64-bit, to my Win10. Everything works. Thanks! 😊
Pekka
Sent from Mail for Windows
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.
--
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 :-(
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 :-(
--
- Uninstall (select from the Windows menu)
- Make sure all files have been removed from the installation folder, usually: C:\Program Files\SDR-Radio.com (V3)
- Install.
- If you still have problems then make sure the redistributable kits are correctly installed, one of these files could be bad.
- Finally
try a new identity.
Sent: 24 June 2022 12:22
To: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io>
Subject: Re: [SDR-Radio] V3.2 Beta
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 :-(
--
--
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.
{^_^}
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:
SDR Console V3.2 beta now available: https://forum.sdr-radio.com:4499/viewtopic.php?f=66&t=1722
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.
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:
SDR Console V3.2 beta now available: https://forum.sdr-radio.com:4499/viewtopic.php?f=66&t=1722
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.
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
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,
MarkNick Hall-Patch
Victoria, BC
Canada
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).
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!