Giter VIP home page Giter VIP logo

Comments (9)

sarnold avatar sarnold commented on August 12, 2024

After moving that ^^ build dir out of the way, then doing setup-env and copying local.conf/bblayers.conf to the new/clean build dir, tried building the same image again and it works fine. => demo-image-sato

from tegra-demo-distro.

dwalkes avatar dwalkes commented on August 12, 2024

@sarnold these are typically the types of errors you see when you run out of memory on your build host in my experience. Doing a clean on the specific image which is failing typically resolves.

from tegra-demo-distro.

sarnold avatar sarnold commented on August 12, 2024

Sorry, i thought that was more clear - I couldn't clean my way out of that one, only a fresh build dir helped.

from tegra-demo-distro.

madisongh avatar madisongh commented on August 12, 2024

It sounds environmental... what are you using for a build host (OS, CPU count, RAM size) and for storage of your build tree (device type, filesystem type, size/occupied/free)? Are there any kernel errors logged when you run into the problem?

from tegra-demo-distro.

sarnold avatar sarnold commented on August 12, 2024

Build host is intel core-i7 with 8 cpu threads and 32 GB ram plus ~130 GB free (for tegra) on nvme ssd. I have several build trees for rpi, pine64, rockchip, marvell and I don't normally have issues; most of it is "bare" user account, but xilinx needs to build in a VM running bionic as project is stuck on 2020.x release of petalinux.

$ free
               total        used        free      shared  buff/cache   available
Mem:        32732296     4214848     2811928         348    25705520    28041948
Swap:        4194300       41472     4152828

and

$ df -h
Filesystem                                       Size  Used Avail Use% Mounted on
devtmpfs                                          10M     0   10M   0% /dev
tmpfs                                             16G   68K   16G   1% /dev/shm
tmpfs                                             16G  708K   16G   1% /run
/dev/nvme0n1p3                                   464G  345G   96G  79% /
cgroup_root                                       10M     0   10M   0% /sys/fs/cgroup
/dev/nvme0n1p1                                   973M  383M  536M  42% /boot
/dev/sda1                                        110G  612M  104G   1% /public
tmpfs                                            3.2G  5.7M  3.2G   1% /run/user/1000

The above is post-error on the graphics demos but still building rust-native.

from tegra-demo-distro.

madisongh avatar madisongh commented on August 12, 2024

The RAM and free disk space should be enough, I think, although more free disk space would probably be safer. No kernel messages about either OOM or filesystem errors on whichever drive you're running the build from? Does the filesystem ever hit usage of 90% or more?

The Rust compiler build is pretty resource-intensive, and CUDA application builds are, too. I wouldn't expect the graphics demos to be that bad, though - no CUDA there, just EGL.

from tegra-demo-distro.

ichergui avatar ichergui commented on August 12, 2024

Hey @sarnold
Any updates about this issue ?

from tegra-demo-distro.

sarnold avatar sarnold commented on August 12, 2024

Sorry, got busy with xilinx again and we already gave the tegra customer a workable meta layer for his camera stuff. I suspect the cause of our build issue was most likely too much distro feature hacking, as I ended up going with less of that and a really light openbox config which seemed stable enough for dev work.

from tegra-demo-distro.

ichergui avatar ichergui commented on August 12, 2024

I will close this ticket. You can reopen new one if you have any issue.

from tegra-demo-distro.

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.