Giter VIP home page Giter VIP logo

Comments (13)

ehfd avatar ehfd commented on May 31, 2024

Possible. Just no hardware and time.

  1. Compiling GStreamer for AARCH64 (addons/gstreamer)
  2. Add nvv4l2h264enc/nvv4l2vp9enc and test
  3. Verify all the pipeline works
    Would be trivial for newbies.

https://docs.nvidia.com/jetson/archives/r35.2.1/DeveloperGuide/text/SD/Multimedia/AcceleratedGstreamer.html

Nicholas Dufresne (ndufresne) at #gstreamer IRC oftc.net should be experienced in this regard.

from docker-nvidia-egl-desktop.

ehfd avatar ehfd commented on May 31, 2024

The above list is for https://github.com/selkies-project/selkies-gstreamer: selkies-project/selkies-gstreamer#50.

For the container itself, it needs to detect the architecture with TARGETPLATFORM (https://nielscautaerts.xyz/making-dockerfiles-architecture-independent.html) and do not install :i386 packages if so and install the ARM version of VirtualGL

apt-get update && apt-get install -y --no-install-recommends ./virtualgl_${VIRTUALGL_VERSION}_amd64.deb ./virtualgl32_${VIRTUALGL_VERSION}_amd64.deb && \
instead of amd64.
I also believe that aarch64-linux-gnu should be used in some paths instead of i386-linux-gnu or x86_64-linux-gnu with an if clause.

Everything I listed must be tested.

from docker-nvidia-egl-desktop.

brianlmerritt avatar brianlmerritt commented on May 31, 2024

Am thinking if we make this architecture independent that will have a knock on effect on your tags. Maybe multiple tags for i386?

FROM ghcr.io/selkies-project/nvidia-egl-desktop:22.04

The above should still work with the assumption it is i386

FROM ghcr.io/selkies-project/nvidia-egl-desktop:i386-22.04 or FROM ghcr.io/selkies-project/nvidia-egl-desktop:amd64-22.04

And maybe for arm8 we add

FROM ghcr.io/selkies-project/nvidia-egl-desktop:aarch64-20.04

But in nvidia jetson land there are different Jetpack releases and getting cuda to work is much better if the underlying platform matches so things could end up looking like

FROM ghcr.io/selkies-project/nvidia-egl-desktop:aarch64-l4t-r35.1.0-20.04

or as the jetpack sets the Ubuntu release maybe

FROM ghcr.io/selkies-project/nvidia-egl-desktop:aarch64-l4t-r35.1.0

Any thoughts or preferences?

from docker-nvidia-egl-desktop.

ehfd avatar ehfd commented on May 31, 2024

I will make initial preparations to make aarch64 work trivially. I do need tests from actual aarch64 hardware and therefore your help by testing things.

from docker-nvidia-egl-desktop.

brianlmerritt avatar brianlmerritt commented on May 31, 2024

Cool - I can test on latest 20:04 Jetpack and 18:04 Jetson Nano if useful. 22:04 Jetpack is not due for release until autumn

from docker-nvidia-egl-desktop.

ehfd avatar ehfd commented on May 31, 2024

I now have the hardware, at least for plain ARM64.

from docker-nvidia-egl-desktop.

brianlmerritt avatar brianlmerritt commented on May 31, 2024

👍

from docker-nvidia-egl-desktop.

ehfd avatar ehfd commented on May 31, 2024

selkies-project/selkies-gstreamer#50

This is not a small work... Expect some time.

from docker-nvidia-egl-desktop.

ehfd avatar ehfd commented on May 31, 2024

I am doing some initial cleanup so that the Dockerfile and the entrypoint scripts are not reliant on just the x86_64 architecture. However, this is just the start and there are a lot more hurdles remaining.

from docker-nvidia-egl-desktop.

ehfd avatar ehfd commented on May 31, 2024

Preparing...

Note to self: (VirtualGL 3.1.1 arm64)

-rw-r--r-- root/root      4739 2022-11-22 19:21 ./usr/share/doc/virtualgl-3.0.90/somerights20.png
-rwxr-xr-x root/root   2398936 2022-11-22 19:47 ./usr/lib/libvglfaker-nodl.so
-rwxr-xr-x root/root     10312 2022-11-22 19:46 ./usr/lib/libgefaker.so
-rwxr-xr-x root/root   2403128 2022-11-22 19:47 ./usr/lib/libvglfaker.so
-rwxr-xr-x root/root     14528 2022-11-22 19:46 ./usr/lib/libdlfaker.so

from docker-nvidia-egl-desktop.

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.