AGX Orin: pva0: failed to get firmware

Getiing these messages:

[ 6020.390042] pva 16000000.pva0: pva_authenticate_vpu_app: allow list parse failed
[ 6020.391702] pva 16000000.pva0: Direct firmware load for pva_auth_allowlist failed with error -2
[ 6020.392080] pva 16000000.pva0: Falling back to sysfs fallback for: pva_auth_allowlist
[ 6020.392906] pva 16000000.pva0: looking for firmware in subdirectory
[ 6020.393112] pva 16000000.pva0: Direct firmware load for tegra23x/pva_auth_allowlist failed with error -2
[ 6020.393361] pva 16000000.pva0: Falling back to sysfs fallback for: tegra23x/pva_auth_allowlist
[ 6020.400458] pva 16000000.pva0: failed to get firmware
[ 6020.405069] pva 16000000.pva0: pva_auth_allow_list_parse: Failed to load the allow list

Please explain what’s missing and/or what it means.

Hi Agtonomy,

Are you using the devkit or custom board for AGX Orin?
What’s your Jetpack version in use?

It seems your firmware download failed for pva driver of pva0: pva0@16000000.

Is there any issue with these messages?
Could you help to provide the full serial console log for further check?

The problem occurs when an application that uses libnvvpi2 starts.

I had a similar problem with nvhost_nvenc080.fw:

[ 1910.895691] falcon 154c0000.nvenc: Direct firmware load for nvhost_nvenc080.fw failed with error -2
[ 1910.909970] falcon 154c0000.nvenc: Falling back to sysfs fallback for: nvhost_nvenc080.fw
[ 1910.928955] falcon 154c0000.nvenc: looking for firmware in subdirectory

The firmware was installed in:
/lib/firmware/tegra23x/nvhost_nvenc080.fw
but could not be found. I copied it to
/lib/firmware/nvhost_nvenc080.fw
and the problem disappeared.
So the question is what is the expected location of pva_auth_allowlist?

Could you help to provide the full serial console log when the firmware is default in /lib/firmware/tegra23x/nvhost_nvenc080.fw?

dmesg.txt (57.6 KB)

You dmesg starts from the 11st second, it not complete.

[   11.273989] usb 1-4.3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3

Please provide the full serial console log instead of dmesg.
NVIDIA Jetson Orin - Serial Console - RidgeRun Developer Connection

What’s your Jetpack version in use?
It seems the different behavior as the devkit.

This comes from the devkit. It happens in Jetpack 5, 5.1, and now I just tested with 5.1.1. The message does not appear during during boot, but when an application starts that invokes nvidia encoder, for example:

gst-launch-1.0 nvarguscamerasrc ! nvvidconv ! 'video/x-raw(memory:NVMM), format=NV12, width=1280, height=720, framerate=10/1' ! nvv4l2h264enc ! tee name=t t. ! queue ! h264parse ! matroskamux ! filesink location=test.mkv

Attached console.
console.txt (62.6 KB)

What do you run to reproduce this? Is that some kind of errors?
Could you help to provide the detailed steps to reproduce on the devkit and related serial console logs?

The gstreamer command that I posted above triggers the error message. The pipeline needs to include nvv4l2h264enc