My Jetson TX2 Auto Shutdown

Hi all!
I had a problem with my Jetson. I made a robot and use Jetson for control the microcontroller through usb port. But when Jetson control the robot move on, after few minutes it auto shutdown with no notice. It worked well with my laptop and i want to replace the laptop with Jetson. I use a Lipo battery with 11.1V 2200mAh for Jetson board. Can it run with this power source?.

do you use maximal power consumption mode?

nvpmodel -m

if you do not use the max power consumption and do not use ./jetson_clocks.sh - will the issue occur?

Also, the Jetson’s power source should be isolated from any kind of motor power or significant load. I’d be tempted to isolate it with a boost converter. The risk of shutting down when there is a significant voltage spike on the power input is high.

Many thanks to Andrey1984 and linuxdev for quick response. I didn’t use maximal power consumption mode. I spent a day for test with isolated power source and my Jetson doesn’t unexpected shutdown until now. I think the problem is solved. Thank you so much.

Hi all,

My Jetson TX2 Auto shutdown without any message. I bought it in 2017. It works well until now, it is suddenly shutdown with no notification. I do not use maximal power consumption mode. Jetson’s power source is isolated.

Please give some suggestions to know the reason why TX2 auto shutdown.

Thanks

If you power TX2 with Lipo battery maybe you need to use Lipo 4s or 5s. In my case, auto shutdown because of suddenly voltage drop.

Here is the system log message.
Jun 16 11:52:22 tegra-ubuntu gnome-session[2251]: 16/06/2020 11:52:22 AM Advertising security type: ‘TLS’ (18)
Jun 16 11:52:22 tegra-ubuntu gnome-session[2251]: 16/06/2020 11:52:22 AM Advertising authentication type: ‘VNC Authentication’ (2)
Jun 16 11:52:22 tegra-ubuntu gnome-session[2251]: 16/06/2020 11:52:22 AM Clearing securityTypes
Jun 16 11:52:22 tegra-ubuntu gnome-session[2251]: 16/06/2020 11:52:22 AM Clearing authTypes
Jun 16 11:52:22 tegra-ubuntu gnome-session[2251]: 16/06/2020 11:52:22 AM Advertising security type: ‘TLS’ (18)
Jun 16 11:52:22 tegra-ubuntu gnome-session[2251]: 16/06/2020 11:52:22 AM Advertising authentication type: ‘VNC Authentication’ (2)
Jun 16 11:52:22 tegra-ubuntu gnome-session[2251]: 16/06/2020 11:52:22 AM Advertising security type: ‘VNC Authentication’ (2)
Jun 16 11:52:22 tegra-ubuntu gnome-session[2251]: (gnome-software:2489): Gs-WARNING **: Failed to create permission org.freedesktop.packagekit.trigger-offline-update: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.packagekit.trigger-offline-update is not registered
Jun 16 11:52:22 tegra-ubuntu gnome-session[2251]: (gnome-software:2489): Gs-WARNING **: Failed to create permission org.freedesktop.packagekit.trigger-offline-update: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.packagekit.trigger-offline-update is not registered
Jun 16 11:52:22 tegra-ubuntu dbus[461]: [system] Activating service name=‘org.freedesktop.fwupd’ (using servicehelper)
Jun 16 11:52:22 tegra-ubuntu org.gtk.vfs.AfcVolumeMonitor[2110]: Volume monitor alive
Jun 16 11:52:23 tegra-ubuntu org.gnome.ScreenSaver[2110]: ** Message: Lost the name, shutting down.
Jun 16 11:52:23 tegra-ubuntu org.freedesktop.fwupd[461]: (fwupd:2586): Fu-WARNING **: Failed to coldplug: UEFI firmware updating not supported
Jun 16 11:52:23 tegra-ubuntu dbus[461]: [system] Successfully activated service ‘org.freedesktop.fwupd’
Jun 16 11:52:27 tegra-ubuntu kernel: [ 25.853851] IPVS: Creating netns size=1424 id=4
Jun 16 11:52:28 tegra-ubuntu org.gnome.keyring.SystemPrompter[2110]: Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Jun 16 11:52:32 tegra-ubuntu gnome-session[2251]: [2644:2671:0616/115232.139481:ERROR:zygote_host_impl_linux.cc(259)] Failed to adjust OOM score of renderer with pid 2732: Permission denied (13)
Jun 16 11:52:32 tegra-ubuntu gnome-session[2251]: [2644:2644:0616/115232.141200:ERROR:browser_switcher_service.cc(238)] XXX Init()
Jun 16 11:52:32 tegra-ubuntu gnome-session[2251]: [2644:2671:0616/115232.145751:ERROR:zygote_host_impl_linux.cc(259)] Failed to adjust OOM score of renderer with pid 2733: Permission denied (13)
Jun 16 11:52:32 tegra-ubuntu gnome-session[2251]: [2644:2671:0616/115232.260000:ERROR:zygote_host_impl_linux.cc(259)] Failed to adjust OOM score of renderer with pid 2762: Permission denied (13)
Jun 16 11:52:32 tegra-ubuntu gnome-session[2251]: [2679:2687:0616/115232.705977:ERROR:cert_verify_proc_builtin.cc(571)] CertVerifyProcBuiltin for www.google.com failed:
Jun 16 11:52:32 tegra-ubuntu gnome-session[2251]: ----- Certificate i=0 (CN=www.google.com,O=Google LLC,L=Mountain View,ST=California,C=US) -----
Jun 16 11:52:32 tegra-ubuntu gnome-session[2251]: ERROR: Time is before notBefore
Jun 16 11:52:32 tegra-ubuntu gnome-session[2251]: [2679:2684:0616/115232.706301:ERROR:cert_verify_proc_builtin.cc(571)] CertVerifyProcBuiltin for accounts.google.com failed:
Jun 16 11:52:32 tegra-ubuntu gnome-session[2251]: ----- Certificate i=0 (CN=accounts.google.com,O=Google LLC,L=Mountain View,ST=California,C=US) -----
Jun 16 11:52:32 tegra-ubuntu gnome-session[2251]: ERROR: Time is before notBefore

“OOM” is out of memory. I know nothing about the particular software, but apparently something is trying to adjust using OOM and does not have permission. I can’t say if this is related to the shutdown, but if you do run out of memory and the system cannot free memory somewhere, then the system will fail (and possibly just shut down without any apparent reason).

thank you linuxdev for your answer. After re-flashed Jetson TX2, the device can runs without shutdown (without run any others software and applications).
However, when I use GPU, it shutdowns immediately. The error log messages are similar as above.

Someone else may need to answer this if it is still giving a permission issue when using GPU, but a couple of question for you which might help:

  • What do you see from this while in the GUI (you might need to first “sudo apt-get install mesa-utils”):
    glxinfo | egrep -i '(nvidia|version )'
  • What do you see from command (with your current user trying to run the GPU code):
    groups

I am looking to see if the NVIDIA content may have been overwritten by other content, and seeing if your user shows up as a member of group “video” (this group is required to access much GPU code).

If your user is not a member of group “video”, then you can add this to the user’s group via this (I am pretending your user name is “nvidia”):

  • sudo usermod -a -G video nvidia

None of the above would cause a shutdown, although it the above could conceivably take part in causing a crash of software using the GPU (which in turn could possibly result in a shutdown).