OK
with a direct PC to camera ethernet connection, I get
Downlink 891.7 mbps
Uplink 228.9 mbps
Press any key to continue...
However, with a connection via the switch, I get
Downlink 356.1 mbps
Traceback (most recent call last):
File "/home/mike/Luxonis/depthai-python/utilities/oak_bandwidth_test.py", line 91, in <module>
qin.send(buffer)
RuntimeError: Communication exception - possible device error/misconfiguration. Original message 'Couldn't write data to stream: 'xin' (X_LINK_ERROR)'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/mike/Luxonis/depthai-python/utilities/oak_bandwidth_test.py", line 66, in <module>
with dai.Device(pipeline, maxUsbSpeed=dai.UsbSpeed.SUPER_PLUS) as device:
RuntimeError: Device already closed or disconnected: Input/output error
Stack trace (most recent call last):
#20 Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in
#19 Object "python3", at 0x64627243d604, in _start
#18 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7c47d1429e3f, in __libc_start_main
#17 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7c47d1429d8f, in
#16 Object "python3", at 0x64627243d70c, in Py_BytesMain
#15 Object "python3", at 0x646272467182, in Py_RunMain
#14 Object "python3", at 0x646272475cd7, in Py_FinalizeEx
#13 Object "python3", at 0x6462724791d5, in
#12 Object "python3", at 0x64627233d05e, in
#11 Object "python3", at 0x6462724796c3, in
#10 Object "python3", at 0x64627234b63b, in
#9 Object "python3", at 0x64627234b840, in
#8 Object "/home/mike/.local/lib/python3.10/site-packages/depthai.cpython-310-x86_64-linux-gnu.so", at 0x7c47ceea44e3, in
#7 Object "/home/mike/.local/lib/python3.10/site-packages/depthai.cpython-310-x86_64-linux-gnu.so", at 0x7c47ceecc356, in
#6 Object "/home/mike/.local/lib/python3.10/site-packages/depthai.cpython-310-x86_64-linux-gnu.so", at 0x7c47cf12f178, in dai:😃evice::Device()
#5 Object "/home/mike/.local/lib/python3.10/site-packages/depthai.cpython-310-x86_64-linux-gnu.so", at 0x7c47cf12ed63, in dai:😃evice::Device()
#4 Object "/home/mike/.local/lib/python3.10/site-packages/depthai.cpython-310-x86_64-linux-gnu.so", at 0x7c47cf13a7e4, in dai:😃eviceBase::close()
#3 Object "/home/mike/.local/lib/python3.10/site-packages/depthai.cpython-310-x86_64-linux-gnu.so", at 0x7c47cf132f04, in dai:😃evice::closeImpl()
#2 Object "/home/mike/.local/lib/python3.10/site-packages/depthai.cpython-310-x86_64-linux-gnu.so", at 0x7c47cf14f904, in dai:😃eviceBase::closeImpl()
#1 Object "/home/mike/.local/lib/python3.10/site-packages/depthai.cpython-310-x86_64-linux-gnu.so", at 0x7c47cf13ffaa, in dai:😃eviceBase::hasCrashDump()
#0 Object "/home/mike/.local/lib/python3.10/site-packages/depthai.cpython-310-x86_64-linux-gnu.so", at 0x7c47cf17331d, in nanorpc::core::client<nanorpc::packer::nlohmann_msgpack>::result nanorpc::core::client<nanorpc::packer::nlohmann_msgpack>::call<>(unsigned long)
Segmentation fault (Address not mapped to object [0x10])
Segmentation fault (core dumped)