Current Server Time: 22:51 (Central Europe)

#apertus IRC Channel Logs

2019/06/07

Timezone: UTC


03:32
dev_
joined the channel
03:36
Dev
joined the channel
03:36
Dev
changed nick to: Guest66503
03:37
dev__
joined the channel
03:38
dev_
left the channel
03:39
dev__
BAndiT1983|away, a simple playback for MLV has already been implemented
03:39
dev__
It can load more than one frame now
03:40
dev__
please see commits in my local repo :- https://github.com/kakashi-Of-Saringan/opencine/commits/new
03:42
dev__
I think now, I can go for sliders, if everything is alright more or less
03:49
dev__
sorry , just saw your comments :- https://github.com/kakashi-Of-Saringan/opencine/commit/78c6c8ebde8ae724310b6da443be124f34530559#r33809444
03:49
dev__
update u soon
03:50
Guest66503
left the channel
03:50
dev__
left the channel
04:23
intrac_
joined the channel
04:25
intrac
left the channel
05:40
BAndiT1983|away
changed nick to: BAndiT1983
05:42
BAndiT1983
hi dev_, your version had problems on my machine and was not playing anything, only one frame was there and it was only partially correct, around 25%, have used M11-1526.VB.mlv as always
05:55
BAndiT1983
M08-800.MLV from here is showing up correctly, but not seeing any playback -> https://www.magiclantern.fm/forum/index.php?topic=11899.50
05:55
BAndiT1983
don't have time to check on it now, as i have to leave for work soon
06:00
BAndiT1983
*M08-0000.MLV
06:03
BAndiT1983
off for now, will be back later
06:03
BAndiT1983
changed nick to: BAndiT1983|away
06:18
futarisIRCcloud
left the channel
07:41
futarisIRCcloud
joined the channel
07:51
se6astian|away
changed nick to: se6astian
08:47
sebix
joined the channel
08:47
sebix
left the channel
08:47
sebix
joined the channel
08:48
sebix
left the channel
08:48
sebix
joined the channel
09:15
Spirit532
left the channel
09:16
Dev_
joined the channel
09:17
Spirit532
joined the channel
09:21
Dev_
Hi BAndit1983 , Should playback of MLV visible , as each frame is loaded within 6ms or 7ms , also all are same as the first one (I tried to load some frames independently ).
09:23
Dev_
Can u see the logs of loading frames , extraction by downscaler , conversation from 14->16 bit , demosacing etc on terminal .
09:24
Dev_
It must be showing such logs , that's why i thought frames are loading back to back :(
09:29
Dev_
Also , i am using sample mlv from https://www.magiclantern.fm/forum/index.php?topic=11899.0
09:31
Dev_
For 5DLL 14may14 blfix/off MLV file the version is working properly , but for M11-1526.VB.mlv it is failing , trying with more sample right now
09:32
Dev_
The version doesn't take account of frame rate yet , but i think it simply load frames (due to logs)
09:34
Dev_
The frame which we are seeing at the end of loading is the last one , i think . Please check whenever u get time
09:34
se6astian
changed nick to: se6astian|away
09:35
se6astian|away
changed nick to: se6astian
09:45
Dev_
left the channel
09:52
Bertl_zZ
changed nick to: Bertl
09:52
Bertl
morning folks!
09:54
apurvanandan[m]
Good morning!
09:57
se6astian
changed nick to: se6astian|away
09:58
se6astian|away
changed nick to: se6astian
09:58
se6astian
left the channel
09:58
se6astian|away
joined the channel
09:58
se6astian|away
changed nick to: se6astian
09:58
se6astian
left the channel
09:58
Nira|away
left the channel
09:58
RexOrCine|away
left the channel
09:58
philippej
left the channel
09:58
BAndiT1983|away
left the channel
10:28
Y_G
joined the channel
12:10
futarisIRCcloud
left the channel
12:27
Y_G
left the channel
12:54
Nira|away
joined the channel
12:54
philippej|away
joined the channel
12:54
philippej|away
changed nick to: philippej
12:54
RexOrCine|away
joined the channel
12:54
BAndiT1983|away
joined the channel
12:54
BAndiT1983|away
changed nick to: BAndiT1983
12:54
se6astian
joined the channel
13:44
Dev_
joined the channel
14:03
Dev_
left the channel
14:58
Y_G
joined the channel
15:39
Bertl
off for now ... bbl
15:39
Bertl
changed nick to: Bertl_oO
16:25
se6astian
changed nick to: se6astian|away
17:30
aombk2
left the channel
17:36
intrac_
changed nick to: intrac
17:46
BAndiT1983
changed nick to: BAndiT1983|away
17:59
dev_
joined the channel
18:07
dev_
Hi BAndiT1983|away, when I debug the code , I found out that only last frame is rendering on screen
18:08
dev_
Can u please explain me, how process of rendering is taking place in processing presenter.cpp
18:14
dev_
for different sample , it is giving different behavior like some times it crashes by giving segmentation fault
18:16
dev_
left the channel
18:38
se6astian|away
changed nick to: se6astian
19:00
BAndiT1983|away
changed nick to: BAndiT1983
19:01
BAndiT1983
hi dev_, don't know what you mean, as the code is not that difficult
19:01
BAndiT1983
please debug thoroughly as you need proper understanding of the code
19:03
BAndiT1983
are you looping the frames at the end?
19:03
Y_G
left the channel
19:04
BAndiT1983
wondering about a lot of things in your code at the moment
19:04
Y_G
joined the channel
19:04
BAndiT1983
why are you debayering in MLV loader and again in presenter?
19:04
BAndiT1983
hi Y_G, how is it going?
19:05
BAndiT1983
also EnableRendering() was added to prevent crashes, when no data is present, you call it in every frame, please clean up the loop from such stuff, as it show me that you still have a lot to learn
19:06
BAndiT1983
*shows
19:06
dev_
joined the channel
19:08
BAndiT1983
dev_, please draw a diagram of the process you are targetting, so i can check if you really go in the right direction
19:08
dev_
I am clear till the processor debayer the frames , but then how each frame is displayed on screen
19:08
BAndiT1983
get yEd or plantUML
19:09
BAndiT1983
ehm?
19:09
BAndiT1983
what do you mean?
19:10
dev_
https://github.com/kakashi-Of-Saringan/opencine/blob/dev/Source/ProcessingTest/Presenters/ProcessingPresenter.cpp
19:11
BAndiT1983
dev_, i know the code, as i've wrote it, but the question is totally unclear to me
19:11
BAndiT1983
which methods are there in the presenter?
19:14
dev_
sorry wrong file https://github.com/kakashi-Of-Saringan/opencine/blob/new/Source/ProcessingTest/Presenters/ProcessingPresenter.cpp this one
19:14
dev_
THis my local repo , In which i am trying to loop the process , each time i access a channel from allocator(line 72 , 76 , 79)) the processor debayer it and then setframe method shows it on screen (which fails)
19:15
dev_
nothing shows on screen
19:15
dev_
until the loop ends
19:15
BAndiT1983
have you read my previous questions? as the loop is totally overloaded?
19:15
BAndiT1983
you are debayering in the loop again
19:15
BAndiT1983
why is it so?
19:16
dev_
I am changing the data of red, green , and blue each time
19:16
dev_
other parameters are same
19:16
BAndiT1983
process in the presenter was done for one frame to show the pipeline, you have moved it to loader partially, so why is the code executing multiple times?
19:16
BAndiT1983
line 86 -> debayer is executed again
19:18
BAndiT1983
remove all the things from loop first, which do not belong there, i expect 4 lines: red channel, green channel, blue channel and SetFrame(), besides that everything else is not needed there
19:18
BAndiT1983
also the loop is not looping
19:18
BAndiT1983
so it executes quickly and stops with last frame
19:18
BAndiT1983
formatting is also off, as the -> has whitespaces left and right, which is hard to read
19:19
BAndiT1983
aren't the images already stored somewhere? or what is the point in setting data over and over in the object?
19:20
dev_
The allocator has data channels in the form of Frame1(RGB)-- Frame2(RGB) and so on
19:21
BAndiT1983
and the prize question is, have you fixed OCImage? as it'S the main point why it's not working probably
19:21
dev_
thats why i was setting the object with new data for
19:22
BAndiT1983
what do you see in this file? -> https://github.com/kakashi-Of-Saringan/opencine/blob/new/Source/OCcore/Image/OCImage.cpp
19:23
dev_
set/get functions for channel and aspect ratio etc
19:23
dev_
format
19:23
BAndiT1983
and you don't see any problems there?
19:24
BAndiT1983
besides the fact that no aspect ratio is present there
19:24
dev_
I have changed it ,
19:24
dev_
I mean height and width , sory
19:25
BAndiT1983
the question is still there, do you see any problems in the code?
19:25
dev_
I have changed it by removing memmove , and other data allocations
19:26
BAndiT1983
please take a thorough look
19:26
BAndiT1983
i clearly see a problem there
19:27
dev_
deleting the red , green and blue channel ?
19:28
BAndiT1983
no, next try
19:28
BAndiT1983
although deleting is a problem when detructor is activated, it crashes
19:28
BAndiT1983
*destructor
19:29
BAndiT1983
you have moved the responsibility for memory to allocator, this leftover in OCimage should also go
19:29
BAndiT1983
but it's not the main problem
19:31
BAndiT1983
while you are searching i will just pull newest version of your repo to try locally
19:37
dev_
It is overriding the data already present in channel
19:40
BAndiT1983
dev_, do you want to start to read the code or do you want to guess?
19:40
BAndiT1983
OCImage has only few methods and 3 of them have a problem
19:41
dev_
sorry , I couldn't find anything wrong there
19:42
BAndiT1983
really? then trust me, there is something really wrong
19:43
BAndiT1983
so, off for now, have to go for a walk, will read logs later
19:43
BAndiT1983
changed nick to: BAndiT1983|away
20:30
dev_
left the channel
20:43
dev_
joined the channel
20:58
dev_
some functions are either setting values or returning value, (like Width(), Height(), RedChannel(), etc) they don't have anything incorrect
20:58
sebix
left the channel
20:59
dev_
Sorry BAndiT1983|away, I am getting what is wrong here ,
21:03
dev_
not*
21:03
dev_
left the channel
21:24
BAndiT1983|away
changed nick to: BAndiT1983
21:24
BAndiT1983
dev_, i will just ask 2 questions and maybe then you will understand
21:25
BAndiT1983
let's say you call SetRedChannel(), what happens then?
21:25
BAndiT1983
and the second question, which is more important (!!!), what happens when you call this method the second time?
21:25
BAndiT1983
Y_G, you there?
21:29
Y_G
Hi BAndiT1983 , tried using this approach "https://github.com/hallard/ArduiPi_OLED/issues/15",simply copying the methods that were missing ,It complies rn
21:30
BAndiT1983
have you checked if smbus is really required?
21:30
BAndiT1983
there is another task which is not in your trello yet, extending daemon docs in apertus wiki, e.g. sysfs stuff and so on
21:30
Y_G
It's preferred ,have'nt gone into the details of why
21:31
Y_G
about the updating part ,will do it once tested in through remote beta
21:32
Y_G
Did you get time to test the CMV config register ?
21:33
BAndiT1983
not yet, had a pretty long work day
21:33
BAndiT1983
will test it now
21:35
Y_G
Also is the remote beta up ?Could you help me with How do I connect to it from the zbox
21:35
BAndiT1983
is your ssh key there?
21:36
BAndiT1983
have switched beta on, it's controlled through the network power outlet
21:37
BAndiT1983
https://wiki.apertus.org/index.php/AXIOM_Beta_Remote_Access
21:41
Y_G
Went through this ,Could'nt follow
21:42
Y_G
Tunneling part has to be done from the local or the zbox ?
21:42
BAndiT1983
what do you want to use tunneling for?
21:46
Y_G
how to test the my local code on beta ?
21:46
BAndiT1983
you have to get it from github
21:46
BAndiT1983
git clone ...
21:48
BAndiT1983
tunneling works also, but it's only relevant for WSServer mostly, as debugging on the beta would be rather slow experience
21:48
BAndiT1983
i can also test something for you locally, as i have a sensorless beta here
21:49
Y_G
yes git clone would work,but how to connect to beta in the first place from the zbox
21:49
BAndiT1983
do you have access to the zbox?
21:49
Y_G
Yes can access it
21:50
BAndiT1983
ok, currently trying to find out what the new credentials and names are
21:50
BAndiT1983
https://wiki.apertus.org/index.php/AXIOM_Beta_Firmware_Version_2.0
21:50
BAndiT1983
usually it was ssh root@beta, but new one should be something like ssh operator@beta, but it doesn't work at the moment
21:51
BAndiT1983
will try to access the beta through USB
21:53
BAndiT1983
hm, i can see the webcam, but beta is not in the picture
21:53
BAndiT1983
hope it's there and that i'm not trying to access missing camera
21:56
Y_G
Ahh,was trying with 'ssh root@beta' ,was stuck for almost 2 hours figuring out what was wrong :')
21:57
Y_G
I will try to update the code by tomorrow ,If you get time please test it on the sensorless beta
21:58
BAndiT1983
ok, will plan some time for it
21:58
Y_G
Thanks :)
22:02
BAndiT1983
hm, beta is there, but zbox doesn't have access
22:04
BAndiT1983
Y_G, check your PM for current info
22:05
BAndiT1983
can't really say which camera this is, as we have 2 available, one with sensor and another without
22:30
BAndiT1983
changed nick to: BAndiT1983|away
22:31
Y_G
left the channel
22:33
se6astian
changed nick to: se6astian|away
00:05
RexOrCine|away
changed nick to: RexOrCine
00:49
futarisIRCcloud
joined the channel