We recently switched from Jetpack 3.3 to Jetpack 4.3 in order to use a vendor’s camera driver (Leopard IMX415). However, we’re hitting an issue with SC7 sleep mode - in Jetpack 3.3, the TX2 could go to sleep when the GPU was still in use. However, that is no longer possible in Jetpack 4.3 - specifically, the error is:
[12776.228368] dpm_run_callback(): platform_pm_suspend+0x0/0x78 returns -16
[12776.235099] PM: Device 17000000.gp10b failed to suspend: error -16
The steps we are doing to get to this point are:
- Load a pytorch model on GPU, and just wait indefinitely, waiting for images
- Call “sudo systemctl suspend” to put the system to sleep in a separate window/thread
- Observe if the system stays asleep
- See that it does not stay asleep, check dmesg for error messages.
Is there anything we’re missing here to not be able to keep the TX2 asleep while using the GPU?