So I know what the problem with camera is
according to :
the camera it tries to use supports
but in Jami, if you go to Audio and Video settings it picks up "sun6i-csi" as Device but the Resolution is set to "1280x720" and cannot be changed. Therefore I see this in dmesg:
RIght now I don't know where Jami takes this resolution from. Trying to change manually the /home/alarm/.config/jami/dring.yml where following section is:
leads to no effect and is overwritten each time I access settings. (making it not writable made it not to be overwritten but made no change). I guess I will fire up another issue in jami-qt gitlab.
So according to https://linux-sunxi.org/CSI#Media_bus_an...re_formats
the OV5640 doesn't even support 1280x720, it supports:
2592*1936@5fps
2048*1536@5fps
1600*1200@5fps
1280*960@5fps
1024*768@5fps
1920*1080@30fps
1280*720@30fps
640*480@30fps
I've tried to change it but I get Invalid argument error
even with supported resolution
according to :
Code:
[alarm@danctnix ~]$ media-ctl --device /dev/media1 --print-topology
Media controller API version 5.10.13
Media device information
------------------------
driver sun6i-csi
model Allwinner Video Capture Device
serial
bus info platform:1cb0000.csi
hw revision 0x0
driver version 5.10.13
Device topology
- entity 1: sun6i-csi (1 pad, 2 links)
type Node subtype V4L flags 0
device node name /dev/video1
pad0: Sink
<- "ov5640 4-004c":0 [ENABLED]
<- "gc2145 4-003c":0 []
- entity 5: ov5640 4-004c (1 pad, 1 link)
type V4L2 subdev subtype Sensor flags 0
device node name /dev/v4l-subdev0
pad0: Source
[fmt:UYVY8_2X8/640x480@1/30 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
-> "sun6i-csi":0 [ENABLED]
- entity 7: gc2145 4-003c (1 pad, 1 link)
type V4L2 subdev subtype Sensor flags 0
device node name /dev/v4l-subdev1
pad0: Source
[fmt:UYVY8_2X8/1600x1200@1/10 field:none]
-> "sun6i-csi":0 []
the camera it tries to use supports
Code:
640x480@1/30
but in Jami, if you go to Audio and Video settings it picks up "sun6i-csi" as Device but the Resolution is set to "1280x720" and cannot be changed. Therefore I see this in dmesg:
Code:
[ 1442.649326] ov5640 4-004c: firmware upload success
[ 1442.956426] ov5640 4-004c: uploaded firmware didn't start, got to 0x7f, retrying...
[ 1443.269030] ov5640 4-004c: uploaded firmware didn't start, got to 0x7f
[ 1443.275662] ov5640 4-004c: ov5640_set_ctrl_focus: no autofocus firmware loaded
[ 1443.364636] sun6i-csi 1cb0000.csi: Wrong width or height 1280x720 (640x480 expected)
RIght now I don't know where Jami takes this resolution from. Trying to change manually the /home/alarm/.config/jami/dring.yml where following section is:
Code:
video:
recordPreview: true
recordQuality: 0
decodingAccelerated: true
encodingAccelerated: true
conferenceResolution: 1280x720
devices:
- name: sun6i-csi
id: /dev/video1
input: /dev/video1
video_size: 1280x720
channel: camera
framerate: 25.000000
leads to no effect and is overwritten each time I access settings. (making it not writable made it not to be overwritten but made no change). I guess I will fire up another issue in jami-qt gitlab.
So according to https://linux-sunxi.org/CSI#Media_bus_an...re_formats
the OV5640 doesn't even support 1280x720, it supports:
2592*1936@5fps
2048*1536@5fps
1600*1200@5fps
1280*960@5fps
1024*768@5fps
1920*1080@30fps
1280*720@30fps
640*480@30fps
I've tried to change it but I get Invalid argument error
Code:
[alarm@danctnix jami-daemon-git]$ sudo media-ctl --set-v4l2 '"ov5640 4-004c":0[fmt:UYVY8_2X8/1280x720@1/30 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]'
Unable to setup formats: Invalid argument (22)
even with supported resolution
Code:
[alarm@danctnix jami-daemon-git]$ sudo media-ctl --set-v4l2 '"ov5640 4-004c":0[fmt:UYVY8_2X8/1920x1080@1/30 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]'
Unable to setup formats: Invalid argument (22)