Wfview client crashes after 2 seconds on Win11

Hi,

I am trying the new Wfview version on a Raspberry Pi as server and a client on Win11.
The client crashes after 2 seconds, but only when connected to the server. RX delay is around 600 msec, and I hear receive audio on the client during 2 seconds.

The RPi is using an ethernet connection, and I tried the Win11 laptop using WiFi and Ethernet. No change. Same for different codecs and sample rates. With ethernet the ping returns <1 msec.

Below is the log from the server. Suggestions welcome.

73, de Reinier W6WYN/PA3AAA

2023-08-21 16:55:37.751 INF audio: Input device successfully opened
2023-08-21 16:55:37.751 INF audioconverter: Creating opus encoder: success
2023-08-21 16:55:37.752 INF audioconverter: wf_resampler_init() returned: 0 resampleRatio: 0.181406
2023-08-21 16:55:42.357 INF rig: Have rig ID: decimal: 128
2023-08-21 16:55:42.432 CRT system: receiveMode Invalid mode 225 received.
2023-08-21 16:55:42.579 INF serial: Collision detected by remote, resending previous command
2023-08-21 16:55:42.715 INF serial: Collision detected by remote, resending previous command
2023-08-21 16:55:42.889 INF serial: Collision detected by remote, resending previous command
2023-08-21 16:55:42.943 INF serial: Collision detected by remote, resending previous command
2023-08-21 16:55:43.053 INF serial: Collision detected by remote, resending previous command
2023-08-21 16:55:56.606 INF serial: Collision detected by remote, resending previous command
2023-08-21 16:55:59.236 INF serial: Collision detected by remote, resending previous command
2023-08-21 16:56:01.059 INF udp.server: “::ffff:192.168.1.71” ( “Audio” ): Deleting stale connection
2023-08-21 16:56:01.060 INF udp.server: Deleting “Audio” connection to: “::ffff:192.168.1.71” : “49174”
2023-08-21 16:56:01.062 INF udp.server: Found “Audio” connection to: “::ffff:192.168.1.71” : “49174”
2023-08-21 16:56:01.063 INF udp.server: Current Number of clients connected: 0
2023-08-21 16:56:01.066 INF audioconverter: Closing audioConverter() Input: 2 Channels of 0 44100 Float 32 Output: 1 Channels of 2 8000 Float 32
2023-08-21 16:56:01.068 INF audioconverter: Destroying opus encoder
2023-08-21 16:56:01.141 INF audioconverter: Closing audioConverter() Input: 1 Channels of 2 8000 Float 32 Output: 2 Channels of 0 44100 Float 32
2023-08-21 16:56:01.142 INF audioconverter: Destroying opus decoder
2023-08-21 16:56:01.144 INF udp.server: “::ffff:192.168.1.71” ( “CIV” ): Deleting stale connection
2023-08-21 16:56:01.145 INF udp.server: Deleting “CIV” connection to: “::ffff:192.168.1.71” : “49173”
2023-08-21 16:56:01.146 INF udp.server: Found “CIV” connection to: “::ffff:192.168.1.71” : “49173”
2023-08-21 16:56:01.147 INF udp.server: Current Number of clients connected: 0
2023-08-21 16:56:01.147 INF udp.server: “::ffff:192.168.1.71” ( “Control” ): Deleting stale connection
2023-08-21 16:56:01.148 INF udp.server: Deleting “Control” connection to: “::ffff:192.168.1.71” : “49919”
2023-08-21 16:56:01.149 INF udp.server: Found “Control” connection to: “::ffff:192.168.1.71” : “49919”
2023-08-21 16:56:01.149 INF udp.server: Current Number of clients connected: 0
2023-08-21 16:56:01.271 INF serial: Collision detected by remote, resending previous command
2023-08-21 16:56:22.351 INF udp.server: “::ffff:192.168.1.71” : New Control connection created
2023-08-21 16:56:22.351 INF udp.server: “::ffff:192.168.1.71” ( “Control” ): Received ‘Are you there’
2023-08-21 16:56:22.355 INF udp.server: “::ffff:192.168.1.71” ( “Control” ): Received ‘Are you ready’
2023-08-21 16:56:22.359 INF udp.server: “::ffff:192.168.1.71” : Received ‘login’
2023-08-21 16:56:22.359 INF udp.server: “::ffff:192.168.1.71” : User “user” login OK
2023-08-21 16:56:22.360 INF udp.server: “::ffff:192.168.1.71” ( “Control” ): Sending Login response: 1
2023-08-21 16:56:22.362 INF udp.server: “::ffff:192.168.1.71” : Received create token request
2023-08-21 16:56:22.369 INF udp.server: “::ffff:192.168.1.71” ( “Control” ): Sending Capabilities : 2 for “IC-7410”
2023-08-21 16:56:22.370 INF udp.server: “::ffff:192.168.1.71” ( “Control” ): Client will have TX audio
2023-08-21 16:56:22.371 INF udp.server: “::ffff:192.168.1.71” ( “Control” ): Sending ConnectionInfo : 3
2023-08-21 16:56:22.374 INF udp.server: “::ffff:192.168.1.71” : Received request for radio connection
2023-08-21 16:56:22.374 INF udp.server: “::ffff:192.168.1.71” ( “Control” ): Sending Status
2023-08-21 16:56:22.375 INF udp.server: “::ffff:192.168.1.71” ( “Control” ): Sending ConnectionInfo : 5
2023-08-21 16:56:22.375 INF udp.server: “::ffff:192.168.1.71” : rxCodec: 64 txCodec: 64 rxSampleRate 8000 txSampleRate 8000 txBufferLen 500
2023-08-21 16:56:22.377 INF audio: Output PortAudio handler starting: “USB Audio CODEC: - (hw:2,0)”
2023-08-21 16:56:22.378 INF audio: Input PortAudio handler starting: “USB Audio CODEC: - (hw:2,0)”
2023-08-21 16:56:22.378 INF udp.server: “::ffff:192.168.1.71” ( “CIV” ): New connection created
2023-08-21 16:56:22.379 INF audio: Output Chunk size 882
2023-08-21 16:56:22.379 INF udp.server: “::ffff:192.168.1.71” ( “CIV” ): Received ‘Are you there’
2023-08-21 16:56:22.380 INF audio: Input Chunk size 882
2023-08-21 16:56:22.380 INF udp.server: “::ffff:192.168.1.71” ( “Audio” ): New connection created
2023-08-21 16:56:22.381 INF udp.server: “::ffff:192.168.1.71” ( “Audio” ): Received ‘Are you there’
2023-08-21 16:56:22.384 INF udp.server: “::ffff:192.168.1.71” ( “CIV” ): Received ‘Are you ready’
2023-08-21 16:56:22.388 INF audio: Output device successfully opened
2023-08-21 16:56:22.389 INF audioconverter: Starting audioConverter() Input: 1 Channels of 2 8000 Float 32 Output: 2 Channels of 0 44100 Float 32
2023-08-21 16:56:22.389 INF audioconverter: Starting audioConverter() Input: 2 Channels of 0 44100 Float 32 Output: 1 Channels of 2 8000 Float 32
2023-08-21 16:56:22.390 INF audioconverter: Creating opus encoder: success
2023-08-21 16:56:22.391 INF audioconverter: Creating opus decoder: success
2023-08-21 16:56:22.391 INF audio: Input device successfully opened
2023-08-21 16:56:22.391 INF audioconverter: wf_resampler_init() returned: 0 resampleRatio: 0.181406
2023-08-21 16:56:22.392 INF audioconverter: wf_resampler_init() returned: 0 resampleRatio: 5.5125
2023-08-21 16:56:22.399 INF udp.server: “::ffff:192.168.1.71” ( “Audio” ): Received ‘Are you ready’
2023-08-21 16:56:24.281 INF serial: Collision detected by remote, resending previous command
2023-08-21 16:56:25.768 INF udp.server: “::ffff:192.168.1.71” ( “CIV” ): Sending (multiple packet) retransmit of “0xb9”
2023-08-21 16:56:25.769 INF udp.server: “::ffff:192.168.1.71” ( “CIV” ): Sending (multiple packet) retransmit of “0xb9”
2023-08-21 16:56:25.770 INF udp.server: “::ffff:192.168.1.71” ( “CIV” ): Sending (multiple packet) retransmit of “0xba”
2023-08-21 16:56:25.770 INF udp.server: “::ffff:192.168.1.71” ( “CIV” ): Sending (multiple packet) retransmit of “0xba”
2023-08-21 16:56:25.771 INF udp.server: “::ffff:192.168.1.71” ( “Audio” ): Sending (multiple packet) retransmit of “0x9b”
2023-08-21 16:56:25.772 INF udp.server: “::ffff:192.168.1.71” ( “Audio” ): Sending (multiple packet) retransmit of “0x9b”
2023-08-21 16:56:25.772 INF udp.server: “::ffff:192.168.1.71” ( “Audio” ): Sending (multiple packet) retransmit of “0x9c”
2023-08-21 16:56:25.773 INF udp.server: “::ffff:192.168.1.71” ( “Audio” ): Sending (multiple packet) retransmit of “0x9c”
2023-08-21 16:56:25.773 INF udp.server: “::ffff:192.168.1.71” ( “Audio” ): Sending (multiple packet) retransmit of “0x9d”
2023-08-21 16:56:25.774 INF udp.server: “::ffff:192.168.1.71” ( “Audio” ): Sending (multiple packet) retransmit of “0x9d”
2023-08-21 16:56:25.774 INF udp.server: “::ffff:192.168.1.71” ( “Audio” ): Sending (multiple packet) retransmit of “0x9e”
2023-08-21 16:56:25.775 INF udp.server: “::ffff:192.168.1.71” ( “Audio” ): Sending (multiple packet) retransmit of “0x9e”
2023-08-21 16:56:25.775 INF udp.server: “::ffff:192.168.1.71” ( “Audio” ): Sending (multiple packet) retransmit of “0x9f”
2023-08-21 16:56:25.776 INF udp.server: “::ffff:192.168.1.71” ( “Audio” ): Sending (multiple packet) retransmit of “0x9f”
2023-08-21 16:56:25.776 INF udp.server: “::ffff:192.168.1.71” ( “Audio” ): Sending (multiple packet) retransmit of “0xa0”
2023-08-21 16:56:25.777 INF udp.server: “::ffff:192.168.1.71” ( “Audio” ): Sending (multiple packet) retransmit of “0xa0”
2023-08-21 16:56:25.777 INF udp.server: “::ffff:192.168.1.71” ( “Audio” ): Sending (multiple packet) retransmit of “0xa1”
2023-08-21 16:56:25.778 INF udp.server: “::ffff:192.168.1.71” ( “Audio” ): Sending (multiple packet) retransmit of “0xa1”
2023-08-21 16:56:26.780 INF serial: Collision detected by remote, resending previous command
2023-08-21 16:56:27.017 INF serial: Collision detected by remote, resending previous command
2023-08-21 16:56:27.757 INF rig: Have rig ID: decimal: 128
2023-08-21 16:56:27.914 INF serial: Collision detected by remote, resending previous command
2023-08-21 16:56:27.975 INF serial: Collision detected by remote, resending previous command
2023-08-21 16:56:28.035 INF serial: Collision detected by remote, resending previous command
2023-08-21 16:56:28.134 INF serial: Collision detected by remote, resending previous command
2023-08-21 16:56:28.282 INF serial: Collision detected by remote, resending previous command
2023-08-21 16:56:28.487 INF serial: Collision detected by remote, resending previous command
2023-08-21 16:56:29.472 INF serial: Collision detected by remote, resending previous command
2023-08-21 16:56:39.662 INF serial: Collision detected by remote, resending previous command
2023-08-21 16:56:42.180 INF serial: Collision detected by remote, resending previous command
2023-08-21 16:56:44.670 INF serial: Collision detected by remote, resending previous command
2023-08-21 16:56:46.560 INF udp.server: “::ffff:192.168.1.71” ( “Audio” ): Deleting stale connection
2023-08-21 16:56:46.561 INF udp.server: Deleting “Audio” connection to: “::ffff:192.168.1.71” : “63465”
2023-08-21 16:56:46.563 INF udp.server: Found “Audio” connection to: “::ffff:192.168.1.71” : “63465”
2023-08-21 16:56:46.564 INF udp.server: Current Number of clients connected: 0
2023-08-21 16:56:46.565 INF audioconverter: Closing audioConverter() Input: 2 Channels of 0 44100 Float 32 Output: 1 Channels of 2 8000 Float 32
2023-08-21 16:56:46.566 INF audioconverter: Destroying opus encoder
2023-08-21 16:56:46.626 INF audioconverter: Closing audioConverter() Input: 1 Channels of 2 8000 Float 32 Output: 2 Channels of 0 44100 Float 32
2023-08-21 16:56:46.627 INF audioconverter: Destroying opus decoder
2023-08-21 16:56:46.629 INF udp.server: “::ffff:192.168.1.71” ( “CIV” ): Deleting stale connection
2023-08-21 16:56:46.630 INF udp.server: Deleting “CIV” connection to: “::ffff:192.168.1.71” : “63464”
2023-08-21 16:56:46.631 INF udp.server: Found “CIV” connection to: “::ffff:192.168.1.71” : “63464”
2023-08-21 16:56:46.631 INF udp.server: Current Number of clients connected: 0
2023-08-21 16:56:46.632 INF udp.server: “::ffff:192.168.1.71” ( “Control” ): Deleting stale connection
2023-08-21 16:56:46.632 INF udp.server: Deleting “Control” connection to: “::ffff:192.168.1.71” : “63463”
2023-08-21 16:56:46.633 INF udp.server: Found “Control” connection to: “::ffff:192.168.1.71” : “63463”
2023-08-21 16:56:46.633 INF udp.server: Current Number of clients connected: 0
2023-08-21 16:56:56.191 INF rig: Unknown control level (0x14) received at register “0x80” with level “0xf2” , int= 242
2023-08-21 16:56:56.210 INF serial: Collision detected by remote, resending previous command
2023-08-21 16:57:00.018 INF serial: Collision detected by remote, resending previous command
2023-08-21 16:57:02.338 INF serial: Collision detected by remote, resending previous command
2023-08-21 16:57:12.641 INF serial: Collision detected by remote, resending previous com

Tip: share the log link.

Which windows version did you use of the application?

There are 32 and 64 bit versions. And you possibly could use a different portrange to test

Hi Roeland,
The Rpi version is 1.64, build 1805861.
On Win 11 version 1.64 (64)

I noticed that the collision detect comes from the Rpi application, even without the Wfview Win11 client connected.
Rpi log: https://termbin.com/mty3

Hi Roland,
I use the 64 with windows 10 and windows11. Both doesnt work, than i used the 32 bit version and hurray works with w10 and w11.
73 Uwe DF9YW

What model radio? And what model is your CI-V adapter?

Ahh I see IC-7410. And what CI-V to USB adapter are you using? Or is it the one built in to the radio?

The collision detection could be a result of a sub-par CIV-USB adapter. Or it may help to decrease the baud rate.

The 7410 appears to actually have full duplex CI-V from the internal USB to the processor, if I recall correctly. And with full duplex connectivity there ought to be fewer collisions.

—E
de W6EL

I am using the IC-7410 internal USB for CIV communication. Collisions disappeared after lowering baudrate to 9600. BTW, same experience as @df9yw, 32 bit version works, the 64 bit version crashes after 2 seconds.

73, Reinier

we’ve seen that before where the 64 bit version bails out. That’s the reason I asked if you were using 32 or 64 bit. Next suggestion would have been “use 32 bit”.

and afaik we don’t know why 64 bits versions at some systems bail out.

If you open the Windows Event Viewer, do you see Wfview faulting?

David
G8JXA / N1OL