-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MMAL_COMPONENT_DEFAULT_CAMERA_INFO reports "testc" as name for the HQ camera #1382
Comments
Yes, we need to push an update to rename it. |
Have you tested with latest rpi-update firmware? There were some commits related to this. |
With the latest firmware, the name is reported as "imx477". Unfortunately, the latest firmware does not work well with my application. With
Ok, going back to the head of the stable branch with |
Just a note, KMS is still under test on the Pi4, there are likely to be issues with it. You should be using FKMS. |
A photo of the garbled pixels might give us some clues. Also a test application we can run that shows the problem would also be useful. |
My display is in 1920x1080 mode. When I draw a single 1920x1080 picture I get a similarly garbled result. But when I preprocess my image with the following code:
the preprocessed image is shown almost correctly. GetPixels (row, column) returns a pointer to the pixel data of the pixel at the specified row and column. Pixels are stored, starting with the topleft pixel first. |
|
The output of
I am going to make a small test program to show the problem. |
I created a small test program at https://github.com/imbens/opengltest. After |
I can fix the problem by changing the line https://github.com/imbens/opengltest/blob/40d9de1393a4d536c41f73051d5b0688c256a754/opengltest.c#L166. When I change |
Describe the bug
The MMAL_COMPONENT_DEFAULT_CAMERA_INFO reports "testc" as name for the HQ camera in the MMAL_PARAMETER_CAMERA_INFO_T structure.
To reproduce
Query the MMAL_COMPONENT_DEFAULT_CAMERA_INFO with mmal_port_parameter_get (theCameraInfoComponent->control, &theCameraInfo.hdr);
Expected behaviour
I would expect a more informative name such as "OV5647" for the Camera Module v1.
Actual behaviour
The name was reported as "testc"
System
Raspberry Pi 4 Model B Rev 1.1
cat /etc/rpi-issue
)?Raspberry Pi reference 2020-02-13
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 5f884374b6ac6e155330c58caa1fb7249b8badf1, stage2
vcgencmd version
)?Feb 12 2020 12:37:37
Copyright (c) 2012 Broadcom
version c3c8dbdf147686fb0c3f32aece709d0653368810 (clean) (release) (start_x)
uname -a
)?Linux hjdevpi 4.19.97-v7l+ No sound on HDMI or headphone jack except hello_audio #1294 SMP Thu Jan 30 13:21:14 GMT 2020 armv7l GNU/Linux
Logs
Additional context
The text was updated successfully, but these errors were encountered: