Comments (4)
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.
Try running with the --disable-rendering
flag.
from jetpack-nixos.
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.
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)
- Unable to flash jetson xavier agx: /result leads to broken nix store symlink HOT 1
- nixos-install fails on AGX Xavier HOT 2
- Integrate with nixos-generators HOT 2
- Usage of OpenSSL 1.1 causes flashing script builds to fail against new versions of NixOS HOT 3
- Support for Nvidia DRIVE Orin HOT 7
- Add automated tests for graphical output
- NixGL-like wrapper for Nix on Ubuntu? HOT 1
- EDK2 build fails when using NixOS 23.11 with missing uuid dependency HOT 2
- Cannot run `nix build github:anduril/jetpack-nixos#iso_minimal` HOT 1
- Kernel build fails against nixos-unstable
- Display output with rootless X11 only works after X11 has been run once as root
- Xavier AGX: Firmware autoupdate results in build errors HOT 2
- Runtime PTX compilation not supported by l4t-cuda (requires l4t-3d-core) HOT 2
- Jetpack 6 Support HOT 3
- Docker container of jetpack-nixos
- SoC-specific firmware cannot be found HOT 3
- Broken BIOS at Orin AGX after flashing HOT 4
- [Orin AGX] No access to BIOS/UEFI shell after flashing & NixOS SSD Bootloop HOT 2
- `nsight_systems_target` package fails to build HOT 1
- carrier
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jetpack-nixos.