<kristianpaul> xiangfu: morning
<xiangfu> kristianpaul: good morning
<kristianpaul> wich mupdf version are you using for flickernoise btw?
<xiangfu> I am using 0.8
<kristianpaul> okk
<aw_> morning
<aw_> anyone know how to capture that video from GUI tool?
<kristianpaul> hi adam :-)
<kristianpaul> I think video sample to a file is not implemented, just screenshot of a vide preview
<kristianpaul> arg
<kristianpaul> gg
<xiangfu> kristianpaul: update your mtk.
<kristianpaul> shit, yes
<kristianpaul> i toucht i did it..
<aw_> kristianpaul xiangfu , how to use screenshot on M1 gui?
<kristianpaul> tought*
<aw_> plugging keyboard?
<kristianpaul> control + f12 i remenber
<kristianpaul> xiangfu: ?
<kristianpaul> still updating about last hw/sw changes on m1
<aw_> what's *.per file when using save?
<xiangfu> multi patch performance is soooooo cool.
<xiangfu> wow. with "multi patch performance" I can be a VJ  :D
<kristianpaul> :o
<larsc> hehe
<xiangfu> (I may need a BIG projector :)
<kristianpaul> xiangfu: multi patch is in last msd?
<xiangfu> kristianpaul: switch the 'patch performance' with keyboard shortcut.
<xiangfu> kristianpaul: open the 'keyboard' bind the 'key' to 'patch'
<kristianpaul> oh
<kristianpaul> cool, i tought it just was posible with midi
<kristianpaul> okay, now i need a portable keyboard ;)
<kristianpaul> how do you created data partition?
<kristianpaul> nice !
<kristianpaul> i can take screenshot finally :-)
<kristianpaul> and ftp transfer was not bad
<xiangfu> kristianpaul: data partition is mount by default.
<xiangfu> 1. you can copy file to /flash/
<kristianpaul> no, i mean m1.flash5.bin
<xiangfu> 2. or reflash it :)
<kristianpaul> yeah, but how i do create the m1.flash5.bin file?
<kristianpaul> Minimac RX FIFO overflow!
<kristianpaul> Warning: out of RX buffers to refill slot E0008008!
<kristianpaul> Warning: out of RX buffers to refill slot E0008014!
<kristianpaul> Warning: out of RX buffers to refill slot E0008020!
<kristianpaul> Warning: out of RX buffers to refill slot E000802C!
<xiangfu> kristianpaul: you should update all milkymist git repo. then rebuild all image.
<xiangfu> kristianpaul: I rare meet this error after update.
<kristianpaul> ok
<kristianpaul> well actually sintesis just finished :-D
<kristianpaul> i wonder if build_bitstream.sh is usable or i should always go to /home/paul/milkymist/boards/milkymist-one/flash
<kristianpaul> xiangfu: wich scripts are you using for making that last images?
<kristianpaul> script order too..
<xiangfu> kristianpaul: all images?
<kristianpaul> xiangfu: yes
<xiangfu> kristianpaul: I using mine: https://github.com/milkymist/scripts/blob/master/build
<kristianpaul> hmm okay
<kristianpaul> nice
<kristianpaul> i need that, i was crazy compiling all this from scratch some hrs ago
<kristianpaul> i dont get why i need a MMU beyond the fact running linux is good, but yeah, talk on ML looks interesting
<kristianpaul> aw_: you are genious !!!
<kristianpaul> ALL this time i had a canon cemra with A/V out, and now i realized i can plug it on the MM1 :(
<kristianpaul> as you can see on irc i always had the video out with my camera.. :(
<aw_> kristianpaul, all i did was xiangfu taught me! :-)
<aw_> kristianpaul, since i have to recognize how MM1's goes before/after i add parts on video circuit path. so I asked xiangfu that how i can capture video snap on gui. :-)
<xiangfu> we should add the 'multi patch performance' to this page :)
<wolfspraul> xiangfu: I had another idea :-) after booting, m1 should automatically start with a patch, or even randomly picking one and then randomly continuing with others
<wolfspraul> or if it's possible, after booting it should continue with whatever it did before the last power off
<xiangfu> I was thinking auto select one. not auto start :) then when you click "start!" no needs to select.
<wolfspraul> xiangfu: I think the best would be if m1 continued with whatever it was doing before the last power-off
<wolfspraul> maybe with some way to escape from the loop, so people cannot get stuck in a crash
<kristianpaul> xiangfu:  i did
<kristianpaul> eraseflash 0xD20000 151
<kristianpaul> flashmem   0xD20000 data.flash5.bin noverify
<kristianpaul> but got /flash empty
<wolfspraul> but other than that I think that would be good. if it was in the GUI - back to gui. if it was running some patch X, back to patch X. if it was running multiple patches, back to the same set. etc.
<xiangfu> kristianpaul: how you create the data.flash5.bin . there is one parameter "convert" like
<xiangfu> kristianpaul: mm-mkyaffs2image /PATH data.flash5.bin convert <----
<xiangfu> kristianpaul: I should make the 'convert' as default. since we don't have a LE m1
<xiangfu> kristianpaul: it's already converted. I though you are create by yourself. sorry.
<kristianpaul> not, i just get it from that url..
<wolfspraul> kristianpaul: so you found out now that you can connect your Canon camera to the m1?
<wolfspraul> how much better is the Canon cam, in an actual video-in patch, as compared to the best ccd mini camera you got?
<kristianpaul> hmm , wait i need upload a video patch first ;)
<kristianpaul> xiangfu: how i can make a the vide-in preview?
<kristianpaul> i was swiching to low resolution, but that not make sense..
<xiangfu> kristianpaul: sorry. what you mean?
<kristianpaul> oh sorry,
<kristianpaul> is it posible to make video-in preview bigger?
<xiangfu> kristianpaul: (flash data) compare the md5sum. try again. so far it works fine here.
<xiangfu> kristianpaul: you can switch 360x288 -- 180x144 with this bin. but there is a bug. only can switch 32 times
<xiangfu> kristianpaul: http://downloads.qi-hardware.com/people/xiangfu/tmp/big-video-in.tar.gz this one is hardcode only big video-in 360x288
<wolfspraul> xiangfu: ahh! :-) so the video-in-switch-resolution is the newer one?
<xiangfu> wolfspraul: yes. but a bug :)
<xiangfu> switch 32 times :(
<wolfspraul> does video-in-switch-resolution replace the older one?
<wolfspraul> if so, just delete the older one
<wolfspraul> even if someone runs into it (unlikely), it is better to delete known bad stuff than to let people fall into a trap
<wolfspraul> these are just temporary/personal builds anyway...
<xiangfu> I add that one for back the source code patch.
<xiangfu> wolfspraul: when I move the big video-in preview. I can feel that is slow then the small one.
<wolfspraul> ok sure. I don't feel very strongly that a larger preview-in needs to be the default, I just need it for some camera comparison screenshots.
<wolfspraul> not worth further discussions...
<wolfspraul> (for me at least :-))
<wolfspraul> I'm curious what Sebastien thinks about the m1 after booting going back to what it did before last power off.
<wolfspraul> I think that would be a cool feature with real end user value.
<wolfspraul> we find out later :-)
<xiangfu> yes.
<xiangfu> for now. too bad. after reboot. all keyboard bindings are lose :(
<wolfspraul> it should remember 'the whole' state over power cycle
<xiangfu> 'DMX desk' setting lose too.
<wolfspraul> I think we first define the goal. I think it should remember the full state and go back to do exactly what it did before.
<wolfspraul> if Sebastien agrees, then we can start with the most important settings/states first, and then the more advanced ones
<kristianpaul> btw i noticed i have to reboot with the video camera connected in order to the patches to work well
<kristianpaul> this is when changing resolution
<wolfspraul> yes I also noticed some strangeness in the video-in signal not being detected unless I reboot
<wolfspraul> but I didn't have the time yet to track it down into a proper reproducible procedure...
<wolfspraul> or maybe what I saw was that plugging the camera in hung the entire m1, when I was in the preview dialog already I think. I need to make it properly reproducible first. All small bugs I think.
<lekernel> for large video in preview just use a patch
<lekernel> video_a=1
<lekernel> decay=0
<lekernel> this will put the video in fullscreen with no effect
<lekernel> and with hardware acceleration so this will get a good framerate - not like the preview dialog
<aw_> good, but modify video_a=1, decay=0 to which file?
<lekernel> xiangfu: "flickernoise user manual" goes here: https://github.com/milkymist/flickernoise/tree/master/doc
<lekernel> aw_: in the patch editor
<xiangfu> lekernel: yes. try to compile that file. meet some errors.http://pastebin.com/vziTG6cy
<aw_> if using fullscreen is good to compare. :-)
<xiangfu> aw_: full screen is much better.
<aw_> hmm...but i haven't learned that how to use patch editor. :(
<xiangfu> lekernel: if you don't mind . I would like to commit one file like:
<xiangfu> more LeKernel\ -\ FullScreen\ Video-in\ Preview.fnp
<xiangfu> video_a=1
<xiangfu> decay=0
<xiangfu> to the .../patches/Simple
<aw_> i am wondering that how i can get a video source with http://en.wikipedia.org/wiki/File:SMPTE_Color_Bars.svg
<aw_> to test our video-in circuit. man! i need to think about this.
<xiangfu> aw_: how about same that picture to your camera :)
<aw_> xiangfu, yup..just need to 'feed' SMPTE color bar into our connector J18's 'green' one. i.e. we needs a camera source it can generates a standard color bar pattern.
<aw_> i can download color bar sources from web somewhere. but this likes you surveys a VGA >> S-video & composite video RCA out, then connects it into our M1. :-)
<aw_> well...this conversion kit won't be a pure color bar source.
<xiangfu> ok
<aw_> xiangfu, what's this possible err? http://pastebin.com/BYqgak2r
<aw_> xiangfu, my flash chip is likely dead?
<xiangfu> aw_: I am not sure. I advice just reboot and try again
<lekernel> xiangfu: yes you can add in /patches/simple
<CIA-48> flickernoise: Xiangfu Liu master * r0291ca6 / patches/Simple/Lekernel - FullScreen Video-in Preview.fnp : add one patch file for FullScreen Video-in Preview - http://bit.ly/gu8VMT
<xiangfu> :)
<lekernel> xiangfu: you're probably missing some latex packages... but I don't know which one. tbh I'm also struggling with latex at times
<xiangfu> lekernel: yes. I am google a lot. install about 200M package. seems still miss some font package.
<lekernel> the first error you get is "! I can't find file `pplr7t'." which should be solved with that package...
<xiangfu> lekernel: thanks, installing
<xiangfu> another 30MB :)
<xiangfu> lekernel: thanks. works fine now. I can get the correct pdf file.
<xiangfu> after install those three package:
<xiangfu> sudo apt-get install texlive-latex-recommended
<xiangfu> sudo apt-get install texlive-latex-base
<xiangfu> sudo apt-get install texlive-fonts-recommended
<xiangfu> Output written on handbook.pdf (31 pages, 165293 bytes).
<wolfspraul> lekernel: I was curious what you think about my idea that after power cycling, the m1 should go back doing whatever it did last, remembering all state info if possible
<wolfspraul> if you agree with that general goal, xiangfu can slowly implement missing features in that direction
<lekernel> there's already a performance autostart mode
<wolfspraul> how is it invoked?
<xiangfu> lekernel: there is a autostart in system settings don't know how to use that.
<lekernel> should be enough for most real life purposes imo... or do you have something specific in mind?
<lekernel> just select a .per multi-patch-performance file
<lekernel> and it will start at boot (before displaying anything on the screen so it can be used in live contexts)
<wolfspraul> ok I will try that.
<wolfspraul> I was more thinking as a general idea - m1 goes back to what it did last after power cycles.
<lekernel> that's a lot more complex to do with little benefits imo
<xiangfu> lekernel: what is the .per file format?
<lekernel> what feature would that enable?
<wolfspraul> I'm not asking you to do it, I am just curious how you feel about it from a product design perspective.
<lekernel> well, no matter who does it, this requires adding hooks all over the code and making it a bit messy
<wolfspraul> you probably think too radical.
<wolfspraul> I am just curious about how you think the user would like that behavior.
<wolfspraul> or not like it
<wolfspraul> always going to the same starting point also may be desirable
<wolfspraul> people may get stuck in something they don't want
<wolfspraul> where others may feel the product is much more robust/easy to use, if it always goes back to what it did last
<lekernel> yeah, or in case of a bug, to an unrecoverable state
<wolfspraul> yes but I am asking about what is desirable
<wolfspraul> not for you to think through technical details
<lekernel> xiangfu: when you make a multi patch perf, click "save" on the control panel and it makes such a .per file
<wolfspraul> I will play with the existing gui a bit more first, there are more features I don't know well yet.
<wolfspraul> like 'performance autostart mode'
<wolfspraul> as a product design goal, I somehow like "go back to what it did last"
<lekernel> well, don't reboot it then :)
<lekernel> i'd prefer the product to be rock stable so it never has to be rebooted rather than messy "session save" code so the bugs are bearable
<wolfspraul> that's why I think it's a valuable feature, because I think in real life settings, there will be a lot of unplugging, moving the box, changing power strips, etc.
<wolfspraul> ah I did in no way suggest to do this to cover up crashes
<wolfspraul> I am talking about product design goals
<wolfspraul> in fact as you pointed out (getting into an unrecoverable state), this 'go back' thing would require a rock solid foundation to be fun to use
<wolfspraul> but I am not asking you about technicalities, I'm asking about what is desirable for our users
<wolfspraul> of course over time we will hear, if we ask and listen carefully
<wolfspraul> but we can also have some thoughts in advance :-)
<lekernel> imo the next thing that should go away in the GUI is the control panel
<lekernel> it looks ugly, makes people afraid and isn't intuitive
<lekernel> I'm thinking about replacing that with good looking icons describing the complete system (with lights, screen, dmx desk, camera ...) which pop up the appropriate window when you click on them
<lekernel> I think this is much more important than a small detail like the session system
<lekernel> people will see that instantly
<wolfspraul> ok, understood
<lekernel> #[~~{[#é!! what's worse than GNU/Autocrap? a customized GNU/Autocrap.
<lekernel> s/ppcbe/lm32 on all autocrap scripts ftw =]
<lekernel> portability layer FAIL
<xiangfu> how the OSC configure in M1. it's receive data from which port?
<xiangfu> 7777 :)
<lekernel> yes
<lekernel> on udp
<lekernel> hmm... why does libgd require pthreads?
<xiangfu> is there a demo/sample show how "/variable" in OSC control works under M1 ?
<lekernel> not yet
<lekernel> but you can e.g. take one of the DMX patches and replace "idmx" with "iosc"
<kristianpaul> oh
<kristianpaul> i can use osc also to transfer raw data right?
<xiangfu> four kinds of data (if I am correct, from the source code)
<kristianpaul> nice
<xiangfu> lekernel: there are idmx1/2/3/4 , so I just replace them to iosc1/2/3/4?
<xiangfu> testing
<lekernel> iosc or osc... I don't remember
<lekernel> then they take a float, you can try with oscsend
<lekernel> you can also use the variable monitor
<xiangfu> yes. I am using oscsend
<kristianpaul> osc in flickernoise is a server or cliente mode?
<kristianpaul> client*
<xiangfu> server
<xiangfu> just  install the "touchOSC" in my android phone.
<xiangfu> the touchOSC output format is like : http://pastebin.com/QyAjarkP
<xiangfu> it is osc
<xiangfu> (have to sleep. see you)
<lekernel> cool vid
<kristianpaul> indeed (video)
<kristianpaul> xiangfu is ready for a party ;-)
<kristianpaul> nice pic, but kinda blur
<kristianpaul> well, not so blur, may be tricky zoom :-)
<methril_work> lekernel, any news/work with gcc 4.6?
<methril_work> who is a gcc master?
<lekernel> i'm not
<lekernel> and tbh, don't really want to be one
<methril_work> i would like to debug
<methril_work> and get them compiled
<methril_work> i don`t want to, but i would like to see gcc with full support :)
<lekernel> otoh, if you send me a patch I can commit it to the GCC repository in less than 24 hours, which is already a progress compared to the previous LM32 situation
<methril_work> nice picture, this acrylic looks better
<methril_work> ok
<methril_work> i see some rtems people dealing with all the newlib,gcc, binutils....
<methril_work> do you think they could help?
<lekernel> you can try asking around, but keep your hopes low
<lekernel> if I were you i'd rather help with the LLVM port
<kristianpaul> likes pcc
<methril_work> i don't know anything about LLVM (neither GCC)
<methril_work> but i have to deal with GCC
<methril_work> we need GCC for Linux
<lekernel> ok, then LLVM is clearly advantageous for you since it has documented internals
<lekernel> GCC does not by FSF policy :=]
<kristianpaul> oh really? what about comunity support?
<lekernel> they get trolled by FSF people... hahaha
<kristianpaul> :p
<kristianpaul> lekernel: whats the max trougput you achived with the uart core?
<kristianpaul> what was*
<lekernel> about 230k
<lekernel> this uart design isn't meant to be fast
<lekernel> maybe you can use ethernet instead
<kristianpaul> hmm i dint tested the last minimac2 revision yet
<kristianpaul> but seems i should do some ttcp tests..
<methril_work> well, lekernel thak you
<lekernel> haven't had any ethernet bug other than the PHY reset problem since I introduced minimac2
<methril_work> i'll do some more tests
<kristianpaul> nice :-)
<methril_work> and if i get tired of not finding anything, i'll try LLVM
<kristianpaul> brave guy :-)
<methril_work> :)
<larsc> mwalle: why do we want deprecated syscalls?
<larsc> or is this just for the moment so uClibc works?
<mwalle> larsc: mh? which ones?
<mwalle> you mean the defines?
<larsc> yes
<larsc> #define __ARCH_WANT_SYSCALL_DEPRECATED
<mwalle> iirc uclibc needs one of those
<larsc> ok
<larsc> the old syscall deprecated syscall be implemented by the means of of newer ones, but i guess uClibc has support for it yet. i'll take a look
<mwalle> larsc: if it can be removed, i'll happy with that ;)
<lekernel> http://www.milkymist.org/desktop/out.png (to replace flickernoise control panel)
<kristianpaul> what is that? i mean still tmk?
<kristianpaul> not that bad... but hmm.. i dont get the m1 logo mean in the center of the screen
<kristianpaul> and the lined X
<kristianpaul> but still nice :-)