ngscopeclient / scopehal

Test and measurement hardware abstraction library and protocol decodes. This is the library only. Most users should use scopehal-apps.
BSD 3-Clause "New" or "Revised" License
190 stars 86 forks source link

Tektronix MSO64 Connect Error #838

Open codepox opened 8 months ago

codepox commented 8 months ago

MSO64 Software 2.4.4.1152 Connect over Ethernet using transport lxi I get the following error and ngscopeclient just close

Warning: Malformed color string "" Error: Read error (timeout) terminate called after throwing an instance of 'std::invalid_argument' what(): stof Aborted

codepox commented 8 months ago

I also get these warnings and errors when acquiring waveform

Warning: Malformed color string "" Warning: Preamble error (read only 12 fields from 24 semicolons) Warning: Malformed color string "" Warning: Malformed color string "" Warning: Preamble error (read only 12 fields from 24 semicolons) ERROR: Retried too many times acquiring channel Warning: Malformed color string ""

azonenberg commented 8 months ago

Can you try running with --debug --trace SCPILxiTransport and upload the log?

Also, try using the "lan" transport rather than LXI (you may need to change settings on the scope to enable the socket server, and set the protocol as "none" rather than "terminal" which is the default).

codepox commented 8 months ago

Here is the trace with lxi transport

OMP_WAIT_POLICY not set to PASSIVE Re-exec'ing with correct environment Initializing Vulkan VK_KHR_get_physical_device_properties2: supported VK_KHR_xcb_surface: supported VK_KHR_xlib_surface: supported VK_EXT_debug_utils: supported Loader/API support available for Vulkan 1.3 Vulkan 1.2 support available, requesting it Initializing glfw 3.3.6 X11 GLX EGL OSMesa clock_gettime evdev shared GLFW required extensions: VK_KHR_surface VK_KHR_xcb_surface Physical devices: Device 0: AMD Radeon RX 6600 (RADV NAVI23) API version: 0x004030ee (0.1.3.238) Driver version: 0x05c00004 (0.23.0.4) Vendor ID: 1002 Device ID: 73ff Device type: Discrete GPU int64: yes int16: yes (allowed in SSBOs) int8: yes (allowed in SSBOs) Max image dim 2D: 16384 Max storage buf range: 4095 MB Max mem alloc: 4095 MB Max compute shared mem: 64 KB Max compute grp count: 65535 x 65535 x 65535 Max compute invocs: 1024 Max compute grp size: 1024 x 1024 x 1024 Memory types: Type 0 Heap index: 0 Device local Type 1 Heap index: 0 Device local Type 2 Heap index: 1 Host visible Host coherent Type 3 Heap index: 2 Device local Host visible Host coherent Type 4 Heap index: 2 Device local Host visible Host coherent Type 5 Heap index: 1 Host visible Host coherent Host cached Type 6 Heap index: 1 Host visible Host coherent Host cached Type 7 Heap index: 0 Device local Device coherent Device uncached Type 8 Heap index: 1 Host visible Host coherent Device coherent Device uncached Type 9 Heap index: 2 Device local Host visible Host coherent Device coherent Device uncached Type 10 Heap index: 1 Host visible Host coherent Host cached Device coherent Device uncached Memory heaps: Heap 0 Size: 7 GB Device local Heap 1 Size: 31 GB Heap 2 Size: 256 MB Device local Device 1: Intel(R) Graphics (RPL-S) API version: 0x004030ee (0.1.3.238) Driver version: 0x05c00004 (0.23.0.4) Vendor ID: 8086 Device ID: a780 Device type: Integrated GPU int64: yes int16: yes (allowed in SSBOs) int8: yes (allowed in SSBOs) Max image dim 2D: 16384 Max storage buf range: 4095 MB Max mem alloc: 4095 MB Max compute shared mem: 64 KB Max compute grp count: 65535 x 65535 x 65535 Max compute invocs: 1024 Max compute grp size: 1024 x 1024 x 1024 Memory types: Type 0 Heap index: 0 Device local Host visible Host coherent Host cached Memory heaps: Heap 0 Size: 46 GB Device local Device 2: llvmpipe (LLVM 15.0.7, 256 bits) API version: 0x004030ee (0.1.3.238) Driver version: 0x00000001 (0.0.0.1) Vendor ID: 10005 Device ID: 0000 Device type: CPU int64: yes int16: yes (allowed in SSBOs) int8: yes (allowed in SSBOs) Max image dim 2D: 16384 Max storage buf range: 128 MB Max mem alloc: 4095 MB Max compute shared mem: 32 KB Max compute grp count: 65535 x 65535 x 65535 Max compute invocs: 1024 Max compute grp size: 1024 x 1024 x 1024 Memory types: Type 0 Heap index: 0 Device local Host visible Host coherent Host cached Memory heaps: Heap 0 Size: 2 GB Device local Selected device 0 Queue families (2 total) Queue type 0 Queue count: 1 Timestamp valid bits: 64 Graphics Compute Transfer Sparse binding Queue type 1 Queue count: 4 Timestamp valid bits: 64 Compute Transfer Sparse binding Driver: vk::DriverId::eMesaRadv Enabling 64-bit float support Enabling 64-bit integer support Enabling 16-bit integer support Enabling 16-bit integer support for SSBOs Enabling 8-bit integer support Enabling 8-bit integer support for SSBOs Device has VK_KHR_push_descriptor, requesting it Device has VK_KHR_shader_non_semantic_info, requesting it Device has VK_EXT_memory_budget, requesting it Device has VK_EXT_shader_atomic_float, requesting it Using type 5 for pinned host memory Using type 0 for card-local memory Sorted queues: Family=1 Index=0 Flags=0000000e Family=1 Index=1 Flags=0000000e Family=1 Index=2 Flags=0000000e Family=1 Index=3 Flags=0000000e Family=0 Index=0 Flags=0000000f QueueManager creating family=1 index=0 name=g_vkTransferQueue

vkFFT version: 1.3.2

Detecting CPU features...

QueueManager creating family=0 index=0 name=g_mainWindow.render Using ImGui version 1.90.1 WIP Vulkan driver is Mesa. Disabling vkSetDebugUtilsObjectNameEXT on VkSurfaceKHR objects to work around driver bug. QueueManager creating family=1 index=1 name=FilterGraphExecutor[0].queue Connecting to SCPI device over VXI-11 at 10.8.16.174:0 [SCPILxiTransport::SendCommand] Sending IDN? [SCPILxiTransport::ReadReply] Got TEKTRONIX,MSO64,B011002,CF:91.1CT FV:2.4.4.1152 [SCPILxiTransport::SendCommand] Sending CLS [SCPILxiTransport::SendCommand] Sending CLS [SCPILxiTransport::SendCommand] Sending IDN? [SCPILxiTransport::ReadReply] Got TEKTRONIX,MSO64,B011002,CF:91.1CT FV:2.4.4.1152 [SCPILxiTransport::SendCommand] Sending HOR:MODE:RECO? [SCPILxiTransport::ReadReply] Got 1250000 [SCPILxiTransport::SendCommand] Sending IDN? [SCPILxiTransport::ReadReply] Got TEKTRONIX,MSO64,B011002,CF:91.1CT FV:2.4.4.1152 [SCPILxiTransport::SendCommand] Sending IDN? [SCPILxiTransport::ReadReply] Got TEKTRONIX,MSO64,B011002,CF:91.1CT FV:2.4.4.1152 [SCPILxiTransport::SendCommand] Sending IDN? [SCPILxiTransport::ReadReply] Got TEKTRONIX,MSO64,B011002,CF:91.1CT FV:2.4.4.1152 [SCPILxiTransport::SendCommand] Sending HOR:MODE:RECO? [SCPILxiTransport::ReadReply] Got 1250000 [SCPILxiTransport::SendCommand] Sending HOR:MODE:RECO? [SCPILxiTransport::ReadReply] Got 1250000 [SCPILxiTransport::SendCommand] Sending CLS [SCPILxiTransport::SendCommand] Sending CLS [SCPILxiTransport::SendCommand] Sending IDN? [SCPILxiTransport::ReadReply] Got TEKTRONIX,MSO64,B011002,CF:91.1CT FV:2.4.4.1152 [SCPILxiTransport::SendCommand] Sending HOR:MODE:RECO? [SCPILxiTransport::ReadReply] Got 1250000 [SCPILxiTransport::SendCommand] Sending IDN? [SCPILxiTransport::ReadReply] Got TEKTRONIX,MSO64,B011002,CF:91.1CT FV:2.4.4.1152 [SCPILxiTransport::SendCommand] Sending IDN? [SCPILxiTransport::ReadReply] Got TEKTRONIX,MSO64,B011002,CF:91.1CT FV:2.4.4.1152 [SCPILxiTransport::SendCommand] Sending *IDN? [SCPILxiTransport::ReadReply] Got TEKTRONIX,MSO64,B011002,CF:91.1CT FV:2.4.4.1152 [SCPILxiTransport::SendCommand] Sending HOR:MODE:RECO? [SCPILxiTransport::ReadReply] Got 1250000 [SCPILxiTransport::SendCommand] Sending HOR:MODE:RECO? [SCPILxiTransport::ReadReply] Got 1250000 [SCPILxiTransport::SendCommand] Sending HEAD 0 [SCPILxiTransport::SendCommand] Sending ACQ:MOD SAM [SCPILxiTransport::SendCommand] Sending VERB OFF [SCPILxiTransport::SendCommand] Sending ACQ:STOPA SEQ [SCPILxiTransport::SendCommand] Sending HOR:MODE MAN [SCPILxiTransport::SendCommand] Sending HOR:DEL:MOD ON [SCPILxiTransport::SendCommand] Sending SV:RBWMODE MAN [SCPILxiTransport::SendCommand] Sending SV:LOCKCENTER 0 [SCPILxiTransport::SendCommand] Sending CONFIG:ANALO:BANDW? [SCPILxiTransport::ReadReply] Got 1.0000E+9 [SCPILxiTransport::SendCommand] Sending LICENSE:APPID? [SCPILxiTransport::ReadReply] Got "AFG,BW6-1000,DVM,SV-RFVT"

