Current Server Time: 19:15 (Central Europe)

#apertus IRC Channel Logs

2019/06/07

Timezone: UTC


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