Giter Site home page Giter Site logo

Comments (4)

danielfullmer avatar danielfullmer commented on August 30, 2024

I'm not able to reproduce the failure in the same way you're seeing.

When I run it, it fails when trying to render to the display, likely because I don't have X11/wayland running on this device)

$ /nix/store/m010m4has2b691fwzpdp212c42hxzz13-multimedia-samples-35.3.1-20230319081403/bin/video_decode H264 sample_outdoor_car_1080p_10fps.h264 
Creating decoder in blocking mode 
Opening in BLOCKING MODE 
NvMMLiteOpen : Block : BlockType = 261 
NVMEDIA: Reading vendor.tegra.display-size : status: 6 
NvMMLiteBlockCreate : Block : BlockType = 261 
Setting frame input mode to 1 
Starting decoder capture loop thread
Video Resolution: 1920x1080
Video SAR width: 1 SAR height: 1
[ERROR] (NvEglRenderer.cpp:98) <renderer0> Error in opening display
[ERROR] (NvEglRenderer.cpp:154) <renderer0> Got ERROR closing display
Segmentation fault (core dumped)

One possible difference, is I tested on 23.05, not nixpkgs master.

from jetpack-nixos.

freeman94 avatar freeman94 commented on August 30, 2024

Try running with the --disable-rendering flag.

from jetpack-nixos.

danielfullmer avatar danielfullmer commented on August 30, 2024

Ah, nice. I didn't notice that flag. In that case, yes, I can reproduce the segfault. In my case, it still seems to get slightly further and output these lines:

Video Resolution: 1920x1080
Video SAR width: 1 SAR height: 1

but it then fails with a very similar backtrace.

from jetpack-nixos.

freeman94 avatar freeman94 commented on August 30, 2024

Beginning to think this may be a red herring. I have carefully gone through the samples to go h264 -> YUV -> h264 as expected (using decode_sample/encode_sample). I came across this originally after seeing the same segfault in (non-nvidia) vendor code. I will try other options and report back.

from jetpack-nixos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.