2011-04-24 00:28 ha, intel + honeycomb,  later what.. 2011-04-24 00:28 ah, nice. only timer 0 and 1 seem to be used. seems that i can do a bit better than timing cache fills. 2011-04-24 01:09 good. now i know PCLK: it's 336 MHz/3 2011-04-24 01:11 ah, rtk hmm https://secure.wikimedia.org/wikipedia/en/wiki/Real_Time_Kinematic 2011-04-24 01:11 interesting. the time per GPIO change (set or clear) is 8.5 PCLK cyles. 2011-04-24 01:12 interesting topic for the centimetre-level accuracy lovers ;) 2011-04-24 01:15 ha ! http://unreasonablerocket.blogspot.com/ 2011-04-24 01:27 http://www.rakon.com/Products/Public%20Documents/Specifications/GRM8652%20Hardware%20applications%20V1%200.pdf tiny GNSS front end 2011-04-24 01:27 bah DNA.. 2011-04-24 01:27 s/DNA/NDA 2011-04-24 03:10 larsc: hmm, why do we use 32 bpp and not 16 bpp in the frame buffer ? 16 bpp wouldn't tax our meager memory bandwidth quite so badly 2011-04-24 04:01 wpwrak so you can display something over SPI-->UBB..>[vga connector???] 2011-04-24 04:02 blargh. it's no fun to make a video. so photos will have to do ... 2011-04-24 04:02 this is a VERY fun article about the 6502 design, and especially layout 2011-04-24 04:03 they got it right the FIRST time. amazing 2011-04-24 04:03 http://goo.gl/g4Zsw 2011-04-24 04:05 I'm quite impressed by the Milkymist article on Wikipedia :-) 2011-04-24 04:05 http://en.wikipedia.org/wiki/Milkymist 2011-04-24 04:05 it could go into much more depth in many areas, but it's a great start I think, should be safe from deletion for irrelevance or quality reasons, I would hope 2011-04-24 04:05 I am so old I remember when wolfspraul dismissed the idea of writing up Ben NN on wikipedia. ;) 2011-04-24 04:06 we all learn and grow and change 2011-04-24 04:25 wpwrak I'll look for your screen photos tomorrow. 2011-04-24 04:26 wolfspraul agree the Milkymist article is Most Excellent. congrats! 2011-04-24 04:28 rjeffries: you may want to take a coffee. they're just a moment away ... 2011-04-24 04:29 ok then 2011-04-24 04:30 I am wondering what the FPGA chip in MM costs in the 100 qty sharism is buying 2011-04-24 04:32 http://downloads.qi-hardware.com/people/werner/ubb/vga/ 2011-04-24 04:33 [commit] Werner Almesberger: video/video.c: pseudo-VGA output (test pattern only) http://qi-hw.com/p/ben-blinkenlights/b85ae15 2011-04-24 04:33 [commit] Werner Almesberger: video.c: working version, with screen grabber http://qi-hw.com/p/ben-blinkenlights/18f2957 2011-04-24 04:33 ca. 39 USD, all our prices are public as well 2011-04-24 04:33 http://en.qi-hardware.com/wiki/Milkymist_One_RC3_BOM 2011-04-24 04:47 wolfspraul is PCB 4 layer or more, and roughly what does it cost again in these modest quatities 2011-04-24 04:53 http://en.qi-hardware.com/wiki/Milkymist_One_RC2_BOM 2011-04-24 04:54 USD 24.87 2011-04-24 04:54 6-layer PCB 2011-04-24 04:54 ok the reason I asked was I did not see in on RC3 bom, thx 2011-04-24 04:55 because rc3 pcb has not been made yet 2011-04-24 04:55 in any case from my POV at current qty 1 price your margin is pretty thin 2011-04-24 04:55 understood 2011-04-24 04:55 you and your margins :-) 2011-04-24 04:55 If there is one thing I'm not worried about, seriously, it's competition from Ron Manufacturing Enterprises, Inc. 2011-04-24 04:55 :-) 2011-04-24 04:56 buxiness guys are such a total pain in the you know what 2011-04-24 04:56 yes you have NO FEAR in terms of me 2011-04-24 04:57 looking at bom items for these small runs tells you very little. best is to try out with some runs, then you learn a lot. 2011-04-24 04:57 yes prices drop a lot in volume 2011-04-24 04:57 keep in mind that in the end the raw materials for all this are still dirt cheap 2011-04-24 04:57 mostly what you pay for is people's time, knowledge, experience 2011-04-24 04:58 also yield, very important. don't forget. who owns the yield? 2011-04-24 04:58 if you ask that, I know you are serious :-) 2011-04-24 04:58 people who ask about bom first, ... 2011-04-24 04:58 :-) 2011-04-24 04:58 but naturally 95% or more ask about bom first 2011-04-24 04:58 I did the same a few years back. 2011-04-24 04:58 bom is all I have to look at. I was only curious as to the FPGA I had no idea the price range 2011-04-24 04:58 gotta start somewhere 2011-04-24 04:59 39 2011-04-24 04:59 not as much as I thought 2011-04-24 04:59 proprietary IC prices are largely impacted by strength of IP, target market/customer, etc. 2011-04-24 04:59 some people pay 10 USD, some 500 USD 2011-04-24 04:59 it all depends 2011-04-24 05:00 the IC itself, if you take out all investments (with you cannot, of course), is always just a few pennies 2011-04-24 05:00 nods 2011-04-24 05:01 so xilinx 'makes' 38.50 USD on this 2011-04-24 05:01 in a super simplistic calculation 2011-04-24 05:02 probably with high-end process nodes like 45nm in this case the contracts with Samsung also have a lot of back-and-forth payments when reaching this or that target 2011-04-24 05:02 they work on 28nm now, for the -7 generation 2011-04-24 05:02 by the way in higher volumes yiedl belongs to the assembly house they make educated guess the first time the see a design, iuf the yield is crappy next time you pay more 2011-04-24 05:03 in fact it is a partnership bewteen desgn engineering and the manufactuter 2011-04-24 05:04 all that matters to you is it costs you $39 and change 2011-04-24 05:04 (for thsi chip in this volume at this time) 2011-04-24 05:14 no comments on my vga ? sneef. 2011-04-24 05:16 hang on 2011-04-24 05:17 where is the link wpwrak? 2011-04-24 05:17 oh now I see I missed it 2011-04-24 05:20 amazing 2011-04-24 05:20 like an elephant that dances. amazing period 2011-04-24 05:21 I will admit I would not choose to read War and Peace on that display 2011-04-24 05:22 i could be improved a little by using two more signals for additional colors. right now, it's 3 bit color :) 2011-04-24 05:23 ah 2011-04-24 05:24 yeah, the horizontal resolution is faux-320. since the gpios are so slow, i only have one update cycle per pixel. in the ingenic cpus, you can't write a value directly to a port but you have to either set or clear. so i alternate set and clear commands. this means that the worst-case resolution is only 160 pixels. 2011-04-24 05:25 and even there i had to cheat. the timing isn't quite vga. my scan lines are about 10% longer. luckily, most monitors tolerate this. 2011-04-24 05:29 fascinating experiment. now I am off to bed. cu 2011-04-24 05:32 ah no, only one signal left for grey levels 2011-04-24 05:40 [commit] Werner Almesberger: Added schematic symbol for VGA DE15 connector http://qi-hw.com/p/kicad-libs/f35d48c 2011-04-24 06:01 [commit] Werner Almesberger: video/: added Makefile and schematics http://qi-hw.com/p/ben-blinkenlights/7d95fe8 2011-04-24 06:01 [commit] Werner Almesberger: video/README: documented sources and implementation quirks http://qi-hw.com/p/ben-blinkenlights/b11dc61 2011-04-24 06:01 [commit] Werner Almesberger: renamed "video" to ubb-vga http://qi-hw.com/p/ben-blinkenlights/3b7a7ca 2011-04-24 06:24 wpwrak: I see a lot of grey stripes in the video. is that on purpose or an artefact of the theora conversion? can you upload the .avi original from your camera? 2011-04-24 06:34 wolfspraul: yeah, tat's a feature of kdenlive :-( 2011-04-24 06:38 the original video has copyrighted background music (radio). i'll put it at a safe place ... 2011-04-24 06:38 (copyrighte) well, non-open 2011-04-24 06:41 upload it, I convert to ogg without sound, and delete the original 2011-04-24 06:41 how about that? 2011-04-24 06:45 yeah, had something similar in mind :) just via my server. the bottleneck is the upload anyway. 2011-04-24 06:51 http://www.almesberger.net/prv/MVI_1074.MOV 2011-04-24 07:34 nice, thanks 2011-04-24 07:34 http://en.qi-hardware.com/wiki/File:Ben_UBB_VGA.ogv 2011-04-24 07:34 looks pretty good, with the flickering light at the beginning it feels like a horror movie 2011-04-24 07:45 viric: yeah, i was running mplayer in sdl. It runs OK, when decoding mpeg2 video with libmad audio (pre-encoded for 320x resolution) 2011-04-24 07:46 viric: no, not mpeg2.. i encoded it with vcodec=mpeg1video:vpass=1:vbitrate=200 2011-04-24 08:47 anybody objects if i commit the new mplayer package to git already? 2011-04-24 08:47 we'd have to do some patching to remove patented codecs, before releasing any firmware containing it. 2011-04-24 08:53 i think the patented codecs should be rather disabled based on patented flag, but not removed 2011-04-24 08:56 kyak: of course.  just the current package doesn't do that yet.  so we won't be able to release without causing (patent) trouble. 2011-04-24 08:56 i'll commit anyway.  let's work out the detail in time before release. 2011-04-24 08:56 ok? 2011-04-24 08:57 configuring the ffmpeg that's build as part of mplayer looks a little hacky, btw 2011-04-24 08:59 sure, just commit it 2011-04-24 08:59 do you mean the "current" package that you are going to commit? 2011-04-24 08:59 cause the one already in git makes use of patented flag 2011-04-24 09:04 kyak: yeah 'current' is my working copy 2011-04-24 09:05 you can keep the parts in makefile where it is checking for patented flag.. or are you talking about ffmpeg mostly? 2011-04-24 09:06 kyak: the makefile is mostly untouched.  problem is the ffmpeg that's build now build by mplayer 2011-04-24 09:06 I'll commit, then have a look at whether i find a simple patch for the ffmpeg part. 2011-04-24 09:07 [commit] David Kühling: mplayer: use svn versions of mplayer plus mplayer-internal ffmpeg from git http://qi-hw.com/p/openwrt-packages/6a975d2 2011-04-24 09:07 here you are. 2011-04-24 09:07 perhaps we can base on the makefile of ffmpeg from openwrt and make a controllable build of ffmpeg of our own inside the mplayer build dir 2011-04-24 09:08 kyak: this is deeply intermingled, not sure that is easy.  mplayer doesn't even run ffmpeg's configure script. 2011-04-24 09:08 (afaics) 2011-04-24 09:09 god... are there some configure options of mplayer that can be passed to ffmpeg during build? 2011-04-24 09:09 kyak: easiest patch would be --disable-ffmpeg ? :) 2011-04-24 09:09 kyak: mplayer configure writes ffmpeg's config.h? 2011-04-24 09:09 ahh, found: 2011-04-24 09:09 --disable-decoder=DECODER disable specified FFmpeg decoder 2011-04-24 09:09 ... and so on. 2011-04-24 09:09 oh yes 2011-04-24 09:09 (from mplayer configure) 2011-04-24 09:10 this looks like what we need 2011-04-24 09:10 --disable-muxer : maybe we can disable the broken ffmpeg ogg demuxer? 2011-04-24 09:10 dvdk: i think it's for you to decide, you are the mplayer expert :) 2011-04-24 09:11 kyak: only unwillingly ) 2011-04-24 09:11 s/)/:) 2011-04-24 09:11 interresting how much energy is put into delivering crippled sw 2011-04-24 09:12 just my 2 cents (out of the perspective to have seen this all before) .. the support work would be much more bearable if you dont deliver mplayer at all instead of one which can only play half the stuff 2011-04-24 09:13 roh: we can only play quarter of the stuff anyway, due to nanonote's weak cpu :) 2011-04-24 09:13 roh: no problem to re-encode to your favourite format? 2011-04-24 09:13 dvdk: bwahahaha... its not 1996 anymore dude 2011-04-24 09:13 in fact, we can deliver mplayer with only ONE stuff.. due to necessity to decode to Ben's screen and capabilities 2011-04-24 09:13 roh: have to do it to not get wolfgang into any trouble on nanonote shipping (openmoko phones had these problems already) 2011-04-24 09:14 i.e. patent ligitation 2011-04-24 09:14 besides.. in reality there is neither the screen nor the audio out good enough for 'video' or 'music' . its ok for scummvm-sound tho 2011-04-24 09:14 dvdk: i know. i was working at openmoko 2011-04-24 09:14 roh: it has a stereo out.  good enough isn't it?  as good as my desktop-pc 2011-04-24 09:14 thats why i said.. dont ship broken sw. better not ship it at all. 2011-04-24 09:14 roh: in reality i watch tv shows on Ben connecting it to car's audio system, when the traffic is super hard 2011-04-24 09:15 screen size is debatable, but werner is working on a solution already :) 2011-04-24 09:15 i think an mplayer alternative would be to use a minimal player besed on liboggplay which is the demuxing/seeking framework that firefox uses. 2011-04-24 09:15 but still more wok. 2011-04-24 09:15 s/wok/work 2011-04-24 09:15 besides, i don't know why roh keeps insisting that mplayer is "broken" :) 2011-04-24 09:16 kyak: look at the mplayer sourcecode, then you'll understand :) 2011-04-24 09:16 kyak: ever looked at the code? 2011-04-24 09:16 two dudes, one thought. 2011-04-24 09:16 today somebody mentioned that there is a fork of mplayer now.. mplayer2. no mencoder anymore and they tried cleaning up the source. 2011-04-24 09:16 sounded like a project for somebody loving pain 2011-04-24 09:16 roh: saw that already. looks extremely nice.  but first things first :) 2011-04-24 09:17 why would i look into the code? it works, and nobody has offered an alternative 2011-04-24 09:17 roh: we're all loving pain, aren't we, spending our free time in front of the pc _working_ :) 2011-04-24 09:17 i use mplayer code a lot. as example how real-world-fileformats look like and what fields are where. and how not to write your code if you need it secure or maintainable... nice simd in ffmpeg still... 2011-04-24 09:18 kyak: it only works sometimes (unfortunately).  but still mplayer is extremely optimized and minimalistic (no threading etc., data flow optimized for cahces), so matches nanonote quite well 2011-04-24 09:18 dvdk: better than spending it sitting in an office being paid for killing time NOT working. 2011-04-24 09:18 roh: cool, do you currently hire :) 2011-04-24 09:19 dvdk: that's what i'm saying; the source code might be crappy, but it works better than anything else (for Ben?) 2011-04-24 09:19 dvdk: hehe.. no. but i know lots of people who have such jobs. and its not good for health. 2011-04-24 09:19 kyak: looks like configure enables most ffmpeg codecs by default, maybe we should rip that out and only manually enable codecs.  that keeps patents creeping in once we upgrade to newer svn revisions 2011-04-24 09:20 there was a 'beware of patents' switch somewhere 2011-04-24 09:20 dvdk: hey, let me try your advice :) 2011-04-24 09:20 roh: not any more 2011-04-24 09:20 morning viric 2011-04-24 09:20 roh:? 2011-04-24 09:20 guten tag 2011-04-24 09:20 roh: you know, mplayer/ffmpeg people already gave up on any unproductive stuff to kill their time. 2011-04-24 09:20 dvdk: the whitelist approach sounds reasonable 2011-04-24 09:20 you mean the flag is gone? 2011-04-24 09:21 nice. finally some realism *g* 2011-04-24 09:21 roh: looks like it.  mplayer release tarballs: also gone, too much work, doing release management :) 2011-04-24 09:21 i can understand.. who should maintain and test a code path nobody seriously uses? 2011-04-24 09:21 viric: try a few times, kyak also had a black screen on first tries.  be patient! 2011-04-24 09:21 I was trying to find that 'screenw' 'screenh' line you sent... I think you sent it already, but I could not find it in my mail box 2011-04-24 09:22 roh: if nobody uses it?  don't maintain it! :)  already fbdev:vidix hit that fate, just not working. 2011-04-24 09:22 viric: at that time, it helped me to wait around 1 minute :) 2011-04-24 09:22 ogg/ogm demuxer: similar fate. 2011-04-24 09:22 dvdk: well, the video *starts in black*... that makes it also a bad test :) specially when you get the floating point codecs 2011-04-24 09:22 viric: hehe.  yes nanonote put -ac tremor into the config file i guess. 2011-04-24 09:22 man i love this li-lo makita .... doing renovations in our new hackerspace.. and somebody brought a battery powered hammer-drill 2011-04-24 09:22 s/lo/po/&g 2011-04-24 09:22 dvdk: and I could not see any cpu usage difference between theora and fftheora 2011-04-24 09:23 viric: maybe depending on content.  it should be.  ffmpeg renders directly into the dma buffers, whil theora has an additinoal copy.  plus many other differences (cache usage etc.) 2011-04-24 09:23 http://www.amazon.com/Makita-BHR241-Lithium-Ion-Cordless-SDS-Plus/dp/B003WBS4CU 2011-04-24 09:23 MPlayer interrupted by signal 4 in module: decode_audio 2011-04-24 09:23 - MPlayer crashed by an 'Illegal Instruction'. 2011-04-24 09:24 grbml 2011-04-24 09:24 viric: huh? 2011-04-24 09:24 viric: tried -demuxer ogg? 2011-04-24 09:24 incredible. Playing it again, it works. 2011-04-24 09:24 I've the scaler working :) great 2011-04-24 09:24 cool to hear that. 2011-04-24 09:25 ouch. it stopped 2011-04-24 09:25 Trace/breakpoint trap 2011-04-24 09:25 viric: sounds like some corruption occuring. 2011-04-24 09:25 viric: fftheora vs. libtheora does it change anything? 2011-04-24 09:25 i fear i cannot give back that machine *g* 2011-04-24 09:25 viric: maybe try a different mplayer version? 2011-04-24 09:26 wait, uploading the version i used here, 2011-04-24 09:26 I'm using mplayer from yesterday 2011-04-24 09:27 you mean svn checkout? 2011-04-24 09:27 snapshot 2011-04-24 09:27 or the one you compiled yesterday ? :) 2011-04-24 09:27 yes 2011-04-24 09:27 I built it yesterday, from the snapshot of yesterday! :) 2011-04-24 09:27 this is what i used:  http://mosquito.dyndns.tv/david/nanonote/MPlayer-r33304.tar.gz 2011-04-24 09:27 includes ffmpeg 2011-04-24 09:27 MPlayer SVN-r33269-snapshot-4.5.1 (C) 2000-2011 MPlayer Team 2011-04-24 09:28 this is what mine says. 2011-04-24 09:28 according to the svn revision, mine is slightly older :) 2011-04-24 09:28 mine is r33304 with some git version from yesterday 2011-04-24 09:28 rerunning, again illegal instruction... grmbl 2011-04-24 09:28 (in decode_audio!) 2011-04-24 09:28 I'm trying fftheora. 2011-04-24 09:28 I don't know what it gets by default. 2011-04-24 09:28 trace/breakpoint trap again. In a different moment. Let's see 'theora' 2011-04-24 09:29 there is another tremor audio codec included with mplayer (not ffmpeg?), maybe this is broken and you're using it? 2011-04-24 09:29 bang. illegal instruction in decode_audio too. grrr 2011-04-24 09:29 I'm using "-ac tremor" 2011-04-24 09:29 yeah, there are two tremors, one is even mips-optimized? 2011-04-24 09:30 need to compare our ./configure output. 2011-04-24 09:30 # mplayer -ac help | grep trem 2011-04-24 09:30 tremor      tremor    working   OggVorbis audio  [tremor] 2011-04-24 09:30 viric: try -noaudio 2011-04-24 09:30 I'll use '-ao null' 2011-04-24 09:30 you may not be able to discern the two 2011-04-24 09:31 ok, same output for me. 2011-04-24 09:31 Using '-ao null', it decodes super-slow! 2011-04-24 09:31 try -noaudio? 2011-04-24 09:31 It does not know '-noaudio' 2011-04-24 09:31 hmm. 2011-04-24 09:32 I'll run with gb 2011-04-24 09:32 gdb 2011-04-24 09:33 OOMK. grmbl! 2011-04-24 09:33 maybe with gdbserver 2011-04-24 09:34 I'll build a gdb for the mips.. 2011-04-24 09:34 viric: does it not crash with sdl?  that it's the accel's fault. 2011-04-24 09:34 hm I use -vo fbdev when it works normally 2011-04-24 09:35 ok, so problem solved? accel is killing it? 2011-04-24 09:35 let me try. -vo fbdev2 2011-04-24 09:35 Maybe I never played the video that long. 2011-04-24 09:35 hmm. 2011-04-24 09:36 here it plays.... 2011-04-24 09:36 no crash. 2011-04-24 09:37 no crash at all without your driver. 2011-04-24 09:37 I may enable core dumps... 2011-04-24 09:37 maybe it maps the wrong memory for dma buffers? 2011-04-24 09:38 No idea 2011-04-24 09:38 ok, we may be able to see that by looking at /proc//maps 2011-04-24 09:38 some pictures appear... 2011-04-24 09:38 just pause mplayer before it crashes and cat that file to stdout. 2011-04-24 09:38 it looks like some race condition, according to the time of crash (always different) 2011-04-24 09:39 mplayer catches Illegal instruction and does not emit any core dump. grmlb 2011-04-24 09:40 I've the maps. so? 2011-04-24 09:40 q http://sprunge.us/ChZE 2011-04-24 09:40 can you upload to look at them? or mail? 2011-04-24 09:40 it's the last part 2011-04-24 09:41 viric: need the full file :) 2011-04-24 09:41 http://sprunge.us/POIR 2011-04-24 09:41 full file. 2011-04-24 09:42 viric: do you have swap at nanonixos? 2011-04-24 09:42 no 2011-04-24 09:42 ok, same here. 2011-04-24 09:43 I've lots of memory used, I don't know why 2011-04-24 09:43 xiangfu: ni hao! 2011-04-24 09:43 viric: hi 2011-04-24 09:43 xiangfu: I bought a chinese product long ago, and I found it recently. I don't know what it is. May you take a look and tell me? :) 2011-04-24 09:43 No latin script in it 2011-04-24 09:44 ok take a picture of it :) 2011-04-24 09:44 viric: memory mapping looks ok, afaics, so maybe it's not my fault? 2011-04-24 09:44 take a picture of the Chinese :) 2011-04-24 09:44 viric: one thing you still might try: 2011-04-24 09:45 viric: uncommenting these two lines in jz47xx_config_playback(), just to make sure we really don't have spurious dma operations: 2011-04-24 09:45     unmap_unused_phys(); 2011-04-24 09:45     sdram_close(); 2011-04-24 09:46 xiangfu: http://vicerveza.homeunix.net/~viric/tmp/prod.jpg 2011-04-24 09:47 dvdk: hm 2011-04-24 09:47 ok 2011-04-24 09:47 dvdk: can you post a '.patch' somewhere? :) 2011-04-24 09:47 wait... 2011-04-24 09:47 or I'll have to write a 'sed' operation that does that. 2011-04-24 09:48 http://mosquito.dyndns.tv/david/nanonote/jz47xx.patch 2011-04-24 09:48 hmm, needs to be applied from inside the directory, maybe need to change that.  wait... 2011-04-24 09:48 :) 2011-04-24 09:48 please. 2011-04-24 09:48 xiangfu: I even don't know the orientation of the picture :D 2011-04-24 09:49 viric: http://mosquito.dyndns.tv/david/nanonote/jz47xx-2.patch 2011-04-24 09:49 damn it. still wrong.  svn cannot produce quilt-conforming patches? 2011-04-24 09:49 no, it cannot 2011-04-24 09:49 ok, 3rd try. 2011-04-24 09:50 the 2nd went fine. 2011-04-24 09:50 applying patch /nix/store/z9i6n580lgky42dbgwyqzczvnyhzqw2r-jz47xx-2.patch 2011-04-24 09:50 patching file jz47xx_vid.c 2011-04-24 09:50 viric: it's one kind 'Seasoning', 2011-04-24 09:50 ah, nice. 2011-04-24 09:50 xiangfu: I sparse that over the food, and it's fine? :) 2011-04-24 09:52 viric: it have to used during the cooking. or before you start to cooking 2011-04-24 09:52 dvdk: same trouble. exactly. 2011-04-24 09:52 xiangfu: ahh perfect. 2011-04-24 09:52 viric: i hate it. 2011-04-24 09:53 xiangfu: does it mention a 'rotting date'? :) 2011-04-24 09:53 viric: but maybe not my fault.  just a race due to different timing (i really hope that). 2011-04-24 09:53 viric: mayb try the same source version i'm using here (see the -r33304.tar.gz) 2011-04-24 09:53 dvdk: you don't see the trouble at all? 2011-04-24 09:53 oh, got core dumped. 2011-04-24 09:54 viric: works rock-solid here.  i admit it's pretty hacky, but dma buffers are locked in memory, shouldn't overwrite your code. 2011-04-24 09:54 Program terminated with signal 5, Trace/breakpoint trap. 2011-04-24 09:54 #0  0x7fe076b8 in ?? () 2011-04-24 09:55 ah, wait, just looking at your maps.  where does 0x7fe076b8 reside? 2011-04-24 09:55 How can I know the maps in a core dump? 2011-04-24 09:55 dunno.  but if you run in gdb, the program won't quit and you can observe /proc/ after the crash. 2011-04-24 09:55 I can't run gdb and mplayer at once 2011-04-24 09:56 oomk. 2011-04-24 09:56 note that  0x7fe076b8 is not mapped in your example. 2011-04-24 09:56 viric: 24 months,  "check the surface for Production date" 2011-04-24 09:56 s/example/maps 2011-04-24 09:56 xiangfu: it's rotten for sure then. :) 2011-04-24 09:56 viric: i have an idea.  your stack is much smaller than mine, did you notice? 2011-04-24 09:56 dvdk: it looks like a stack address, looking at the old maps 2011-04-24 09:57 stack size              (kbytes, -s) 8192 2011-04-24 09:57 I don't know how big is your stack :) 2011-04-24 09:58 Inreasing to 16MB 2011-04-24 09:58 viric: but anyway, my code onlly uses about 16kB of stack and only once durin initialization (for d-cache flushing :) 2011-04-24 09:59 why sometimes it does not 'scale'? 2011-04-24 09:59 viric: huh? 2011-04-24 09:59 mplayer -vo cvidix -ac tremor -screenw 320 -screenh 240 2011-04-24 09:59 viric: you have to give -fs to make it scale and -screenw -screenh to tell it your screen dimension 2011-04-24 09:59 what I am forgetting? 2011-04-24 09:59 -fs 2011-04-24 09:59 ? 2011-04-24 09:59 aah 2011-04-24 09:59 or press 'f' during playback?  wouldn't try that, though :) 2011-04-24 09:59 MPlayer interrupted by signal 11 in module: video_read_frame 2011-04-24 09:59 it looks like 'random crashes' 2011-04-24 10:00 viric: uname -a? 2011-04-24 10:00 Linux BenNanoNote 2.6.32.27 #1 PREEMPT Thu Feb 24 12:46:39 CET 2011 mips GNU/Linux 2011-04-24 10:00 Linux nano 2.6.36 #1 PREEMPT Thu Mar 10 12:41:34 UTC 2011 mips GNU/Linux 2011-04-24 10:00 viric: maybe here's the problem? 2011-04-24 10:00 dvdk: If I take out the '-fs', it works just fine. but no scaling, ofc. 2011-04-24 10:01 viric: you mean it won't crash? 2011-04-24 10:01 it does not crash. 2011-04-24 10:01 viric: either timing, or in full-screen it writes beyond the bottom edge of the screen 2011-04-24 10:01 how does it look? where is the video placed? 2011-04-24 10:01 centered 2011-04-24 10:01 hmm. 2011-04-24 10:02 you could try -geometry 320x240+0+0 or something instead of -fs to see when it stops working 2011-04-24 10:03 -geometry 320x240+0+0 hangs 2011-04-24 10:03 well crashes, like with -fs 2011-04-24 10:03 try 320x120 etc. 2011-04-24 10:03 300x200 crashes too 2011-04-24 10:04 does it output some frames before crashing? 2011-04-24 10:04 yes for soem seconds 2011-04-24 10:04 256x144@0x0 works just fine 2011-04-24 10:04 viric: this would disable the scaler, try 256x100 2011-04-24 10:05 viric: maybe you just have a CPU with bad silicon ? :) 2011-04-24 10:05 haha 2011-04-24 10:06 256x100... 2011-04-24 10:06 maybe dma engine messess with other cache/ram accesess? i mean there is no pattern in the crashes. 2011-04-24 10:06 crash 2011-04-24 10:06 enabling the scaler increases ram bandwidth, i guess (has to read more pixels for interpolation) 2011-04-24 10:07 the kernel does not crash, at least. 2011-04-24 10:07 viric: it's surprisingly hard to crash :)  not even writing beyond the screen crashes it immedeately 2011-04-24 10:08 viric: should try with MPlayer-r33304.tar.gz, it could still be an mplayer bug due to different timing 2011-04-24 10:08 viric: playing from nand of from sd-card? 2011-04-24 10:08 from nand 2011-04-24 10:08 same here 2011-04-24 10:09 other than that enabling the scaler does not change *any* details how software accesses memory.  so cannot see a reason for memory corruptions.  only timing changes. 2011-04-24 10:09 'timing' of what? 2011-04-24 10:09 viric: scaling costs ram bandwidth, so software runs slightly slower. 2011-04-24 10:10 viric: scaler works in the background concurrently with sw. 2011-04-24 10:10 and that is properly semaphored' :) 2011-04-24 10:10 ? 2011-04-24 10:11 viric: it's producer-consumer, like a queue, so not much possibilities for mistakes. 2011-04-24 10:11 ah 2011-04-24 10:11 jz47xx_frame_sel() does the switching of buffers (i.e. 'semaphore') 2011-04-24 10:11 maybe 2.6.36 has problems with dma... 2011-04-24 10:11 viric: if it starts to defragment physical memory, you'd be in trouble. 2011-04-24 10:12 why would it? 2011-04-24 10:12 may I disable it? 2011-04-24 10:12 viric: don't know, but 2.6.38 has transparent huge page support, so might defragment.  never heared of such a thing other than that. 2011-04-24 10:12 viric: i don't even know if such a concept exists in linux kernel. 2011-04-24 10:13 i only know, that if the physical->logical address mapping changes for the dma buffers, we're screwed. 2011-04-24 10:13 but that's why i allocate them via mmap() with flag MAP_LOCKED 2011-04-24 10:13 ok 2011-04-24 10:14 maybe larsc can suggest something 2011-04-24 10:14 but all that is not really guaranteed, you know.  getting physical memory from user-space is just a hack after all. 2011-04-24 10:14 but even without scaling, isn't the YCrCb mapping to RGB using the gpu? 2011-04-24 10:15 larsc: has linux changed a lot from 2.6.32 to 2.6.36 about making a hack to mapping physical memory to process memory from userspace? 2011-04-24 10:15 viric: you're right, it's the same data-path just with less reads because no interpolation 2011-04-24 10:17 haha 2011-04-24 10:17 there is one ram read per pixel? 2011-04-24 10:17 this may be the culprit: ? 2011-04-24 10:17 per screen pixel 2011-04-24 10:17 https://bugzilla.redhat.com/show_bug.cgi?id=643426 2011-04-24 10:17 stack protection in 2.6.36? 2011-04-24 10:19 hm 2011-04-24 10:19 do you have the latest 2.6.36? 2011-04-24 10:20 I have the *released* 2.6.36 + patches from larsc 2011-04-24 10:20 I'll take 2.6.36.3, fine? 2011-04-24 10:21 I'll build it 2011-04-24 10:21 viric: that's beyond me.  why not use the kernel that.s released with the official openwrt/qi-hw fimrware? 2011-04-24 10:22 dvdk: bah, who uses openwrt? 2011-04-24 10:22 viric: just the kernel :) 2011-04-24 10:22 viric: or use the corresponding source snapshot. 2011-04-24 10:22 :) 2011-04-24 10:22 I just take the chance to get more problems 2011-04-24 10:22 Otherwise the nanonote would be useless 2011-04-24 10:23 viric: you got it, want to order more? 2011-04-24 10:23 problems? 2011-04-24 10:23 nananotes, bundled with problems 2011-04-24 10:23 :) 2011-04-24 10:23 no no 2011-04-24 10:25 And now... how to overwrite the kernel image without overwriting the rootfs. 2011-04-24 10:26 viric: just reflash the right part with usbboot? 2011-04-24 10:26 dvdk: wrt latest mail in ML 2011-04-24 10:26 viric: just rip the right part out of reflash_ben.sh 2011-04-24 10:26 about disabling cursor on ssh 2011-04-24 10:26 dvdk: usbboot had a bug about overwriting beyond the limits 2011-04-24 10:26 usbboot -c "nprog 1024 ${WORKING_DIR}/${KERNEL} 0 0 -n 2011-04-24 10:27 viric: not yet fixed? 2011-04-24 10:27 dvdk: I'm using escape sequences to disable cursor on fb in kexecboot 2011-04-24 10:27 may be this is more convient way 2011-04-24 10:28 Jay7: but it's the same problem, just relying on /dev/tty, isn't it? 2011-04-24 10:28 dvdk: put sequence on stdout :) 2011-04-24 10:28 yeah, with stdout being /dev/tty 2011-04-24 10:28         fputs("\033[?25l", f); 2011-04-24 10:28 where f is STDOUT 2011-04-24 10:29 jay7: i think KD_GRAPHICS might do more? like disabling scrolling?  also it restores the srceen when doing KD_TEXT afterwards. 2011-04-24 10:29 this will disable cursor on controlling terminal 2011-04-24 10:29 yeah, and /dev/tty is aways the controlling terminal :) 2011-04-24 10:30 when you running mplayer via ssh your pty will be controlling terminal :) 2011-04-24 10:30 dvdk: xiangfu was in charge. I hope he fixed it already. 2011-04-24 10:31 (quite long ago) 2011-04-24 10:31 jay7: that's the problem, with your code and with mine.  there is some ioctl to map framebuffer to terminal, but too much hassle... 2011-04-24 10:31 but ioctl can't disable cursor on pty as I understand 2011-04-24 10:32 so I'm using esc seq which is working there :) 2011-04-24 10:32 jay7: but that's no use anyway, since pty != framebuffer 2011-04-24 10:32 ah.. seems I understand what you mean 2011-04-24 10:32 dvdk: I don't use any reflash_ben :) nanonixos does not require rootfs reflashing for updating the OS ;) 2011-04-24 10:32 this will disable cursor on ssh but not on fb 2011-04-24 10:33 jay7: btw same with ioctl. 2011-04-24 10:33 yes, but ioctl will disable cursor on fb but not on ssh :) 2011-04-24 10:33 hm.. may be call both? :) 2011-04-24 10:33 jay7: i guess ioctl() is a superset of esc 2011-04-24 10:34 iirc, that ioctl is applicable only on linux console 2011-04-24 10:34 or at least tty 2011-04-24 10:34 jay7: well, but that's what i'm coding for, no video output via ssh :) 2011-04-24 10:34 I should re-read that docs 2011-04-24 10:34 libcaca ;) 2011-04-24 10:35 jay7: already supported by mplayer ? :) 2011-04-24 10:35 mplayer -vo aa 2011-04-24 10:35 I just have same problem with kexecboot 2011-04-24 10:36 e.g. you may run it with fb UI from serial console 2011-04-24 10:37 then it's hard to guess fb<->tty mapping 2011-04-24 10:42 well, afk for some hours 2011-04-24 10:44 cu 2011-04-24 10:45 kyak: is current multimedia/ffmpeg package  really patent free? 2011-04-24 10:45 kyak: i guess not: 2011-04-24 10:46 there is no 'patent free' 2011-04-24 10:47 we work this from practical threats backwards 2011-04-24 10:47 that means, to my current knowledge, we should stay away from MP3 and anything from the MPEG LA 2011-04-24 10:47 FFMPEG_DECODERS=mp3, mpeg2video wmav1 h264 2011-04-24 10:48 kyak: ok, somhow ffmpeg Makefile pulls per-codec flags CONFIG_FFMPEG_ENCODER_* ? where are they described? 2011-04-24 10:48 wolfspraul: that's what i meant. 2011-04-24 10:48 ah, nice, there's a Config.in  now i understand how this is supposed to work. 2011-04-24 10:49 our best protection is that patent lawsuits are expensive, and that there is always the (small) chance that due to a lawsuit, a patent gets declared invalid 2011-04-24 10:49 that's pretty much all that is holding the parasites back 2011-04-24 10:50 then of course the (still) golden 20 year rule, even if we make it a 25 year rule to be safe :-) 2011-04-24 10:50 wolfspraul: being a corporate entity really makes life difficult here. 2011-04-24 10:51 wolfspraul: i mean i can host mplayer on my dyndns server and nobody would ever come after me :) 2011-04-24 10:51 the law is still impartial, in the major markets. so worst case you have to become a patent troll and make it back, even if from someone else :-) 2011-04-24 10:51 wolfspraul: that's what samsung is doing against apple currently.  aaah, i hate it. 2011-04-24 10:51 I cannot imagine that such hosting could cause you practical trouble, never heard of such a case at least. 2011-04-24 10:52 wolfspraul: but while they still each other, nanonote can strive for world domination. 2011-04-24 10:52 s/still/sue 2011-04-24 10:52 wolfspraul: I'm a not-for-profit private person, no chance under german law. 2011-04-24 10:53 yes sure, like I said I focus on real threats, not fear. 2011-04-24 10:53 let's take out mp3, mpeg4, h.264 2011-04-24 10:54 wolfspraul: and windows media, and ac3, and... only vorbis, flac etc. as far as i see., also mpeg1 2011-04-24 10:54 Ogg Theora is by now such a hopeless loose that if we are lucky we stay under radar. 2011-04-24 10:54 looser 2011-04-24 10:54 if anything the next big battle will be over WebM 2011-04-24 10:55 let the lawyers make their keyboards crack over that one... 2011-04-24 10:55 wolfspraul: if they create a patent pool over Theora, i'm going amok. 2011-04-24 10:55 who is 'they'? 2011-04-24 10:55 many people are creating patent pools 2011-04-24 10:55 wolfspraul: over theora? mpegla is trying to do that just now, afair. 2011-04-24 10:55 but it will not be worth to go after Theora, because Theora users are too poor 2011-04-24 10:55 wolfspraul: but i mean it's already in firefox. 2011-04-24 10:56 well let's see. and meanwhile the clock keeps ticking. 2011-04-24 10:56 wolfspraul: so that gives theora quite some market share. 2011-04-24 10:57 I doubt that, but I don't care either we can build our thing. 2011-04-24 10:57 what's the best guess - how many of the world's tech patent lawyers are currently full-time on the smartphone front? 2011-04-24 10:57 must be thousands of them 2011-04-24 10:58 writing and writing and writing. and charging someone. 2011-04-24 10:58 wolfspraul: and who writes the law?  more lawyers :) 2011-04-24 10:59 I feel pretty good about our patent strategy right now. 2011-04-24 10:59 can somebody help to list the codecs that are ok to go into the firmware? 2011-04-24 10:59 ffmpeg gives us: 2011-04-24 11:00 oh my god that list is too long for irc. 2011-04-24 11:00 yes 2011-04-24 11:00 white-list is better 2011-04-24 11:00 mp2 is arguably ok btw, or so I read 2011-04-24 11:00 ogg 2011-04-24 11:00 flac 2011-04-24 11:00 mpeg1 and mp2, yes the xiph stuff i know. 2011-04-24 11:01 what else do we need? 2011-04-24 11:01 the codecs used on mobile phones amrnb etc. are ok ?  dunno 2011-04-24 11:01 h261 should be ok? 2011-04-24 11:01 don't know 2011-04-24 11:01 wait until someone wants them 2011-04-24 11:01 ok, pragmatic. 2011-04-24 11:02 but what about demuxers? no patents on them?  only allow mpeg, avi, ogg, mkv? 2011-04-24 11:03 don't know. like I said I would add things case by case as needed. 2011-04-24 11:03 seems Ogg is a good starting point 2011-04-24 11:04 then FLAC, seems popular on some p2p sites and should be patent-safe 2011-04-24 11:04 wolfspraul: ogg alone won't help much, very limited container.  mkv is open-source and used by webm, so should be ok, too 2011-04-24 11:04 that's all I can tell you about 2011-04-24 11:04 great, you know this much better than me :-) 2011-04-24 11:04 of course, flac 2011-04-24 11:04 I can only say - whitelist, case by case upon request, and then we look into the threat situation 2011-04-24 11:04 wolfspraul: already patched configure to not include codecs by default 2011-04-24 11:05 start with zero, then whitelist 2011-04-24 11:05 great 2011-04-24 11:05 ok, that's a short list of codecs to enable :) 2011-04-24 12:16 wolfspraul: (horror movie) heh, nice idea ;-) alas, the part where the things is shown in action is very short compared to the rest. not sure if my cutting improved that, though 2011-04-24 12:47 wpwrak: (video)you like like make suspense !! 2011-04-24 12:49 that room light switching was misterious.. actually i get cautght first by the "OPEN" green msg at the left :) 2011-04-24 12:58 hmm suspiciously the ben lcm get white just in the time it is showing up in the big screen, is it  light issue or?.. 2011-04-24 13:06 Before the dvdk code.... how was the video playing in the nanonote? 2011-04-24 13:06 How could it be usable? 2011-04-24 13:08 kristianpaul: (white screen) that's just when i turn off the lcd clock. then the display fades. i need to turn off lcd refresh because it would take away precious bus bandwidth. and it would also add noise to my timing. 2011-04-24 13:12 ah ok 2011-04-24 13:13 wolfspraul: The nanonote plays VP8 video just fine! 2011-04-24 13:15 :o 2011-04-24 13:15 I've just encoded a video, and it even takes less cpu than theora decoding 2011-04-24 13:16 encoded in the PC, played in the nanonote. 2011-04-24 13:18 But I see flicking 2011-04-24 13:19 viric: you mean in terms of including vp8 in the whitelisted codecs? 2011-04-24 13:19 wolfspraul: yes 2011-04-24 13:19 I think it should be fine, right? I am not aware of any agressor there, right now. 2011-04-24 13:19 google says it's caring that there are no patent infringement in it 2011-04-24 13:19 there's also dirac, which for some reason seems to get little attention but technically is not bad 2011-04-24 13:20 sure, let's whitelist it then :-) [vp8] 2011-04-24 13:20 isn't it for some peculiar bandwidth? 2011-04-24 13:20 very low bandwidth, or so 2011-04-24 13:20 I forgot its advantadges 2011-04-24 13:21 no I think it's general purpose 2011-04-24 13:21 ah 2011-04-24 13:21 just no big corporate giant behind it 2011-04-24 13:21 http://en.wikipedia.org/wiki/Dirac_%28codec%29 2011-04-24 13:22 it looks like dirac requires a FPU 2011-04-24 13:24 no idea, it just came to mind when you mentioned vp8 as another potentially whitelisted codec 2011-04-24 13:24 I have never once seen dirac in use, anywhere :-) 2011-04-24 13:31 VP8 should be about as safe a google money :) 2011-04-24 13:31 'google money'? 2011-04-24 13:32 viric: google are trying to push that codec. if someone got sued over it and lost, that would be very very bad press for google. 2011-04-24 13:33 btw, mplayer seeks perfectly in matroska containers, but it crashes on ogg containers 2011-04-24 13:33 wpwrak: I agree 2011-04-24 13:33 that's my concern over VP8, that it is Google. This will be hashed out in the old boys club between Google, MPEG, Apple, Microsoft, etc. 2011-04-24 13:34 viric: so if we'd run into problems with it, it's very likely that google would try to help. particularly given that qi-hw's business ethics are about as evil as mother theresa's, so it would look even worse. 2011-04-24 13:34 well 2011-04-24 13:34 wolfspraul: yes, it may get you drawn into a battle, that's true 2011-04-24 13:34 mother theresa is not a very good example I suppose 2011-04-24 13:34 I wouldn't expect one dime of support, or one tear, for that kind of logic. 2011-04-24 13:34 She is famous for his war against gays 2011-04-24 13:35 viric: (mother theresa) in public opinion ;-) 2011-04-24 13:35 this is not how things work in the real world 2011-04-24 13:35 anyway, we see where VP8 goes. at this moment I agree we can consider it to be a free codec. 2011-04-24 13:36 yes 2011-04-24 13:36 wolfspraul: naw, if someone got burned for using VP8, others would shun it too. that would be bad for google's investment into it and the value they expect it to have. 2011-04-24 13:36 fine but there are dozens of players, who knows who cares about what. 2011-04-24 13:36 many of them will not give a damn about someone else's reputation 2011-04-24 13:37 but we should give VP8 the benefit of the doubt, otherwise we are just in FUD land ourselves, cannot operate like that... 2011-04-24 13:37 hey, many may not even give a damn about their own reputation, as long as they get filthy rich 2011-04-24 13:37 that wouldn't be unheard of, I think is safe to say :-) 2011-04-24 13:39 wolfspraul: (reputation) what i mean is that qi-hw would look 100% the victim. if, say, microsoft got burnt over vp8. half the world would celebrate and the rest would say that they can very well help themselves. so there would be much less incentive for google to lend a helping hand. 2011-04-24 13:46 I think in politics you celebrate victory strictly only after it's really over. Until then, even 1 second before the end, expect any dirt from any direction :-) No, I wouldn't count on anything in such a scenario. 2011-04-24 13:47 and I wouldn't want to be in it even, that's why I still prefer peaceful and more or less forgotten (by the mainstream) Ogg Theora... 2011-04-24 13:49 I think several people emailed google about their vp8 ic cores - no response 2011-04-24 13:49 wolfspraul: with ogg, you'd have the whole free software world up in arms. that may not be too bad either. 2011-04-24 13:49 correct 2011-04-24 13:49 wolfspraul: but yes, staying under the rader is a good strategy as well 2011-04-24 13:50 stay close to home, don't venture too far 2011-04-24 13:50 if you really want to pick a fight with Google, Apple, etc. first thing you need to get in touch with high-profile lobbyists, high-profile lawyers, high-profile anything 2011-04-24 13:50 and why would they even want to talk with you? they have their own agenda. and so on... 2011-04-24 13:50 bah 2011-04-24 13:52 maybe you could pull a groklaw and do it all grass-roots, but that kind of thing is rare, and even groklaw is shutting down now 2011-04-24 13:53 that was a strange coincidence of forces to overlap from one field (free software) into another (law). but you should not count on this happening again, at least I wouldn't. 2011-04-24 13:53 so you may be crushed, and nobody cares 2011-04-24 13:53 wolfspraul: all i'm saying that it would hurt google if someone lost a lawsuit over vp8. in terms of reputation ("i trusted google and lost"), in terms of discrediting their technology and their assurances ("it's not as safe as they claimed"), and perhaps also in terms of establishing a precedent. so it would only be logic if google tried to help you win that case. 2011-04-24 13:53 that's happening every day, thousands of times 2011-04-24 13:54 only if you connect it to a pr campaign 2011-04-24 13:54 and a successful one 2011-04-24 13:54 wolfspraul: "copyleft hardware company sued over VP8" that pr writes itself ;-)) 2011-04-24 13:54 make that "Google's VP8" 2011-04-24 13:54 I'm telling you it's all work. 2011-04-24 13:55 it's not like you or me are the loudspeaker of the world, and the other 7 billion are waking up wondering each day what we have to tell them today 2011-04-24 13:55 I would never believe in vp8 hoping that if there was a problem, Google would come help me. 2011-04-24 13:55 wolfspraul: no, but everyone who is contemplating the use of VP8 because of its supposed patent-free state would want to listen in this case 2011-04-24 13:56 only that I say "nice story, google pr team" :-) 2011-04-24 13:56 yes, but getting that message out is hard work in itself 2011-04-24 13:56 I'm not saying it's impossible, I understand you. 2011-04-24 13:56 but it will not happen by itself, and there are many strategies. 2011-04-24 13:56 google may also distance themselves from you 2011-04-24 13:56 if you even get them to issue 1 press release including your name 2011-04-24 13:57 "this case is about XYZ, not about VP8." 2011-04-24 13:57 what do you do then? 2011-04-24 13:57 that press release will be picked up globally 2011-04-24 13:57 you counter it saying "no!" 2011-04-24 13:57 :-) 2011-04-24 13:57 ha ha 2011-04-24 13:57 I want to see how that continues :-) 2011-04-24 13:57 wolfspraul: you should probably contact them before making a press release :) 2011-04-24 13:58 no I meant them, I'm just randomly suggesting another approach for Google, the "that's not our stuff" approach. 2011-04-24 13:58 they won't even do you the favor of listing your name in their statement 2011-04-24 13:58 wolfspraul: sure, they can do that. but it may make them look even worse. 2011-04-24 13:58 may 2011-04-24 13:58 but their loudspeaker first of all is 1000 times louder than yours 2011-04-24 13:58 they will first try the easy thing to get over this 2011-04-24 13:58 they are fighting with stuff every day, they also need to keep their desks clean 2011-04-24 13:59 wolfspraul: do you think they have lawsuits over VP8 going on at the moment ? 2011-04-24 13:59 hmm. pure speculation. 2011-04-24 13:59 you might think that some lawyers somewhere are looking at this, for sure. 2011-04-24 14:00 maybe some are collecting evidence, preparing a case 2011-04-24 14:00 there is a lot you can do before 'lawsuit', i.e. going to a public court 2011-04-24 14:00 I'm sure Google's legal time has ongoing VP8 related work 2011-04-24 14:01 I trust Google here actually. 2011-04-24 14:01 they want this thing to 'just work' so they can spread their ads. 2011-04-24 14:01 will Apple/Microsoft really go all-in over this? no idea. just random speculation. 2011-04-24 14:01 right now it seems the smartphones wars keep them busy 2011-04-24 14:04 yeah. a good way to occupy the giants :) 2011-04-24 14:04 I am sure there are private attempts under-way for VP8 licensing arrangements. 2011-04-24 14:04 that's pretty much a given 2011-04-24 14:04 the MPEG LA will 'suggest' this or that to Google 2011-04-24 14:04 I think that we can be sure of. 2011-04-24 14:05 mostly they want money, not go to court with all sorts of pesky rules. SO those licensing negotiations may drag on for years. 2011-04-24 14:06 Isn't it simply nice for quite all the parties (apart from the patent owners that want revenue)? 2011-04-24 14:06 as a side effect of the licensing negotiations they can start to create documents/paper-trail for going to court later, but that's several steps later due to the uncertainties once they do that 2011-04-24 14:06 VP8 decoderes in hardware, in software, all for free for everyone. 2011-04-24 14:07 viric: keep in mind how the 'patent protection' works 2011-04-24 14:07 I love to explain it to you. 2011-04-24 14:07 :D 2011-04-24 14:07 it's a way for all of us to become rich 2011-04-24 14:07 we can sell the same thing many times 2011-04-24 14:07 nobody 'owns' anything 2011-04-24 14:07 it's a form of communism actually 2011-04-24 14:07 so it works like this 2011-04-24 14:07 on your website, you call your friends to submit 'patents' to you that make VP8 a 'safe' technology 2011-04-24 14:08 when you have a whole stack of such patents, you offer all VP8 users the safety of your protection by virtue of a payment into your bank account 2011-04-24 14:08 that's all 2011-04-24 14:08 for those that don't understand the beauty of your protection, your stick are the public courts 2011-04-24 14:08 you can do this 2011-04-24 14:09 Do you think companies are not starting to put vp8 on their devices afraid of something? 2011-04-24 14:09 and if Werner likes your business model, he can start too, asking his friends to submit, creating another 'safety' pool, and charging the same people you are charging already 2011-04-24 14:09 you can even sell your customer list to him! 2011-04-24 14:09 wolfspraul: you think that's the plan behind OIN and such ? 2011-04-24 14:09 there's more and more money everywhere, can you see it? 2011-04-24 14:09 no more house flipping 2011-04-24 14:09 let's get into patents now 2011-04-24 14:09 I've not understood clearly 'my role', 'my website', and all that in the explanation... I may need more words 2011-04-24 14:10 I don't understand 'submit patents' either 2011-04-24 14:10 ok I was just kidding anyway 2011-04-24 14:10 :) 2011-04-24 14:10 that 'submit' can be left very undefined 2011-04-24 14:10 you can run the whole scheme on pure fear 2011-04-24 14:10 the power of words 2011-04-24 14:10 when you write to your customers, you don't need to tell them exactly which patents you own 2011-04-24 14:10 you just need a good name and logo 2011-04-24 14:10 viric: which country do you live in? 2011-04-24 14:10 So, I would be selling some assurance that the payer will not be infringing anything 2011-04-24 14:11 yes! 2011-04-24 14:11 ok 2011-04-24 14:11 then I got it 2011-04-24 14:11 that they are not infringing on the intellectual property of you and your friends 2011-04-24 14:12 wolfspraul: I live in Catalonia, but most governments in the world won't recognize it as a "country" by internationally agreed legal terms. 2011-04-24 14:12 wolfspraul: and thus I'm counted as a Spanish citizen 2011-04-24 14:12 regardless of my opinion. 2011-04-24 14:12 viric: no, you can't sell an assurance against infringing on anything. you can sell an assurance that you won't go after them, though. whether they accept or not depends on how dangerous they think you are. see SCO and those (few) licenses they sold. 2011-04-24 14:12 wpwrak: ah clear. ok. 2011-04-24 14:13 yes, my wording may not have been very precise. 2011-04-24 14:13 and SCO probably shows you the limits of the model, I agree with Werner. 2011-04-24 14:13 I don't understand OIN, no idea. 2011-04-24 14:14 let's hope Google can keep VP8 free 2011-04-24 14:14 even if they drag out any public lawsuits for a few years, with endless licensing negotiations - fine by me 2011-04-24 14:14 and Google advertised itself as assuming responsabilities if VP8 infringes any patent, proposing its own lawyer forces to protect VP8 users? 2011-04-24 14:14 Google cannot do that 2011-04-24 14:14 Google has no power over the patent system. 2011-04-24 14:15 lawyer forces 2011-04-24 14:15 Google will never ever lend out their high-paid legal team to support some Joe Doe in a patent case. 2011-04-24 14:15 So if someone gets sued for VP8 usage infringing patents, google lawyers will come as help 2011-04-24 14:15 not in a million years 2011-04-24 14:15 :) 2011-04-24 14:16 Is google using vp8 anywherE? 2011-04-24 14:16 I remember youtube used h264 in its html5... 2011-04-24 14:16 yes I think they are migrating quite strongly, no? 2011-04-24 14:16 I don't remember youtube switching from h264 to vp8 2011-04-24 14:16 maybe it happened 2011-04-24 14:16 I don't know 2011-04-24 14:17 They are closing google video, that's true. I received a letter as a google video uploader about that 2011-04-24 14:17 The first brave user of vp8 should be google itself. But I don't know how brave it is by now :) 2011-04-24 14:18 it's a very respected codec, remember it was bought from a company with quite some history 2011-04-24 14:18 it's a solid option, for sure 2011-04-24 14:18 I mean brave related to patents 2011-04-24 14:18 yeah well. that's outside of Google's control mostly. 2011-04-24 14:18 they are an attractive target because they have money. 2011-04-24 14:18 But it would look strange, if Google said VP8 is patent free and Google itself was not using it 2011-04-24 14:18 wolfspraul: why should google not offer legal advise ? what they can't do is offer to just compensate for all damages, otherwise you'd have trolls going after even the least small shop, hoping for big goolg emoney 2011-04-24 14:19 GRrr how to measure the battery left in the nanontoe? 2011-04-24 14:19 wpwrak: he, correct. I see now you start to think around some corners too :-) 2011-04-24 14:19 I have no idea, it's all speculation. 2011-04-24 14:19 I would never for one second hope that Google helps me with _ANYTHING_ if I have a problem. 2011-04-24 14:19 if you want to believe that, go try and we find out... Maybe I'm wrong. 2011-04-24 14:20 wolfspraul: well, it's always safer to not count on getting help 2011-04-24 14:20 and like you also noticed now - they have to be careful. 2011-04-24 14:20 there are lots of setups 2011-04-24 14:20 Grr I don't have /sys/class/power_supply/battery in 2.6.36.3 2011-04-24 14:20 wolfspraul: but in this sort of case, it seems that it would be to google's disadvantage if you lost a lawsuit over their codec 2011-04-24 14:20 you create a small company, I sue you. google helps you. After some more twists we both get rich from google money :-) 2011-04-24 14:21 if you think that kind of thing cannot happen, well... 2011-04-24 14:21 if there even were a 0.001% chance that it might work, someone will try 2011-04-24 14:21 wolfspraul: yes, of course. or you sell a ben with all codecs under the sun, including vp8. then sisvel knocks on your door for mp3 and you run to google crying about vp8. 2011-04-24 14:22 I want to stay out of all this. 2011-04-24 14:22 I want to make products that work, build a customer base, grow it. Have real users. etc. 2011-04-24 14:22 wolfspraul: i note with approval that you've been thinking of ways to improve the financial situation of sharim ;-) 2011-04-24 14:23 wolfspraul: create a sister company that takes care of the legal issues, suism.cc ;-) 2011-04-24 14:24 :-) 2011-04-24 14:26 the first product would not be the ben nanonote but the qizha patent pool :) 2011-04-24 14:26 hey, who understands chinese IP laws anyway ? a golden opportunity for a reign of FUD ;-) 2011-04-24 14:32 hahah 2011-04-24 14:52 trollism.cc. I might actually like to have that one.... 2011-04-24 14:54 http://mimiandeunice.com/2010/09/06/lawyerarchy/ 2011-04-24 14:54 jumo.cc ? 2011-04-24 14:54 (according to google translate, "ju mo" is chinese for "troll") 2011-04-24 14:54 darn. already taken. 2011-04-24 14:56 hmm, i don't think they taste so good. i'd just throw them away, with the other kitchen garbage :) 2011-04-24 14:57 let the rats and stray dogs have some nice meal, too 2011-04-24 15:55 viric: done some more benchmarking?  how much is vorbis decoding costing us? 2011-04-24 15:55 dvdk: ~50%, audio+video for bbb.ogv 2011-04-24 15:56 dvdk: ~40% for vorbis+vp8+mkv 2011-04-24 15:56 for the same size. 256x144 2011-04-24 15:56 viric: and the audio part?  we can speed audio up a little, albeit at cost of lower quality 2011-04-24 15:56 viric: already mailed, asking how you encoded  the video. 2011-04-24 15:56 ah wait, the vorbis+vp8+mkv test has 64kb/s audio 2011-04-24 15:57 not fair, I imagine. I think bbb.ogv has a higher rte 2011-04-24 15:57 rate 2011-04-24 15:57 no bbb.ogv has quality=0 i.e. 55-65kb/s 2011-04-24 15:57 ah ok 2011-04-24 15:57 viric: encode by quality, not bitrate.  bitrate constraints are bad for ogg and theora 2011-04-24 15:58 how did you encode?  standard ffmpeg? 2011-04-24 15:58 so, basically... 'ffmpeg -vcodec libvpx -acodec libvorbis -ss 256x144' 2011-04-24 15:58 The rest, filenames. 2011-04-24 15:58 I even did not specify any quality :D 2011-04-24 15:59 The original video is x264, 640x360 15fps 500kbps, 64kbps audio 2011-04-24 15:59 audio in AAC 2011-04-24 16:00 dvdk: I thought '-v X' was for setting the quality, and I later saw it was the verbosity level. hehe 2011-04-24 16:00 ok, so i need libvpx or is that ffmpeg-internal? 2011-04-24 16:01 what size has the resulting file? 2011-04-24 16:01 dvdk: (ffmpeg makefile) yes, they use that nice Config.in trick 2011-04-24 16:01 tried to encode for full-screen 320x176 or sth? 2011-04-24 16:01 1h30m, 130MB 2011-04-24 16:01 kyak: teh new mplayer makefile won't be that nice, though :)  well not in the first version, anyways 2011-04-24 16:01 ah no wait. This is my last test at 320x180 size. 2011-04-24 16:02 dvdk: btw, there is flickering 2011-04-24 16:02 viric: about 2MB/minute, that's about as good as ffmpeg2theora -v8 2011-04-24 16:02 viric: from the accel or from the encode? 2011-04-24 16:02 dvdk: it's nice enough as long as it works ;) 2011-04-24 16:02 I can't say. 2011-04-24 16:03 viric: there may be minimal frame tearing due to video refresh rate != lcd refresh rate.  but it's hardly noticeable. 2011-04-24 16:03 The video I encode has a scene at the beginning that shows the flickering very clearly 2011-04-24 16:03 viric: only on NN or also on pc? 2011-04-24 16:04 only on NN 2011-04-24 16:04 I may send you the first seconds 2011-04-24 16:06 http://vicerveza.homeunix.net/~viric/tmp/prova-flickering.mkv 2011-04-24 16:06 viric: not even sure my mplayer build can decode it, but good for testing 2011-04-24 16:06 ah, CGA is not QVGA.. 2011-04-24 16:07 yeah README already explain why.. 2011-04-24 16:07 It's about a documentary on Kissinger :) 2011-04-24 16:07 viric: it says 'video codec: ffodivx ffmpeg mpeg-4' 2011-04-24 16:07 dvdk: :D right. I thought ffmpeg would 'copy' 2011-04-24 16:08 -acodec copy -vcodec copy ? 2011-04-24 16:08 I set that, and it outputs divx 2011-04-24 16:08 ah now 2011-04-24 16:08 dvdk: redownload 2011-04-24 16:09 (I needed '-vcodec copy -acodec copy' *before* the -i file) 2011-04-24 16:10 still the same 2011-04-24 16:10 eh? 2011-04-24 16:10 ah 2011-04-24 16:10 now 2011-04-24 16:10 ok.  ffvp8 2011-04-24 16:10 :) 2011-04-24 16:11 dvdk: I noticed the horizontal artifacts at some lines 2011-04-24 16:12 And on sharp edges, I can also notice (unfortunately) the peculiarity of the nanonote LCD 2011-04-24 16:16 linphone-nox a voip client for the nanonote? 2011-04-24 16:18 Talking about the packages, why is cdparanoia available for the nanonote. Is a CD-Drive extension planned ? ;P 2011-04-24 16:19 LunaVorax_mini: you can use it through network block devices (nbd) :) 2011-04-24 16:19 viric: this looks like frame tearing 2011-04-24 16:19 viric: when i press pause, i see no artifacts 2011-04-24 16:19 dvdk: about what? 2011-04-24 16:20 viric: looks like vp8 needs so much ram bandwidth, that screen redraws are lowed down? 2011-04-24 16:20 viric: your example video 2011-04-24 16:20 oh really viric :o I didn't knew that 2011-04-24 16:21 I used nbd long ago, when I used to have only one machine in the LAN with a DVD drive, to play DVD videos :) 2011-04-24 16:21 dvdk: I've not played that 320x180 video in the nanonote. I only played a 256x144 version of it 2011-04-24 16:22 dvdk: maybe 320x180 is too much for the nn? 2011-04-24 16:22 viric: looks ok, just need some time at the start of the video to get to speed (tlb misses etc.) 2011-04-24 16:22 dvdk: in general, the vp8 file I tried used less CPU (according to 'top') than the theora. 2011-04-24 16:22 dvdk, according to what I read, vp8 seriously need to be fixed anyway 2011-04-24 16:22 LunaVorax_mini: fixing what? 2011-04-24 16:25 I'm not a coder, go read this article to have detail I wouldn't be able to give you http://x264dev.multimedia.cx/archives/377 2011-04-24 16:27 LunaVorax_mini: have you seen, we now have video out ! ;-) 2011-04-24 16:30 what what what what ? 2011-04-24 16:30 I need to see that ! 2011-04-24 16:32 LunaVorax_mini: ah, you don't read the mailing list ? :) 2011-04-24 16:32 I'm sorry not yet 2011-04-24 16:32 Not YET 2011-04-24 16:32 ;) 2011-04-24 16:32 LunaVorax_mini: video: http://en.qi-hardware.com/w/images/7/76/Ben_UBB_VGA.ogv 2011-04-24 16:33 LunaVorax_mini: more information: http://lists.en.qi-hardware.com/pipermail/discussion/2011-April/007817.html 2011-04-24 16:36 Holly crud ! That's awesome 2011-04-24 16:36 I didn't knew at all that the minisd card slot was offering so much possibilities :o 2011-04-24 16:36 That's insanely awesome 2011-04-24 16:37 LunaVorax_mini: in fact, we can even do a little better. i now have doubled the number of updates (at half the pixel clock) and it more or less works at least on one of my monitors 2011-04-24 16:38 LunaVorax_mini: (possibilities) never underestimate the power of bitbanging ;-) 2011-04-24 16:38 That's fantastic wpwrak 2011-04-24 16:40 now, that UBB-VGA output by wpwrak fits together well with job being done by dvdk :) 2011-04-24 16:40 That's not true 320x240, I understood it right ? 2011-04-24 16:43 kyak: alas, you can't combine the two. each already eats most of the memory nbandwidth 2011-04-24 16:44 LunaVorax_mini: it's somewhere between 160-320x240, with line doubling 2011-04-24 16:44 wpwrak: hm.. are you saying there is no practical application for that thing ? -\ 2011-04-24 16:45 kyak: you could use it for slide shows and similar applications 2011-04-24 16:47 still, it is very good 2011-04-24 16:49 No transition but is the Ya Nanonote still planned 2011-04-24 16:49 And therefore planned for 2012 ? 2011-04-24 16:51 LunaVorax_mini: i think the ya will be planned as soon as someone provides funding :) 2011-04-24 16:52 How much do you need ? 2011-04-24 16:54 (in most cases, this question is followed by money ;) 2011-04-24 16:55 haha 2011-04-24 16:55 LunaVorax_mini: i guess about 500 kUSD may be sufficient. my lowest estimate would be around 300 kUSD, but that's probably too low 2011-04-24 16:56 Hum ok 2011-04-24 16:56 You need 1000 fanboys like me then 2011-04-24 16:56 :D 2011-04-24 16:56 LunaVorax_mini: that would be development and a small (3 kunits) initial production run 2011-04-24 16:56 Ok, I see 2011-04-24 16:58 LunaVorax_mini: also assumes very few people on the payroll and them working with compensation close to subsistence level 2011-04-24 16:58 in other words, the community needs to participate as well. otherwise R&D cost goes up quite a bit. 2011-04-24 16:59 Ok I see 2011-04-24 17:00 I think it's time to save for a donation 2011-04-24 17:00 Count on me I'll do so asap 2011-04-24 17:03 LunaVorax_mini: cool, thanks ! i don't know what wolfgang thinks of donations as a means of financing, but if it comes to that, any contribution would be welcome 2011-04-24 17:05 LunaVorax_mini: btw, with community participation, i meant sharing the design work. we did part of this in the gta02-core project and it worked quite nicely for a while. the problem we had there was that we depended on openmoko.com to supply components. and this promise was never fulfilled. 2011-04-24 17:06 kristianpaul: hmm, if you want a ben-phone, you could just add a GSM module ... 2011-04-24 17:07 wpwrak: i have one 2011-04-24 17:07 (GSM Module) 2011-04-24 17:07 but too big too muchs wires, is a sim548 2011-04-24 17:07 also the board dint router voice part.. 2011-04-24 17:07 wpwrak, 2011-04-24 17:07 anyway 2011-04-24 17:08 wpwrak, in some way, donations is the only efficient way for me to contribute to what you are doing as my programming and electronic design knowledge are very limited for now 2011-04-24 17:09 So far the only "usefull" thing I've done was to show the Ben to people at knowledge and impress them about "how small it is" ;) 2011-04-24 17:09 Funny to see that in some people's head "computer" = "big" 2011-04-24 17:12 I may be na 2011-04-24 17:12 naive but 2011-04-24 17:12 Isn't the FSF interested about giving you some fund ? 2011-04-24 17:13 Supposing that the FSF have funds to give, I don't know how they work exactly 2011-04-24 17:14 wpwrak: wich GSM Module you recomend? :-) 2011-04-24 17:14 LunaVorax_mini: hmm, i don't think the FSF sponsors projects directly 2011-04-24 17:14 Ok wpwrak 2011-04-24 17:14 kristianpaul: if you want to go fancy, there's a company called "option" that make nice little UMTS modules. but it may be hard to get documentation. 2011-04-24 17:15 kristianpaul: otherwise, lemme dig ... 2011-04-24 17:19 btw anybody knows the patent status of AC3?  this is utilized in mplayer, as an audio-filter (not codec) (getting linker errors if I disable it). 2011-04-24 17:20 kristianpaul: this one is nice and small: http://www.telit.com/en/products/gsm-gprs.php?p_id=12&p_ac=show&p=47 2011-04-24 17:21 kristianpaul: there are also other, slightly larger models, in the same family 2011-04-24 17:21 kristianpaul: note the large quantity of documentation at the bottom of the page :) 2011-04-24 17:21 wow is amll 2011-04-24 17:21 small* 2011-04-24 17:22 (doc) oh yes 2011-04-24 17:23 kristianpaul: if you dig a little in gta02-core, you'll also find untested schematics and there should be a footprint for the ge864 somewhere as well 2011-04-24 17:24 here it is: svn.openmoko.org/developers/werner/gta02-core/ge864/ge864.fpd 2011-04-24 17:25 also completely untested, of course ;-) 2011-04-24 17:25 :/ 2011-04-24 17:26 anyway, may be the 3g/edge/gsm part will be just enought 2011-04-24 17:27 hi guys, i wonder if there is the ability of booting the ben nn by 'alarm'. (bios-clock?) so the device could p.e. boot every day @ 05:00 and wake me up by music :D 2011-04-24 17:28 would be great for using as pda 2011-04-24 17:28 reminders are appliance #1 for pda's 2011-04-24 17:34 qwebirc81180: good question :) i don't know if the hardware and the kernel support it, but i can at least not find anything quickly that would indicate it's impossible 2011-04-24 17:34 qwebirc81180: i.e., you may want to experiment a bit :) 2011-04-24 17:35 the bad is: I'm an advanced user, able to start a compile-run, but unable to really change sourcecode :\ 2011-04-24 17:35 qwebirc81180: here is a program that exercises the kernel's wakeup api: http://svn.openmoko.org/developers/werner/wkalrm/ 2011-04-24 17:36 (designed for a different architecture, but it should also work on the ben) 2011-04-24 17:36 but in my opinion, this could massively improve the useability of the ben nn 2011-04-24 17:36 qwebirc81180: change "unable" to "not yet able" ;-) 2011-04-24 17:36 hehe, freerunner-code on ben?? :D 2011-04-24 17:37 it's all linux ;-) 2011-04-24 17:37 wpwrak: right ;) but i'm not sure if it's a good idea to start learning programming with age 53 ;) 2011-04-24 17:38 as for linux: I'm with it since 0.99pl6 (SLS-Linux) :D 2011-04-24 17:38 but only as user and 'make'er ;) 2011-04-24 17:39 oh, btw, I should use my 'real' nick ;) 2011-04-24 17:39 :P 2011-04-24 17:41 is there a RTC in Ben, or does it use only software clocks? 2011-04-24 17:41 there is 2011-04-24 17:43 Hum, reading the Guo Nanonote page. Are you really sure that it'll have the same design in 5years ? 2011-04-24 17:44 Early question may be a stupid question :) 2011-04-24 18:37 . 2011-04-24 18:41 Fusin: (53) bah, that's no age ;-) and the hardest part of doing anything is convincing yourself that you can do it ... 2011-04-24 18:42 my problem is: i already run for following evolution in hard and software technology 2011-04-24 18:42 LunaVorax_mini: i wouldn't consider anything beyond a ya as anything than a small quantity of vapour released in the hard vacuum of outer space ;-) 2011-04-24 18:42 how could i learn to master them? 2011-04-24 18:44 Fusin: mastery take s a while :) start small. pick objectives that are a little beyond your knowledge, so that they don't overwhelm you but still give you something new. 2011-04-24 18:45 ben is new and freerunner too (linux outside big boxes is really exiting) 2011-04-24 18:45 altough to tell the truth: for daily use i just ordered an android Phone and an android pad :D 2011-04-24 18:45 for the 'real' use 2011-04-24 18:46 ben and freerunner are atm toys to play with 2011-04-24 18:46 and for showing collegues what linux can do 2011-04-24 18:47 Fusin: yeah. FR is getting a bit long in its teeth, too. well, same thing for the ben. there are many incremental improvements that could/should be made. 2011-04-24 18:54 Fusin: what *linux* can do? With an Android you can show what it can do too 2011-04-24 18:55 right, but android is more a gui than the os itself 2011-04-24 18:55 Fusin: and linux is only the kernel 2011-04-24 18:55 right 2011-04-24 18:55 :) 2011-04-24 18:56 Maybe something more like 'what companies + volunteers  publishing free software and hardware' can do 2011-04-24 18:58 not enough evangelists ;) 2011-04-24 19:05 Fusin: I want to like android but I can't get on with it 2011-04-24 19:06 I don't like it, I just want to use it, because it works and does what it's suposed to do. no more no less 2011-04-24 19:08 and it's not owned by gates nor jobs ;) 2011-04-24 20:31 ping 2011-04-24 22:48 Fusin: (ping) you need to specify the destination address :) 2011-04-24 22:49 without destination we accept ALL pongs ;) 2011-04-24 22:51 Fusin: still, where do you send the ping packet ? :) 2011-04-24 22:51 whole world :P 2011-04-24 22:51 aii .. instant internet meltdown 2011-04-24 22:52 rofl