ubuntu vs yocto ?

Hello,

We start a new project.
I see that nvidia comes by default with ubuntu, but also supported with yocto.

Can you please say what is preferred ubuntu or yocto ?
We plan to do remote debugging with qt,gstreamer,openCV.

Thanks,
ranran

Yocto is not officially supported, only Ubuntu (sometimes called “Linux for Tegra” or “L4T” because it has drivers for direct hardware access…otherwise it is pure Ubuntu).

The main problem with porting to other distributions is that you need the binary format hardware drivers, and this in turn means you have to stick to a version of X11 with the same ABI as that from L4T. Failing to do so implies doing everything in CPU and not using the GPU acceleration.

Hi,

What did you mean by “The main problem with porting to other distributions is that you need the binary format hardware drivers” ?

Why binary format ?

Thanks

Some of the drivers are distributed only in that format. libGLX.so in particular is the glue between the GPU and the outside world (mostly people think of this as an OpenGL file, but really this file is a GPU access file and OpenGL just happens to be the most common use case). This file is used through the X11 server (and the X11 server is not a window environment…it is a unified interface to a buffer…which happens to usually have a monitor viewing it). This particular file is compiled against an exact ABI version…you can’t get an open source version. Nouveau is the equivalent, but is not hardware accelerated…Nouveau runs only in CPU.

If you look at the distributed file “/etc/nv_tegra_release” you will see a list of binary files and their checksums. The libGLX example is just the most prominent driver. Other drivers there are also responsible for similar direct hardware access.