#milkymist IRC log for Thursday, 2011-04-14

kristianpaulxiangfu: morning01:25
xiangfukristianpaul: good morning01:26
kristianpaulwich mupdf version are you using for flickernoise btw?01:26
xiangfuI am using 0.801:26
kristianpaulokk01:27
aw_morning01:34
aw_anyone know how to capture that video from GUI tool?01:35
kristianpaulhi adam :-)01:35
kristianpaulI think video sample to a file is not implemented, just screenshot of a vide preview01:36
kristianpaularg01:43
kristianpaulgg01:43
kristianpaulhmm http://paste.debian.net/113963/01:44
xiangfukristianpaul: update your mtk.01:47
kristianpaulshit, yes01:48
kristianpauli toucht i did it..01:48
aw_kristianpaul xiangfu , how to use screenshot on M1 gui?01:48
kristianpaultought*01:48
aw_plugging keyboard?01:49
kristianpaulcontrol + f12 i remenber01:49
kristianpaulxiangfu: ?01:49
Action: kristianpaul still updating about last hw/sw changes on m101:50
aw_what's *.per file when using save?01:55
xiangfumulti patch performance is soooooo cool.02:03
xiangfuwow. with "multi patch performance" I can be a VJ  :D02:12
kristianpaul:o02:13
larschehe02:15
xiangfu(I may need a BIG projector :)02:16
kristianpaulxiangfu: multi patch is in last msd?02:19
xiangfukristianpaul: switch the 'patch performance' with keyboard shortcut.02:21
xiangfukristianpaul: open the 'keyboard' bind the 'key' to 'patch'02:22
kristianpauloh02:22
kristianpaulcool, i tought it just was posible with midi02:22
kristianpaulokay, now i need a portable keyboard ;)02:23
xiangfukristianpaul: http://en.qi-hardware.com/wiki/Milkymist_One_accessories02:26
kristianpaulhow do you created data partition?02:27
kristianpaulnice !02:31
kristianpauli can take screenshot finally :-)02:31
kristianpauland ftp transfer was not bad02:31
xiangfukristianpaul: data partition is mount by default.02:34
xiangfu1. you can copy file to /flash/02:34
kristianpaulno, i mean m1.flash5.bin02:34
xiangfu2. or reflash it :)02:34
xiangfukristianpaul: http://downloads.qi-hardware.com/people/xiangfu/milkymist-one/2011-04-06/flash.data02:36
kristianpaulyeah, but how i do create the m1.flash5.bin file?02:36
xiangfukristianpaul: https://github.com/milkymist/scripts/blob/master/build#L7402:42
kristianpaulMinimac RX FIFO overflow!02:42
kristianpaulWarning: out of RX buffers to refill slot E0008008!02:42
kristianpaulWarning: out of RX buffers to refill slot E0008014!02:42
kristianpaulWarning: out of RX buffers to refill slot E0008020!02:42
kristianpaulWarning: out of RX buffers to refill slot E000802C!02:42
xiangfukristianpaul: you should update all milkymist git repo. then rebuild all image.02:43
xiangfukristianpaul: I rare meet this error after update.02:43
xiangfukristianpaul: or you can try : http://downloads.qi-hardware.com/software/images/Milkymist_One/latest/ :)02:44
kristianpaulok02:44
kristianpaulwell actually sintesis just finished :-D02:44
kristianpauli wonder if build_bitstream.sh is usable or i should always go to /home/paul/milkymist/boards/milkymist-one/flash02:54
aw_xiangfu, http://downloads.qi-hardware.com/people/adam/m1/pic/M1_Screenshot_casio_ex-z200.png03:09
kristianpaulxiangfu: wich scripts are you using for making that last images?03:10
kristianpaulscript order too..03:10
xiangfukristianpaul: all images?03:11
kristianpaulxiangfu: yes03:11
xiangfukristianpaul: I using mine: https://github.com/milkymist/scripts/blob/master/build03:11
kristianpaulhmm okay03:12
kristianpaulnice03:12
kristianpauli need that, i was crazy compiling all this from scratch some hrs ago03:12
kristianpauli dont get why i need a MMU beyond the fact running linux is good, but yeah, talk on ML looks interesting03:28
kristianpaulaw_: you are genious !!!03:30
kristianpaulALL this time i had a canon cemra with A/V out, and now i realized i can plug it on the MM1 :(03:31
kristianpaulas you can see on irc i always had the video out with my camera.. :(03:32
aw_kristianpaul, all i did was xiangfu taught me! :-)03:35
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. :-)03:40
xiangfujust create an empty page: http://www.milkymist.org/wiki/index.php?title=Flickernoise_user_manual03:42
xiangfuwe should add the 'multi patch performance' to this page :)03:43
wolfspraulxiangfu: I had another idea :-) after booting, m1 should automatically start with a patch, or even randomly picking one and then randomly continuing with others03:46
wolfspraulor if it's possible, after booting it should continue with whatever it did before the last power off03:46
xiangfuI was thinking auto select one. not auto start :) then when you click "start!" no needs to select.03:48
aw_xiangfu, http://downloads.qi-hardware.com/people/adam/m1/pic/M1_Screenshot_360x288_casio_ex-z200.png03:48
wolfspraulxiangfu: I think the best would be if m1 continued with whatever it was doing before the last power-off03:49
wolfspraulmaybe with some way to escape from the loop, so people cannot get stuck in a crash03:49
kristianpaulxiangfu:  i did03:49
kristianpauleraseflash 0xD20000 15103:49
kristianpaulflashmem   0xD20000 data.flash5.bin noverify03:49
kristianpaulbut got /flash empty03:49
wolfspraulbut 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.03:49
xiangfukristianpaul: how you create the data.flash5.bin . there is one parameter "convert" like03:50
xiangfukristianpaul: mm-mkyaffs2image /PATH data.flash5.bin convert <----03:51
xiangfukristianpaul: I should make the 'convert' as default. since we don't have a LE m103:51
kristianpaulah, you mean http://downloads.qi-hardware.com/software/images/Milkymist_One/latest/reflash_m1.sh was not already converted?03:53
xiangfukristianpaul: it's already converted. I though you are create by yourself. sorry.03:54
kristianpaulnot, i just get it from that url..03:54
wolfspraulkristianpaul: so you found out now that you can connect your Canon camera to the m1?03:56
kristianpaulmy first screenshot :D http://downloads.qi-hardware.com/people/kristianpaul/Screenshot-00.png03:56
wolfspraulhow much better is the Canon cam, in an actual video-in patch, as compared to the best ccd mini camera you got?03:57
kristianpaulhmm , wait i need upload a video patch first ;)03:57
kristianpaulxiangfu: how i can make a the vide-in preview?04:00
kristianpauli was swiching to low resolution, but that not make sense..04:00
xiangfukristianpaul: sorry. what you mean?04:00
kristianpauloh sorry,04:01
kristianpaulis it posible to make video-in preview bigger?04:01
xiangfukristianpaul: (flash data) compare the md5sum. try again. so far it works fine here.04:01
xiangfukristianpaul: yes. http://downloads.qi-hardware.com/people/xiangfu/tmp/video-in-switch-resolution.tar.gz04:02
xiangfukristianpaul: you can switch 360x288 -- 180x144 with this bin. but there is a bug. only can switch 32 times04:02
xiangfukristianpaul: http://downloads.qi-hardware.com/people/xiangfu/tmp/big-video-in.tar.gz this one is hardcode only big video-in 360x28804:03
wolfspraulxiangfu: ahh! :-) so the video-in-switch-resolution is the newer one?04:03
xiangfuwolfspraul: yes. but a bug :)04:04
xiangfuswitch 32 times :(04:04
wolfsprauldoes video-in-switch-resolution replace the older one?04:07
wolfspraulif so, just delete the older one04:07
wolfsprauleven if someone runs into it (unlikely), it is better to delete known bad stuff than to let people fall into a trap04:07
wolfspraulthese are just temporary/personal builds anyway...04:08
xiangfuI add that one for back the source code patch.04:12
xiangfuwolfspraul: when I move the big video-in preview. I can feel that is slow then the small one.04:13
wolfspraulok 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.04:15
wolfspraulnot worth further discussions...04:15
wolfspraul(for me at least :-))04:16
wolfspraulI'm curious what Sebastien thinks about the m1 after booting going back to what it did before last power off.04:16
wolfspraulI think that would be a cool feature with real end user value.04:16
wolfspraulwe find out later :-)04:17
xiangfuyes.04:23
xiangfufor now. too bad. after reboot. all keyboard bindings are lose :(04:23
wolfspraulit should remember 'the whole' state over power cycle04:24
xiangfu'DMX desk' setting lose too.04:25
wolfspraulI think we first define the goal. I think it should remember the full state and go back to do exactly what it did before.04:42
wolfspraulif Sebastien agrees, then we can start with the most important settings/states first, and then the more advanced ones04:42
kristianpaulbtw i noticed i have to reboot with the video camera connected in order to the patches to work well04:54
kristianpaulthis is when changing resolution04:54
wolfspraulyes I also noticed some strangeness in the video-in signal not being detected unless I reboot04:55
wolfspraulbut I didn't have the time yet to track it down into a proper reproducible procedure...04:56
wolfspraulor 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.04:56
lekernelfor large video in preview just use a patch06:59
lekernelvideo_a=106:59
lekerneldecay=007:00
lekernelthis will put the video in fullscreen with no effect07:00
lekerneland with hardware acceleration so this will get a good framerate - not like the preview dialog07:00
aw_good, but modify video_a=1, decay=0 to which file?07:01
lekernelxiangfu: "flickernoise user manual" goes here: https://github.com/milkymist/flickernoise/tree/master/doc07:02
lekernelaw_: in the patch editor07:02
xiangfulekernel: yes. try to compile that file. meet some errors.http://pastebin.com/vziTG6cy07:04
aw_after added V9MLA0402LNH, http://downloads.qi-hardware.com/people/adam/m1/pic/M1_Screenshot_360x288_V9MLA0402LNH_casio_ex-z200.png07:10
aw_if using fullscreen is good to compare. :-)07:11
xiangfuaw_: full screen is much better.07:12
aw_hmm...but i haven't learned that how to use patch editor. :(07:13
xiangfulekernel: if you don't mind . I would like to commit one file like:07:13
xiangfu more LeKernel\ -\ FullScreen\ Video-in\ Preview.fnp07:13
xiangfuvideo_a=107:13
xiangfudecay=007:13
xiangfuto the .../patches/Simple07:14
aw_xiangfu lekernel thanks, i got my fullscreen snapshot http://downloads.qi-hardware.com/people/adam/m1/pic/M1_Screenshot_fullscreen_V9MLA0402LNH_casio_ex-z200.png08:08
aw_i am wondering that how i can get a video source with http://en.wikipedia.org/wiki/File:SMPTE_Color_Bars.svg08:10
aw_to test our video-in circuit. man! i need to think about this.08:10
xiangfuaw_: how about same that picture to your camera :)08:12
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.08:14
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. :-)08:16
aw_well...this conversion kit won't be a pure color bar source.08:17
xiangfuok08:20
aw_xiangfu, what's this possible err? http://pastebin.com/BYqgak2r09:24
aw_xiangfu, my flash chip is likely dead?09:25
xiangfuaw_: I am not sure. I advice just reboot and try again09:27
lekernelxiangfu: yes you can add in /patches/simple10:12
CIA-48flickernoise: Xiangfu Liu master * r0291ca6 / patches/Simple/Lekernel - FullScreen Video-in Preview.fnp : add one patch file for FullScreen Video-in Preview - http://bit.ly/gu8VMT10:13
xiangfu:)10:13
lekernelxiangfu: you're probably missing some latex packages... but I don't know which one. tbh I'm also struggling with latex at times10:53
lekernelxiangfu: try that http://packages.debian.org/search?searchon=contents&keywords=pplr7t&mode=filename&suite=stable&arch=any10:54
xiangfulekernel: yes. I am google a lot. install about 200M package. seems still miss some font package.10:54
lekernelthe first error you get is "! I can't find file `pplr7t'." which should be solved with that package...10:55
xiangfulekernel: thanks, installing10:55
xiangfuanother 30MB :)10:55
xiangfulekernel: thanks. works fine now. I can get the correct pdf file.10:57
xiangfuafter install those three package:10:57
xiangfusudo apt-get install texlive-latex-recommended10:57
xiangfusudo apt-get install texlive-latex-base10:58
xiangfusudo apt-get install texlive-fonts-recommended10:58
xiangfuOutput written on handbook.pdf (31 pages, 165293 bytes).10:59
wolfspraullekernel: 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 possible11:02
wolfspraulif you agree with that general goal, xiangfu can slowly implement missing features in that direction11:02
lekernelthere's already a performance autostart mode11:02
wolfspraulhow is it invoked?11:03
xiangfulekernel: there is a autostart in system settings don't know how to use that.11:03
lekernelshould be enough for most real life purposes imo... or do you have something specific in mind?11:03
lekerneljust select a .per multi-patch-performance file11:03
lekerneland it will start at boot (before displaying anything on the screen so it can be used in live contexts)11:03
wolfspraulok I will try that.11:04
wolfspraulI was more thinking as a general idea - m1 goes back to what it did last after power cycles.11:04
lekernelthat's a lot more complex to do with little benefits imo11:04
xiangfulekernel: what is the .per file format?11:04
lekernelwhat feature would that enable?11:04
wolfspraulI'm not asking you to do it, I am just curious how you feel about it from a product design perspective.11:04
lekernelwell, no matter who does it, this requires adding hooks all over the code and making it a bit messy11:05
wolfspraulyou probably think too radical.11:05
wolfspraulI am just curious about how you think the user would like that behavior.11:05
wolfspraulor not like it11:05
wolfspraulalways going to the same starting point also may be desirable11:06
wolfspraulpeople may get stuck in something they don't want11:06
wolfspraulwhere others may feel the product is much more robust/easy to use, if it always goes back to what it did last11:06
lekernelyeah, or in case of a bug, to an unrecoverable state11:06
wolfspraulyes but I am asking about what is desirable11:07
wolfspraulnot for you to think through technical details11:07
lekernelxiangfu: when you make a multi patch perf, click "save" on the control panel and it makes such a .per file11:07
wolfspraulI will play with the existing gui a bit more first, there are more features I don't know well yet.11:07
wolfspraullike 'performance autostart mode'11:07
wolfspraulas a product design goal, I somehow like "go back to what it did last"11:08
lekernelwell, don't reboot it then :)11:08
lekerneli'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 bearable11:09
wolfspraulthat'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.11:09
wolfspraulah I did in no way suggest to do this to cover up crashes11:09
wolfspraulI am talking about product design goals11:09
wolfspraulin fact as you pointed out (getting into an unrecoverable state), this 'go back' thing would require a rock solid foundation to be fun to use11:10
wolfspraulbut I am not asking you about technicalities, I'm asking about what is desirable for our users11:10
wolfspraulof course over time we will hear, if we ask and listen carefully11:10
wolfspraulbut we can also have some thoughts in advance :-)11:11
lekernelimo the next thing that should go away in the GUI is the control panel11:11
lekernelit looks ugly, makes people afraid and isn't intuitive11:11
lekernelI'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 them11:12
lekernelI think this is much more important than a small detail like the session system11:13
lekernelpeople will see that instantly11:13
wolfspraulok, understood11:13
lekernel#[~~{[#é!! what's worse than GNU/Autocrap? a customized GNU/Autocrap.14:20
lekernels/ppcbe/lm32 on all autocrap scripts ftw =]14:24
lekernelportability layer FAIL14:24
xiangfuhow the OSC configure in M1. it's receive data from which port?14:31
xiangfu7777 :)14:33
lekernelyes14:34
lekernelon udp14:35
lekernelhmm... why does libgd require pthreads?14:49
xiangfuis there a demo/sample show how "/variable" in OSC control works under M1 ?15:26
lekernelnot yet15:32
lekernelbut you can e.g. take one of the DMX patches and replace "idmx" with "iosc"15:32
kristianpauloh15:35
kristianpauli can use osc also to transfer raw data right?15:35
xiangfufour kinds of data (if I am correct, from the source code)15:36
kristianpaulnice15:36
xiangfulekernel: there are idmx1/2/3/4 , so I just replace them to iosc1/2/3/4?15:36
xiangfutesting15:37
lekerneliosc or osc... I don't remember15:39
lekernelthen they take a float, you can try with oscsend15:40
lekernelyou can also use the variable monitor15:40
xiangfuyes. I am using oscsend15:40
kristianpaulosc in flickernoise is a server or cliente mode?15:41
kristianpaulclient*15:41
xiangfuserver15:41
kristianpaulnice doc http://olivier.heinry.fr/public/heure-locale/heure-locale-en-public-April2011-1.pdf15:42
xiangfujust  install the "touchOSC" in my android phone.15:49
xiangfuthe touchOSC output format is like : http://pastebin.com/QyAjarkP15:49
xiangfuit is osc15:51
xiangfuhttp://en.qi-hardware.com/wiki/File:TouchOSC-control-m1-performence.ogv16:41
xiangfu(have to sleep. see you)16:41
lekernelcool vid16:55
kristianpaulindeed (video)17:20
kristianpaulxiangfu is ready for a party ;-)17:21
lekernelhttp://www.milkymist.org/mmone/milkyglow_large.png (7.8MB)17:22
kristianpaulnice pic, but kinda blur17:24
kristianpaulwell, not so blur, may be tricky zoom :-)17:26
methril_worklekernel, any news/work with gcc 4.6?17:30
methril_workwho is a gcc master?17:30
lekerneli'm not17:30
lekerneland tbh, don't really want to be one17:31
methril_worki would like to debug17:31
methril_workand get them compiled17:31
methril_worki don`t want to, but i would like to see gcc with full support :)17:31
lekernelotoh, 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 situation17:31
methril_worknice picture, this acrylic looks better17:32
methril_workok17:32
methril_worki see some rtems people dealing with all the newlib,gcc, binutils....17:32
methril_workdo you think they could help?17:32
lekernelyou can try asking around, but keep your hopes low17:33
lekernelif I were you i'd rather help with the LLVM port17:33
Action: kristianpaul likes pcc17:36
methril_worki don't know anything about LLVM (neither GCC)17:36
methril_workbut i have to deal with GCC17:36
methril_workwe need GCC for Linux17:37
lekernelok, then LLVM is clearly advantageous for you since it has documented internals17:37
lekernelGCC does not by FSF policy :=]17:37
kristianpauloh really? what about comunity support?17:38
lekernelthey get trolled by FSF people... hahaha17:38
kristianpaul:p17:38
kristianpaullekernel: whats the max trougput you achived with the uart core?17:39
kristianpaulwhat was*17:39
lekernelabout 230k17:39
lekernelthis uart design isn't meant to be fast17:40
lekernelmaybe you can use ethernet instead17:40
kristianpaulhmm i dint tested the last minimac2 revision yet17:40
kristianpaulbut seems i should do some ttcp tests..17:41
methril_workwell, lekernel thak you17:41
lekernelhaven't had any ethernet bug other than the PHY reset problem since I introduced minimac217:41
methril_worki'll do some more tests17:41
kristianpaulnice :-)17:41
methril_workand if i get tired of not finding anything, i'll try LLVM17:41
kristianpaulbrave guy :-)17:45
methril_work:)17:46
larscmwalle: why do we want deprecated syscalls?19:36
larscor is this just for the moment so uClibc works?19:36
mwallelarsc: mh? which ones?20:21
mwalleyou mean the defines?20:22
larscyes20:24
larsc#define __ARCH_WANT_SYSCALL_DEPRECATED20:24
mwalleiirc uclibc needs one of those20:25
larscok20:26
larscthe 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 look20:27
mwallelarsc: if it can be removed, i'll happy with that ;)20:36
lekernelhttp://www.milkymist.org/desktop/out.png (to replace flickernoise control panel)23:10
kristianpaulwhat is that? i mean still tmk?23:16
kristianpaulnot that bad... but hmm.. i dont get the m1 logo mean in the center of the screen23:17
kristianpauland the lined X23:17
kristianpaulbut still nice :-)23:18
--- Fri Apr 15 201100:00

Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!