Skip to content

Invalid encode_status error codes #43

@nlw0

Description

@nlw0

Version

0.6.0

Describe the bug.

I have some code that works fine in the Jetson Orin Nano devkit using version 0.6.0. Haven't figured out how to adapt to 0.7.0 yet.

When I try to run the code in the production board I find different issues. First time I got an encode_status value of 65535.

I went through different combinations of ways to install the library, and how to build the C++ project. Right now I finally built it on the production board itself, using the 0.6.0 tarball distribution. Again, it works fine in the devkit. In the production board I now get an encode_status of 33, another invalid error code.

I am not sure how to proceed finding any clues. There should be little to no difference in the prod and dev systems. I was trying to use the debug message callback code from the codebase, but I got nothing yet. How exactly do I set that up? And what else can I try?

By the way, sometimes I also get this weird memory errors, I won't be able to allocate memory and I get the message

NvMapMemAllocInternalTagged: 1075072515 error 12
NvMapMemHandleAlloc: error 0

This goes away if I reboot. I wonder if it's related. But I get the invalid error code even with no sign of that other memory issue.

I also posted about this issue in https://forums.developer.nvidia.com/t/nvimgcodec-produces-status-code-65535

Minimum reproducible example

Environment details

Relevant log output

production board AVerMedia D131L (Jetson Orin Nano 8GB)

Other/Misc.

No response

Check for duplicates

  • I have searched the open bugs/issues and have found no duplicates for this bug report

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions