Current Server Time: 03:08 (Central Europe)

#apertus IRC Channel Logs

2021/03/14

Timezone: UTC


03:35
vinayak
joined the channel
03:38
vinayak
left the channel
03:41
vinayak
joined the channel
03:51
BAndiT1983
changed nick to: BAndiT1983|away
03:53
vinayak
left the channel
04:24
vinayak
joined the channel
04:54
vinayak
left the channel
06:03
Bertl
off to bed now ... have a good one everyone!
06:04
Bertl
changed nick to: Bertl_zZ
07:41
dcz_
joined the channel
07:42
dcz_
hi! I'm working on camera support for the Librem 5, and remembered that you're also using Linux to drive your cameras. A couple of questions arose in the team
07:43
dcz_
1. is your software based on Magic Lantern? There are references on the front page, but the relationship is not clear
07:44
dcz_
2. is porting your software to a more traditional Linux system feasible? by that, I mean Wayland, and v4l2, with no FPGAs
08:12
LordVan_
joined the channel
08:54
vinayak
joined the channel
09:14
anuejn
dcz_: afaik there is no / little shared code between the axiom and magic lantern
09:14
anuejn
it is more the people & their experience that contributed
09:15
anuejn
we are using the linux system only for control plane stuff (so to set registers in the sensor & the fpga that then do the realtime processing)
09:16
anuejn
so I doubt that much would be reusable, since a lot of that control plane is going to be rewritten a couple of times anyways in the near future
09:16
anuejn
however you might want to look into libcamera
09:17
anuejn
(and maybe vup can also say something to this topic)
09:30
vinayak
left the channel
09:33
BAndiT1983|away
changed nick to: BAndiT1983
10:18
devendra
joined the channel
10:24
devendra
left the channel
10:33
vinayak
joined the channel
10:40
bokket
joined the channel
11:51
Spirit532
left the channel
12:00
aombk
left the channel
12:05
aombk
joined the channel
12:29
vinayak
left the channel
12:56
dcz_
left the channel
12:56
ZNC_
left the channel
12:56
ZNC
joined the channel
12:56
dcz_
joined the channel
12:57
ZNC
changed nick to: Guest99986
13:35
Spirit532
joined the channel
13:43
Bertl_zZ
changed nick to: Bertl
13:43
Bertl
morning folks!
13:59
bokket
left the channel
14:18
se6ast1an
good day
14:32
BAndiT1983
changed nick to: BAndiT1983|away
14:34
BAndiT1983|away
changed nick to: BAndiT1983
16:05
aombk
left the channel
16:07
aombk
joined the channel
16:16
aombk
left the channel
16:18
aombk
joined the channel
16:23
aombk
left the channel
16:25
aombk
joined the channel
17:41
vup
dcz_: doing everything without fpga is probably very difficult, as some of the sensors used (the cmv12000 and the ar0330 for example) do not use a protocol that can be ingested by most cpu's if any at all (afaik). And bitbanging at speeds of up to 500MHz with a cpu seems very difficult aswell
17:42
dcz_
vup: I'm more interested in taking as much as we can in order to use the sensor that we do have
17:43
vup
you mean the sensor on the librem 5?
17:44
dcz_
yes
17:45
vup
those are both probably mipi sensors connected to the native mipi inputs of the soc, right?
17:47
dcz_
100% correct
17:47
vup
ok, then most of what we do on a fpga is already dealt with by the soc hardware
17:48
vup
what software are you exactly looking for / what do you want to do?
17:49
dcz_
I've had the marketing ask for Magic Lantern functionality
17:51
dcz_
I'm mostly just exploring what is already done, as it's basically a matter of where the work comes from
17:51
vup
I see, so mostly software using the standard kernel interfaces (v4l2) providing a UI for setting various parameters and controlling the capture of video and images to various formats, right?
17:52
dcz_
perhaps some diagnostics like histograms and maybe you already have a tested phase detect autofocus system
17:54
dcz_
(I do believe the SoC can do histograms, but there's also the question of a well designed UI)
17:55
vup
This is unfortunately the part where the axiom cameras also are lacking the most. There are some basic pieces, like a daemon (https://github.com/apertus-open-source-cinema/nctrl) that proxies hardware access and provides a typed API for all the sensor settings, a basic web ui (https://github.com/apertus-open-source-cinema/webui) using that, and also a basic recorder like tool, that can ingest video from various sources and output it to other formats (https://
17:55
vup
github.com/apertus-open-source-cinema/axiom-recorder)
17:56
dcz_
thanks, I'll take a look at it
17:56
vup
I think the thing that might interest you the most is the recorder. It once even had a simple UI and could display a histogram, but with the current rewrite the UI and the histogram functionality vanished again :)
17:57
vup
Maybe someone will pick up the gsoc project of adding the UI again...
17:58
dcz_
do you implement the debayering directly? I
17:59
dcz_
I have seen some crates but none of them are listed in the dependencies
17:59
vup
yeah we implement (currently only basic) debayering using a vulkan fragment shader
17:59
vup
dcz_: I am curious how does the graphics driver landscape look on the librem 5 currently? Does it support vulkan? Do you know if the gpu driver supports things like dma-buf?
18:00
dcz_
we do have dma-buf as it's needed for Wayland, but we don't have vulkan
18:01
vup
I see, will vulkan come sometime down the line, or will it always just be opengl es? (I assume you have opengl es, right?)
18:01
vup
oh also, does the soc you are using have hardware accelerated video encoding? If so, do you have vaapi support?
18:03
dcz_
a quick search doesn't show anything vulkan related in etnaviv, and now we have opengl es. There's no hardware encoder, only a decoder, so NXP provides some GPU based library, but that needs OpenCL, so that's a no again
18:03
dcz_
or at least a "not yet"
18:05
vup
I see, that will make video recording pretty painful probably
18:06
dcz_
it's going to be rather interesting :)
18:07
dcz_
we have a 13Mpix sensor, but operating it at full resolution in video recording mode is not a given with the rest of the hardware
18:09
vup
yeah, sounds like a nice challenge :)
19:16
DevendraKharolia
joined the channel
19:49
dcz_
left the channel
20:34
LordVan_
left the channel
20:51
se6ast1an
off to bed, good night
21:05
mumptai
joined the channel
21:54
kmostafa
joined the channel
21:55
MazenAyman
joined the channel
21:57
MazenAyman
left the channel
22:37
kmostafa
left the channel
22:44
mumptai
left the channel