codepox commented 8 months ago

Here is the trace with lan

OMP_WAIT_POLICY not set to PASSIVE Re-exec'ing with correct environment Initializing Vulkan VK_KHR_get_physical_device_properties2: supported VK_KHR_xcb_surface: supported VK_KHR_xlib_surface: supported VK_EXT_debug_utils: supported Loader/API support available for Vulkan 1.3 Vulkan 1.2 support available, requesting it Initializing glfw 3.3.6 X11 GLX EGL OSMesa clock_gettime evdev shared GLFW required extensions: VK_KHR_surface VK_KHR_xcb_surface Physical devices: Device 0: AMD Radeon RX 6600 (RADV NAVI23) API version: 0x004030ee (0.1.3.238) Driver version: 0x05c00004 (0.23.0.4) Vendor ID: 1002 Device ID: 73ff Device type: Discrete GPU int64: yes int16: yes (allowed in SSBOs) int8: yes (allowed in SSBOs) Max image dim 2D: 16384 Max storage buf range: 4095 MB Max mem alloc: 4095 MB Max compute shared mem: 64 KB Max compute grp count: 65535 x 65535 x 65535 Max compute invocs: 1024 Max compute grp size: 1024 x 1024 x 1024 Memory types: Type 0 Heap index: 0 Device local Type 1 Heap index: 0 Device local Type 2 Heap index: 1 Host visible Host coherent Type 3 Heap index: 2 Device local Host visible Host coherent Type 4 Heap index: 2 Device local Host visible Host coherent Type 5 Heap index: 1 Host visible Host coherent Host cached Type 6 Heap index: 1 Host visible Host coherent Host cached Type 7 Heap index: 0 Device local Device coherent Device uncached Type 8 Heap index: 1 Host visible Host coherent Device coherent Device uncached Type 9 Heap index: 2 Device local Host visible Host coherent Device coherent Device uncached Type 10 Heap index: 1 Host visible Host coherent Host cached Device coherent Device uncached Memory heaps: Heap 0 Size: 7 GB Device local Heap 1 Size: 31 GB Heap 2 Size: 256 MB Device local Device 1: Intel(R) Graphics (RPL-S) API version: 0x004030ee (0.1.3.238) Driver version: 0x05c00004 (0.23.0.4) Vendor ID: 8086 Device ID: a780 Device type: Integrated GPU int64: yes int16: yes (allowed in SSBOs) int8: yes (allowed in SSBOs) Max image dim 2D: 16384 Max storage buf range: 4095 MB Max mem alloc: 4095 MB Max compute shared mem: 64 KB Max compute grp count: 65535 x 65535 x 65535 Max compute invocs: 1024 Max compute grp size: 1024 x 1024 x 1024 Memory types: Type 0 Heap index: 0 Device local Host visible Host coherent Host cached Memory heaps: Heap 0 Size: 46 GB Device local Device 2: llvmpipe (LLVM 15.0.7, 256 bits) API version: 0x004030ee (0.1.3.238) Driver version: 0x00000001 (0.0.0.1) Vendor ID: 10005 Device ID: 0000 Device type: CPU int64: yes int16: yes (allowed in SSBOs) int8: yes (allowed in SSBOs) Max image dim 2D: 16384 Max storage buf range: 128 MB Max mem alloc: 4095 MB Max compute shared mem: 32 KB Max compute grp count: 65535 x 65535 x 65535 Max compute invocs: 1024 Max compute grp size: 1024 x 1024 x 1024 Memory types: Type 0 Heap index: 0 Device local Host visible Host coherent Host cached Memory heaps: Heap 0 Size: 2 GB Device local Selected device 0 Queue families (2 total) Queue type 0 Queue count: 1 Timestamp valid bits: 64 Graphics Compute Transfer Sparse binding Queue type 1 Queue count: 4 Timestamp valid bits: 64 Compute Transfer Sparse binding Driver: vk::DriverId::eMesaRadv Enabling 64-bit float support Enabling 64-bit integer support Enabling 16-bit integer support Enabling 16-bit integer support for SSBOs Enabling 8-bit integer support Enabling 8-bit integer support for SSBOs Device has VK_KHR_push_descriptor, requesting it Device has VK_KHR_shader_non_semantic_info, requesting it Device has VK_EXT_memory_budget, requesting it Device has VK_EXT_shader_atomic_float, requesting it Using type 5 for pinned host memory Using type 0 for card-local memory Sorted queues: Family=1 Index=0 Flags=0000000e Family=1 Index=1 Flags=0000000e Family=1 Index=2 Flags=0000000e Family=1 Index=3 Flags=0000000e Family=0 Index=0 Flags=0000000f QueueManager creating family=1 index=0 name=g_vkTransferQueue

vkFFT version: 1.3.2

Detecting CPU features...

QueueManager creating family=0 index=0 name=g_mainWindow.render Using ImGui version 1.90.1 WIP Vulkan driver is Mesa. Disabling vkSetDebugUtilsObjectNameEXT on VkSurfaceKHR objects to work around driver bug. QueueManager creating family=1 index=1 name=FilterGraphExecutor[0].queue Connecting to SCPI device at 10.8.16.174:4000 [SCPITransport::SendCommandQueued] 1 commands now queued [SCPITransport::SendCommandQueued] 2 commands now queued [SCPITransport::SendCommandQueued] 3 commands now queued [SCPITransport::SendCommandQueued] 4 commands now queued [SCPITransport::SendCommandQueued] 5 commands now queued [SCPITransport::SendCommandQueued] 6 commands now queued [SCPITransport::SendCommandQueued] 7 commands now queued [SCPITransport::SendCommandQueued] 8 commands now queued [SCPITransport::FlushCommandQueue] 8 commands being flushed