TX2 + Zed streaming +drop of wifi connection

Hi everyone, i’m struggling on a apparently random issue: my tx2 disconnects from my wifi network during streaming of images from zed camera.
It happens no matter what the streaming resolution or framerate i use.
I looked in kernel logs and i found some strange behaviours of the ZED usb device like:

[   28.291093] uvcvideo: Found UVC 1.10 device ZED (2b03:f582)
[   28.296620] uvcvideo 2-1:1.0: Entity type for entity ZED was not initialized!
[   28.303778] uvcvideo 2-1:1.0: Entity type for entity ZED was not initialized!
[   28.310928] uvcvideo 2-1:1.0: Entity type for entity Camera 1 was not initialized!
[   28.318701] input: ZED as /devices/3530000.xhci/usb2/2-1/2-1:1.0/input/input21
[   30.013575] usb 2-1: USB disconnect, device number 21
[   30.326055] usb 2-1: new SuperSpeed USB device number 22 using tegra-xusb
[   30.346581] usb 2-1: New USB device found, idVendor=2b03, idProduct=f582
[   30.346585] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   30.346588] usb 2-1: Product: ZED
[   30.346590] usb 2-1: Manufacturer: Technologies, Inc.
[   30.351089] uvcvideo: Found UVC 1.10 device ZED (2b03:f582)
[   30.356604] uvcvideo 2-1:1.0: Entity type for entity ZED was not initialized!
[   30.363768] uvcvideo 2-1:1.0: Entity type for entity ZED was not initialized!
[   30.370914] uvcvideo 2-1:1.0: Entity type for entity Camera 1 was not initialized!
[   30.378670] input: ZED as /devices/3530000.xhci/usb2/2-1/2-1:1.0/input/input22
[   31.413571] usb 2-1: USB disconnect, device number 22
[   31.750073] usb 2-1: new SuperSpeed USB device number 23 using tegra-xusb
[   31.770598] usb 2-1: New USB device found, idVendor=2b03, idProduct=f582
[   31.770602] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   31.770605] usb 2-1: Product: ZED
[   31.770607] usb 2-1: Manufacturer: Technologies, Inc.
[   31.775113] uvcvideo: Found UVC 1.10 device ZED (2b03:f582)
[   31.780721] uvcvideo 2-1:1.0: Entity type for entity ZED was not initialized!
[   31.787876] uvcvideo 2-1:1.0: Entity type for entity ZED was not initialized!
[   31.795022] uvcvideo 2-1:1.0: Entity type for entity Camera 1 was not initialized!
[   31.802806] input: ZED as /devices/3530000.xhci/usb2/2-1/2-1:1.0/input/input23
[   32.997577] usb 2-1: USB disconnect, device number 23

plus a

"(NULL device *): nvhost_channelctl: invalid cmd 0x80685600"

error just before the wifi disconnection.
I’m using Jetpack 4.2 on a tx2. The version of the ZED sdk is 3.0.

My kernel log is here https://textuploader.com/16hb4

Thank you ! :)

Does it do this is performance is maxed out? Try this prior to streaming:

sudo nvpmodel -m 0
sudo jetson_clocks

Already tried but nothing changes

Which L4T release are you using? See “head -n 1 /etc/nv_tegra_release”.

Do you see this file?

/sys/devices/17000000.gp10b/railgate_enable

If so, is this a value other than “0”?

cat /sys/devices/17000000.gp10b/railgate_enable

If not “0”, then is there any improvement from this (do this before plugging in the camera and running software using the camera):

echo 0 > /sys/devices/17000000.gp10b/railgate_enable

Is there anything else connected to that USB? What is the output of “lsusb -t” when the camera is connected, both before and after the error is visible?

Hi federicatrozzi,

Have you managed to get issue resolved? Any result can be shared?