Loading vivi

Hello Everyone,
am trying to use as virtual video device.
i am following the instructions at VIVI - LinuxTVWiki
when i try running “sudo modprobe vivi” i get the following error
“Modul vivi not found in directory /lib/modules/5.10.104-tegra.”
I will appriciate any suggestion.
Thanks !

Hi,
This would need other users to share experience. It looks like some configs are not enabled so it shows the prints.

I have no experience with VIVI. However, loadable modules are easy to add if it is part of the existing kernel source.

As background, the kernel is what talks directly to hardware via drivers. The drivers which might be compiled from source are selected by “symbols” being enabled. If you take clean source, and set it up to match the configuration of the running kernel, then you could build a kernel just like the running kernel. You would instead use a configuration editor (they know about dependencies, whereas directly editing a file does not), and once you have a matching configuration, you would enable that symbol as a module (not everything can be a module; installation gets more complicated if not a module). Then you build, and simply copy the module file to the right place. In your case, that would be to “/lib/modules/5.10.104-tegra/kernel”, or rather a subdirectory within it.

One of the biggest problems you might run into is if the driver symbol does not exist within your kernel release. I’m guessing though that it does exist. What do you see on your AGX Orin from:
zcat /proc/config.gz | grep -i vivi

Note that “config.gz” is a pseudo file; it is actually a kernel driver in RAM pretending to be a file as a way to tell you what its existing configuration is.

Hello ,

Thank you so much for your replay.
I will check that out.

Only trouble is that I read that vivid supports frames up to 4k.

Questions are :
A. Is that true ?
B. What does it mean ?
4k is 3840*2160 pixels = 8294400 pixels.

Does that mean vivid
will support any XY resolution
where x
y < 38402160
(X
y < 8294400 ) ?

For example , Will it support
5000*1600= 8000000 pixels ?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.