Code Monkey home page Code Monkey logo

Comments (4)

pmliquify avatar pmliquify commented on August 26, 2024

Hi @HBanjak, thanks for your feedback. Your first Issue will be solved with the next Release and will be tracked in #44 .Your second and third issue has to investigated by us.

from vc_mipi_nvidia.

bazo80 avatar bazo80 commented on August 26, 2024

Hello @HBanjak,

the pixelformat grey error can be fixed with multiple modes in the device-tree. In former v4l-utils versions, the string "GREY" has been converted and given to the kernel via ioctl. If it was defined, the kernel could successfully return the ioctl and it was fine. Now the newer v4l-utils will enumerate the available formats and if the format name corresponds to the given name ('RGGB' in your example), the ioctl set command will succeed and the format is set. "GREY" is still defined, but not used in the created array of the v4l2-ctl binary.

What you can do is placing an additional mode like this way:

mode0 {
	num_lanes                = NUM_LANES;
	tegra_sinterface         = "serial_a";
	...

#if LINUX_VERSION < 500
	pixel_t                  = "bayer_rggb";
#else
	mode_type                = "bayer";
	pixel_phase              = "rggb";
	csi_pixel_bit_depth      = "8";
#endif
	min_gain_val             = "0";         // mdB
	max_gain_val             = "27000";     // mdB
	...
};
mode1 {
	num_lanes                = NUM_LANES;
	tegra_sinterface         = "serial_a";
	...

#if LINUX_VERSION < 500
	pixel_t                  = "bayer_rggb";
#else
	mode_type                = "bayer";
	pixel_phase              = "rggb";
	csi_pixel_bit_depth      = "10";
#endif
	min_gain_val             = "0";         // mdB
	max_gain_val             = "27000";     // mdB
	...
};

This will add another entry 'RG10' in your v4l2-ctl --list-formats call and so it becomes switchable again.

from vc_mipi_nvidia.

bazo80 avatar bazo80 commented on August 26, 2024

Hello @HBanjak

the third problem you mentioned is related to the frequencies in Jetpack5 (35.x.y)
There you have to call the max_speed.sh script

  $ sudo ./max_speed.sh

should solve the problem.

from vc_mipi_nvidia.

HBanjak avatar HBanjak commented on August 26, 2024

Hello @bazo80

Excellent, thanks for your response!

from vc_mipi_nvidia.

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.