nvpmodel NVPM ERROR

When I try and call

sudo nvpmodel –m 0
or
sudo nvpmodel –h

I get the following errors:

NVPM ERROR: BUG: unhandled option combination optMask = 0x0!
NVPM ERROR: Failed to exec option requests!

What release are you using? E.g., “head -n 1 /etc/nv_tegra_release”. These work for me on R28.2 (and I’ve used them previously in R28.1).

I have solved the issue.

The problem was from out flashing process. We were capturing images using the command

sudo ./flash.sh -r -k APP -G imagename.img elroy-usb3 mmcblk0p1

and flashing using

sudo ./flash.sh -r -k APP elroy-usb3 mmcblk0p1.

Turns out, we needed to flash all partitions, not just APP.

The correct command for flashing after capturing an image and for us is

sudo ./flash.sh -r elroy-usb3 mmcblk0p1