Current Server Time: 23:36 (Central Europe)

#apertus IRC Channel Logs

2021/03/14

Timezone: UTC


04:35
vinayak
joined the channel
04:38
vinayak
left the channel
04:41
vinayak
joined the channel
04:51
BAndiT1983
changed nick to: BAndiT1983|away
04:53
vinayak
left the channel
05:24
vinayak
joined the channel
05:54
vinayak
left the channel
07:03
Bertl
off to bed now ... have a good one everyone!
07:04
Bertl
changed nick to: Bertl_zZ
08:41
dcz_
joined the channel
08: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
08:43
dcz_
1. is your software based on Magic Lantern? There are references on the front page, but the relationship is not clear
08:44
dcz_
2. is porting your software to a more traditional Linux system feasible? by that, I mean Wayland, and v4l2, with no FPGAs
09:12
LordVan_
joined the channel
09:54
vinayak
joined the channel
10:14
anuejn
dcz_: afaik there is no / little shared code between the axiom and magic lantern
10:14
anuejn
it is more the people & their experience that contributed
10: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)
10: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
10:16
anuejn
however you might want to look into libcamera
10:17
anuejn
(and maybe vup can also say something to this topic)
10:30
vinayak
left the channel
10:33
BAndiT1983|away
changed nick to: BAndiT1983
11:18
devendra
joined the channel
11:24
devendra
left the channel
11:33
vinayak
joined the channel
11:40
bokket
joined the channel
12:51
Spirit532
left the channel
13:00
aombk
left the channel
13:05
aombk
joined the channel
13:29
vinayak
left the channel
13:56
dcz_
left the channel
13:56
ZNC_
left the channel
13:56
ZNC
joined the channel
13:56
dcz_
joined the channel
13:57
ZNC
changed nick to: Guest99986
14:35
Spirit532
joined the channel
14:43
Bertl_zZ
changed nick to: Bertl
14:43
Bertl
morning folks!
14:59
bokket
left the channel
15:18
se6ast1an
good day
15:32
BAndiT1983
changed nick to: BAndiT1983|away
15:34
BAndiT1983|away
changed nick to: BAndiT1983
17:05
aombk
left the channel
17:07
aombk
joined the channel
17:16
aombk
left the channel
17:18
aombk
joined the channel
17:23
aombk
left the channel
17:25
aombk
joined the channel
18: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
18:42
dcz_
vup: I'm more interested in taking as much as we can in order to use the sensor that we do have
18:43
vup
you mean the sensor on the librem 5?
18:44
dcz_
yes
18:45
vup
those are both probably mipi sensors connected to the native mipi inputs of the soc, right?
18:47
dcz_
100% correct
18:47
vup
ok, then most of what we do on a fpga is already dealt with by the soc hardware
18:48
vup
what software are you exactly looking for / what do you want to do?
18:49
dcz_
I've had the marketing ask for Magic Lantern functionality
18:51
dcz_
I'm mostly just exploring what is already done, as it's basically a matter of where the work comes from
18: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?
18:52
dcz_
perhaps some diagnostics like histograms and maybe you already have a tested phase detect autofocus system
18:54
dcz_
(I do believe the SoC can do histograms, but there's also the question of a well designed UI)
18: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://
18:55
vup
github.com/apertus-open-source-cinema/axiom-recorder)
18:56
dcz_
thanks, I'll take a look at it
18: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 :)
18:57
vup
Maybe someone will pick up the gsoc project of adding the UI again...
18:58
dcz_
do you implement the debayering directly? I
18:59
dcz_
I have seen some crates but none of them are listed in the dependencies
18:59
vup
yeah we implement (currently only basic) debayering using a vulkan fragment shader
18: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?
19:00
dcz_
we do have dma-buf as it's needed for Wayland, but we don't have vulkan
19: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?)
19:01
vup
oh also, does the soc you are using have hardware accelerated video encoding? If so, do you have vaapi support?
19: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
19:03
dcz_
or at least a "not yet"
19:05
vup
I see, that will make video recording pretty painful probably
19:06
dcz_
it's going to be rather interesting :)
19: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
19:09
vup
yeah, sounds like a nice challenge :)
20:16
DevendraKharolia
joined the channel
20:49
dcz_
left the channel
21:34
LordVan_
left the channel
21:51
se6ast1an
off to bed, good night
22:05
mumptai
joined the channel
22:54
kmostafa
joined the channel
22:55
MazenAyman
joined the channel
22:57
MazenAyman
left the channel
23:37
kmostafa
left the channel
23:44
mumptai
left the channel