00:01:03 | | Join muesli- [0] (i=muesli_t@A94a0.a.pppool.de) |
00:01:26 | iobound | badger/amiconn, thanks for help, i got it working by rewriting the assignment to an explicit call to a memcpy-ish method i wrote in my plugin |
00:01:39 | Bagder | goodie |
00:01:52 | amiconn | Bagder: Hmm, I don't seem to get it right :( |
00:02:07 | andy_ | anyone get this when compiling from cvs? |
00:02:08 | andy_ | dsp.c:473: error: can't find a register in class `ADDR_REGS' while reloading `asm' |
00:02:15 | | Join webguest19 [0] (n=45dda986@labb.contactor.se) |
00:02:44 | andy_ | gcc 3.4.3, binutils 2.16 |
00:03:14 | andy_ | only happens in dev build, normal builds fine |
00:03:39 | preglow | yes, dev build doesn't use -fomit-frame-pointer |
00:03:42 | preglow | and that routine needs it |
00:03:55 | preglow | does rockbox have a debug define? |
00:04:24 | * | Bagder runs off to bed |
00:05:04 | | Join Wett [0] (n=Wett@d02v-62-34-192-173.d4.club-internet.fr) |
00:05:52 | andy_ | #ifdef BUILD_TYPE=DEVEL ? |
00:05:54 | andy_ | :) |
00:07:09 | preglow | there's no reason to not -fomit-frame-pointer anyway |
00:07:14 | preglow | we have no target debugger |
00:07:17 | preglow | except for the bdm :> |
00:07:45 | andy_ | true |
00:08:21 | andy_ | and rockbox crashdumps doesnt include stacktrace either :) |
00:08:56 | preglow | now there's an idea... |
00:08:58 | andy_ | wee.. peakmeter for iriver recording |
00:09:10 | BBub | really? |
00:09:10 | preglow | :-) |
00:10:05 | andy_ | BBub: sure.. but i want to fix the bug with stop before i commit |
00:10:44 | BBub | you havent looked into the file-splitting, also? :) |
00:10:49 | preglow | now, time for implemeting tick counter on nano |
00:10:52 | Cassandra | amicon, when you're doing fonts, do you usually include a column of white space pixels at the end, or does the renderer put whitespace in automatically? |
00:11:10 | preglow | no, now time for fixing the broken resampler... |
00:11:19 | andy_ | BBub: I've read about that problem and I think I know how to fix it |
00:11:31 | BBub | ah, that sounds good |
00:11:31 | Cassandra | Commiting code with known bugs is a bad idea in general. |
00:12:35 | amiconn | BBub: What file-split problem? |
00:12:45 | * | amiconn curses Makefiles |
00:13:54 | Cassandra | Oh, never mind. I just looked at some bdf files, and it appears the whitespace is usually included. |
00:14:08 | BBub | amiconn: for me the recording stopped at 2 gb with the 2nd part only being 0 byte in size. the player told then told me the hdd was full when there were still 3gb left |
00:14:14 | Jungti1234 | bye |
00:14:22 | BBub | -told |
00:14:29 | | Quit Jungti1234 ("bye") |
00:14:50 | amiconn | Hmm, that's indeed strange |
00:15:02 | * | amiconn didn't try recording on iriver yet |
00:15:22 | BBub | yes, and any recording after that point only caused new 0byte files until i restarted the player |
00:15:40 | | Join Membrillo [0] (n=cb59493a@labb.contactor.se) |
00:16:55 | | Quit Membrillo (Client Quit) |
00:16:58 | andy_ | BBub: i think the problem is that the file split limit is 2 GB - 1 MB, but on irivier writes 32 MB at the time so before "recording.c" detects that it's time to split we are alread over the limit |
00:17:11 | BBub | ah, i c |
00:17:16 | amiconn | That sounds plausible... |
00:17:21 | markun | preglow: yes, some of the update files are not encrypted |
00:17:25 | BBub | even though i tested it on the h110 which has only 16 mb |
00:17:51 | | Join ashridah [0] (i=ashridah@220-253-122-184.VIC.netspace.net.au) |
00:18:06 | markun | But the fwimg*.dat (they are in the romfs image and on the gigabeat's HD) are |
00:19:23 | preglow | markun: and there's no code you can see that decrypts it? |
00:19:30 | preglow | markun: if not so: good luck |
00:19:31 | andy_ | amiconn: would it be ok to change MAX_FILE_SIZE (in recording.c) to 2 GB - 64 MB just to be safe? |
00:20:01 | markun | I don't know. I sent an email to dave hooper, maybe he wants to help out a bit |
00:20:06 | preglow | amiconn: so, you getting another player? |
00:20:15 | preglow | amiconn: and how come you don't like the clickwheel? |
00:20:40 | amiconn | The wheel is just plain ugly. It's unusable without looking at the screen |
00:20:40 | | Quit webguest07 ("CGI:IRC (EOF)") |
00:20:51 | preglow | amiconn: not with audible feedback |
00:21:08 | amiconn | I want plain buttons, and not on the sides please |
00:21:15 | preglow | amiconn: but no, anyway, i always look at the screen when using controls, so i haven't noticed that |
00:21:39 | preglow | and for controlling when you look at the screen, it's plain unbeatable |
00:21:47 | preglow | scrolling lists becomes a breeze |
00:21:50 | amiconn | Well, not really |
00:21:57 | amiconn | ...for me |
00:22:15 | preglow | i get tired really quickly of just holding a button down and waiting for scrolling to finish |
00:22:20 | preglow | with the clickwheel i have an active part in it |
00:22:23 | amiconn | You can scroll relatively fast, but precise navigation is tricky |
00:22:35 | preglow | yeah, but so it is with a button and acceleration |
00:22:52 | preglow | anywho, it's a matter of preference, of course |
00:22:56 | amiconn | But that's _only_ when scrolling fast |
00:23:04 | preglow | yup |
00:23:12 | amiconn | With a button you can scroll element by element |
00:23:15 | | Join JdGordon [0] (n=Miranda@c211-28-93-42.smelb1.vic.optusnet.com.au) |
00:23:55 | amiconn | Another drawback of the wheel is that the wheel doubles as 4 buttons |
00:24:07 | preglow | depends how you look on it |
00:24:15 | preglow | it's nice to not have to move the fingers too much |
00:24:16 | amiconn | Almost impossible to press the buttons without accidentally triggering wheel events |
00:24:19 | preglow | especially not to a side panel... |
00:24:25 | preglow | amiconn: oh? i've never managed that |
00:24:26 | | Quit JdGordon (Read error: 104 (Connection reset by peer)) |
00:24:34 | | Join matsl [0] (n=user@1-1-4-2a.mal.sth.bostream.se) |
00:24:53 | preglow | the wheel should only trigger when there's a small difference in position, and ignore large changes |
00:25:05 | | Quit muesli_- (Read error: 110 (Connection timed out)) |
00:25:07 | | Join JdGordon [0] (n=Miranda@c211-28-93-42.smelb1.vic.optusnet.com.au) |
00:26:21 | amiconn | The navigation in the apple firmware is strange to say the least. |
00:26:23 | | Quit ender` (Connection reset by peer) |
00:26:36 | preglow | amiconn: in that we agree |
00:26:37 | amiconn | Took me quite a while to find out how to back out the sub menus |
00:26:56 | preglow | lucky me that i have no intention at all of using the apple firmware |
00:27:30 | amiconn | Yeah, anyway, the only positive thing for me about the nano is that it is so thin |
00:27:43 | preglow | yeah, the thinness really amazed me when i first got it |
00:28:09 | amiconn | You can stack 3 nanos and they are still thinner than the ondio |
00:28:24 | preglow | wow, that much thinner |
00:29:25 | iobound | well my plugin kinda worked but crashed after playing about 0.2 seconds of audio. any hints on how to debug that? |
00:30:04 | JdGordon | chop all songs into 0.2sec segmanats and call it working :D |
00:30:07 | | Join hardeep [0] (i=hardeeps@norge.freeshell.ORG) |
00:30:08 | amiconn | andy_: Does num_recorded_bytes really increase in huge chunks on iriver? |
00:30:37 | | Quit muesli- (Read error: 110 (Connection timed out)) |
00:30:46 | amiconn | On archos it increases gradually, as the data is read from the MAS |
00:32:57 | andy_ | amiconn: that's true.. it increases in smaller steps |
00:33:18 | | Join CheeseBurgerMan [0] (n=BurgerBo@63.150.80.142) |
00:33:59 | iobound | what would it take to get pcm_play_data() from a plugin working in the ui simulator? |
00:34:19 | iobound | i.e. what's missing, since it seems to work for codecs? |
00:34:44 | | Join ghode|afk [0] (n=garudin@host-84-9-104-109.bulldogdsl.com) |
00:34:59 | andy_ | amiconn: however, in pcmrec_new_file i flush the buffer before starting the new file |
00:35:33 | | Join RotAtoR [0] (n=e@12-210-82-91.client.insightBB.com) |
00:35:44 | | Join DreamTactix291 [0] (n=DreamTac@adsl-149-140-175.bna.bellsouth.net) |
00:35:55 | | Quit _aLF ("^^") |
00:36:35 | amiconn | andy_: Imho this shouldn't matter |
00:36:59 | amiconn | The pcm recording continually updates num_rec_bytes |
00:37:16 | amiconn | This resembles file size + buffered data |
00:37:28 | andy_ | amiconn: also true.. |
00:37:37 | | Join San [0] (n=Test@212.2.163.159) |
00:37:44 | amiconn | When the size approaches 2GB-1MB, the recording thread signals the recording engine to start a new file |
00:38:29 | amiconn | ...and the engine flushes the buffered data (which was already included in num_recorded_bytes), then starts a new file |
00:38:52 | amiconn | The only posible problem I can see would be too much latency |
00:38:54 | iobound | what's with the "sector 3d" ? |
00:39:07 | amiconn | iobound: It's the simulated config sector |
00:39:25 | iobound | ok, is sector 3d used as config in the real version too? |
00:40:17 | amiconn | The real version uses (sector_number_of_first_partition - 2) to store the configuration |
00:40:36 | iobound | ok |
00:40:44 | amiconn | This is calculated at runtime; on most harddisks this is sector 0x3d == 61 |
00:41:06 | amiconn | The simulator always uses 0x3d, and simulates this in a file |
00:41:10 | iobound | yeah, cause usually there's just the mbr and then 62 unused sectors, since partitions start on aligned offsets |
00:41:16 | iobound | ok, thanks for the info |
00:41:19 | amiconn | yup |
00:41:28 | iobound | is there any risk of having a corrupted file system if rockbox hangs? |
00:41:57 | iobound | are there many (cached/unflushed?) writes at any given time? |
00:42:03 | amiconn | Flash cards are usually formatted with 32 sectors/track, so on Ondio, the config sector is 0x1e |
00:42:10 | iobound | ok |
00:42:31 | amiconn | The is no big risk |
00:42:38 | andy_ | amiconn: yep.. hum.. should read the problem description again |
00:42:40 | andy_ | 2nd: Rockbox tries to split the file after reaching the 2gb limit (i thought the limit was 4 gb for fat32 as stated in the wiki? 2 gb is the limit for old avi-containers afaik), but it doesn't succed doing that and prompts "Harddisk full - press OFF to continue" and leaves a 2nd file with 0 byte in size. When you try to record again you will only create more 0 byte files - yes, there was enough space left, about 3 gb. |
00:43:07 | | Join LinusN [0] (n=linus@labb.contactor.se) |
00:43:24 | LinusN | andy_: do you know for sure that there was 3gb left? |
00:44:01 | amiconn | andy_: Technically the FAT limit is 4GB-1, but a number of programs runs into problems when presented with files >=2GB |
00:44:10 | amiconn | So we're just playing safe here |
00:44:33 | andy_ | LinusN: no, it's from the forum :) however, "harddisk full" might not be the real reason - it is shown when audio_status returns error.. |
00:44:48 | LinusN | ah |
00:45:01 | BBub | LinusN: i posted that and yes i am sure :) |
00:45:09 | LinusN | yes, the only possible error on the archos was "disk full" |
00:45:14 | amiconn | I can't get my Makefle to behave :( |
00:45:25 | LinusN | BBub: how did you verify that? |
00:46:00 | BBub | i looked at the free space in the info screen and also let rockbox rescan the hdd to be sure |
00:46:08 | LinusN | ok, good |
00:46:28 | BBub | it also showed the correct free space of 5 gb before recording |
00:46:45 | andy_ | hm.. is_error is only set when open or write fails |
00:47:26 | LinusN | there is a slight risk that the rockbox file system driver has issues with >2gb files |
00:47:26 | | Quit arkascha (Read error: 104 (Connection reset by peer)) |
00:48:09 | amiconn | andy_: Speaking about recording, apps/pcm_recording.c seems to be no longer needed... |
00:48:09 | LinusN | and that we never noticed on the archos |
00:48:27 | andy_ | amiconn: yep.. i will remove it |
00:49:08 | | Join DJDD_ [0] (n=DJDD@220-245-186-182.static.tpgi.com.au) |
00:50:21 | andy_ | BBub: are you able to compile from source? |
00:50:33 | BBub | yes |
00:50:33 | | Join Wett_ [0] (n=Wett@d02v-62-34-192-173.d4.club-internet.fr) |
00:51:34 | andy_ | BBub: could try to change MAX_FILE_SIZE in apps/recording.c to say 64 MB (0x04000000) and see if that works? |
00:51:51 | BBub | ok |
00:53:57 | | Join muesli_- [0] (i=muesli_t@A97ad.a.pppool.de) |
00:54:55 | | Quit Wett (Read error: 110 (Connection timed out)) |
00:54:56 | | Quit xmixahlx ("blah blah blah") |
00:55:01 | iobound | hey now this is pretty cool, i'm playing 2nd_pm.s3m in my dumb plugin in the win32 simulator with sound |
00:55:32 | iobound | it's pretty choppy, 'cause the main play loop does a bunch of malloc()/free() calls, and I had to implement fake pow()/exp() methods so everything is out of tune |
00:55:34 | | Quit San (Read error: 110 (Connection timed out)) |
00:55:45 | iobound | but the tune is recognizable |
00:56:03 | BBub | andy_: i dont see a apps/recording.c in the bleeding edge source |
00:56:48 | andy_ | BBub: sorry, apps\recorder\recording.c |
00:58:25 | | Join TCK [0] (n=tckocr@81.178.243.57) |
01:00 |
01:00:49 | | Join muesli- [0] (i=muesli_t@D1028.d.pppool.de) |
01:01:41 | | Quit matsl ("ERC Version 5.0 (CVS) $Revision: 1.776 $ (IRC client for Emacs)") |
01:01:45 | preglow | iobound: malloc/free in _MAIN_ loop?=? ? ?? ?? |
01:01:52 | iobound | yeah, pretty shocking |
01:02:09 | preglow | shocking and completely insane |
01:02:15 | preglow | this is in the standard distribution? |
01:02:37 | iobound | yeah it's basically 0.9.3 with a couple of one-lines to get it to compile without memcpy() |
01:03:24 | preglow | you can use memcpy if you just include a 'extern struct codec_api *rb' at the top of all the files, somewhere, preferably in a common header |
01:03:26 | LinusN | DocBrown: i have a test for you |
01:04:01 | iobound | i don't really see how an exported "_rb" symbol helps with linking against a missing "_memcpy" symbol.. |
01:04:01 | | Part webguest19 |
01:04:19 | preglow | iobound: ahh, you'd have to do some #define memcpy rb->memcpy as well, yeah |
01:04:34 | LinusN | http://linus.haxx.se/H300.zip |
01:05:08 | iobound | preglow, i did that for the various strcpy/fopen/realloc() calls it does, but the memcpy() in question is generated automatically by gcc (the code in question copyed a struct using "=" operator) |
01:05:19 | preglow | iobound: how nice |
01:05:49 | iobound | i even implemented a poor man's realloc() since it seems to want to do that a lot during loading |
01:06:32 | iobound | unfortunately it never reclaims freed space so it's bound to crash sooner or later |
01:06:40 | *** | Saving seen data "./dancer.seen" |
01:07:21 | preglow | hrmph |
01:07:27 | preglow | do you know why it does realloc? |
01:07:32 | BBub | andy_: im testing it now - btw the byte counter is not updating while writing to the disk |
01:07:39 | BBub | the timer is counting on though |
01:07:54 | iobound | i skimmed the source, it seemed to have something to do with you don't know how long / how many patterns/rows/something you need until you're done, kind of |
01:08:45 | iobound | i didn't look like a 5 minute job removing the realloc calls, to put it that way. but hey, i'm not an C expert in any way |
01:09:13 | iobound | i'm just happy to have sound playback in the win32 simulator from my libdumb plugin, and being able to gdb and step in the dumb.rock plugin with debug symbols |
01:10:05 | LinusN | DocBrown: the new test boot loader outputs the button readings on the lcd |
01:10:13 | | Join webguest60 [0] (n=43823b46@labb.contactor.se) |
01:11:11 | LinusN | DocBrown: btn: a b c d, where a=main ON, b=remote ON, c=main hold, d=remote hold |
01:11:25 | LinusN | please try it and report the results in the wiki |
01:11:31 | LinusN | time to sleep |
01:11:33 | LinusN | nite all |
01:11:41 | iobound | seeya |
01:11:42 | | Part LinusN |
01:11:45 | BBub | andy_: the splitting works now |
01:12:38 | iobound | yeehaw, just removed all choppyness by using a double-buffering scheme. the only issue now is the tuning is out of whack due to bad exp()/pow() implementation |
01:14:51 | andy_ | BBub: i think it's more to it than that.. someone said in the forum that the 2 GB split had worked |
01:15:08 | andy_ | BBub: so, sometimes it works but sometimes it doesnt :) |
01:15:32 | BBub | hmm, at least for me it didnt :) |
01:15:36 | DocBrown | LinusN: Saw it and will try... Nite... |
01:15:44 | | Quit DocBrown ("CGI:IRC 0.5.7 (2005/06/19)") |
01:16:03 | preglow | iobound: we can fix that |
01:16:07 | preglow | iobound: try a simple lookup table |
01:16:21 | preglow | iobound: that's what we'll use anyway, it's way faster than any taylor approx we can do |
01:16:32 | iobound | exp would do for lookup, but how to make a small enough lookup table for pow() which takes two doubles as parameters? |
01:16:47 | preglow | iobound: i'm willing to bet the base number is more or less always the same |
01:17:02 | preglow | 2, i'd imagine |
01:17:06 | iobound | oh, and there's log() too. i just return "1.0" for all of them, ha ha |
01:17:28 | preglow | :-) |
01:18:13 | iobound | all pow calls either use "0.5", "DUMB_SEMITONE_BASE" or "DUMB_PITCH_BASE" for "x" in pow(x,y) |
01:18:32 | preglow | then we'll be alright |
01:18:58 | preglow | a small interpolated lookup table should be precise enough |
01:19:01 | iobound | log() is only used once and only in the .mod loader |
01:19:38 | iobound | exp() is also only used once, in some method called "it_filter()" |
01:19:47 | preglow | yeah, the impulse tracker filtering |
01:19:55 | lostlogic | preglow: were you able to profile Tremor, or if not, how did you decide what functions were worth moving to IRAM? |
01:19:58 | | Quit mordov ("www.CNLRacing.tk") |
01:20:10 | preglow | lostlogic: i didn't, most the of the tremor work has not been done by me at all |
01:20:28 | lostlogic | oh, my mistake. |
01:20:34 | iobound | ok, i'm leaving for tonight, thanks for all the help so far |
01:20:42 | preglow | iobound: okies, nice work anyway |
01:21:02 | iobound | not sure if you'll say that again when/if you see the source. :) |
01:21:12 | preglow | iobound: i trust you'll clean that up ;) |
01:21:26 | iobound | alright, bye anyway! :) |
01:21:29 | preglow | lostlogic: but no, the guy who did the optimising didn't do proper profiling either, he based himself on reading the source and an x86 profile |
01:21:32 | | Quit iobound ("Leaving") |
01:21:47 | | Quit muesli_- (Read error: 110 (Connection timed out)) |
01:22:09 | preglow | lostlogic: and btw, lear is the one who did the iram function placement |
01:22:29 | preglow | he's still around |
01:22:46 | lostlogic | which was why he knew about the tremor test decode app from xiph svn, makes sense. |
01:23:38 | lostlogic | preglow: initially, I'm not even interested in actual time-in-functions but rather call frequency, to get proper time-in-functions, I'd have to create a profiling arch. for rockbox (unless there's one around that I've missed) |
01:23:43 | | Join mordov [0] (n=Mordov@171.80-202-208.nextgentel.com) |
01:24:51 | ashridah | i remember someone working on something like that back in the day. then he vanished |
01:24:51 | preglow | lostlogic: it's not that simple, you more or less have to do a proper profile, cache plays a huge part in coldfire performance |
01:25:11 | preglow | lostlogic: just by switching the placement of a couple of functions in libmad, i improved performance 25% once |
01:26:02 | preglow | lostlogic: the code cache is implemented in such a way that functions can collide by sharing the bottom 12 or so bits of an address |
01:26:14 | lostlogic | I see what you're getting at... |
01:26:29 | lostlogic | which would explain some of the weird results I was getting moving things around in IRAM yesterday. |
01:26:39 | preglow | lostlogic: iram is not cached |
01:26:42 | lostlogic | right |
01:26:50 | lostlogic | hence the lightbulb |
01:27:08 | preglow | i was toying around with a CACHE_FUNC define some while ago, which would be used on all important functions, so that they would be placed right next to each other |
01:27:18 | preglow | in a section of their own |
01:27:25 | preglow | object file section, that is |
01:27:31 | lostlogic | *ponders* |
01:27:35 | | Quit andy_ () |
01:28:26 | preglow | but it never materialised, since we don't have a good way of measuring performance |
01:28:32 | lostlogic | yeah |
01:28:47 | lostlogic | need profiling ;( |
01:28:54 | preglow | looking at the boost ratio to find out if something just got faster is no bloody fun |
01:29:56 | | Quit Febs ("CGI:IRC") |
01:30:05 | | Join Febs [0] (n=40326e83@labb.contactor.se) |
01:32:34 | | Join XavierGr [0] (n=XavierGr@ppp12-adsl-29.ath.forthnet.gr) |
01:33:30 | lostlogic | so how would we go about getting real profiling on coldfire? I guess I'll have to read more about how gcc's profiling symbols work, and see if there's a way for rockbox to generate them for a particular thread in a way that can be referenced against the object files...? |
01:38:06 | preglow | well, it's not impossible that gprof's profile library is ported to m68k |
01:38:19 | preglow | it will take some porting anyway, but might be worth checking out |
01:39:33 | preglow | right now i'm thinking perhaps some profile function support in rockbox itself would be nice, like perhaps a rb->prof_start() call and a rb->prof_end() call, and then rockbox caches the results for you, pretty much like logf works |
01:39:39 | lostlogic | from reading about profiling on gnu.org, what I'm getting is that the basic functionality should work on m68k... the problem is more with getting a profil() syscall into rockbox for the 'real' profiling (time in function) |
01:39:43 | preglow | then rockbox could use timer.c for timing |
01:39:53 | lostlogic | yes, I was thinking along those lines as well |
01:40:33 | preglow | simple, and quite effective |
01:40:51 | preglow | the essence is the functions should be really simple to use |
01:40:57 | lostlogic | yeah |
01:40:57 | preglow | so profiling becomes easy |
01:41:12 | preglow | and afaik, it shouldn't really be much work |
01:41:21 | preglow | you could even share the logging facility with logf |
01:41:39 | preglow | logf and profiling could be one option |
01:41:40 | lostlogic | that was the part that was most intimidating to me actually −− getting the info written out. |
01:41:51 | preglow | lostlogic: well, there you see, that functionality is already implemented |
01:41:55 | lostlogic | *nod* |
01:42:43 | amiconn | I doubt that a plain timer gives even half-decent values, without disturbing execution too much |
01:42:59 | amiconn | The timing would need to be really fine-grained, correct? |
01:43:06 | preglow | can't timer.c deal with that? |
01:43:12 | preglow | but yeah |
01:43:15 | preglow | pretty fine-grained |
01:43:26 | lostlogic | rockbox is preemptive, right? |
01:43:28 | amiconn | timer.c just offers an interval timer, like the tick |
01:43:31 | preglow | lostlogic: correct |
01:43:33 | amiconn | lostlogic: nope |
01:43:37 | preglow | ehh, no |
01:43:38 | preglow | cooperative |
01:43:41 | preglow | i mix terms |
01:43:47 | lostlogic | :( |
01:43:48 | lostlogic | I see |
01:43:52 | lostlogic | that makes profiling harder |
01:44:00 | lostlogic | because we have to use a userspace timer call. |
01:44:19 | preglow | amiconn: but one should be able to fix the timed value when you know a) the timer interval, and b) approximate number of cycles needed by the timer interrupt? |
01:44:23 | lostlogic | in preemptive systems, the timer interrupt would do it |
01:44:30 | amiconn | preglow: The interval is variable, but the lower you set the interval, the more overhead the timer will produce |
01:44:42 | amiconn | Timer operation will also disturb caching |
01:44:50 | preglow | not if we iram it |
01:44:58 | amiconn | ...and you need to boost all the time to get reliable timings |
01:45:03 | preglow | so be it |
01:45:14 | lostlogic | profiling isn't for the weak of battery. |
01:45:28 | amiconn | lostlogic: There is no distinct 'user space' in rockbox |
01:45:43 | amiconn | The CPU runs in supervisor mode all the time |
01:45:48 | lostlogic | amiconn: aye, the point being there's no kernel space timer because there's no kernel space ;) |
01:45:58 | amiconn | okay |
01:46:14 | preglow | lostlogic: i don't see why that matters |
01:46:17 | amiconn | Btw, there is a 'kernel space' timer |
01:47:03 | amiconn | It might be possible to do some trickery with the timer, but that requires handling it outside of timer.c |
01:47:12 | amiconn | ...or even inside, but with a special method |
01:47:35 | lostlogic | I obviously need to read way more of the rockbox system code before starting to tackle this. |
01:48:20 | amiconn | Instead of just using timer interrupts and setting the rate high, it might be possible to set the rate low, and use both the interrupt counter and the timer counter itself for calculating the deltas |
01:48:55 | preglow | rockbox id3 info viewer has no stereo/mono indicator? |
01:49:48 | amiconn | This is somewhat tricky, because the profiling function needs to stop the timer, wait a couple of cycles in order to process an eventually pending interrupt, then read both interrupt counter and timer value, the let the timer continue |
01:50:08 | amiconn | This would also account for the processing overhead in the profiling function... |
01:50:13 | Cassandra | Rockbox has a new font. Woo and yay! ;) |
01:50:27 | amiconn | ...because the timer would be stopped while in that function |
01:50:29 | preglow | i find it strange that a mono file shows different peaks on the peak meter... |
01:50:35 | preglow | Cassandra: what font? |
01:50:50 | Cassandra | It's called jackash - see my last checkin message. |
01:51:00 | | Join AnInternetUser [0] (i=oups@ny-lancastercadent4g1-3d-b-34.buf.adelphia.net) |
01:51:08 | preglow | anyone got any mono mp3s that can confirm this for me? |
01:51:25 | Cassandra | Finally got around to converting my very old Linux console font to bdf properly. |
01:51:46 | AnInternetUser | ehh is there a page that shows the latest progress for rockbox? |
01:51:57 | preglow | AnInternetUser: www.rockbox.org |
01:52:05 | AnInternetUser | where |
01:52:11 | preglow | AnInternetUser: there, right on the front page |
01:52:20 | Cassandra | (It actually predates the time Linux started using bdf console fonts. Scary.) |
01:52:35 | AnInternetUser | how about for a specific console |
01:52:47 | preglow | AnInternetUser: you mean target? ;) |
01:52:54 | AnInternetUser | yeah whatever |
01:52:58 | AnInternetUser | like h300 which i have |
01:52:59 | | Quit Kohlriba ("Leaving") |
01:53:07 | preglow | AnInternetUser: no, there's nothing like that, that would mean someone manually making a list |
01:53:21 | preglow | AnInternetUser: but the target is usually specified in the commit message |
01:53:43 | AnInternetUser | i thought i saw a list where all the stuff was checked off |
01:53:49 | AnInternetUser | but i can't find a link to it anywhere |
01:53:56 | preglow | AnInternetUser: ahh, yeah, but that might be inaccurate |
01:54:20 | preglow | http://www.rockbox.org/twiki/bin/view/Main/IriverPort |
01:54:31 | amiconn | preglow: The only problem with that method I can see is that the value will become wrong if interrupts are disabled for too long... |
01:54:45 | lostlogic | amiconn: my goal really is to reuse gprof functionality rather than writing something for rockbox from the ground up. |
01:55:05 | amiconn | ...but that would also happen with a short-intrval timer (even more likely) |
01:55:21 | amiconn | lostlogic: I have no idea how that works, I never used it |
01:55:53 | preglow | lostlogic: would indeed be great, but i foresee a host of problems |
01:56:35 | lostlogic | it works by 'simply' recording the PC every timer tick (on modern systems) and then counting the ticks at each PC in order to determine time in function |
01:56:55 | | Quit AnInternetUser () |
01:56:56 | preglow | and you need a fixup program |
01:57:02 | preglow | that in our case would probably have to read map files |
01:57:10 | preglow | or nah, not really |
01:57:29 | | Quit Paul_The_Nerd (Excess Flood) |
01:58:04 | preglow | but the base binaries we want to test are stripped of everything after they've been linked and relocated to the plugin base address |
01:58:10 | preglow | so you need some trickery there |
01:58:21 | lostlogic | yeah |
01:58:22 | lostlogic | ugh |
01:58:40 | amiconn | I don't see a problem here |
01:58:45 | preglow | the .elf files that still have symbols haven't yet been relocated to the base address |
01:58:56 | preglow | but you can probably fix that quite easily |
01:59:04 | amiconn | You can map PC->function with the .map files |
01:59:04 | lostlogic | not a big problem... that's basic remapping |
01:59:18 | preglow | amiconn: yeah, but nice to have a chart with statistics be done automatically |
01:59:22 | | Quit Febs ("CGI:IRC (EOF)") |
01:59:27 | preglow | amiconn: using map files is tedious work best done by a computer |
01:59:35 | lostlogic | preglow: that's what gprof the application does any way |
01:59:42 | preglow | uses map files? |
01:59:42 | amiconn | Hmm, except for static functions |
01:59:51 | lostlogic | preglow: can |
01:59:56 | preglow | lostlogic: then hooray! |
01:59:57 | | Quit XavierGr ("Trillian (http://www.ceruleanstudios.com") |
02:00 |
02:00:02 | preglow | amiconn: yeah, but that's a problem anyway |
02:00:41 | amiconn | So the problem actually is how to record all the PC values, efficiently |
02:00:50 | preglow | not a very big problem... |
02:01:10 | amiconn | hmm? |
02:01:21 | preglow | that shouldn't be a huge problem |
02:01:21 | lostlogic | that and implimenting mcount functions that -pg makes every function call so that we don't have to write our own compiler in order to do this! |
02:01:51 | | Join XavierGr [0] (n=XavierGr@ppp12-adsl-29.ath.forthnet.gr) |
02:02:17 | lostlogic | well if we can do both of those things effectively... |
02:02:45 | lostlogic | is there a limit on how long a given thread can hold the CPU if it never yields? |
02:02:51 | preglow | no |
02:02:58 | preglow | it's not enforcable |
02:03:02 | lostlogic | ok |
02:03:22 | preglow | our thread context only saves a subset of cpu state, so we can't just steal control of a thread |
02:03:31 | lostlogic | gotcha |
02:03:31 | preglow | even though it is possible by interrupt |
02:04:27 | preglow | we save all registers that aren't scratch, plus stack pointer, that's that |
02:04:32 | | Nick CheeseBurgerMan is now known as CBM-away (n=BurgerBo@63.150.80.142) |
02:04:41 | XavierGr | wow TiMiD is now idle for a 6th consecutive day! TiMiD: Were are you? We are missing you. :) |
02:04:49 | lostlogic | ok, so can't we count execution time in functions by time between mcount calls less yields or something? |
02:05:46 | preglow | you need to rephrase the last part of that so it's understandable |
02:06:44 | lostlogic | ok, so the system is cooperative, which means that while the thread we are profiling has control, time spent in A is the time between when A calls mcount and when B calls mcount |
02:06:57 | lostlogic | so unlike preemptive system profiling we don't have to have two separate calls |
02:07:11 | lostlogic | unless of course I'm totally wrong. |
02:07:12 | preglow | yep |
02:07:44 | preglow | sounds right, as long as nothing here actually calls yield, heh |
02:07:57 | lostlogic | so, can we just record RTC values in mcount, and at every yield and do the calculations later? |
02:08:28 | preglow | well, if you exchange 'rtc' with 'some high res timer', then yes |
02:08:57 | lostlogic | time-mcount-B - (time-mcount-A - (time-resume - time-yield)) = time-in-A |
02:09:34 | lostlogic | we have high res timers that don't suck, I hope? |
02:09:41 | preglow | ask amiconn |
02:11:38 | XavierGr | is it on purpose that the win32 sim always says backlight: on when I press a button? (I suppose that this is the backlight emulation?) |
02:11:52 | lostlogic | XavierGr: yesa |
02:13:55 | | Join }{CBM}{ [0] (n=BurgerBo@63.150.80.142) |
02:14:14 | | Quit CBM-away (Read error: 104 (Connection reset by peer)) |
02:14:29 | Cassandra | Backlight emulation doesn't seem to have much effect on X11. |
02:15:26 | | Quit Wett_ (Read error: 110 (Connection timed out)) |
02:17:01 | XavierGr | Cassandra: What motley means? :x |
02:18:38 | Cassandra | Erm, literally it means the kind of clothing a a medieval jester wears. |
02:18:56 | Cassandra | In this context, it means sort of random and all over the place. |
02:19:03 | XavierGr | ha so you mean old character set in the commit? |
02:19:07 | | Quit }{CBM}{ (Read error: 104 (Connection reset by peer)) |
02:19:12 | XavierGr | ah ok then |
02:19:23 | | Quit BBub (""Nonstop Belze." - www.sloganmaker.de") |
02:19:47 | Cassandra | Yep. The font was originally designed back before Linux had proper i18n support and used the standard VGA 850 codepage. |
02:19:52 | | Join }{CBM}{ [0] (n=BurgerBo@63.150.80.142) |
02:20:19 | preglow | and lovely times they were |
02:20:40 | Cassandra | I remember Linux 1.0 being announced. |
02:20:46 | Cassandra | That really dates me, doesn't it? |
02:21:30 | preglow | haha |
02:21:34 | preglow | 'fraid i can't remember that |
02:21:42 | markun | I started using linux in 1995. I'm not sure what the version of the kernel was |
02:21:50 | XavierGr | I must had been in liquid form back then... when Linux 1.0 was released? |
02:21:51 | preglow | but i remember testing a really early one and being awe-struck at being able to multitask in textmode! |
02:22:01 | Cassandra | I think I was about 19 at the time. |
02:22:15 | preglow | when was linux 1.0 released? |
02:22:23 | XavierGr | year? yes |
02:22:29 | Cassandra | 1993ish. |
02:22:46 | preglow | then i was around 13 |
02:22:51 | preglow | no, 12 |
02:22:53 | XavierGr | ah ok then I was 9 years old! |
02:23:11 | Cassandra | Fortunately I don't remember DOS 1.0 |
02:23:21 | | Quit muesli- (Read error: 110 (Connection timed out)) |
02:23:22 | XavierGr | hehe |
02:23:29 | Cassandra | Although I do remember the ZX-81, which was released about the same time. |
02:23:33 | preglow | earliest dos i remember was 5.0 |
02:23:40 | preglow | i used dos 6.22 a _lot_ |
02:23:41 | markun | preglow: what's your birthday? I'm from 1979-12-12 |
02:23:56 | preglow | markun: ninth of june, 1981 |
02:24:17 | markun | I always imagined you being older than me :) |
02:24:20 | preglow | haha |
02:24:22 | preglow | there you go |
02:24:30 | Cassandra | preglow, congrats - you're the same age as the ZX81. |
02:24:52 | Cassandra | How's it feel to never have lived in a time before home computers? |
02:24:53 | preglow | Cassandra: can't brag about ever having used one, though |
02:25:11 | preglow | Cassandra: reassuring |
02:25:23 | markun | I'll have some sleep. See you all tomorrow |
02:25:28 | preglow | markun: i bet i will |
02:25:30 | preglow | night |
02:25:40 | Cassandra | Or mobile phones, actually. Although in 81, mobile phones were the size of a car battery. |
02:25:42 | markun | you too (in advance) |
02:25:55 | preglow | markun: wont be long |
02:26:09 | preglow | Cassandra: there were some around, mobile phones spread pretty earily in norway |
02:26:15 | preglow | early, even |
02:26:35 | preglow | we even had our own network type, called nmt |
02:28:24 | Cassandra | Anyway, I should get some sleep too. Night all. |
02:28:28 | preglow | gnight |
02:29:03 | | Join Benacool [0] (i=Benacool@modemcable035.68-202-24.mc.videotron.ca) |
02:31:24 | lostlogic | preglow: just got a message that makes me very happy: /home/lostlogic/rockbox/apps/codecs/Tremor/vorbisfile.c:241: undefined reference to `mcount' |
02:32:17 | lostlogic | so if we define that as an extern in the headers of what to be profiled, and implement it in rockbox... things should magically work |
02:33:07 | XavierGr | lostlogic: What are you working? |
02:33:47 | lostlogic | XavierGr: crazy idea of building profiling ability into rockbox that preglow and I seem to be tossing about |
02:34:05 | Benacool | profiling of what ?? |
02:34:10 | lostlogic | anything. |
02:34:23 | Benacool | exemple ? |
02:34:25 | lostlogic | the point is to make it possible to profile things in rockbox. |
02:34:30 | lostlogic | I'm working on it for the tremor codec |
02:34:37 | Benacool | ok |
02:34:55 | XavierGr | profiling as to windows profiling .e.g? |
02:35:16 | lostlogic | what do you mean by windows profiling? |
02:35:17 | Benacool | okay .... |
02:35:29 | Benacool | the windows accounts |
02:35:32 | XavierGr | different users and stuff |
02:35:37 | lostlogic | no |
02:35:39 | XavierGr | (don't shoot) |
02:35:48 | XavierGr | then? |
02:36:13 | lostlogic | profiling is monitoring all of the operations of a program, generally for the purpose of performance tuning it, or finding a memory leak |
02:36:33 | Benacool | ohh |
02:36:37 | Benacool | i see ^^ |
02:36:54 | XavierGr | ah in a plugin or a thread that will be set by an option? |
02:37:29 | XavierGr | or have it always on? |
02:37:43 | lostlogic | it will be a compile time option, very performance damaging to do the actual profiling. |
02:37:48 | | Join San [0] (n=Test@A-72-176.cust.iol.ie) |
02:39:06 | XavierGr | well I made a neat battery performance tsr plugin the previous month, if you are interested on such things. (though it has nothing to do with your work, it is just a performance log on realitime usage of the battery) |
02:39:38 | lostlogic | not at the moment, I'm really just interested in tremor performance tuning currently :) |
02:40:30 | lostlogic | preglow: this is a lot easier if we require all code to be profiled to be run on one thread. ok, no ok? |
02:42:01 | preglow | lostlogic: completely ok by me |
02:42:08 | preglow | lostlogic: i'm only interested in codec code anyway |
02:42:12 | lostlogic | same |
02:42:19 | preglow | lostlogic: and dsp code |
02:42:24 | preglow | lostlogic: both of those are run in the codec thread |
02:42:34 | lostlogic | *nod* |
02:43:25 | preglow | lostlogic: well, if you get this working, it'll most certainly be appreciated |
02:43:30 | preglow | so please do :) |
02:43:43 | preglow | i'll go to bed now |
02:43:45 | preglow | later |
02:43:56 | lostlogic | g'night, I'll try... |
02:53:41 | XavierGr | preglow: what is better? Have a flag (diff_flag) to tell if the user made changes to a small (fmr file) or make a fn that will detect if there is a change (byte to byte)? |
02:56:56 | | Quit San (Read error: 110 (Connection timed out)) |
03:00 |
03:00:32 | | Quit webguest60 ("CGI:IRC") |
03:02:57 | | Join Febs [0] (n=4363c602@labb.contactor.se) |
03:06:43 | *** | Saving seen data "./dancer.seen" |
03:07:31 | | Nick }{CBM}{ is now known as CheeseBurgerMan (n=BurgerBo@63.150.80.142) |
03:08:41 | JdGordon | random q time.. any aussies here with optus digital? |
03:09:12 | ashridah | foxtel only here, sorry. |
03:10:07 | lostlogic | man, gcc's profiling stuff is some slick code |
03:20:27 | | Quit hardeep ("BitchX: all the things phone and hop won't include") |
03:28:25 | lostlogic | if profiling information is stored in normal RAM, it'll be mega-slow, but if it's stored in IRAM, it'll force things being profiled to use less than their fair share of IRAM. |
03:32:31 | | Quit DreamTactix291 (Read error: 110 (Connection timed out)) |
04:00 |
04:02:48 | | Quit JoeBorn ("open.neurostechnology.com") |
04:19:35 | | Quit Benacool (Read error: 110 (Connection timed out)) |
04:23:35 | JdGordon | is the record button planned to do anything on the h300 in the wps sccreen? |
04:25:05 | XavierGr | currently record button, only starts recording in the recording screen nothing else... (in iHP-100) |
04:25:53 | JdGordon | ye, but is anything planned for the button in the wps screen? coz id like to reimplement the shuffle/reply modes on the h300 like the origional fw |
04:26:02 | JdGordon | if hte button has nothing planned ofr it |
04:26:53 | XavierGr | nothing is planned for it. So you can play as you like with it. |
04:27:21 | XavierGr | But I guess that button assignments will be talked a great deal before a release. |
04:28:23 | JdGordon | great.. now to find the wps screen code :p |
04:28:30 | XavierGr | not to mention that current button mappings needs to be changed. Buttons are way too inconvinient this way IMHO |
04:29:13 | JdGordon | they really should be userconfigurable.. so u dont have to do stupid checks in the code for which keypad your dealing with |
04:29:59 | XavierGr | well the code for wps resides in apps/gui/gwps.c and gwps-common.c |
04:30:02 | XavierGr | I think |
04:30:28 | JdGordon | ta |
04:31:05 | XavierGr | go where the buttons are called. Then call your button and add your code. Though I don't know if it is easy to add what you want. |
04:31:47 | JdGordon | well im bored.. and i realised im missing that feaure too much :D |
04:32:24 | XavierGr | Sometimes I make special builds for myself with changed buttons. |
04:32:28 | XavierGr | ,too |
04:37:24 | | Join Paul_The_Nerd [0] (n=paulthen@cpe-66-68-93-2.austin.res.rr.com) |
04:37:45 | | Quit PaulJ (".") |
04:37:58 | | Join San [0] (n=Test@A-72-176.cust.iol.ie) |
04:47:32 | | Join tvelocity [0] (n=tony@ipa152.4.tellas.gr) |
04:58:09 | | Quit San (Read error: 110 (Connection timed out)) |
05:00 |
05:05:05 | | Join DreamTactix291 [0] (n=DreamTac@adsl-149-140-175.bna.bellsouth.net) |
05:05:57 | | Quit Paul_The_Nerd ("Chatzilla 0.9.68.5.1 [Firefox 1.5/undefined]") |
05:06:48 | *** | Saving seen data "./dancer.seen" |
05:08:59 | | Quit CheeseBurgerMan (Read error: 104 (Connection reset by peer)) |
05:13:42 | | Join Paul_The_Nerd [0] (n=paulthen@cpe-66-68-93-2.austin.res.rr.com) |
05:13:55 | | Join elinenbe [0] (i=elinenbe@207-237-225-9.c3-0.nyr-ubr1.nyr.ny.cable.rcn.com) |
05:14:15 | * | ashridah idly wonders if the cpu speed cap will be iriver's RLD syndrome :) |
05:15:15 | Paul_The_Nerd | RLD syndrome? |
05:15:58 | ashridah | Red LED of Death. an issue some archos's had where the unit would lock up and the hard drive LED would stay on. |
05:16:01 | ashridah | took a while to solve or so |
05:17:05 | Paul_The_Nerd | Aaah |
05:18:42 | JdGordon | XavierGr: i think ive done it... was damn simple once i figured out how rb deals with its settings :p |
05:22:54 | JdGordon | :'( the status bar is fucking with my head... whats the repeat mode that has SHF but no rep symbol? |
05:26:22 | JdGordon | ok, how do i get some debug info with the sim? |
05:30:10 | Paul_The_Nerd | Isn't that "reshuffle the entire playlist upon reaching its end"? |
05:32:03 | XavierGr | ashridah: Do you have any news on it? Or did you hear Linus saying that it is very difficult to solve? |
05:33:20 | | Join CheeseBurgerMan [0] (n=BurgerBo@63.150.80.142) |
05:33:59 | ashridah | on the cpu speed issue/ i've heard him say it's not something he understands yet, that's about it |
05:34:29 | XavierGr | strange indeed |
05:34:57 | XavierGr | what the progress on the H300. I think I have lost some episodes... |
05:35:37 | JdGordon | sound works, no radio/recording |
05:35:38 | XavierGr | Can it record? What about music? Is it the same with the H100 (except the CPU frequency)? Do plugins work allright (H100)? |
05:36:01 | XavierGr | sound works as in H100? |
05:36:16 | JdGordon | i dunno how it works in the h100 but it works fine in the 300 |
05:36:30 | ashridah | sound works, but the cpu speed makes some of them skip |
05:36:37 | JdGordon | sounds perfect to my destoryed ears so thats all i care about |
05:36:37 | XavierGr | I mean all the codecs, without frequent crashes .e.t.c... |
05:36:46 | ashridah | most plugins work, and many are currently being updated with colour and fullscreen support |
05:36:53 | ashridah | XavierGr: most of the codecs work untouched' |
05:36:58 | ashridah | some just need optimisation |
05:37:05 | JdGordon | oh, hasnt crashed on me yet, i only use mp3z tho... oggs arent done fully yet |
05:37:30 | XavierGr | lucky "bastards" we waited so long before playback was implemented with all those codecs in H100 ;P |
05:38:08 | XavierGr | for you it was just a week.... |
05:38:30 | XavierGr | on the other hand you waited so long to see a port so.... |
05:38:40 | DreamTactix291 | yeah |
05:38:51 | DreamTactix291 | i look at it this way. the more platforms the better |
05:39:10 | DreamTactix291 | i just have bragging rights that mine was the first non-archos one platform supported :) |
05:39:35 | XavierGr | hehe |
05:39:59 | * | XavierGr wonders when an official release for H100 will be out! :) |
05:40:22 | DreamTactix291 | probably can't be all too long from now |
05:40:35 | DreamTactix291 | just minor things now probably |
05:40:40 | ashridah | there's a cycle of feature freeze to get through first |
05:40:46 | DreamTactix291 | the firmware runs very stable nowadays |
05:40:47 | DreamTactix291 | yeah |
05:40:52 | XavierGr | Imagine it: With our installer and the pics on the supported models page! :D |
05:40:53 | ashridah | and i suspect they'd like to have recording working against least one codec |
05:40:54 | | Join FingerSoup [0] (i=icechat5@S010600508df503dc.vs.shawcable.net) |
05:41:11 | DreamTactix291 | they could do wavpack :P |
05:41:36 | XavierGr | wavpack seems nice, though I don't know how much of use it would be for me. |
05:41:40 | DreamTactix291 | well |
05:41:43 | DreamTactix291 | for me |
05:41:50 | DreamTactix291 | my entire lossless collection is wavpack and has been for a long time |
05:41:52 | | Join }{CBM}{ [0] (n=BurgerBo@63.150.80.142) |
05:41:56 | DreamTactix291 | so i'm more than familiar with it |
05:42:18 | lostlogic | who here thinks I'll actually succeed in making a profiling system for rockbox? |
05:42:39 | XavierGr | at least I managed to record my concert without those iriver damn clicks! :D |
05:42:40 | DreamTactix291 | you can succeed at anything if you keep at it |
05:42:48 | DreamTactix291 | woohoo |
05:43:18 | lostlogic | DreamTactix291: thanks :) I've basically ripped out one good function from the GCC implementation of profiling and we'll see where it gets me. |
05:43:26 | XavierGr | I was very worried because 2 week ago recording was still at the debug menu |
05:43:43 | XavierGr | and very buggy. |
05:43:49 | DreamTactix291 | yeah |
05:44:02 | DreamTactix291 | once stuff gets up in priority it usually gets done fast |
05:44:03 | XavierGr | but no it is lovely, only peak meter remains. |
05:44:30 | DreamTactix291 | yep |
05:44:52 | Paul_The_Nerd | And encoders. |
05:45:11 | XavierGr | well I will not hold my breath for them... |
05:45:27 | DreamTactix291 | well here's the thing |
05:45:35 | JdGordon | :'( my box is fucked |
05:45:38 | DreamTactix291 | fixed point mp3 encoders aren't of high quality |
05:45:55 | DreamTactix291 | so if you really care about archiving a recording that's probably not the way to go |
05:46:04 | JdGordon | does chanign tracks with repeat stall the player for any1 else? |
05:46:05 | Paul_The_Nerd | Who said MP3 encoders? |
05:46:12 | DreamTactix291 | well that's one encoder |
05:46:28 | Paul_The_Nerd | There's already a working lossless WV encoder on Rockbox, it's just not hooked into the recorder |
05:46:33 | DreamTactix291 | yep |
05:46:38 | DreamTactix291 | i've used the wv encoder |
05:46:43 | DreamTactix291 | it works fine |
05:46:47 | Paul_The_Nerd | Same here |
05:47:00 | XavierGr | why it isn't comitted yet, any problems with it? |
05:47:06 | Paul_The_Nerd | It's comitted Xavier |
05:47:14 | Paul_The_Nerd | It's only useable as a viewer on .wav files |
05:47:14 | XavierGr | ? |
05:47:31 | XavierGr | ah so you can encode the wav files later? |
05:47:36 | Paul_The_Nerd | Yep |
05:47:37 | DreamTactix291 | yes |
05:48:00 | ashridah | there's just currently no framework for encoding files on the fly |
05:48:07 | XavierGr | what about an unnoficial mp3 plugin with a good encoder? |
05:48:18 | DreamTactix291 | read what i said above |
05:48:26 | DreamTactix291 | fixed point mp3 = like sine |
05:48:27 | DreamTactix291 | shine* |
05:48:30 | DreamTactix291 | not really of quality |
05:48:55 | XavierGr | yes but we could find non-open source good wuality mp3 encoders |
05:49:02 | XavierGr | it is just that it would be illigal |
05:49:11 | FingerSoup | I'm looking at some of the plugin code, and I see a bunch of hex for the graphics. Is there a helper utility to make these graphics? if not, how do I go about encoding my own? (I've figured out how it works with minesweeper, but I don't know about sudoku...) |
05:49:15 | XavierGr | but if it is unofficial hehe |
05:49:43 | JdGordon | FingerSoup: there is a tool to ocnvert bmp to hex, or just load them as bmps on the player |
05:49:45 | DreamTactix291 | XavierGr: yeah but fixed point mp3 encoders still aren't very great |
05:50:27 | Paul_The_Nerd | DreamTactix291: "great" isn't really necessary. If you want to preserve quality, you do lossless anyway. If you're using lossy on-site, you're *probably* just doing voice anyway. |
05:50:36 | FingerSoup | so opening a BMP in a hex editor should do it? |
05:50:37 | DreamTactix291 | true |
05:50:39 | XavierGr | well iriver has a good one. It is copyrighted though. And there comes the Unofficial! |
05:50:51 | DreamTactix291 | iriver's mp3 encoder isn't that good |
05:50:57 | Paul_The_Nerd | FingerSoup: There's a tool, bmp2rb or something. Don't quote me on the name, I don't remember. =/ |
05:50:59 | DreamTactix291 | it's just better than shine :P |
05:51:02 | XavierGr | I thought it was... |
05:51:40 | FingerSoup | ahh, I see it - in the tools directory of rockbox-devel.... thanks |
05:51:53 | XavierGr | well as I said wav is enough for me. I am happy with it anyway. |
05:52:08 | DreamTactix291 | yeah |
05:52:20 | DreamTactix291 | and you can losslessly compress on the unit anyway |
05:52:57 | XavierGr | exactly |
05:54:06 | | Quit TCK (Read error: 110 (Connection timed out)) |
05:56:28 | lostlogic | lil help: can someone unravel this line into english for me? pfdindex = ++pfd[0].link; |
05:57:06 | Paul_The_Nerd | I think if it did realtime compression to WV or some other lossless format as it recorded, most people wouldn't care too much about lossy recording. |
05:57:49 | XavierGr | what about lossy wavpack! ;p |
05:58:15 | | Quit CheeseBurgerMan (Read error: 110 (Connection timed out)) |
05:58:30 | DreamTactix291 | is lossy wavpack integer? |
05:58:33 | DreamTactix291 | i know lossless is |
05:58:59 | Paul_The_Nerd | I dunno |
06:00 |
06:06:06 | | Quit tvelocity ("Leaving") |
06:06:27 | | Nick }{CBM}{ is now known as CBM-away (n=BurgerBo@63.150.80.142) |
06:11:36 | | Quit DMJC (Read error: 104 (Connection reset by peer)) |
06:16:45 | lostlogic | in need of a rough estimate of the total number of caller->callee pairs in any given codec. |
06:16:54 | lostlogic | (function pairs) |
06:23:11 | lostlogic | 1000 seems reasonable. |
06:24:25 | FingerSoup | Is there a functional simulator for either IRiver H300 or iPod? |
06:25:47 | lostlogic | there is a sim for H300, keep in mind that the rockbox sims are just UI simulators, not full sims |
06:27:07 | FingerSoup | true, but if I want to test a plugin for a connect 4 game i should test it in the sim before I ask to have it added to the CVS, right? |
06:27:34 | FingerSoup | (Also I want to test Color) |
06:28:18 | lostlogic | yes, test in sim. |
06:28:22 | lostlogic | not sure about color |
06:28:24 | Paul_The_Nerd | Working on the sim in now way guarantees it'll work on the hardware (and the opposite is also true) |
06:28:31 | Paul_The_Nerd | *no way |
06:28:43 | Paul_The_Nerd | But it's still a good idea |
06:29:34 | FingerSoup | ok. Does the h300 sim actually work with a color display (it didn't last build I did a week ago) |
06:30:16 | JdGordon | ye, its a colour display |
06:33:58 | | Join Lost-ash [0] (i=ashridah@220-253-121-124.VIC.netspace.net.au) |
06:36:53 | FingerSoup | Ok, I'm getting green screen with garbled data. Remote works, but I just get lines on the h300 sim main screen... |
06:37:42 | | Quit ashridah (Nick collision from services.) |
06:37:44 | | Nick Lost-ash is now known as ashridah (i=ashridah@220-253-121-124.VIC.netspace.net.au) |
06:38:08 | | Join San [0] (n=Test@A-72-176.cust.iol.ie) |
06:38:52 | FingerSoup | is this normal? |
06:40:01 | Paul_The_Nerd | I'm *guessing* not. |
06:40:33 | ashridah | what were you doing at the time? the lcd driver is bound to have bugs |
06:41:19 | JdGordon | any1 know why the quick screenw as removed from h300? |
06:41:22 | FingerSoup | I just compiled it. ../tools/configure, make, make install... |
06:41:52 | FingerSoup | latest CVS |
06:42:01 | ashridah | oh, wait, Sim. |
06:42:04 | * | ashridah missed that bit |
06:42:07 | FingerSoup | Yes... |
06:42:16 | FingerSoup | is the sim broken? |
06:42:23 | JdGordon | not here |
06:42:27 | ashridah | not sure, i haven't used it in a while |
06:42:33 | FingerSoup | Linux or cygwin? |
06:42:40 | JdGordon | win |
06:42:57 | FingerSoup | win target? not X11? |
06:43:03 | JdGordon | ye |
06:43:13 | JdGordon | they were syaing last nite the x1 sim needed work.. |
06:43:18 | JdGordon | could be what ur takling about? |
06:43:43 | FingerSoup | ok... Win target didn't work for me previously on the H100, I assumed that the X11 was the best build for all. |
06:43:56 | FingerSoup | will make clean and try again... |
06:45:36 | JdGordon | whats the ucl pack that keeps killing the compile? |
06:46:44 | ashridah | JdGordon: quick compression utility |
06:46:53 | JdGordon | k |
06:47:18 | JdGordon | can i disable it so the build works? |
06:47:35 | ashridah | it's being merged in and may cause random breakages atm because they need to get the rockbox firmware compressing for some of the older targets that have limits on how much data they can load on boot |
06:47:44 | ashridah | i have no idea, amiconn is the person to ask there |
06:51:13 | JdGordon | http://cisx1.uma.maine.edu/ticket.gif |
06:52:22 | Paul_The_Nerd | See, if such a thing actually existed JdGordon, I'd be handing them out to everyone I know. (Including possibly myself, but the insecure webserver is only up when no the other computer is physically powered down anyway. :-P) |
06:52:52 | ashridah | aah, if only. |
06:55:46 | Paul_The_Nerd | The last two tick boxes apply to everyone I know in person. |
06:58:22 | | Quit San (Read error: 110 (Connection timed out)) |
07:00 |
07:01:26 | | Quit RotAtoR () |
07:05:57 | lostlogic | sleep on this: How can I hash the ~1 million possible PC values to the ~1000 profiling counters efficiently? |
07:06:52 | *** | Saving seen data "./dancer.seen" |
07:24:06 | solexx_ | preglow? |
07:25:09 | | Join aliask [0] (n=chatzill@c210-49-190-113.eburwd8.vic.optusnet.com.au) |
07:27:48 | | Join DMJC [0] (n=DMJC@60-240-214-67.tpgi.com.au) |
07:28:07 | aliask | JdGordon: You still around? |
07:28:16 | JdGordon | i r |
07:28:29 | solexx_ | preglow: forget it, I see you fixed the problem with mono files |
07:28:29 | aliask | Did you get that WPS patch for the play mode running |
07:28:30 | JdGordon | wassup? |
07:29:08 | JdGordon | its a dead simple patch, but i dont know if its the firmware in general, or my playaer or what but it easily locked up the player |
07:29:28 | JdGordon | and switching from shuffle -> sorted list (and vice verca) doesnt work so well |
07:29:33 | aliask | Locked up your player? |
07:29:55 | JdGordon | ye jumping to next track with any repeat mode set |
07:30:07 | JdGordon | so dunno if it was the patch or what causes it |
07:30:43 | aliask | If you hold the A-B button when nothing is playing, you can alter the shuffle, etc, but not while something is playing. That might have something to do with it. |
07:31:30 | JdGordon | OH.. i didnt know the music had to be stoped to do it |
07:31:39 | * | JdGordon has been wondering where that damn screen went |
07:31:42 | Paul_The_Nerd | It *shouldn't* have to be. |
07:31:59 | aliask | Let me double check it, but I think that's how it went. |
07:32:01 | Paul_The_Nerd | But for some reason that screen isn't showing up during WPS on the H300. |
07:32:35 | aliask | Yeah, you have to stop the music. |
07:32:39 | JdGordon | ye, try it.. music has to be stopped, not even paused to get the screen |
07:34:08 | * | JdGordon hates the damn key mapping... NAV should cancel the track nav and play should play the song.. not the other way arround... |
07:34:19 | aliask | Also, on a side note, do the BMP's in peoples h300 WPS screens flicker? |
07:34:31 | JdGordon | ye a bit... |
07:34:44 | aliask | Ok good, just as long as I'm not the only one. |
07:34:47 | Paul_The_Nerd | Play is actually Resume. |
07:34:52 | Paul_The_Nerd | It plays what's already playing. |
07:34:57 | Paul_The_Nerd | Nav selects an object |
07:35:06 | Paul_The_Nerd | It makes sense from one perspective. |
07:35:10 | JdGordon | ye, thats what i mean.. its confusing :p |
07:35:17 | * | Paul_The_Nerd shrugs. |
07:35:31 | Paul_The_Nerd | Other people think it's perfectly logical. I thought it was confusing initially, but now think it's really more logical |
07:35:42 | Paul_The_Nerd | You launch *any* file by "selecting" it. .txt or .mp3 or otherwise |
07:35:45 | aliask | The transition from the iRiver firmware is a bit of a steep slope, because some things are the same, and then when something different pops up... |
07:35:53 | JdGordon | bingo |
07:36:04 | | Join TCK [0] (n=tckocr@81-178-243-57.dsl.pipex.com) |
07:36:56 | aliask | Is anyone working on Rockboy any more? |
07:37:14 | Paul_The_Nerd | Not at the moment. |
07:37:16 | Paul_The_Nerd | It's been in limbo for a while. |
07:37:28 | JdGordon | what button loads the quick menu on the h100? |
07:38:12 | aliask | It's a shame, it has such potential. And it's so close too. Pity my C skills fall a bit short. (I started learning yesterday, and have so far made extremely basic plugins) |
07:38:39 | Paul_The_Nerd | The menu that's A-B on the H300 is also A-B on the H100 |
07:38:47 | JdGordon | k |
07:39:11 | Paul_The_Nerd | aliask: I looked at it myself, but I'm not that great with C either, since it's been forever, and the code was... well... confusing. |
07:39:36 | aliask | Does it run full speed at 120mhz? |
07:39:55 | Paul_The_Nerd | Nope |
07:40:04 | Paul_The_Nerd | I think the estimate was about 72% speed or something like that? |
07:40:12 | * | Paul_The_Nerd isn't sure. |
07:40:40 | aliask | Hrm, I could do a test to see what % it is at 90mhz. |
07:42:18 | Bgr | morning :) |
07:42:23 | Paul_The_Nerd | Honestly, I'd actually like to see an NES emulator. :-P I mean, if I had a color screen model. |
07:43:33 | aliask | 35% by my calculations. |
07:43:40 | | Nick aliask is now known as alias|afk (n=chatzill@c210-49-190-113.eburwd8.vic.optusnet.com.au) |
07:43:42 | Paul_The_Nerd | Ouch |
07:46:09 | * | Bgr tryed schip8 yesterday |
07:46:12 | | Join Membrillo [0] (n=sam_kill@CPE-60-229-178-125.nsw.bigpond.net.au) |
07:46:58 | Membrillo | can the win32 sim only be used by devs? |
07:47:02 | Membrillo | for h3xx btw |
07:47:30 | Bgr | Membrillo: if you mean that u must build it on your own, then: yes |
07:47:55 | ashridah | you could probably use it as a particularly unweildy music player :) |
07:48:42 | Membrillo | well, I just wanted to use it for testing out wps's. Saves sending them across and testing them |
07:48:49 | | Join Kohlrabi [0] (n=Kohlrabi@dslb-082-083-140-116.pools.arcor-ip.net) |
07:48:56 | ashridah | it'd work for that |
07:49:06 | ashridah | but you'd need to build it yourself. |
07:49:13 | Membrillo | ah ok |
07:49:20 | Membrillo | thats not an easy thing? |
07:49:40 | | Quit crwl ("harry, you're a beast!") |
07:50:02 | Paul_The_Nerd | "easy" is a very subjective term... |
07:50:16 | Bgr | http://www.rockbox.org/twiki/bin/view/Main/SimpleGuideToCompiling |
07:50:47 | Paul_The_Nerd | I've never had much luck with the "devkit" |
07:50:52 | Bgr | hm, this won't work |
07:50:52 | Membrillo | Bgr: thanks thats perfect |
07:51:01 | Bgr | Membrillo: this won't work ... |
07:51:03 | Membrillo | it wont? |
07:51:04 | Paul_The_Nerd | http://www.rockbox.org/twiki/bin/view/Main/CygwinDevelopment |
07:51:23 | Bgr | Paul_The_Nerd: i had luck with it ... |
07:51:28 | Membrillo | Bgr: why is that? |
07:51:44 | Bgr | but the last time i checked out cvs ... i had to edit some makefiles ... |
07:51:54 | Bgr | (because of the ucl not compiling) |
07:51:58 | Paul_The_Nerd | Bgr: Ah well. Things just don't like me. |
07:52:56 | Bgr | anyway, i primary compile under linux, but i had work with premiere last days ... |
07:53:34 | Membrillo | Bgr: this guide is very linux based... im on windows :\ |
07:53:43 | Membrillo | a little confusing |
07:53:56 | Bgr | Membrillo: cygwin is "simulation" of linux under windows |
07:54:17 | Bgr | even the DevKit uses cygwin |
07:54:24 | Bgr | but this is just more hidden |
07:54:35 | Membrillo | right |
07:54:55 | Bgr | hm |
07:54:56 | Membrillo | i think ill just send them to my iriver :P im going to get very confused very soon |
07:55:09 | | Quit FingerSoup ("Say What?") |
07:56:15 | Membrillo | i wonder how i could write a .wps viewer in VB |
07:56:26 | Membrillo | ld be useful |
07:56:31 | Membrillo | would* |
07:58:08 | Bgr | Membrillo: see http://www.rockbox.org/twiki/bin/view/Main/EZWPS |
07:58:45 | Paul_The_Nerd | It could use updating though |
07:58:47 | | Join crwl [0] (n=crawlie@karu.kekkola.jyu.fi) |
07:59:04 | Paul_The_Nerd | And it doesn't preview them |
07:59:19 | Bgr | hm, yes |
07:59:24 | Membrillo | well, i have no problem writing the wps |
07:59:32 | Membrillo | its just viewing it is a pain |
07:59:34 | Bgr | Membrillo: ah, ok |
08:00 |
08:00:21 | | Nick alias|afk is now known as aliask (n=chatzill@c210-49-190-113.eburwd8.vic.optusnet.com.au) |
08:00:23 | Bgr | maybe someone should write an wps "viewer" (most preferably in C, using the rockbox's wps code as much as possible) |
08:00:34 | Bgr | s/an/a |
08:00:58 | Paul_The_Nerd | Bgr: They're called "UI simulators" :-P |
08:01:01 | Membrillo | Bgr: yeah i was thinking using the rb code would be very benefficial, but i only know VB, not C |
08:01:12 | Membrillo | otherwise it wouldnt be too difficult |
08:01:30 | Bgr | yes, and it won't have the same bug as rockbox's wps ;) |
08:01:48 | Membrillo | whats that? |
08:01:57 | Bgr | the same bugs |
08:02:11 | Membrillo | oh right gotcha :P |
08:02:31 | Paul_The_Nerd | Which bugs are those? |
08:02:48 | Bgr | Paul_The_Nerd: aren't there any ? |
08:03:09 | Bgr | i don't have anything particular in mind |
08:03:30 | Paul_The_Nerd | Well, no the H300 bitmaps flicker, but thats not so much a bug in the WPS code as the display code I think. Wouldn't really know about that. |
08:04:09 | Paul_The_Nerd | Otherwise, I'm pretty sure it's all "working as intended" at the moment. |
08:04:33 | Bgr | i've seen only one bug in wps and it's the fact that when the statusbar is on and i load another wps ... the first line of the wps goes on the top of the statusbar |
08:04:40 | Bgr | (at least on the remote) |
08:04:45 | Paul_The_Nerd | Hrm |
08:05:04 | Bgr | someone confirmed this |
08:05:05 | Paul_The_Nerd | Do your WPS have the %we or %wd tag in them? |
08:05:21 | Bgr | Paul_The_Nerd: i haven't digged into WPSes |
08:05:42 | Bgr | just loaded other wps than the default |
08:05:44 | Paul_The_Nerd | %we and %wd enable or disable the status bar. |
08:06:01 | Paul_The_Nerd | I *think* they're necessary now for WPS to function properly |
08:06:07 | Bgr | and the first line (artist) didn't showed |
08:06:32 | Paul_The_Nerd | Hrm |
08:06:35 | Bgr | then i loaded rockbox_default (is that the correct name) |
08:06:54 | Paul_The_Nerd | Bgr, was that one of the included WPSs or is it from the WpsGallery or elsewhere? |
08:07:47 | Bgr | and it showed on the top of statusbar (the artist name was long and i was able to see flickering statusbar/wps artist) |
08:07:58 | Bgr | after reboot it was OK |
08:08:07 | Bgr | Paul_The_Nerd: it was from the included ones |
08:08:12 | Bgr | boxes or iAmp |
08:08:24 | Paul_The_Nerd | Interesting |
08:08:26 | Bgr | again, all this was on the remote |
08:08:50 | Bgr | btw, s/<Bgr> and the first line (artist) didn't showed/(the artist name was long and i was able to see flickering statusbar/wps artist) |
08:08:59 | Bgr | uf |
08:09:13 | Paul_The_Nerd | I thought both of those had the status bar disabled... |
08:09:22 | Paul_The_Nerd | That is strange. |
08:09:33 | | Join FingerSoup [0] (i=icechat5@S010600508df503dc.vs.shawcable.net) |
08:09:35 | Bgr | i'll test again, just give me a sec |
08:09:47 | Paul_The_Nerd | I'll test too. |
08:09:51 | Paul_The_Nerd | Are you H300 or h100? |
08:10:22 | Bgr | h300 :) |
08:10:25 | Paul_The_Nerd | Do you load it by "Browse themes"? |
08:10:30 | Bgr | no, i dont |
08:10:41 | Bgr | btw, boxes disables the statusbar, correct |
08:10:46 | Bgr | but it flickers on the remote |
08:11:05 | FingerSoup | ok, I'm trying to build graphics for a rockbox plugin. the bmp2rb program is giving me erronious results.... ie: 4 digit hex values for an unsigned char... can I just split these, or will I end up with problems? |
08:11:35 | Bgr | Paul_The_Nerd: ok, it's simple |
08:11:40 | Bgr | just load rwps |
08:11:43 | Bgr | like boxes |
08:11:46 | Bgr | then rockbox_default |
08:11:54 | Bgr | and u'll see that the artist is not showing |
08:12:07 | JdGordon | FingerSoup: which player u converting it ot? |
08:12:25 | Bgr | after that reboot and u'll see the artist line |
08:12:30 | Bgr | under the statusbar |
08:12:31 | FingerSoup | I'm using target 0 - Mono |
08:12:33 | Paul_The_Nerd | It works fine on mine |
08:12:41 | Paul_The_Nerd | At least with "browse themes" |
08:12:47 | Paul_The_Nerd | Lemme try to manually load the rwps |
08:12:51 | FingerSoup | Is there a restriction on my bitmap sizes? |
08:12:59 | JdGordon | dont tihnk so |
08:13:12 | Bgr | FingerSoup: it's up to the screen size iirc |
08:13:29 | Membrillo | I just finished iPodVOL optimisation for h3xx |
08:14:05 | Paul_The_Nerd | Bgr: If you use Browse Themes it works fine. |
08:14:18 | Paul_The_Nerd | If you browse the .rwps it behaves as you describe. |
08:14:21 | Bgr | Paul_The_Nerd: but if you use the browse .rwps ... :) |
08:15:00 | FingerSoup | Well, it's a small bitmap.... 22x19 |
08:15:11 | Paul_The_Nerd | But is default the only one that does this Bgr? |
08:15:14 | JdGordon | has any1 tried enabling the fm reciever on the h300 and seenn if it works without mod? |
08:15:20 | Bgr | Paul_The_Nerd: no idea :) |
08:15:22 | Paul_The_Nerd | The default wps/rwps are actually handled differently than all the others |
08:15:33 | Bgr | but if it's the default, it's in the rb code |
08:15:50 | Bgr | see, i haven' |
08:15:57 | Bgr | t had time to dig into this |
08:16:40 | FingerSoup | I'm getting mixed 16 and 8 bit digits outputted. ie: 0x3c, 0xfcfc,0xfc, 0x50, 0x00, |
08:16:49 | JdGordon | thats fucked :D |
08:17:01 | FingerSoup | Can I split the 0xfcfc to 0xfc 0xfc? |
08:17:11 | JdGordon | try it and find out :p |
08:17:23 | Bgr | FingerSoup: isn't 0x3c = 0x003c ? |
08:17:25 | JdGordon | worst thing that will happen is it wont display properly |
08:18:06 | FingerSoup | true... If not, is there an *ick* manual way to calculate? |
08:18:19 | FingerSoup | ie: plotting on graph paper? |
08:19:29 | JdGordon | which player? i tinhk thats doable on the archos... |
08:19:42 | FingerSoup | also, is it normal for the output to end in a comma? ie:0x00, 0x00,}; |
08:20:08 | Bgr | hm, the last isn't supposed to be normla |
08:20:10 | Bgr | normal |
08:20:33 | FingerSoup | Something's funny in there... |
08:21:43 | FingerSoup | I am supposed to feed it a 1-bit BMP, right? |
08:22:25 | Bgr | FingerSoup: r u using rb2bmp ? |
08:22:33 | FingerSoup | bmp2rb |
08:22:33 | | Join Jungti1234 [0] (n=jungti12@58.77.81.144) |
08:22:40 | Bgr | oh, yeah |
08:23:18 | Bgr | iirc the wps loading code supports only 1 (and maybe 2) bit bitmaps for now |
08:23:41 | FingerSoup | It's not for wps.... it's for a Connect 4 plugin... |
08:23:58 | Bgr | hm |
08:24:17 | FingerSoup | So I need the bmp2rb to make my bitmap... |
08:24:25 | Bgr | then u should be able to use 16bit bitmap ... |
08:24:30 | Paul_The_Nerd | Bgr: I suspect the internal default rwps needs to be updated. |
08:24:48 | FingerSoup | ok, I'll give it a shot, changing my bit depth... |
08:24:50 | Bgr | Paul_The_Nerd: i suspect the same |
08:25:22 | Bgr | FingerSoup: why don't u take a look at how the rb logo is showed ? |
08:27:00 | FingerSoup | I've been looking at plugins such as minesweeper and bejeweled. I want the graphics to be self-contained. |
08:28:13 | FingerSoup | they have something that is SIMILAR to what bmp2rb outputs, but it's always a 2 hex-digit number, never 4, and the array ends with a hex digit, not an empty spot before the curly brace.... |
08:28:41 | Bgr | hm... doesn't the bejeweled use a 1bit bmp as mask |
08:30:00 | Bgr | i think it does, because of the color defines |
08:30:06 | Bgr | #define COLOR_BLACK LCD_RGBPACK(0,0,0) |
08:30:06 | Bgr | #define COLOR_RED LCD_RGBPACK(255,0,0) |
08:30:11 | Bgr | and so on... |
08:30:52 | FingerSoup | static unsigned char jewel[8][66] = { {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,... |
08:30:58 | Membrillo | is there any way you can align text by pixel rather than left center or right in WPS's? |
08:31:15 | FingerSoup | 0x00, 0x00} |
08:31:26 | Bgr | Membrillo: i don't think there is such way (for now) |
08:31:32 | FingerSoup | That's the part I need to convert from BMP..... |
08:31:45 | Bgr | FingerSoup: |
08:31:45 | Bgr | rb->lcd_mono_bitmap(jewel[0], |
08:31:45 | Bgr | j*TILE_WIDTH, |
08:31:45 | Bgr | (i-1)*TILE_HEIGHT+k-TILE_HEIGHT/8, |
08:31:45 | Bgr | TILE_WIDTH, TILE_HEIGHT); |
08:31:46 | *** | Alert Mode level 1 |
08:31:46 | Bgr | /* draw new position */ |
08:31:54 | Bgr | lcd_MONO_ |
08:32:11 | Bgr | rb->lcd_set_foreground(jewel_color |
08:32:11 | Bgr | [bj->playboard[j][i].type]); |
08:32:28 | JdGordon | any1 know if enabling the radio and fixing errors will kill me h300??? |
08:32:33 | FingerSoup | yes. that's not my problem code.... the problem is my "static unsigned char jewel[8][66] = { {0x00," is totally miunged.... |
08:32:44 | FingerSoup | munged even.... |
08:32:57 | Bgr | hm |
08:33:07 | FingerSoup | A char is 8 bit... FCFC is 16 bit... |
08:33:14 | Bgr | JdGordon: i don't think that u should try |
08:33:32 | JdGordon | its the same tuner as the h1x0's isnt it? |
08:34:02 | Paul_The_Nerd | Bgr: It only applies to the default, as far as I can tell |
08:34:39 | Bgr | JdGordon: yes, it is, but you don't know whether it's on the same i2c address ... |
08:34:54 | JdGordon | whats the worst that could happen? |
08:34:54 | Paul_The_Nerd | Bgr: Though poking around, I can't see why yet. |
08:35:13 | Bgr | JdGordon: to write commands to different chip than the FM tuner |
08:35:31 | JdGordon | so what? crash? or crash and burn? |
08:35:44 | Bgr | maybe crash ... |
08:35:59 | Bgr | i don't know what chips are connected via i2c ... |
08:36:14 | JdGordon | it couldnt kill the hardware tho? right? |
08:36:27 | Bgr | the power managment unit was connected also via i2c iirc |
08:39:01 | | Join San [0] (n=Test@A-72-176.cust.iol.ie) |
08:41:47 | *** | Alert Mode OFF |
08:43:50 | JdGordon | well.. it didnt kill my player :D |
08:44:13 | Bgr | is there radio |
08:44:21 | | Quit Strath (Read error: 104 (Connection reset by peer)) |
08:44:40 | JdGordon | no, the tuner screen works, but no sound.. and music wouldnt play once i quit it.. so needs some work |
08:44:42 | Bgr | JdGordon: u just didn't realise it yet |
08:44:45 | JdGordon | but it didnt crash or kill it |
08:45:02 | | Join Strath [0] (n=mike@dpc674681214.direcpc.com) |
08:45:03 | Bgr | your disk info is totally destroyed :P |
08:45:03 | JdGordon | i rebooted into iriver and sound works so im happy |
08:45:16 | Bgr | just kidding |
08:45:24 | * | JdGordon needs to do safer things when bored :p |
08:46:29 | Jungti1234 | hi |
08:47:31 | Bgr | hi, Jungti1234 |
08:49:02 | Membrillo | jungti, i told you i would linger :P you want me to test that wps now? |
08:51:09 | | Join einhirn [0] (i=Miranda@bsod.rz.tu-clausthal.de) |
08:54:40 | Jungti1234 | yes |
08:56:05 | Membrillo | where can i get it |
08:56:59 | JdGordon | well that was scary.. music wouldnt play in rb.. even without the radio compiled... |
08:57:01 | JdGordon | all fixed tho |
08:57:22 | Bgr | hm |
08:57:56 | JdGordon | so at least we know its "farily safe" to compile it in... untill more proper testing is done |
08:59:12 | | Quit San (Read error: 110 (Connection timed out)) |
09:00 |
09:04:09 | JdGordon | bored.. |
09:04:27 | Bgr | JdGordon heh |
09:05:18 | | Join ender` [0] (i=ychat@84.52.165.220) |
09:05:29 | * | amiconn notices ashridah was joking ;) |
09:05:57 | Membrillo | do you think it would be possible for rockbox to stop USB connection without rebooting? |
09:05:58 | amiconn | [05:16:03] <ashridah> took a while to solve or so <== 'a while', ahahaha |
09:06:21 | Bgr | Membrillo ? |
09:06:27 | * | Bgr searches the logs |
09:06:54 | *** | Saving seen data "./dancer.seen" |
09:06:58 | Bgr | hahaha |
09:07:07 | Membrillo | .......? |
09:07:16 | * | Bgr hopes that ashridah will not be right |
09:07:24 | Bgr | isn't right, even |
09:07:58 | Bgr | Membrillo: http://www.rockbox.org/irc/current.txt ; search for "05.14.15" |
09:08:24 | Bgr | amiconn: get an h300, please :)) |
09:08:34 | Bgr | uf, s/an/a |
09:08:34 | Jungti1234 | maybe soon possible. |
09:09:07 | Jungti1234 | Membrillo, Where is WPS? |
09:10:26 | | Join amiconn_ [0] (n=jens@p54BD52FC.dip.t-dialin.net) |
09:11:41 | | Quit amiconn (Nick collision from services.) |
09:11:41 | | Nick amiconn_ is now known as amiconn (n=jens@p54BD52FC.dip.t-dialin.net) |
09:12:15 | amiconn | The 'while' was more than 2 years... |
09:12:33 | Jungti1234 | -_-; |
09:12:39 | Bgr | yes, that's why i hope u'll get a h300 :P |
09:13:02 | amiconn | Bgr: I couldn't find one at any of the electronics shop I visited yesterday |
09:13:28 | Bgr | :( |
09:16:26 | FingerSoup | amiconn : http://cgi.ebay.com/iRiver-H340-H300-Series-40-GB-MP3-and-VIDEO-Player_W0QQitemZ5836138428QQcategoryZ48683QQrdZ1QQcmdZViewItem |
09:16:36 | FingerSoup | h340 |
09:17:21 | amiconn | Yeah, I know about the eBay option, although I would look at german eBay |
09:17:23 | FingerSoup | not mine, but I figured there has to be some on ebay |
09:17:29 | FingerSoup | ahh, ok |
09:18:09 | FingerSoup | $31 is pretty cheap though (3 days left tho...anything could happen...) |
09:18:12 | Bgr | BID ONLY IF YOU ARE IN THE US. Please. |
09:18:41 | Bgr | hm, this guy has worse english than mine ... :) |
09:18:43 | FingerSoup | true... Read the info - ships only to US... |
09:19:55 | amiconn | Getting things from eBay outside the own country (or another EU country in case of the EU) might cause nasty surprises |
09:20:18 | amiconn | Believe me, I ran into that when getting my H140 from Switzerland :( |
09:20:45 | amiconn | This was not the seller's fault; customs and VAT, you know... |
09:21:04 | | Join San [0] (n=Test@A-72-176.cust.iol.ie) |
09:21:33 | Paul_The_Nerd | Wow, $31 is incredibly cheap. I'm surprised it started that low. |
09:22:05 | ashridah | has it hit a reserve? |
09:22:40 | Paul_The_Nerd | There's not a mention of one |
09:26:14 | Jungti1234 | http://www.ipodsubwaymaps.com/ : wow.. |
09:27:23 | Paul_The_Nerd | New York City served them a cease and desist a little while back |
09:28:35 | Jungti1234 | $31? |
09:28:51 | Jungti1234 | Expensive |
09:29:49 | Paul_The_Nerd | They're $400 at the official iriver store online. |
09:30:05 | Paul_The_Nerd | I'd say $31 is a rather good deal. :-P |
09:30:10 | Paul_The_Nerd | These are USD. |
09:30:36 | Jungti1234 | The Korea is $268.99. |
09:31:19 | | Quit Sando () |
09:31:51 | | Join Sando [0] (n=lolsteam@techgaming.net) |
09:36:38 | Jungti1234 | Soon new firmware of H300 becomes release. |
09:37:38 | ashridah | or so it's claimed. |
09:38:03 | * | ashridah fondly remembers being burned by promises of gapless playback and OTF playlists |
09:38:06 | Jungti1234 | no |
09:38:27 | Jungti1234 | It becomes release certainly. |
09:39:08 | Jungti1234 | iRiver employee spoke to me. |
09:40:43 | ashridah | i've heard that before. |
09:40:50 | Paul_The_Nerd | Yeah, they just kinda gave up on the H120. Made promises, and never kept 'em. |
09:40:53 | * | ashridah believes only when he sees |
09:41:02 | ashridah | not that it matters to me, since i don't have a H300 |
09:41:09 | ashridah | i hope you're right |
09:41:12 | ashridah | but i wouldn't bet on it :) |
09:42:19 | Paul_The_Nerd | Hey, new firmware doesn't mean new features anyway. |
09:42:35 | Paul_The_Nerd | Maybe they decided to make the volume have twice as many increments. |
09:42:45 | | Join Vladoman [0] (n=Vladoman@p54A7FD15.dip.t-dialin.net) |
09:42:47 | ashridah | heh. or it could mean you get an option called 'gapless' like we did, which noticably did jack |
09:43:23 | ashridah | (if you don't already) |
09:43:27 | Paul_The_Nerd | Hehehe |
09:43:59 | | Join LinusN [0] (n=linus@labb.contactor.se) |
09:44:38 | Bgr | morning, LinusN:) |
09:44:41 | Jungti1234 | gapless...gapless... |
09:44:47 | Bgr | hahaha Jungti1234:) |
09:44:48 | LinusN | morning |
09:45:33 | * | Paul_The_Nerd mutters something |
09:45:51 | Paul_The_Nerd | I upgraded to a newer version of my IRC client, and it doesn't display channel joins any more |
09:46:29 | ashridah | LinusN: SDL works across X11 just like any X11 client does |
09:46:40 | ashridah | LinusN: unless you're using it to get a GLX context. |
09:46:53 | LinusN | Paul_The_Nerd: it's propably fixed in the next daily build of your client ;-) |
09:47:02 | LinusN | ashridah: good |
09:47:04 | ashridah | it'd probably vastly simplify input handling, drawing to the screen (the same code would work on windows and X11, pretty much) |
09:47:13 | LinusN | yeah |
09:47:18 | ashridah | of course, it means devs would need an SDL library for cygwin |
09:47:21 | ashridah | and headers |
09:47:29 | ashridah | but there should be instructions for that on the SDL website afaik. |
09:47:31 | LinusN | that was my next question |
09:47:40 | Paul_The_Nerd | I should really use a real client, rather than ChatZilla |
09:47:52 | LinusN | Paul_The_Nerd: i use xchat2 |
09:48:42 | Paul_The_Nerd | Thanks |
09:49:23 | ashridah | LinusN: http://www.libsdl.org/extras/win32/gcc.html covers the various ways to build against sdl for windows |
09:49:37 | LinusN | goodie |
09:50:18 | perplexity | qemu is compiled with SDL and that works very well cross platform |
09:51:18 | * | ashridah notes it's a pity he's about to fly 500k's away from his linux development machines in two days :( |
09:51:44 | FingerSoup | ok, I'm still having issues with bmp2rb. I can't get good output from it... It keeps spitting out 16 bit digits for an unsigned char.... |
09:52:22 | FingerSoup | are there any restrictions on the type of file I feed it? |
09:52:41 | FingerSoup | using target 0 (Mono for most players) |
09:54:19 | LinusN | FingerSoup: oh |
09:55:29 | FingerSoup | Output (whitespace removed) const unsigned char white[] = {0x80, 0x60, 0x10, 0x08, 0x04, 0x04, 0x02, 0x02, 0x01, 0x01, 0x01, 0x01, 0x01,0x01, 0x02, 0x02, 0x04, 0x04, 0x08, 0x10, 0x60, 0x80, 0x0f, 0x30, 0x40, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40b,0x00, 0x6423, 0x6665, 0x6e69, 0x2065, 0x4d42, 0x4850, 0x4945, 0x4847, 0x5f54, 0x6877, 0x7469, 0x2065, 0x3931, 0x230a, 0x6564, 0x6966, 0x656e, 0x4220, 0x504d, 0x4957, |
09:56:00 | LinusN | wow |
09:56:17 | LinusN | can you dcc me the bmp? |
09:57:20 | FingerSoup | It's 22x19. Does similar results in 1 bit and 24 bit... |
09:57:35 | amiconn | FingerSoup: This is a bug in bmp2rb, obviously introduced with colour support |
09:57:49 | FingerSoup | known? |
09:58:11 | | Quit _Vladoman (Read error: 110 (Connection timed out)) |
09:59:36 | FingerSoup | Ok, so how do I calculate a proper bitmap? ie: can i sit down with graph paper and figure this out easily? |
10:00 |
10:02:00 | amiconn | Of course bmp2rb needs to be fixed, but until then you could check out a version from before colour support was added |
10:02:56 | amiconn | Unfortunately I won't have much time today... |
10:03:10 | LinusN | FingerSoup: i have fixed it |
10:03:22 | LinusN | just committed it |
10:03:50 | FingerSoup | cool. thanks! |
10:04:15 | LinusN | hmm, did i fix it correctly, though...? |
10:04:49 | LinusN | no i didn't :-) |
10:05:01 | amiconn | ??? |
10:05:57 | amiconn | I thought I added almost everything needed for colour support back when I added support for multiple input formats, but obviously something went wrong even in this small extension step... |
10:05:59 | | Quit DJDD_ ("Trillian (http://www.ceruleanstudios.com") |
10:06:17 | LinusN | yes, i changed the type of the bitmap from char to short |
10:06:32 | LinusN | but messed up in the malloc() and memset() parts |
10:08:53 | | Join DJDD_ [0] (n=DJDD@220-245-186-182.static.tpgi.com.au) |
10:10:01 | Jungti1234 | wow |
10:10:43 | Jungti1234 | I that convert bdf to fnt myself succeed. |
10:11:01 | * | ashridah hands Jungti1234 the cookie of success |
10:11:22 | Jungti1234 | hehe |
10:11:29 | Jungti1234 | thanks |
10:11:39 | ashridah | wow, that seems to have translated well |
10:11:43 | amiconn | LinusN: Ugh, so the malloc was too small? |
10:11:54 | LinusN | yes (!) |
10:11:57 | | Join webguest79 [0] (n=c31ce021@labb.contactor.se) |
10:12:03 | amiconn | I wonder why it didn't segfault... |
10:12:07 | LinusN | me too |
10:12:19 | Jungti1234 | I unused translation. :) |
10:13:54 | amiconn | I see that the 16bit output of bmp2rb uses the same simple but broken shift-right conversion... |
10:14:58 | Jungti1234 | But, I don't know whether I must install Rockbox Development Kit how. |
10:16:23 | LinusN | amiconn: ? |
10:17:13 | | Join B4gder [0] (n=daniel@static-213-115-255-230.sme.bredbandsbolaget.se) |
10:17:45 | amiconn | LinusN: For 16bit output, the conversion of 8bit channel brightness to 5/6 bit is done by a simple right shift |
10:17:51 | amiconn | This is cheap, but imprecise |
10:18:18 | LinusN | what do you suggest? |
10:18:29 | amiconn | Took me quite a while to figure out how it has to be done correctly. |
10:18:44 | | Join linuxstb [0] (n=linuxstb@i-83-67-212-170.freedom2surf.net) |
10:19:21 | amiconn | The problem is that e.g a right shift by 3 maps 8 source values to one destination value (0..7 becomes 0, 8..15 becomes 1 etc), |
10:19:31 | amiconn | and this is wrong with graphics, |
10:19:47 | amiconn | because it should round to the _nearest_ value |
10:20:06 | amiconn | and that makes the ends of the whole interval half the width of the rest |
10:20:33 | amiconn | Example, disregarding scaling for the moment: |
10:20:54 | * | LinusN prepares his brain for a learning experience |
10:21:56 | amiconn | If we map source intervals of 8 to one destination value, the first and the last source interval has to be cut in half |
10:22:20 | amiconn | So 0..3 would map to 0, 4..11 would map to 1, ... |
10:22:46 | amiconn | The inverse has to be done (and is done in bmp2rb) when expanding |
10:23:07 | amiconn | ...otherwise white would never be white again |
10:23:30 | | Join Zagor [0] (n=bjst@194-237-150-170.customer.telia.com) |
10:23:35 | LinusN | amiconn: i see |
10:23:52 | amiconn | The right shift essentially does dv = sv / 8 which is equal to dv = (sv * 32) / 256 |
10:24:47 | amiconn | We need to do dv = ((sv + 127) * 31) / 255 |
10:25:37 | amiconn | Erm, wrong |
10:25:49 | amiconn | dv = (sv * 31 + 127) / 255 |
10:27:09 | LinusN | i'll fix that later today |
10:27:40 | | Nick Lynx_awy is now known as Lynx_ (n=lynx@tina-10-4.genetik.uni-koeln.de) |
10:29:37 | | Quit JdGordon (Read error: 104 (Connection reset by peer)) |
10:29:51 | | Join JdGordon [0] (n=Miranda@c211-28-93-42.smelb1.vic.optusnet.com.au) |
10:31:10 | amiconn | One more commit (error-free) and we'll have a stain-less build table :) |
10:32:25 | JdGordon | hey LinusN, linuxstb |
10:32:57 | JdGordon | is there a reason the quick menu can only be accessed when music is stopped? it worked fine earlier int he week didnt it? |
10:33:25 | Jungti1234 | hey Membrillo |
10:33:47 | linuxstb | LinusN: Am I right in thinking the pcf50606 RTC doesn't have "spare" RAM for settings info? |
10:35:40 | ghode|afk | is there a website with more info on video playback for the h100? |
10:39:29 | Membrillo | hey Jungti1234 |
10:40:03 | JdGordon | is it possible to view the currently playing playlist? |
10:40:24 | Membrillo | i think you press a-b |
10:41:05 | JdGordon | hmm.. no its hold navi - playlist - vieww current.. but it locks up my player? |
10:41:44 | JdGordon | hmm... no, ye its a-b |
10:42:01 | JdGordon | works fine in the sim.. but kills my h300 |
10:42:05 | | Quit DMJC (Connection timed out) |
10:43:03 | | Join DMJC [0] (n=DMJC@220-244-239-27-sa-pppoe.tpgi.com.au) |
10:43:58 | linuxstb | JdGordon: Any progress on a Sudoku generator, or have you given up on that idea? |
10:44:06 | JdGordon | hmm... ok i tinhk i need to low level format the hdd and do a disk check |
10:44:09 | JdGordon | given up :D |
10:44:24 | JdGordon | actually, no, lost interest... |
10:45:59 | Jungti1234 | Membrillo |
10:46:52 | linuxstb | JdGordon: I guessed that by the way you are searching Rockbox looking for something interesting to do :) |
10:47:07 | JdGordon | hmm.. ye |
10:48:05 | JdGordon | seen as the iriviers have a decent amount of ram.. is it possible to allow them to store the current playlist indicies twice? once for the sorted order and once for shuffled? that way we could jump between the 2 redicoulously quickyl... |
10:48:45 | Paul_The_Nerd | I *do* keep accidetally generating shuffled playlists. |
10:49:00 | Paul_The_Nerd | I'll add 4 or 5 folders, then check it before I save and it's all shuffled up because I forgot to turn it off. |
10:49:25 | Paul_The_Nerd | Or at least the first bunch of songs are. |
10:50:00 | JdGordon | what id really like to do is put back the shuffling ability like the iriv fw.. but turning on/off shuffle stalled it.. |
10:50:05 | preglow | lostlogic: you can't use iram for storing pc values, it's very tight there |
10:50:35 | Paul_The_Nerd | What do you mean "like the iriver firmware?: |
10:51:13 | JdGordon | long is 16bits ye? |
10:51:30 | FingerSoup | yes |
10:53:01 | FingerSoup | JdGordon - Just make an "All" Playlist, then use the "Shuffle Playlist" option.... |
10:53:19 | amiconn | long is 32bits |
10:53:29 | amiconn | (or more on 64bit CPUs) |
10:53:55 | JdGordon | no, i like quing up a directory or 3 and then have it on shuffle, but be able to turn shuffle of if i want to |
10:54:31 | FingerSoup | Oops. How'd I screw that up.... |
10:54:37 | JdGordon | amiconn: i told u guys yersterday my brain was asleep... i have nfi y i thought long was 16 :p what i meant to type was 64 |
10:55:12 | JdGordon | ... 64 = int*2... |
10:55:14 | FingerSoup | Oh, Wait, it's 2:00 AM here.... |
10:56:07 | FingerSoup | Int is 16 bits on 16 bit processors, 32 bits on 32 bit processors, and 64 on 64 bit processors, AFAIK... |
10:56:41 | FingerSoup | Or am I mixing that up with long? Aren't they synonyms? |
10:57:22 | JdGordon | i tinhk this is why we r tought in uni not to assume anything :D |
10:57:29 | FingerSoup | http://www.phim.unibe.ch/comp_doc/c_manual/C/CONCEPT/data_types.html |
10:58:31 | FingerSoup | there's a table for 32 bit processors in there.... 64 bit makes life more "Interesting" |
11:00 |
11:00:03 | FingerSoup | When in doubt, use sizeof() |
11:00:26 | linuxstb | There's no reason not to always use sizeof() |
11:00:53 | Paul_The_Nerd | Clean, green build table. :) |
11:01:07 | JdGordon | so.. about the 2nd array idea? is it possibly doable? or stupid waste f ram? |
11:01:15 | | Join TCK- [0] (n=tckocr@81-178-189-33.dsl.pipex.com) |
11:03:36 | FingerSoup | It's not supportable with the current architecture, I thought.... Rockbox is supposed to work like rockbox. Changing the shuffle might take a lot more work, and may break other platforms with low memory (Archos stuff probably).... |
11:03:37 | preglow | FingerSoup: not alwayas true, amd64 has a 32 bit int |
11:04:24 | FingerSoup | Is that built on 32 or 64 bit OS? Does it change, or is it always 32? |
11:04:44 | FingerSoup | ie: AMD can run in 32, 64 or hybrid mode |
11:05:05 | FingerSoup | at least that is my understanding from the initial tech docs I saw... |
11:05:47 | | Join mirak [0] (n=mirak@AAubervilliers-151-1-47-131.w83-114.abo.wanadoo.fr) |
11:06:25 | | Join lamed [0] (n=d4b3395e@labb.contactor.se) |
11:06:57 | *** | Saving seen data "./dancer.seen" |
11:07:44 | JdGordon | bah |
11:08:27 | preglow | FingerSoup: for both 32 bit and 64 bit oses |
11:08:40 | preglow | FingerSoup: it depends on the compiler, of course, but afaik, all current compilers enforce it |
11:08:55 | preglow | FingerSoup: the 'long' is 64 bit, though |
11:09:45 | FingerSoup | ahh, that's where I get mixed up. It's the long that changes, not the int (unless you go lower than 32 bit) |
11:09:52 | merbanan | FingerSoup: what is hybrid mode ? |
11:10:15 | preglow | FingerSoup: the int usually changes as well, but not for amd64 |
11:10:24 | preglow | FingerSoup: guess they were afraid of lots of code breaking |
11:10:46 | FingerSoup | merbanan - It's a predominantly 32 bit mode with access to some 64 bit registers... |
11:11:10 | preglow | nah, i think it's the other way around, 64 bit mode with possibility to run 32 bit code, like current v86 mode |
11:11:25 | FingerSoup | ok, could be... |
11:11:36 | preglow | it makes no sense for 32 bit code to use 64 bit registers |
11:11:55 | FingerSoup | true enough... |
11:11:56 | lamed | hello |
11:12:01 | preglow | not allowing it to happen, at least |
11:12:26 | t0mas | hm |
11:12:36 | Membrillo | finished my IpodVOL WPS. how do i submit it |
11:13:13 | Membrillo | i think its a very nice wps if i may say so IMHO |
11:14:00 | | Quit TCK (Read error: 110 (Connection timed out)) |
11:15:45 | lamed | linusn, around? |
11:17:29 | | Join wett [0] (n=Wett@d02v-62-34-192-173.d4.club-internet.fr) |
11:17:52 | JdGordon | how do u load a bmp from a file? |
11:18:15 | lamed | to a wps or just to view it? |
11:18:25 | JdGordon | in a plugin |
11:18:47 | perplexity | Membrillo: I wonder if anyone would ever say "I just spent 10 hours creating a WPS, but it's a load of tot.. never the less, where do I submit it" ?? ;) |
11:19:50 | t0mas | ghehe |
11:20:25 | Membrillo | perplexity: im very... very... confused |
11:20:28 | t0mas | I can commit one... |
11:20:43 | t0mas | but I'll have to check the rules first... as I don't know what exactly are the rules for new wps-es |
11:20:49 | perplexity | It was a friendly poke at this −−-> <Membrillo> i think its a very nice wps if i may say so IMHO. Please don't take it seriously |
11:21:43 | Membrillo | i found this http://www.rockbox.org/twiki/bin/view/Main/SubmitWPS |
11:22:27 | lamed | how do i mount the player in cygwin? |
11:22:55 | JdGordon | linuxstb: where is the b+w bitmap loader function? i cant find it |
11:23:07 | * | amiconn wonders whether the wps packager can be made to handle wps'es with the same name for different targets |
11:23:15 | LinusN | apps/recorder/bmp.c |
11:23:19 | amiconn | lamed: You don't need to explicitly mount it |
11:23:27 | JdGordon | cheers |
11:23:38 | * | JdGordon thinks the directory structure needs work :p |
11:23:42 | LinusN | amiconn: that would be nice indeed |
11:23:43 | amiconn | cygwin provides all windows drives as /cygdrive/<drivelettr>/ |
11:23:44 | perplexity | amiconn: Could the wps perhaps be extended with some form of metadata tag listings it's applicable targets? |
11:23:50 | JdGordon | .. but understands its too mcuh effort and not really needed |
11:24:14 | Membrillo | who wants to check out my ipoddy based WPS? |
11:24:16 | Membrillo | http://jupiter.walagata.com/w/membrillo/hPod.rar |
11:24:34 | LinusN | JdGordon: yes, the directory structure was good back in the old archos days, but not anymore |
11:24:46 | LinusN | Membrillo: rar? |
11:24:46 | Paul_The_Nerd | amiconn: I think the WPS packager could do that if it read the "Width" as being equal to, rather than being the minimum required width. |
11:25:15 | t0mas | Membrillo: do you have a screenshot? |
11:25:15 | Membrillo | oh i can do it as zip if you want |
11:25:16 | LinusN | Paul_The_Nerd: nah, it should pick the highest |
11:25:26 | LinusN | highest that fits |
11:25:30 | Paul_The_Nerd | Ah, the highest that fits. |
11:25:46 | Paul_The_Nerd | My brain is on its way to shutting down. That should've been obvious. |
11:25:47 | amiconn | There's another problem in the wps packager that I noticed. |
11:25:49 | JdGordon | the devs are eurpoeans or yanks? |
11:26:00 | Paul_The_Nerd | They're people. :-P |
11:26:05 | JdGordon | i mean, should i spell colour with the u or not? |
11:26:10 | t0mas | ghehe |
11:26:10 | t0mas | euro |
11:26:13 | t0mas | most of us |
11:26:15 | Paul_The_Nerd | I'm from Texas and I spell it with a U. |
11:26:17 | JdGordon | not that it really makes a diff |
11:26:17 | preglow | most are europeans, it seems |
11:26:26 | preglow | some are even scandinavians! |
11:26:27 | amiconn | Not important atm because there are no player wps'es, but the script says that it can'zt go its magic because no lcd dimensions are given for player |
11:26:43 | amiconn | *it can't do... |
11:27:33 | Membrillo | ok |
11:27:33 | Membrillo | http://jupiter.walagata.com/w/membrillo/hPod.zip |
11:27:56 | amiconn | JdGordon: I use a mixed approach. For actual code I use american spelling bacuase it's common to do so, but for comments I try to aviod it |
11:28:07 | amiconn | *because |
11:28:16 | * | amiconn can't type |
11:28:26 | * | t0mas is off to install linux :) |
11:28:44 | markun | good luck t0mas |
11:28:48 | t0mas | my sister infected her laptop with a load of spyware again |
11:29:03 | LinusN | i uz aol spk as oft as poz, less typing |
11:29:07 | LinusN | :-) |
11:29:22 | JdGordon | amiconn: no1 reads comments anyway.. so ppl wont care if u cant speel |
11:29:23 | t0mas | LinusN: lol |
11:29:57 | t0mas | LinusN: wh4t ab0ut l33t spe4k? |
11:30:00 | Membrillo | Y0 DuD35. 133+ 5p33|< i5 teh b0mb |
11:30:02 | LinusN | c00l |
11:30:10 | JdGordon | the bmp2rb can read colour bmps ye? |
11:30:13 | Membrillo | i created a leet generator haha |
11:30:19 | LinusN | JdGordon: yes |
11:30:25 | | Quit markun ("Lost terminal") |
11:30:26 | JdGordon | (y) |
11:30:28 | t0mas | Membrillo: lol |
11:30:53 | t0mas | and then we descend even further.... we start using msn emoticons... (A) |
11:30:58 | t0mas | :P |
11:31:08 | Membrillo | hahaha |
11:31:17 | | Join markun [0] (n=karl@bastards.student.ipv6.utwente.nl) |
11:31:20 | Membrillo | oh with my WPS, it seems you need to keep the folder and file name of ipodVOL |
11:31:26 | | Join Polo_o [0] (n=polo_o@82-69-160-166.dsl.in-addr.zen.co.uk) |
11:31:43 | markun | wow, screen just core dumped.. |
11:31:43 | Membrillo | why is that? |
11:31:55 | t0mas | you mean including the caps? |
11:32:12 | Membrillo | well |
11:32:25 | Membrillo | i renamed the file and folder to hPod and RB couldnt find it |
11:33:04 | t0mas | hm... I don't know |
11:33:06 | LinusN | did you change the theme .cfg file? |
11:33:16 | Membrillo | ah |
11:33:22 | linuxstb | LinusN: Am I right in thinking the pcf50606 RTC doesn't have any "spare" RAM for settings info? |
11:33:23 | Membrillo | i didnt know you had to |
11:33:26 | t0mas | but I'm leaving now... said I would be at my sisters place at 11:30 :) |
11:33:32 | LinusN | Membrillo: you don't |
11:33:35 | Membrillo | oh |
11:33:39 | Membrillo | well i didnt |
11:33:48 | LinusN | did you browse for WPS? |
11:33:53 | | Quit t0mas (" see ya") |
11:33:57 | LinusN | or browse themes? |
11:33:59 | | Quit DMJC (Read error: 104 (Connection reset by peer)) |
11:34:04 | LinusN | linuxstb: correct |
11:34:33 | linuxstb | LinusN: Have you done any work on that? I'm assuming we're going to need to split the HAVE_RTC define somehow. |
11:34:47 | LinusN | yes, somehow |
11:34:48 | linuxstb | (the ipod has a similar chip) |
11:34:57 | Membrillo | ummm |
11:35:01 | Membrillo | browse themes i think |
11:35:04 | | Join Zak1392 [0] (n=zkeeping@CPE-139-168-223-188.sa.bigpond.net.au) |
11:35:12 | JdGordon | "Reads a monochrome BMP file and puts the data in rockbox format in *bitmap" <- that format is the same as the format used to hardcode bitmaps to be drawn right? |
11:35:15 | Zak1392 | hello guys |
11:35:16 | amiconn | linuxstb: A separate HAVE_RTC_RAM perhaps? |
11:35:19 | Bgr | linuxstb: isn't it even nearly the same (pcf50605) ? |
11:35:20 | LinusN | there is a slight problem with writing to the pcf50606 from a background thread |
11:35:26 | Membrillo | how do i get to browse WPS |
11:35:33 | Zak1392 | any progress linus? |
11:35:40 | LinusN | Zak1392: not really |
11:35:41 | XavierGr | linuxstb, preglow: here is a nice site that may interests you. http://www.smashmyipod.com/index.php |
11:35:43 | XavierGr | haha |
11:35:51 | Membrillo | and for some reason the battery image isnt coming up |
11:35:51 | amiconn | JdGordon: The 'monochrome' needs to be removed from the description |
11:35:52 | XavierGr | oh and good morning all! |
11:36:07 | LinusN | JdGordon: yes |
11:36:12 | JdGordon | great |
11:36:33 | LinusN | Membrillo: i guess the file name for the battery image is wrong? |
11:36:43 | LinusN | Membrillo: run it in the simulator |
11:36:51 | JdGordon | so i have to ask... is there a reason the code from bmp2rb.c wasnt copied into bmp.c? am i missing something? |
11:37:06 | amiconn | Of course there is... |
11:37:15 | LinusN | malloc() for one :-) |
11:37:17 | Membrillo | where can i get the sim from? |
11:37:22 | amiconn | The code in bmp2rb uses mallo and hence loads of RAM |
11:37:31 | LinusN | Membrillo: you build it |
11:37:36 | Membrillo | is there an already compiled version i can grab somewhere (i know the legalities are bad) |
11:37:47 | LinusN | legalities? |
11:37:54 | Membrillo | im scared of building |
11:38:00 | lamed | <amiconn> lamed: You don't need to explicitly mount it | well then how do i access it from cygwin? |
11:38:19 | LinusN | Membrillo: dangerous stuff ;-) |
11:38:25 | | Quit webguest79 ("CGI:IRC (Ping timeout)") |
11:38:27 | | Quit mordov (Read error: 104 (Connection reset by peer)) |
11:38:36 | amiconn | lamed: [11:23:44] <amiconn> cygwin provides all windows drives as /cygdrive/<drivelettr>/ |
11:38:44 | lamed | linusn: have you read yesturday's log? |
11:39:05 | LinusN | lamed: which part? |
11:39:21 | Membrillo | one of the battery images doesnt work |
11:39:26 | Membrillo | and im not sure why |
11:39:30 | Bgr | XavierGr: morning |
11:39:31 | Membrillo | its exactly the same as the rest |
11:39:45 | Bgr | XavierGr: Amanda Coneyworth is the girl ... $30 :) |
11:39:56 | XavierGr | eh? |
11:40:10 | Bgr | the biggest donor from the list |
11:40:18 | XavierGr | ah yes :) |
11:40:23 | | Join mordov [0] (n=Mordov@171.80-202-208.nextgentel.com) |
11:40:31 | XavierGr | now I am downloading the video LOL |
11:41:09 | Membrillo | so where do i download the source of the sim |
11:41:37 | Membrillo | do i get all these things http://www.rockbox.org/viewcvs.cgi/uisimulator/win32/ |
11:42:05 | Bgr | Membrillo: via cvs |
11:42:15 | | Join TCK [0] (n=tckocr@81-178-130-100.dsl.pipex.com) |
11:42:49 | Membrillo | wheres that |
11:42:50 | Bgr | http://www.rockbox.org/twiki/bin/view/Main/UsingCVS |
11:43:00 | lamed | linusn: that part i've said something about rockbox still compiling the firmware file outside of ./rockbox folder, (=in the root), but bootloader v6 checks the firmware directory for the file before of checking the root. that might be a problem if someone forgot a firmware file in /.rockbox and he's trying to update. the makefile should be changed to place the file inside the folder imho, it seems nicer. |
11:43:02 | Bgr | hm, do u have dev env ? |
11:43:10 | Membrillo | im getting that now |
11:43:20 | LinusN | lamed: didn't you read my answer in the log? |
11:43:27 | lamed | ah, no. |
11:43:33 | lamed | i'll go c |
11:43:42 | LinusN | 19:37.19 |
11:43:54 | FingerSoup | if you get the rockbox-devel tree as opposed to the rockbox tree, it comes with all the stuff - UISim, etc... |
11:44:10 | LinusN | lamed: you aren't supposed to move rockbox.iriver there yourself |
11:44:36 | LinusN | lunch! |
11:44:40 | Jungti1234 | Membrillo: Is it completion? |
11:45:09 | Membrillo | Jungti1234: i thought so but i just found a problem |
11:46:01 | Membrillo | ahhh |
11:46:03 | Membrillo | im so confused |
11:46:18 | lamed | | when we finally change the distribution archives| - isn't that just patching the makefiles? |
11:46:29 | lamed | (linusn) |
11:46:58 | lamed | amiconn: tt |
11:47:15 | * | amiconn wonders what's still wrong with the windows installer builds |
11:52:11 | | Quit linuxstb (Read error: 110 (Connection timed out)) |
11:52:32 | | Join linuxstb [0] (n=linuxstb@i-83-67-212-170.freedom2surf.net) |
11:53:19 | markun | Gigabeat is spinning up for every song, strage if you have 32MB of ram. |
11:53:46 | | Quit Membrillo () |
11:54:25 | | Quit TCK- (Read error: 110 (Connection timed out)) |
11:55:11 | preglow | excellent programming |
11:55:48 | XavierGr | wasn't it the iriver fw that buffered only 3 songs regardless buffer? |
11:56:00 | preglow | yea |
11:56:49 | XavierGr | I can't still understand how rockbox has inferior battery time on mp3 with that. (add to that the low battery level running) |
11:58:14 | lamed | that smash my ipod movie is so bad. |
11:58:28 | XavierGr | why? |
11:58:33 | XavierGr | bad in quality? |
11:58:41 | XavierGr | i haven't seen it yet |
11:58:49 | XavierGr | i am downloading it |
11:59:31 | Bgr | XavierGr: just iriver runs CPU at less frequency for mp3 decoding than rb |
11:59:36 | lamed | boading like hell... |
12:00 |
12:00:16 | lamed | just a nerd guy that smashed a brand new ipod. he did most of the mayham not in the store but at the street. |
12:00:39 | XavierGr | ah I thought that he did it in the store, pitty |
12:01:02 | lamed | xaviergr: he did, only a part. he stomped on it for couple of times. |
12:01:15 | * | Cassandra gets 20 hours or so out of her H120. |
12:01:19 | Cassandra | This is enough. |
12:01:21 | XavierGr | bgr: Even if that's the case hard disk buffering takes more battery than cpu (if not so great in difference) |
12:01:29 | XavierGr | wow |
12:01:36 | lamed | cassandra: how old is the battery? (the player?) |
12:01:37 | XavierGr | 20hours with a normal battery? |
12:02:00 | Cassandra | (OK - I cheated - it's a high capacity iPod v1 battery with the terminals switched.) |
12:02:07 | XavierGr | so there |
12:02:10 | Bgr | XavierGr: ok, but hard disk spins not much of the time while playing, and the cpu is working non-stop |
12:02:19 | lamed | xaviergr: could you specify battery size for me? cassandra - 2200 i assume? |
12:02:31 | Cassandra | I think so, yes. |
12:02:40 | lamed | you _think_.... |
12:02:40 | XavierGr | I got 25 hours with a 1900mah battery at 50 volume and 128 bitrate mp3s |
12:02:48 | XavierGr | no EQ |
12:02:51 | lamed | with iriver's fw? |
12:03:06 | XavierGr | for any benchmarls of the battery please consider using my tsr plugin found on the patch tracker. |
12:03:21 | Cassandra | It's a while since I bought it, and no, with Rockbox. |
12:03:22 | XavierGr | It does a very good job on logging the battery on a real stress test. |
12:03:37 | lamed | xaviergr: could you specify battery size for me? |
12:03:40 | XavierGr | lamed: 25 hours under rockbox. |
12:03:49 | XavierGr | for you? |
12:03:56 | XavierGr | you mean what to advice you to buy? |
12:04:05 | Jungti1234 | Membrillo: It's problem. |
12:04:31 | Jungti1234 | My H300 became fool. |
12:04:51 | lamed | no, i mean i need to know the battery size, because there's some local store that can manufacture/order batteries, they might grab an 2800mah for me... |
12:06:19 | lamed | i've read a reply of yours over misticriver's site, so i've figured you must know. |
12:07:04 | JdGordon | how do we do dynamic allocation in rb? |
12:08:26 | Cassandra | http://cgi.ebay.co.uk/Apple-iPod-1-1st-Generat-Battery-2200-mAh-UP325385A4H_W0QQitemZ5835077338QQcategoryZ3728QQssPageNameZWDVWQQrdZ1QQcmdZViewItem |
12:08:32 | Cassandra | I think that's the one I have. |
12:08:55 | Cassandra | JdGordon, nope. |
12:09:07 | Cassandra | That is, we don't. |
12:09:18 | JdGordon | AH.. hmm.. |
12:09:28 | lamed | no good, i have to know the dimentions. |
12:09:58 | lamed | xaviergr: i've ment the dimentions. |
12:10:16 | | Quit TCK (Read error: 110 (Connection timed out)) |
12:10:54 | Jungti1234 | H300's wps is unstable. |
12:12:20 | XavierGr | lamed you need the physical dimensions of the battery? |
12:12:33 | Jungti1234 | http://cafefiles.naver.net/data10/2005/11/23/253/DSCN2217.jpg |
12:12:48 | Jungti1234 | I made it. |
12:13:21 | lamed | xaviergr: exactly. |
12:13:22 | Kohlrabi | :) |
12:13:24 | JdGordon | too bad about the song... looks good |
12:13:30 | JdGordon | nice n simple |
12:13:37 | Jungti1234 | hahaha |
12:13:41 | XavierGr | oh come on Jungti1234 at least you could choose a bigger font for that. It is so empty |
12:13:42 | lamed | my english sucks when i'm not around my translator... |
12:14:04 | Jungti1234 | bigger font? |
12:14:35 | Jungti1234 | I like it. |
12:15:11 | XavierGr | lamed: http://www.dapstore.com/pd1151879454.htm?categoryId=2 |
12:15:21 | XavierGr | here is my battery's specs |
12:15:43 | Jungti1234 | I know there. |
12:16:40 | XavierGr | lamed: you were right the smashmyipod video wasn't so good. I am gonna watch part2 now. :) |
12:17:00 | | Join Wett_ [0] (n=Wett@d02v-62-34-192-173.d4.club-internet.fr) |
12:17:05 | LinusN | lamed: still there? |
12:18:12 | lamed | yeah |
12:18:30 | LinusN | yes, it's only a matter of changing the zip-creation script |
12:18:30 | preglow | JdGordon: you don't |
12:18:45 | JdGordon | ... :'( |
12:19:02 | * | JdGordon is trying to be helpfull... but hurting brain |
12:19:23 | LinusN | but if we started distributing rockbox zips with rockbox.iriver in .rockbox, people withj older bootloaders will have problems |
12:19:38 | | Quit wett (Read error: 110 (Connection timed out)) |
12:19:44 | LinusN | that's why we'll wait until more people have upgraded |
12:20:00 | amiconn | LinusN: What's wrong with the installer builds? |
12:20:07 | preglow | JdGordon: there is a simple malloc for codecs, but its use is frowned upon, you should allocate statically all you need |
12:20:11 | lamed | ah, you are so right about that. |
12:20:13 | LinusN | i have no idea, B4gder was supposed to check the logs |
12:20:28 | JdGordon | ok, i think ive figured it out |
12:20:28 | B4gder | they didn't give me much clues |
12:20:32 | Cassandra | Is the installer going to get checked into CVS any time soon? |
12:20:43 | lamed | xaviergr: let me know if it's any better. thank for the link. |
12:20:46 | B4gder | Wine exited with return code 1 |
12:20:46 | B4gder | ./installer/src/update-dailybuild: build-installer process failed: 31 |
12:20:49 | LinusN | Cassandra: that's a good idea |
12:21:21 | Cassandra | *nods* I think so. |
12:21:37 | amiconn | LinusN: Different matter - while I agree that exceeding the potential clipping limit for volume, I'm strongly against yet another option |
12:21:44 | B4gder | actually, most build system stuff should get checked in |
12:21:50 | amiconn | I know that you also want volume to be in dB |
12:22:12 | LinusN | yes i do |
12:22:21 | XavierGr | lamed: no, part 2 actually sucks big time. Don't watch it. I expected something more funny. pitty. I will probably head to smashmyxbox.com HAHA |
12:22:31 | amiconn | I have an idea how to account for both, but I'm not sure about the best way |
12:22:38 | LinusN | amiconn: shoot |
12:23:28 | amiconn | We could just define the maximum volume guaranteed to not clip as 0 dB |
12:23:50 | amiconn | Then negative values never clip, positive values clip potentially |
12:24:21 | LinusN | exactly how i want it |
12:24:23 | amiconn | The problem with that is that the 0 dB point would move with varying bass/treble |
12:24:44 | Cassandra | which would be very confusing, I feel. |
12:25:03 | LinusN | hmmm |
12:25:08 | amiconn | We could simply define 0dB as the "minimal maximum" i.e. the one which doesn't clip at maximum bass+treble |
12:25:51 | amiconn | In fact the MAS3587/MAS3539 do it almost the same |
12:25:52 | LinusN | like the 93% on archos recorder |
12:26:15 | lamed | Launch! |
12:26:16 | amiconn | Our 92% equal 0dB, 100% is +12 dB |
12:26:27 | LinusN | yup |
12:27:00 | amiconn | So we could define today's 83% as 0 dB on iriver |
12:27:14 | amiconn | It would go up to +24 dB then... |
12:28:42 | LinusN | sounds fair |
12:29:01 | * | perplexity just spotted the Chip-8 emulator... wooooooooo!! |
12:29:27 | perplexity | I remember programming on an original homebrew machine with the chip-8 rom years ago :) Now that takes me back |
12:29:34 | LinusN | are there any no-boot-black-lcd h300 owners here? |
12:29:36 | amiconn | Btw, I think using the full 24dB range for bass boost is silly |
12:29:58 | * | Cassandra uses a value of 16dB. |
12:30:04 | amiconn | Really? |
12:30:14 | Cassandra | My ER-4ps need the bass driven hard. |
12:30:24 | LinusN | we've had this discussion before (not using the full potential of the dac) with bluechip, remember? |
12:30:34 | amiconn | No? |
12:30:38 | | Quit Bagder (Read error: 113 (No route to host)) |
12:30:51 | LinusN | that's why he made that mas3687 plugin |
12:30:57 | LinusN | 3587 |
12:32:34 | preglow | i think defining 0db that way would be kind of silly |
12:32:54 | preglow | i've never seen a system that defined 0db as anything other than full scale output |
12:33:02 | preglow | and we shouldn't break with too many conventions |
12:33:37 | B4gder | well, I don't like the idea of db as volume scale at all |
12:33:59 | Cassandra | It does tend to be rather confusing. |
12:34:14 | preglow | i don't really see the big point in making the volume control use decibels as a unit |
12:34:18 | preglow | it wont be accurate anyway |
12:34:35 | preglow | not unless we map the scale we use to the one the uda chip uses |
12:34:46 | LinusN | true |
12:35:06 | amiconn | preglow: That was the idea |
12:35:17 | amiconn | (mapping to the actual DAC scale) |
12:35:21 | LinusN | the point of using dB would be that it's obvious that >0dB risks clipping |
12:35:22 | preglow | yup |
12:35:52 | LinusN | i once had an idea of using >100% for the same reason, but i liked db better |
12:35:55 | preglow | LinusN: why? you assume that people know about how digital audio works. there are analogue products out there that can be driven to 6db and higher without clipping |
12:36:15 | B4gder | I don't think very many people will see the connection of 0db vs clipping |
12:36:17 | preglow | LinusN: i agree if you map 0db -> 100%, but not if you map 0db -> 83% or whatever |
12:37:06 | lamed | xaviergr: there was some debate on an oldish misticriver post, that the battery thick is 3.2 mm, not 3.8. it seems like a mistake, but are you sure with the data you gave me? - another question. is it totally squarish - i mean, are the coreners round off? is the battery tapered at the tips? |
12:37:23 | preglow | a bit tapered here and there, yes |
12:37:44 | preglow | why don't you open it up and see? |
12:37:52 | XavierGr | lamed I cant be sure about these details, sorry |
12:39:02 | amiconn | I' also in favour of a dB scale for volume |
12:39:18 | amiconn | The volume scale is logarithmic, so % don't make much sense |
12:39:32 | Cassandra | My old one is square |
12:39:44 | LinusN | the only problem is that Joe User isn't familiar with dB |
12:39:49 | Febs | There would be much confusion about using a db scale. You've got people who just can't understand why 20 on the iriver doesn't equal 50 on Rockbox. How will they understand a volume setting with negative numbers. |
12:40:04 | * | Paul_The_Nerd votes for dB |
12:40:04 | XavierGr | IMHO volume on rockbox is already confusing |
12:40:05 | LinusN | on the other hand, who cares about the scale? |
12:40:15 | preglow | LinusN: does it matter? i thought we did this for internal reasons anyway |
12:40:19 | XavierGr | 50 isn't half the volume... |
12:40:21 | | Join Wett [0] (n=Wett@d02v-62-34-192-173.d4.club-internet.fr) |
12:40:31 | Cassandra | And approx 2mm thick. |
12:40:31 | LinusN | you adjust the volume until it is right for your ears |
12:40:36 | amiconn | ..and that > 0 dB mean potential clipping isn't my own idea... it's just how the newer MAS' do it |
12:40:43 | Paul_The_Nerd | If they're already confused, think that 1% is a set increment, then does it may even force them to realize it's not the expected scale. |
12:40:54 | Cassandra | I believe that the replacement is thicker though. |
12:40:57 | Paul_The_Nerd | Wow, that sentence doesn't even read like I'm a native English speaker... |
12:41:09 | XavierGr | haha Febs you got my ignorance |
12:41:16 | B4gder | Paul_The_Nerd: no, you can't be! ;-) |
12:41:19 | | Quit Zak1392 () |
12:41:29 | Paul_The_Nerd | In my defence it is 5:40 in the morning. |
12:41:37 | preglow | anyway, the display shouldn't be decibel anyway |
12:41:45 | preglow | anyway anyway anyway |
12:41:47 | Cassandra | Arbitrary units for volume are fine, since it's entirely subjective what the 'correct' volume is anyway. |
12:42:26 | amiconn | There is quite a number of consumer devices with a dB scale... even using negative values for less than full volume |
12:42:46 | XavierGr | yes I have seen that a lot. |
12:42:47 | preglow | well, anything else would be plain wrong, so they should |
12:42:50 | Paul_The_Nerd | My home stereo does. |
12:43:06 | Cassandra | Most peak meters do. |
12:43:24 | Cassandra | But then my rather nice stereo uses 0-100 just like Rockbox. |
12:43:30 | ashridah | and lets not forget every self-respecting equalizer uses +ve/-ve scales |
12:43:35 | amiconn | My home stereo happens to use a scale of 0..100 though |
12:43:54 | B4gder | I would say that _most_ devices use 1-100, 0-100 or 1-10 |
12:43:59 | Paul_The_Nerd | My cheap stereo uses a scale from 1 to 30 though. |
12:44:15 | amiconn | ...but I also know a fairly old panasonic compact stereo that uses dB |
12:44:28 | Paul_The_Nerd | I think you've got two decisions to make then |
12:44:51 | preglow | still: why are we switching to db? |
12:44:55 | Paul_The_Nerd | One: Do you have some means of indicating where the "possible clipping may occur" point is (>100% or >0dB) |
12:44:59 | ashridah | give people yet-another-option! yay! |
12:45:01 | Cassandra | I just don't see the point in all these clipping options. |
12:45:03 | Paul_The_Nerd | Then, if the answer to that is definitely YES, then what scale? |
12:45:08 | preglow | Cassandra: why not? |
12:45:30 | Cassandra | Well, the default has always seemed to work fine for me. |
12:45:42 | preglow | Cassandra: well, yeah, but other people use rockbox as well :) |
12:45:43 | | Quit merbanan (Read error: 110 (Connection timed out)) |
12:45:48 | Cassandra | (And I use obscenely high boost settings and very quiet headphones.) |
12:45:51 | Febs | The present default is probably THE single biggest complaint about Rockbox. |
12:45:58 | preglow | yeah |
12:46:01 | LinusN | Febs: yup |
12:46:03 | preglow | i think it's a decent option |
12:46:12 | Cassandra | preglow, no other *important* people though. ;) |
12:46:46 | preglow | Cassandra: of course not, but we've got to toss the other masses an option or two from time to time to give the impression we care about them |
12:47:03 | XavierGr | so if the volume scaling change: I will be able to raise volume in such way that clipping will occur? |
12:47:19 | preglow | XavierGr: yes |
12:47:33 | XavierGr | without an option to disable such thing? |
12:47:33 | preglow | that is, not with the volume scale change itself |
12:47:47 | preglow | we're talking about an option that will let you choose as well |
12:47:48 | XavierGr | (with bass,right) |
12:48:00 | Cassandra | I say if we must do it leave the volume as is and add another option. |
12:48:01 | XavierGr | ah then I am with it too. |
12:48:23 | | Join Moos [0] (n=DrMoos@m79.net81-66-158.noos.fr) |
12:48:23 | Cassandra | Much though I hate adding more options. |
12:48:40 | XavierGr | trully though I don't care I never use eq. ;p |
12:48:42 | preglow | but yeah, are we changing to decibel scale to ease detection of possibility of clipping, or not? |
12:48:44 | LinusN | i dislike optionitis as well |
12:48:50 | preglow | XavierGr: me neither |
12:49:10 | XavierGr | but why dislike too many options? |
12:49:11 | LinusN | preglow: my idea is using db in both the interface and internally |
12:49:26 | XavierGr | I thought that this is the good part of Rockbox |
12:49:27 | * | Cassandra ponders the idea of moving advanced configuration (or extreme tweakability) to a plugin, thus keeping the main binary small and simple. |
12:49:32 | XavierGr | User configurable |
12:49:53 | LinusN | Cassandra: the main application still has to understand the settings |
12:49:59 | Cassandra | XavierGr, confusing, and takes up more memory. |
12:50:19 | Cassandra | LinusN, true, but you don't need to have all the menus for configuring it in the binary. |
12:50:22 | XavierGr | I see as problem only the second |
12:50:27 | preglow | the menus aren't the space eater |
12:50:36 | preglow | afaik |
12:50:54 | XavierGr | it is better to have more happy users instead of some confused |
12:50:59 | Cassandra | XavierGr, well, I'm actually concerned with making Rockbox more accessible to mainstream users, so both are a concern for me. |
12:51:04 | XavierGr | that's why there are manuals you know |
12:51:12 | Febs | People don't read them. |
12:51:24 | XavierGr | their problem IMHO |
12:51:29 | Paul_The_Nerd | I think that there's already a pretty significant division in users. |
12:51:30 | preglow | well, yeah, a bit |
12:51:39 | preglow | but we also know they don't, so have the possibility to adjust |
12:51:43 | Paul_The_Nerd | Those who understand why the volume seems different than iRiver FW, and those who don't. |
12:51:54 | Cassandra | XavierGr, yes and no. If it puts them off using Rockbox, it's not a good thing. |
12:52:24 | preglow | but i also like having options, it's what sets rockbox apart from the other oses |
12:52:25 | Paul_The_Nerd | And I think the former group will probably nod and think something like "those kooky developers" then shrug and go back to normal life with a change in the volume scale. |
12:52:26 | XavierGr | All well known programs (that are famous and very Joe user friendly) are full of options. |
12:52:31 | Cassandra | Since we rely entirely on word of mouth to 'market' Rockbox. |
12:53:21 | Cassandra | Rockbox is currently the Microsoft Word of MP3 players. |
12:53:28 | XavierGr | Well these options make rockbox to shine over all the other firmwares. This sweet taste of configurability ;p |
12:53:39 | Cassandra | Sure, it's neat to have all those options, but your average user doesn't need 90% of them. |
12:53:42 | preglow | however, we might want to hide some advanced options somehow |
12:53:46 | preglow | without cluttering things too much |
12:54:03 | XavierGr | wel that's an option too |
12:54:36 | perplexity | put all the *advanced* type configuration options into a plugin |
12:54:37 | preglow | i've got one leg in each camp, really, i think rockbox is a better os with more configurability, but i also see that lots of people never want to deal with them |
12:54:43 | XavierGr | but setting an option limit to rockbox is not good. Rockbox should be limitless. |
12:54:51 | preglow | perplexity: why into a plugin? why not just a separate menu? |
12:55:03 | | Quit Wett_ (Read error: 110 (Connection timed out)) |
12:55:07 | preglow | the menu code isn't what takes space, the code to handle the different options is what takes space |
12:55:11 | perplexity | Just thinking of binary size mainly |
12:55:24 | perplexity | Oh well, then a separate menu |
12:55:25 | preglow | and that code needs to be in the main binary, mostly |
12:55:29 | Paul_The_Nerd | Hrm |
12:55:50 | XavierGr | Though still if you make a poll you should see that most of the users like all sorts of options. |
12:56:05 | | Quit linuxstb (Remote closed the connection) |
12:56:07 | preglow | most of our current users, yes |
12:56:18 | preglow | we also want the ones we aren't getting because of our current profile |
12:56:29 | perplexity | and _that_ is the issue preglow |
12:56:31 | XavierGr | are there any? |
12:56:33 | | Join linuxstb [0] (n=linuxstb@213.86.218.27) |
12:56:46 | XavierGr | WHO will not use Rockbox? I mean come on! |
12:56:52 | Febs | I've mentioned this before, but one thing that would help with useability would be to move the Playback setting to the main menu. |
12:56:53 | preglow | fools and idiots! |
12:57:08 | perplexity | My father has a h320 and I have the h340.. I showed him rockbox yesterday.. he liked the 8 second startup to sound, but the menus and options just put him off.. |
12:57:22 | XavierGr | Do you now such a person? That owns a rockbox compatible device and refuses to operate it. |
12:57:26 | XavierGr | I know only 1 |
12:57:38 | preglow | XavierGr: nah, but i don't know too many people with rockbox capable devices |
12:57:48 | preglow | XavierGr: primarily myself and... that's that |
12:58:06 | Febs | Sure, there are a number of people on Mistic River who have chosen to stick with the original FW. They're in the minority, but they certainly exist. |
12:58:08 | XavierGr | well I meant from forums irc and stuff. |
12:58:09 | preglow | that is, i know people with ipods, but those don't count yet |
12:58:46 | XavierGr | Febs: what percentage we are talking about. I know only Haku that didn;t want to use rockbox because of WMA |
12:58:49 | linuxstb | amiconn: Yes, a separate HAVE_RTC_RAM was what I was thinking of. Maybe we'll need a CONFIG_RTC as well, but I'll see when I try and implement it. |
12:58:51 | preglow | Febs: do you know what the most usual complaint is? |
12:58:58 | XavierGr | (the first was a question) |
12:59:14 | Moos | Febs: it's because they needed option don't working yet or just working (remote, rec...) |
12:59:36 | Febs | Probably the most important factor to them is WMA support, but I think that there are some who just don't want to be bothered. |
12:59:48 | Cassandra | I suspect a lot of iPod users won't want to re-encode their iTunes libraries. |
12:59:50 | | Join TCK [0] (n=tckocr@81-178-139-146.dsl.pipex.com) |
13:00 |
13:00:01 | XavierGr | I should set a new poll at MR. |
13:00:05 | Febs | The recent inclusion of themes and WPS in the rockbox build is a BIG step towards getting some of the latter people over to RB. |
13:00:28 | preglow | Cassandra: the ipod is a pretty different matter altogether, we are in no way targeting apple firmware users the way we're currently targeting iriver firmware users |
13:00:37 | XavierGr | It seems crazy to me that more than 5% of Husers (that know rockbox exists) would choose iriver fw |
13:00:43 | preglow | Cassandra: we know from the start we probably wont be able to convert the apple users |
13:00:55 | Febs | XavierGR: I don't think that MR is representative of the general population. |
13:00:59 | Paul_The_Nerd | I still suspect you *could* implement an on-target iTunes decryptor. |
13:01:12 | linuxstb | XavierGr: Those 5% are probably the people with large WMA collections. |
13:01:22 | Moos | XavierGr: when rockbox will be "full" why don't use it ;) |
13:01:24 | XavierGr | Febs we are talking about users that know that rockbox exists. |
13:01:27 | preglow | Paul_The_Nerd: yes, but i believe there are certain legal implications in certain countries... |
13:01:35 | Cassandra | the Apple format uses DRM. Philosophically we should not be supporting DRM. |
13:01:40 | XavierGr | How could an Huser that never gets to internet to hear about rockbox? |
13:01:45 | preglow | and i wouldn't want to either, no |
13:01:54 | preglow | i'd just shun any way of supporting it |
13:01:59 | Cassandra | XavierGr, from their friend that uses Rockbox. |
13:02:09 | preglow | and rather at least do a good _try_ at educating people |
13:02:16 | Febs | There is a huge different between a user who "never gets to the internet" and a user who doesn't frequent an "iriver enthusiast" forum. |
13:02:27 | Paul_The_Nerd | preglow: I didn't say it should or anything. I'm just saying that if the right people get bored, reencoding libraries won't be a barrier. It wouldn't even have to strip the encryption. |
13:02:43 | preglow | Paul_The_Nerd: definitely possible, yes |
13:03:15 | XavierGr | Cassandra: do you know many persons in your physical life to use rockbox. I know only 1. And that's the only user I know with an iriver. |
13:03:22 | Paul_The_Nerd | Not me mind you. I've never had an AAC file, let alone an encrypted one. I'm a fan of CD-Roms. |
13:03:52 | XavierGr | (excuse "physical" I mean real) |
13:04:03 | preglow | what, this isn't my real life? ;) |
13:04:15 | * | preglow tries to wake up |
13:04:17 | Cassandra | Nope. But you asked me how they would hear about it. |
13:04:19 | XavierGr | ehm you know off the internet |
13:04:25 | Cassandra | That's the only possible mechanism. |
13:04:44 | Moos | XavierGr: like preglow already said just few Rockbox devices owners |
13:04:51 | Paul_The_Nerd | I suspect that once the iPod port is playing music on 4gs and/or Nanos, you could get another front page on Slashdot and generate a huge amount of interest in both the project, and the other ports (assuming a list of in-progress and current targets was part of it.) That might be a solid way to get 'word of mouth' out, as it's a high profile target. |
13:04:52 | Moos | but soon lot news one |
13:05:24 | Cassandra | Paul_The_Nerd, precisely why I was so happy to see Rockbox for iPod happening. |
13:05:26 | XavierGr | The user must be at least a little techy to know about rockbox. Or keep up with news about his device. |
13:05:26 | preglow | Paul_The_Nerd: indeed, let's just hope we can get the port done in reasonable time |
13:05:36 | B4gder | and then we can snatch over some IPL users ;-) |
13:05:41 | preglow | i _think_ i'll have lots of rockbox time in the next two months |
13:05:51 | Cassandra | IPL? |
13:05:55 | XavierGr | great :D |
13:05:56 | B4gder | ipodlinux |
13:06:00 | Cassandra | Oh, right. |
13:06:10 | Moos | preglow: good to hear :) |
13:06:24 | Cassandra | I think we will. iPodlinux is a nice toy, but it's a bit of a silly approach, really. |
13:06:34 | B4gder | yes |
13:06:44 | XavierGr | silly but fun I guess... |
13:06:49 | Paul_The_Nerd | iPodLinux isn't really aimed as a music player anyway |
13:06:49 | JdGordon | we r getting a new fw for the h300's |
13:06:58 | preglow | "w00t" |
13:06:59 | *** | Saving seen data "./dancer.seen" |
13:07:05 | XavierGr | haha |
13:07:20 | XavierGr | I really want to see a life of an iriver programmer |
13:07:34 | Febs | gapless gapless gapless gapless gapless |
13:07:35 | XavierGr | I want to know if they are aware of rockbox |
13:07:55 | XavierGr | and which firmware they use if they have a rockbox compatible target |
13:08:07 | Paul_The_Nerd | XavierGr: You kidding. Watch ALAC, FLAC and WV support show up in *their* next firmware. :-P |
13:08:08 | | Quit Febs ("CGI:IRC (EOF)") |
13:08:10 | | Join Febs [0] (n=4363c602@labb.contactor.se) |
13:08:27 | XavierGr | or see their faces when someone shows them rockbox |
13:08:48 | XavierGr | I would hide in a corner for the rest of my life if I were them. |
13:10:03 | XavierGr | Febs: How this "gapless gapless" thing started. I can't catch the joke. Is it about the fraud attemp of iriver to emulate gapless? |
13:10:16 | Paul_The_Nerd | In the future DAP makers should just port rockbox to their targets for you guys. It'll probably be cheaper than writing firmware from scratch for them. |
13:10:36 | XavierGr | They will not do such thing Paul |
13:10:44 | Paul_The_Nerd | Yes, but they *should* |
13:10:55 | XavierGr | Companies don't like to have a "best" player on the market. |
13:11:08 | Paul_The_Nerd | True. They also want to be able to be compatible with music stores. |
13:11:09 | XavierGr | Then people would had no need to upgrade to another player. |
13:11:25 | XavierGr | That's what I hate most. |
13:11:29 | Febs | The gapless thing came from one of the many Mistic River threads hyping the allegedly forthcoming iriver FW update. |
13:11:43 | XavierGr | link l) |
13:11:47 | XavierGr | ;) |
13:11:54 | Paul_The_Nerd | It'd also hurt them quite a bit if people realized that so many new features could be added to their players *without* them having to buy new hardware. |
13:12:23 | Febs | XavierGR: http://www.misticriver.net/showthread.php?t=32558 |
13:13:16 | lamed | guys, rb isn't playing your files with better quality. it does not prolong your battery life for sure. -every player is sold with _it's own_ firmware. if you've installed rb on an iriver, i guess you know what a playlist is and you need that. why not buying an ipod? - because the h hardware was better. - it has line in/out and stuff. why not stick with the old firmware? - well, if it hadn't came to your interest, you probebly shouldn't! - I vote |
13:14:13 | JdGordon | how do u accept the filename in the playlist save screen? (the filename chooser) |
13:14:15 | Paul_The_Nerd | What's that lamed? |
13:14:28 | lamed | what's what |
13:14:37 | Paul_The_Nerd | Was that statement your opinion? |
13:14:43 | Paul_The_Nerd | Or copied/pasted from somewhere? |
13:15:05 | JdGordon | press play.. DUH! |
13:15:10 | | Join Benacool [0] (n=benacool@modemcable035.68-202-24.mc.videotron.ca) |
13:15:40 | lamed | ouch. no that was my opinion. I'm sorry i'm not a native english speaker as you can see. |
13:16:53 | lamed | later |
13:16:55 | XavierGr | well it sure sounds strange for a rockbox fun lamed. |
13:17:07 | Paul_The_Nerd | Ah. Well, in an effort to explain why I'd switch to the new firmware: I like lossless music formats. I like the option to have the information I want displayed on the screen while playing music. I like to play Sudoku and Bejeweled on my player. Yes, it doesn't guarantee better battery life. But it does offer a lot of other stuff. |
13:17:20 | Paul_The_Nerd | By "the new firmware" I mean Rockbox. |
13:18:03 | Paul_The_Nerd | Ah well |
13:18:38 | XavierGr | I like rockbox as being the most configurable and versatile firmware on the world. I will never buy another DAP without rockbox compatibility. |
13:18:42 | Jungti1234 | I want to translate plugin in Korean. |
13:19:03 | XavierGr | Plugins aren't translated iirc |
13:19:51 | JdGordon | what top time in the runnig time debug screen? |
13:20:54 | XavierGr | top time that the battery survived. |
13:22:44 | Moos | but those datas don't update fine, need to charging in same time I believe |
13:23:14 | markun | I also vote for db |
13:23:28 | Moos | XavierGr: your plugin is surly better for this ;) |
13:23:30 | markun | damn, should scroll down before typing :) |
13:23:39 | Moos | :-) |
13:23:47 | Paul_The_Nerd | Hehehe |
13:23:51 | XavierGr | again I will pester. If you want accurate battery results use my battery_benchmatk tsr plugin. ;p |
13:24:04 | XavierGr | lol thanks Moos :d |
13:24:11 | Moos | ;-) |
13:24:39 | Paul_The_Nerd | Well, at the very least a patch could be put into the tracker to either add an option, or just change it, so those who would like it can use it, and those who are unsure can try it and form an opinion? |
13:33:08 | JdGordon | does any1 else like the idea of adding a get_setting and save_setting sort of function for plugins to use, and then "force" them to load key mappings from their setting file? |
13:33:36 | JdGordon | by force, i mean nag the plugin dev, not a software restrcition.. |
13:34:47 | JdGordon | any1 still here? |
13:35:21 | Paul_The_Nerd | I've been distracted by videogames. |
13:35:30 | Paul_The_Nerd | To what purpose would you do that? |
13:35:51 | JdGordon | so key mappings arent hard coded, coz they are stupid :D |
13:36:10 | JdGordon | also, to get plugin devs to make more user configurable settings |
13:36:22 | ashridah | does anyone maintain a working build of rockbox with unicode support? or just the patch |
13:36:31 | markun | ashridah: I do both |
13:36:45 | ashridah | markun: do you happen to have linkage to info about the build? |
13:37:09 | markun | Well, I just keep it working here locally. |
13:37:22 | markun | It's not on a webpage if that's what you're asking for |
13:37:29 | ashridah | ah, i meant a release other people could use. bummer. |
13:37:40 | ashridah | just someone asking about it in MR that's all. |
13:38:12 | Moos | let's hope it will be commited soon :) |
13:38:19 | ashridah | yeah |
13:39:09 | markun | there is not much stopping unicode now. |
13:39:17 | markun | amiconn: you here? |
13:39:27 | ashridah | just resolving build process issues, aren't you? |
13:40:27 | markun | B4gder is the makefile wizard, just waiting for his work for compressed rockbox images. |
13:41:14 | markun | amiconn wanted to first test unicode some more, but I prefer to commit it soon and then fix the errors that users report. |
13:41:18 | | Join NicoFR [0] (n=nico404@rob92-6-82-231-243-63.fbx.proxad.net) |
13:41:41 | Moos | sounds a good plan |
13:42:15 | markun | It's not an official release, and it works pretty well (I and other people have been using the patch for a long time) |
13:42:50 | ashridah | yeah, it'd just be nice if no-one had to actually compile it to get it to work :) |
13:43:03 | Moos | hehe :) |
13:44:11 | JdGordon | does rb have atoi()? |
13:44:46 | markun | JdGordon: I don't know, but you can use 'grep' on the source to find out. |
13:45:16 | * | JdGordon is a windows person... little help? |
13:45:45 | markun | use the windows search then, it can also look for text in files |
13:46:13 | B4gder | yes, there is an atoi() |
13:46:26 | JdGordon | :D ta, just found it |
13:46:29 | markun | :) |
13:46:50 | markun | B4gder: the lcd of the gigabeat it not visible without backlight afterall |
13:46:57 | B4gder | ah, ok |
13:47:31 | markun | But then backlight can be dimmed, looked like it was off |
13:49:18 | markun | the chip used for dimming is called "606A 0512", but I couldn't find a datasheet |
13:51:55 | NicoFR | hi everybody |
13:52:13 | NicoFR | I'm having trouble building the simulator... |
13:52:23 | NicoFR | normal build works fine |
13:55:09 | | Quit Wett (Read error: 110 (Connection timed out)) |
13:56:10 | B4gder | what happens? |
13:56:31 | NicoFR | it stops immediatly |
13:56:43 | B4gder | silently? |
13:57:14 | NicoFR | the build stops immediatly |
13:57:20 | NicoFR | after I enter make |
13:57:39 | NicoFR | i get "CC button.c" |
13:58:05 | NicoFR | then "gcc : installation probelm, cannot exec 'cc1'..." |
13:58:22 | B4gder | then you have a bad gcc installation |
13:58:27 | | Quit Paul_The_Nerd ("Chatzilla 0.9.68.5.1 [Firefox 1.5/undefined]") |
13:58:39 | NicoFR | but the normal build ssems to work fine |
13:59:12 | B4gder | yes, but that uses another gcc |
13:59:19 | NicoFR | ok |
13:59:19 | linuxstb | markun: What are your plans for running your own code on the gigabeat? |
13:59:22 | B4gder | the sim uses a native gcc |
14:00 |
14:00:57 | NicoFR | ok thanks I'll look for that |
14:11:20 | markun | linuxstb: I'm not sure yet where to start |
14:13:01 | B4gder | I have a suggestion markun |
14:13:24 | B4gder | 1. make sure you can upgrade to one of those packages like the one on my x30 page |
14:13:51 | B4gder | 2. then create a modified romfs dump |
14:14:07 | B4gder | adding your own little hack somewhere, doing something silly just for a test |
14:14:27 | B4gder | then upgrade to that |
14:15:14 | Moos | B4gder: did you already choice your next device (color one I mean)? seems markun is alone currently on the Gigabeat |
14:15:52 | markun | B4gder: I could change the up-main.sh script |
14:16:32 | B4gder | you could in fact possibly consider adding rockbox to the gigabeat as a linux application! ;-) |
14:17:07 | B4gder | Moos: so many fun devices, so little time... :-) |
14:17:19 | Moos | hehe :) |
14:17:47 | B4gder | rockbox isn't even my main open source project I spend time on ;-) |
14:17:55 | | Join webguest93 [0] (n=c365265d@labb.contactor.se) |
14:18:16 | Moos | indeed |
14:18:27 | ashridah | so rockbox is the 'other woman'?! |
14:18:42 | B4gder | the other other woman |
14:18:45 | B4gder | :-) |
14:18:47 | JdGordon | linuxstb: can i suggest 2 functions for the plugin struct? (coded and being tested) |
14:18:48 | ashridah | ah, yes, dayjob :) |
14:18:50 | Moos | XD |
14:18:55 | JdGordon | haha |
14:20:07 | | Quit webguest93 (Client Quit) |
14:20:14 | | Join djgalak [0] (n=c365265d@labb.contactor.se) |
14:21:41 | ashridah | B4gder: so which other OSS project do you work on? |
14:22:10 | Moos | see his web home page |
14:22:12 | B4gder | curl is my main baby |
14:22:26 | B4gder | I'm even gonna work full-time on curl during december |
14:22:27 | ashridah | aah, that's right |
14:23:06 | ashridah | hm.better hit the sack |
14:23:10 | | Quit ashridah ("sleep") |
14:24:25 | Jungti1234 | I must sleep, too. |
14:24:42 | Moos | Good night |
14:24:42 | Jungti1234 | bye all |
14:24:46 | Jungti1234 | good night |
14:25:02 | Moos | afternoon here in Paris ;) |
14:25:08 | Jungti1234 | haha |
14:25:09 | Jungti1234 | Have a nice day. |
14:25:12 | Moos | 14:24 |
14:25:30 | Moos | thanks, have a good Rockboc dreams :) |
14:25:40 | Jungti1234 | kk |
14:25:50 | | Quit Jungti1234 ("bye") |
14:27:19 | | Join Jungti1234 [0] (n=jungti12@58.77.81.144) |
14:28:16 | JdGordon | crap... forgot to kill the sim and was wondering why my comp was running like a dog |
14:28:50 | | Quit djgalak ("CGI:IRC (Ping timeout)") |
14:30:36 | | Quit Jungti1234 (Client Quit) |
14:32:13 | | Part Polo_o |
14:37:39 | | Join [IQ]Rob [0] (i=fghrgf@x74.vpn.hrz.tu-darmstadt.de) |
14:37:46 | | Nick [IQ]Rob is now known as Rob2222 (i=fghrgf@x74.vpn.hrz.tu-darmstadt.de) |
14:38:09 | Rob2222 | hi all |
14:38:42 | JdGordon | hi |
14:39:25 | Rob2222 | Really nice work with the Iriver H300. :) |
14:40:20 | Rob2222 | Do anyone know how far is the USB progress on the H300? Didnt found that on the site. |
14:42:59 | Rob2222 | LinusN? |
14:43:38 | JdGordon | how do i debug my damn code? it crashes and DEBUGF isnt doing squat! |
14:44:52 | | Quit NicoFR () |
14:44:58 | perplexity | Hrm.. I'm having a similar problem JdGordon.. a build with DEBUGF enabled just crashes, while a build without runs except for the sound problem I'm trying to debug (h1x0 for X11 Sim here) |
14:45:40 | JdGordon | how does the backlight print to the debug window? (when it says backlight: on) ? |
14:47:08 | perplexity | uisimulator/common/stubs.c: DEBUGF("backlight: %s\n", (value > 0) ? "on" : "off"); |
14:47:08 | perplexity | uisimulator/common/stubs.c: DEBUGF("remote backlight: %s\n", (value > 0) ? "on" : "off"); |
14:47:13 | JdGordon | hmm.. ok |
14:47:24 | JdGordon | so my code crashes before the DEBUGF line :'( |
14:48:20 | markun | Is it possible to for objdump to recognize data from code? I used to use a dos program calles sourcer (I think) that could do that. |
14:53:29 | JdGordon | grr.. never code while asleep :D |
14:53:53 | | Join webguest38 [0] (n=522e39b4@labb.contactor.se) |
14:53:58 | JdGordon | found my bug :'( |
14:54:23 | LinusN | Rob2222: USB is on my list of prioritized stuff |
14:57:10 | JdGordon | oh crap.. i think my code works :D |
14:57:17 | JdGordon | not bad for 1am :D |
14:57:36 | | Join [IQ]Rob_ [0] (i=fghrgf@x159.vpn.hrz.tu-darmstadt.de) |
14:59:10 | perplexity | hrm.. something in the X11 sim is causing 100% cpu usage on my box and causing pcm buffer starvation. When that occurs the x11/sound.c removes the pcm callback and sounds stops.. grrrr |
14:59:42 | JdGordon | doesnt the sim hold 100% usage sort of purposly? |
15:00 |
15:00:30 | perplexity | Perhaps, but there is something that is causing the pcm buffer to underrun.. when I modify sound.c to just wait until more data becomes available it plays 1 second, pauses for 2, and cycles like this.. |
15:01:24 | JdGordon | LinusN: can i suggest 2 more functions for the plugin api? |
15:01:27 | perplexity | The low watermark callback in apps/pcmbuf.c is getting hit very frequently while it's not playing sound.. so something is interfering with the decode thread I guess.. |
15:01:34 | | Nick [IQ]Rob_ is now known as Rob2222_ (i=fghrgf@x159.vpn.hrz.tu-darmstadt.de) |
15:02:43 | JdGordon | atoi doesnt do hex :'( |
15:02:54 | | Join Bger [0] (n=Bager@83.222.160.88) |
15:03:59 | perplexity | I'm struggling to think where you would have an ascii string (in hex) in rockbox that you need to convert.. a wps or config file perhaps ? |
15:04:10 | JdGordon | config file |
15:04:20 | JdGordon | no big deal |
15:04:57 | JdGordon | whats the proper way to make a patch? |
15:05:14 | LinusN | JdGordon: cvs diff -u > patchfile |
15:05:52 | perplexity | Does that take into account new files added ? |
15:05:58 | LinusN | no |
15:06:10 | JdGordon | cvs diff: No CVSROOT specified! Please use the `-d' option |
15:06:33 | perplexity | I usually cp -al my CVS tree, do my mods and then do a diff -urN tree.old tree > patch |
15:07:02 | *** | Saving seen data "./dancer.seen" |
15:07:15 | LinusN | JdGordon: did you use a .tar file? |
15:07:29 | JdGordon | no, i extracted it manually |
15:10:05 | | Join Bagder [0] (n=daniel@1-1-5-26a.hud.sth.bostream.se) |
15:11:29 | | Quit aliask ("Chatzilla 0.9.67 [Firefox 1.0.7/20050919]") |
15:13:49 | JdGordon | LinusN: do u like the idea of having plugins store their settings in files instead of hardcoding them? (im mainly talking about key mapings, but any plugin setting really...) |
15:14:43 | LinusN | there is a configfile API for plugins |
15:14:51 | JdGordon | there is? |
15:15:10 | LinusN | apps/plugins/lib/configfile.c |
15:15:22 | markun | To include your new files you can also use the tool 'cvsdo add [filename]'. If you then use cvs diff -uN the new files will be included. |
15:15:42 | * | JdGordon shoots self |
15:15:45 | JdGordon | gnite folks |
15:16:01 | | Quit JdGordon (Read error: 104 (Connection reset by peer)) |
15:16:01 | | Quit lamed ("CGI:IRC (EOF)") |
15:16:59 | | Quit Benacool (Read error: 110 (Connection timed out)) |
15:17:32 | | Quit Rob2222 (Read error: 110 (Connection timed out)) |
15:18:57 | | Quit Bgr (Read error: 110 (Connection timed out)) |
15:19:16 | LinusN | poor JdGordon spent hours reinventing the wheel :-( |
15:19:50 | markun | LinusN: Is it ok if I modify the scroll code to have a pause after scrolling the whole line? |
15:20:11 | perplexity | But I bet he learned a lot about Rockbox internals while he was there.. |
15:20:37 | LinusN | i wouldn't mind personally, but i'm sure someone will... |
15:20:45 | LinusN | someone always does |
15:20:56 | perplexity | heh.. make it configrable ;p) |
15:21:04 | markun | yes, like pedro not liking the 'center scrolling' feature |
15:21:05 | LinusN | haha |
15:21:44 | LinusN | scrolling looks awful on my h100 |
15:21:58 | LinusN | i have a 150px step size and a long delay |
15:22:04 | markun | The 'center-scrolling' now starts scrolling when it's 1 line from the bottom. It used to be when it was at 2/3 of the screen. Which behaviour do you prefer? |
15:22:40 | LinusN | markun: i think that depends on the font |
15:22:45 | perplexity | Oooookay.. so the X11 Sim works fine on my 2.6Ghz Athlon with kernel HZ=1000, but is naff on my 1Ghz PIII-M with kernel HZ=250 :( |
15:22:57 | markun | LinusN: The delay is only for lines that are less than 2x the screen width. I want to add the delay also to lines that are longer.. |
15:23:48 | wubbla | LinusN: I just wanted to inform you about the fact that i'm finally able to boot rockbox using the HOLD-trick |
15:23:49 | LinusN | note to self: try lamed's patch |
15:24:04 | LinusN | wubbla: can you try a thing for me=? |
15:24:12 | wubbla | LinusN: if you don't remember me: i'm the one you wanted to send you my unit... |
15:24:15 | wubbla | LinusN: of course |
15:24:26 | LinusN | http://linus.haxx.se/H300.zip |
15:24:33 | LinusN | a test bootloader |
15:25:08 | wubbla | LinusN: well... i'll flash it after lunch, ok? |
15:25:12 | Rob2222_ | huh? ^^ something for test`` |
15:25:19 | LinusN | ok |
15:26:13 | | Join dropandhop [0] (n=a@gateway.symphony.org) |
15:26:31 | Rob2222_ | ah, test BL for the startup bug, heh? |
15:26:49 | markun | LinusN: can I add the scroll delay and then remove it if there are many complaints, of shall I first ask some more people what they think about it? |
15:27:52 | Moos | markun: you've hot my unnecessary vote :) |
15:27:57 | Moos | *got |
15:28:06 | markun | thanks Moos :) |
15:29:27 | Moos | sometimes I've got this problem too, and that make me a bit crazy |
15:29:44 | Moos | it doesn't stop scroll and restart |
15:30:16 | markun | Also makes me crazy |
15:31:16 | Moos | sure if you make it optional (I know people here doesn't like much too options) sure that will enjoy some users |
15:31:24 | markun | tucoz was also in favor of it |
15:31:44 | markun | Moos: people can just change the scroll delay, that's what it's for I think. |
15:32:04 | | Quit ^BeN^ (Read error: 110 (Connection timed out)) |
15:32:24 | Moos | but when the line is very long |
15:32:38 | Moos | it doesn't go bidirectionaly |
15:32:50 | Moos | constant anoying scroll |
15:33:01 | markun | No, but I made it pause when it's at the beginning of the line again. |
15:33:24 | Moos | that why I like your idea :) |
15:34:01 | markun | It's not really important. People are probably more waiting for unicode than some scrolling feature :) |
15:34:08 | LinusN | i like it |
15:34:10 | lostlogic | am I reading the map file right that there is about 500k of executable space in rockbox at this time (on h300)? |
15:34:32 | markun | LinusN: I'll commit it and blame you for liking it then :) |
15:34:49 | Moos | :D |
15:35:06 | | Join djgalak [0] (n=c365265d@labb.contactor.se) |
15:35:36 | | Join Amar [0] (n=502c575f@labb.contactor.se) |
15:36:25 | markun | One thing I'm wondering about.. in the beginning it waits scroll_delay before scrolling, when reaching the end of the line it waits scoll_delay * 2 before going back.. |
15:36:44 | perplexity | lostlogic: I have moved no further on the profiling.. |
15:38:38 | lostlogic | perplexity: I'm knee deep in writing a profiling architecture for rockbox so we can profile on the unit, no ETA as of yet. |
15:39:08 | perplexity | Did you look at the link that LinusN posted yesterday for the rockbox profiling patch that has already been started? |
15:39:18 | lostlogic | eek, no, do you have it? |
15:39:41 | perplexity | http://sourceforge.net/tracker/index.php?func=detail&atid=439120&group_id=44306&aid=1157222 |
15:40:02 | perplexity | It's fairly simple, but it makes it easy to instrument selected pieces of code.. |
15:41:04 | perplexity | I have given up on the profiling idea myself and gone off to learn about (i)mdct and (i)fft to see if I can a) become a little more useful/enlightened, and b) pick a more efficient algorithm for the mdct in Tremor.. |
15:41:31 | lostlogic | hehe cool |
15:42:03 | perplexity | Tremor first.. video codec next ;p) (Said mildly tongue in cheek) |
15:42:16 | lostlogic | I'll probably use the PROFILING_WRITE function from this patch in my stuff, but I'm working to leverage the -pg option of GCC and more automagic profiling... |
15:42:33 | perplexity | anyway,I have to shoot off, keep me posted on how you get on :) |
15:42:52 | lostlogic | I shall |
15:42:52 | | Quit djgalak ("CGI:IRC (EOF)") |
15:47:12 | | Quit Rob2222_ ("see you @ www.sunshine-live.de") |
15:50:03 | lostlogic | is there an extant 'jiffies-like' counter that holds the number of ticks of some defined size since bootup? |
15:55:34 | | Quit Amar ("CGI:IRC (EOF)") |
15:56:54 | | Quit DJDD_ ("Trillian (http://www.ceruleanstudios.com") |
15:57:54 | B4gder | there's a tick counter |
16:00 |
16:00:38 | amiconn | Bah, what's that! :( |
16:00:38 | | Quit DreamTactix291 (Read error: 104 (Connection reset by peer)) |
16:00:57 | amiconn | Someone broke the nice round-scrolling :( |
16:01:03 | | Join DreamTactix291 [0] (n=DreamTac@adsl-149-140-175.bna.bellsouth.net) |
16:02:14 | LinusN | markun: there you go |
16:02:37 | * | amiconn doesn't like it at all |
16:02:56 | amiconn | The pause makes sense when scrolling bidirectionally, but not at all when scrolling round |
16:03:07 | B4gder | I agree |
16:03:17 | B4gder | anyone aware of any problems with our FAT and writes? |
16:03:20 | markun | damn :) |
16:03:21 | B4gder | FAT code |
16:03:44 | markun | I can change it back and just use it myself. |
16:04:06 | | Join merbanan [0] (i=banan@dalink.campus.luth.se) |
16:04:12 | LinusN | B4gder: no |
16:04:13 | amiconn | The reason for a scrolling line is that the text is longer than the line, so what's the use of it stopping arbitrarily in-between? |
16:04:25 | amiconn | The text should be readable during scrolling of course |
16:04:38 | B4gder | LinusN: thanks, got something like a bug report on the u-boot mailing list... :-) |
16:04:42 | B4gder | I'll see what he means |
16:04:43 | amiconn | ...which requires to adjust the scroll step & speed accordingly |
16:05:20 | markun | amiconn: arbitrarily in-between? I pause at the beginning of the line. |
16:05:37 | LinusN | i got an international h320 today |
16:05:37 | amiconn | Yes. For me that's still arbitrary |
16:05:58 | LinusN | but it didn't have the bootloader black-lcd issue :-( |
16:06:02 | amiconn | A useful thing would be to implement jump-scroll for bitmap targets, imho |
16:06:23 | LinusN | that's good |
16:06:39 | LinusN | i can simulate it woth 150px step size and a slow scroll speed |
16:06:58 | markun | How does just-scroll work? |
16:07:02 | markun | jump |
16:07:48 | lostlogic | can anyone think of a good reason to use a separate counter for profiling ticks from the main tick counter? |
16:07:50 | amiconn | Jump scroll is implemented for the player |
16:08:21 | amiconn | It shows the whole line in 'chunks', each for a set amount of time |
16:08:59 | Lynx_ | lostlogic: maybe for profiling the main tick counter? ;) |
16:09:00 | amiconn | The chunk is the viewable width of the LCD, but adjusted so that the next chunk starts at the beginning of a word |
16:09:04 | amiconn | (if possible) |
16:09:29 | markun | sounds nice |
16:09:51 | amiconn | You can select whether you want jump scroll, and how many times it should jump scroll until it resorts to normal scrolling |
16:10:02 | lostlogic | Lynx_: that's the question −− is that a reasonable way to count ticks spent in each function, or do I need to create a separate tick counter |
16:10:03 | amiconn | (iirc 1x ... 5x or always) |
16:10:36 | markun | what's the use of switching to normal scrolling? |
16:11:05 | amiconn | Well, I have jump scroll enabled on my player, jump-scrolling once |
16:11:06 | Lynx_ | lostlogic: i don't really know |
16:11:19 | LinusN | amiconn: that's how the iriver firmware does scrolling |
16:11:24 | amiconn | It's good for getting a quick overview of the string |
16:11:32 | | Join djgalak [0] (n=c365265d@labb.contactor.se) |
16:11:35 | amiconn | markun: Just build a player sim if you want to see it in action... |
16:11:47 | markun | Sim building is broken on FreeBSD |
16:12:08 | amiconn | Do you have wine? |
16:12:12 | markun | yes |
16:12:29 | amiconn | Then you can try it with the windows sim... |
16:13:12 | markun | I used to do a lot with the simulator, was quite a useful tool. Maybe I should try to convert the sed code that broke it. |
16:13:38 | LinusN | you should |
16:13:57 | mirak | what IDE do you use to develop on Linux ? |
16:14:04 | LinusN | IDE? |
16:14:13 | LinusN | no IDE here |
16:14:43 | LinusN | emacs + bash shell |
16:15:25 | LinusN | amiconn: have you looked at the single-bitmap wps patch? |
16:16:26 | markun | The Gigabeat player in landscape mode works very nice. Would other rockbox targets also benefit from it? |
16:16:41 | LinusN | landscape mode? |
16:16:58 | markun | Yes, turn the interface by 90 degrees |
16:17:03 | LinusN | yuck |
16:17:14 | LinusN | let's not go there |
16:17:19 | | Join t0mas [0] (n=Tomas@unaffiliated/t0mas) |
16:17:29 | | Quit djgalak ("CGI:IRC (EOF)") |
16:18:23 | markun | LinusN: http://www.mygigabeat.com/images/blog/gigabeatF40_screenHoriz2.jpg |
16:19:00 | LinusN | what's the resolution on that sucker |
16:19:01 | B4gder | the rotate option! ;-) |
16:19:04 | LinusN | ? |
16:19:09 | markun | 240x320 |
16:19:12 | LinusN | wow |
16:19:22 | markun | What's it on the X5? |
16:19:26 | LinusN | scummvm |
16:19:32 | LinusN | 160x128 |
16:19:35 | t0mas | hm |
16:19:41 | t0mas | it's time for a pocketpc port of rockbox |
16:19:47 | * | t0mas hates windows media player |
16:21:02 | preglow | who doesn't? |
16:21:18 | t0mas | *silence* |
16:21:21 | t0mas | :) |
16:21:39 | t0mas | maybe I can port a simulator to the pocket pc... |
16:21:43 | markun | rotation will complicate a lot of things so I understand you don't want it, but it's still nice on the Gigabeat |
16:24:21 | markun | amiconn: did you try rockbox with the scrolling delay or do you just assume it sucks? |
16:24:52 | markun | maybe assume is not the correct wording |
16:28:41 | LinusN | markun: hmmm, i now discovered that i don't like it either :-) |
16:28:54 | LinusN | i'd like it better if it stopped at the end of the scroll instead |
16:29:39 | markun | ok ok, I'll change it back :) |
16:30:48 | | Join ep0ch| [0] (n=ep0ch|@84.12.81.11) |
16:31:29 | ghode|afk | can anyone recommend some good 2.1 pc speakers? |
16:31:53 | ep0ch| | i like the way iriver have done scrolling to overcome the dodgy lcd - i.e. vertical scrolling |
16:33:10 | t0mas | ghode|afk: Create Itrigue |
16:33:13 | t0mas | *Creative |
16:33:30 | ghode|afk | g4h i was hoping you wern't going to say that :( |
16:34:02 | ep0ch| | 2.1 thats stereo + subwoofer? |
16:34:02 | t0mas | I've got both the Itrigue 3200 and 3400 |
16:34:10 | t0mas | yes, it's stereo + sub |
16:34:14 | ghode|afk | I've been look at these: the sat's seem too big :/ http://www.creative.com/products/product.asp?category=4&subcategory=27&product=10733 |
16:34:32 | ghode|afk | the 3400's :) |
16:34:41 | t0mas | I've got both... 3200 are really small |
16:35:04 | t0mas | with sound like a full theatre setup |
16:35:10 | t0mas | 3400 has even better sound... |
16:35:16 | ghode|afk | which do you prefer? |
16:35:16 | t0mas | but they're bugger |
16:35:17 | ghode|afk | ah.. |
16:35:18 | | Quit lostlogicx ("Lost terminal") |
16:35:25 | t0mas | I have the 3200 on my oiwn desk... |
16:35:30 | t0mas | my sister has the 3400's now |
16:35:44 | t0mas | 3200 is cheaper... and the sound is just great... |
16:35:55 | t0mas | and they fit nice next to my tft screen... cus they're so small |
16:36:26 | ghode|afk | hehe thats encouraging |
16:36:41 | t0mas | and for both the remote control rocks... you get some cables with it to connect your irivier to them :D |
16:36:50 | ghode|afk | i see you can plug headphones into the remote unit, does it also control the volume? |
16:36:55 | t0mas | yes |
16:37:10 | t0mas | it controls volume + bass, and you can plugin headphones and iriver into it... |
16:37:13 | ghode|afk | yeah that is the main feature i am looking at |
16:38:10 | ghode|afk | hmm about £14 difference in costs |
16:38:20 | | Join lamed [0] (n=d4b3395e@labb.contactor.se) |
16:38:47 | ghode|afk | what is the sub like on the 3200? does it provide good bass? |
16:39:51 | t0mas | you can read some reviews yourself... I expected it to be not that good... |
16:40:06 | t0mas | but in dance like music it's moving my keyboard around the desk... |
16:40:17 | ghode|afk | hehe |
16:40:34 | lamed | bolt it |
16:40:36 | t0mas | in graphs in reviews it has a peak around 80 hz iirc... and that's the "disco" frequency |
16:40:38 | ghode|afk | ok one last thing, is the base of the sat stable? i mean i don't want it to be falling over all the time |
16:40:45 | t0mas | so creative tried to make em sound good in that kind of music |
16:41:11 | t0mas | well... they never fall over... but I never toch them... |
16:41:24 | ghode|afk | okey |
16:41:25 | t0mas | the base is quite heavy... |
16:41:51 | * | t0mas shakes his desk... |
16:41:59 | t0mas | nope... not turning over :) |
16:42:13 | B4gder | "VFS: Unable to mount root fs via NFS, trying floppy" |
16:42:26 | B4gder | that's a neat error message |
16:42:30 | B4gder | :-) |
16:42:40 | t0mas | diskless client? |
16:42:54 | B4gder | yeps |
16:43:03 | B4gder | well, it is during development |
16:47:54 | Febs | LinusN, you might be interested in this thread at M.R.: http://www.misticriver.net/showthread.php?t=32646 |
16:48:12 | LinusN | Febs: i've read it |
16:48:46 | LinusN | he probably forgot to update the codecs |
16:51:08 | TCK | I haven't been here for a while |
16:51:22 | TCK | but can I report an mp3 that always freezes RB here? |
16:52:04 | TCK | it just comes up with horizontal lines, and pressing play gives an error message |
16:52:42 | ghode|afk | t0mas: just ordered the 3400s, couldn't find anyone with the 3200s. |
16:54:34 | LinusN | TCK: can you dcc it to me? |
16:55:55 | dropandhop | Slasheri - you happen to be around? |
16:56:43 | t0mas | ghode|afk: you should've asked... |
16:56:45 | t0mas | which country? |
16:57:29 | | Quit lamed ("CGI:IRC (EOF)") |
16:57:36 | ghode|afk | UK |
16:58:00 | Slasheri | dropandhop: hi, i just came home |
17:00 |
17:03:56 | dropandhop | look at you- ring you up and he shall appear |
17:04:13 | dropandhop | didnt know what irc schedule you were on |
17:04:26 | dropandhop | didn't mean to bug you...just thanks for thinking about the tick-fix |
17:04:28 | dropandhop | ! |
17:04:37 | | Join tvelocity [0] (n=tony@ipa152.4.tellas.gr) |
17:07:03 | *** | Saving seen data "./dancer.seen" |
17:08:24 | | Join djgalak [0] (n=c365265d@labb.contactor.se) |
17:10:54 | TCK | linus: I lied, it's an ogg, not mp3 |
17:11:30 | TCK | and sorry about the delay |
17:11:34 | LinusN | TCK: are you behind a firewall? |
17:11:52 | TCK | I don't believe so |
17:11:58 | TCK | I'll just check |
17:12:26 | TCK | try now |
17:12:45 | LinusN | try to dcc it again |
17:13:03 | LinusN | no go |
17:13:06 | TCK | no luck |
17:13:24 | TCK | I can probably upload it to an ftp if need be |
17:13:27 | djgalak | hello all |
17:14:04 | DBUG | Enqueued KICK djgalak |
17:14:04 | djgalak | hello |
17:14:10 | LinusN | hi |
17:14:35 | LinusN | TCK: got my /msg? |
17:14:51 | Kohlrabi | TCK got ogginfo? |
17:14:57 | TCK | ogginfo? |
17:15:05 | Kohlrabi | it checks ogg files |
17:15:10 | TCK | nah |
17:15:13 | Kohlrabi | And I think it can find errors |
17:15:13 | | Quit djgalak ("CGI:IRC (EOF)") |
17:15:36 | TCK | it plays okay in Winamp, and it also plays okay in the default iRiver firmware |
17:16:55 | ep0ch| | TCK: how recent is your rockbox build? |
17:16:57 | Kohlrabi | um |
17:17:06 | Kohlrabi | Still could be broken :) |
17:17:22 | TCK | 5th of this month |
17:17:28 | ep0ch| | oh update |
17:17:36 | TCK | although it didn't work around october time too |
17:17:48 | TCK | I'll try an update though |
17:17:54 | LinusN | please do |
17:18:02 | ep0ch| | there has been a fix for old vorbis files since then |
17:18:14 | | Join bobwise [0] (n=45dda986@labb.contactor.se) |
17:18:36 | LinusN | TCK: always try a newer build before reporting a bug |
17:19:29 | ep0ch| | yeah it should be fixed from a build after the 26th |
17:21:00 | TCK | yep, works |
17:21:03 | TCK | sorry about that |
17:21:14 | TCK | I just assumed that it was a longstanding problem |
17:21:39 | TCK | been meaning to report it for a while, but I've had little to no access to the net |
17:21:39 | LinusN | it was, until the 26th :-) |
17:22:00 | TCK | well, I'm glad it got fixed |
17:22:08 | TCK | what was the nature of the problem anyway? |
17:23:18 | ep0ch| | http://www.rockbox.org/viewcvs.cgi/apps/codecs/Tremor/floor0.c |
17:23:55 | TCK | I see |
17:24:13 | TCK | so it's an old encoded vorbis problem |
17:24:18 | TCK | makes sense |
17:24:27 | dropandhop | Slasheri - fill me in when you have some more tick-fix ideas....i'm curious what cha thinkin! |
17:24:32 | TCK | thanks guys |
17:24:35 | TCK | :) |
17:24:42 | ep0ch| | yeah i think it was pre vorbis1.0rc3 |
17:26:05 | LinusN | dropandhop: have you opened your player? |
17:30:23 | dropandhop | i haven't...im a little afraid to! |
17:30:30 | dropandhop | sorry |
17:30:50 | | Quit Febs ("CGI:IRC (Ping timeout)") |
17:31:38 | | Join lostlogicx [0] (n=lostlogi@node-4024215a.mdw.onnet.us.uu.net) |
17:33:38 | LinusN | i just wanted to check a thing on a ticking player |
17:33:59 | markun | LinusN: can you help me identify this IC? "606A 0512". On all units it's connected next to the backlight connector and I think it has 16 pins: http://img85.imageshack.us/img85/7631/angle8vj.jpg |
17:34:26 | LinusN | there is a decoupling capacitor between the digital and analog ground, that may not be present on the ticking units |
17:34:49 | dropandhop | linus- do you want me to post in the forum for someone to look at this? and report back? |
17:34:58 | dropandhop | or maybe just to jump on here and contact u? |
17:35:19 | LinusN | dropandhop: whatever, please do |
17:36:48 | | Join frederic [0] (n=chatzill@i577BA2B0.versanet.de) |
17:37:13 | | Nick frederic is now known as frederic_ (n=chatzill@i577BA2B0.versanet.de) |
17:38:44 | LinusN | markun: have you tried to trace the connections? |
17:39:17 | markun | no, I haven't. From the CPU to the other components? |
17:39:34 | LinusN | all of them |
17:39:53 | LinusN | that might give you an idea what it is for |
17:41:06 | markun | could it be a dc/dc convertor? |
17:41:27 | LinusN | maybe, or an EL backlight driver? |
17:41:48 | markun | yes, maybe. Is it possible to dim EL backlights? |
17:42:39 | LinusN | no |
17:43:18 | wubbla | LinusN: I'm flashing the test-fw now... |
17:43:37 | LinusN | markun: i think i found it |
17:43:39 | markun | well, the gigabeat's backlight can be dimmed |
17:43:43 | lostlogicx | long = 4, int = 4, short = 2, char = 1 bytes in rockbox? |
17:43:56 | markun | LinusN: really? What is it? |
17:44:19 | wubbla | LinusN: btn: 1 0 0 0 |
17:44:35 | wubbla | LinusN: using the HOLD trick |
17:45:34 | LinusN | markun: sc606 - Low Noise Smart LED Driver with Serial Interface |
17:45:54 | wubbla | LinusN: maybe the HOLD button state is just "swapped", e.g "on" actually means "off" |
17:45:57 | wubbla | ? |
17:46:05 | LinusN | http://66.249.93.104/search?q=cache:vYWKtXf7w3kJ:www.semtech.com/pc/downloadDocument.do%3FnavId%3DH0,C100,C125,P319%26id%3D214+sc606+data+sheet&hl=sv&client=firefox |
17:46:31 | LinusN | wubbla: did it boot? |
17:46:42 | wubbla | LinusN: yes, it booted |
17:46:50 | wubbla | LinusN: (with the HOLD trick) |
17:46:53 | LinusN | but only with the hold trick? |
17:47:01 | LinusN | what happens without the trick? |
17:47:07 | wubbla | LinusN: i'll try without it |
17:47:15 | wubbla | LinusN: yes |
17:47:21 | wubbla | LinusN: just with the hold-trick |
17:47:35 | LinusN | does it display anything without hold? |
17:48:16 | wubbla | no, nothing at all |
17:48:27 | LinusN | grr |
17:48:53 | wubbla | LinusN: what have you changed in this firmware? |
17:49:16 | LinusN | i removed a check for the ON button, and added the btn debug output |
17:49:39 | wubbla | LinusN: hasn't it something to do with the HOLD button? |
17:49:50 | mirak | when the music's over |
17:50:21 | LinusN | wubbla: i'm not so sure about that, but it seems to help to start with the hold button active |
17:50:40 | LinusN | ultra-weird |
17:50:48 | wubbla | LinusN: indeed :-) |
17:50:50 | markun | LinusN: thanks! |
17:50:59 | LinusN | does the disk start spinning when it fails to boot |
17:51:02 | LinusN | ? |
17:51:05 | wubbla | LinusN: yes |
17:51:58 | | Quit frederic_ ("Chatzilla 0.9.68.5.1 [Firefox 1.5/undefined]") |
17:52:38 | markun | also found the datasheet: http://www.semtech.com/pc/downloadDocument.do?navId=SC606&id=214 |
17:53:10 | LinusN | markun: great |
17:54:04 | wubbla | LinusN: the button driver is initialized after the LCD driver, right? |
17:54:24 | LinusN | yes |
17:54:42 | | Join leftright [0] (n=5087dfbd@labb.contactor.se) |
17:54:45 | LinusN | hmmm, no |
17:54:51 | leftright | Hi there |
17:54:55 | LinusN | oh, yes it is |
17:55:24 | wubbla | LinusN: hmm... |
17:55:54 | leftright | Gapless mp3 isn't as seamless as it used to be, doesn't sound good at all now |
17:56:01 | wubbla | LinusN: maybe these functions need to be fine-tuned: |
17:56:02 | wubbla | or_l(0x00100062, &GPIO1_FUNCTION); |
17:56:03 | wubbla | and_l(~0x00100062, &GPIO1_ENABLE); |
17:56:03 | mirak | when the music's over |
17:56:11 | wubbla | data = GPIO1_READ; |
17:56:20 | LinusN | wubbla: fine-tuned? |
17:56:38 | wubbla | LinusN: you're using this to check the button state, right? |
17:56:44 | LinusN | yes |
17:56:46 | mirak | hem mp3 do floating point calculs ? |
17:56:53 | LinusN | mirak: no |
17:56:57 | Maxime | is there a 'foobar2k addict' here? :x |
17:57:02 | wubbla | LinusN: and this somehow seems to be the point where everything breaks... |
17:57:11 | mirak | LinusN: most video codecs does ? |
17:57:13 | leftright | preglow: did you fidlle with gapless ? :-) |
17:57:40 | LinusN | mirak: i don't know much about video codecs |
17:58:08 | mirak | I heard some said that lack of FPU was a major issue |
17:58:13 | Maxime | I know this is off topic but, if s-o know fb2k well, can him tell me how to keep only the 'tray icon'? |
17:58:37 | leftright | and.. crossfade shuflle mode doesn't deselect if shuffle mode is disabled |
17:58:40 | LinusN | wubbla: do you have a remote? |
17:58:50 | LinusN | lcd remote |
17:58:52 | markun | LinusN: I'm pretty sure it's the right IC. Page 15 of the datasheet shows the markings should be "606A yyww" (yyww being a datecode) |
17:59:03 | wubbla | LinusN: sadly i haven't got one... :'-( |
17:59:03 | LinusN | markun: bingo |
18:00 |
18:00:58 | wubbla | LinusN: you might log some debug data to a file on the disk, can't you? |
18:01:19 | Maxime | :/ |
18:01:20 | LinusN | it seems to die long before the disk is initialized |
18:01:53 | wubbla | LinusN: hum. :-/ |
18:02:28 | ep0ch| | Maxime: afaik you can only have foobar in the tray when its 'minimized' |
18:02:40 | Maxime | :/ |
18:02:41 | Maxime | not cool |
18:02:50 | wubbla | LinusN: and why not completely left out the button checking and instead directly jump to: |
18:02:53 | wubbla | ide_power_enable(true); |
18:02:57 | wubbla | system_init(); |
18:03:02 | Maxime | I like mpc for that, becuz it does not hide when u click in the "Desktop" shortcut |
18:03:08 | wubbla | LinusN: just for testing purposes, to see if it works |
18:03:15 | | Quit TiMiD ("leaving") |
18:03:26 | LinusN | wubbla: it's the ide_power_enable(true) that makes the disk start spinning |
18:03:31 | Maxime | and as i put foobar in the other screen, i would like it to be always visible |
18:03:33 | LinusN | but i'll try |
18:03:46 | wubbla | LinusN: then we'll know for sure that the bug is button-driver related... |
18:04:51 | LinusN | ok, new zip, http://linus.haxx.se/H300.zip |
18:04:57 | ep0ch| | Maxime: i'm confused. |
18:05:20 | leftright | Slasheri: you around ? |
18:05:20 | ep0ch| | maxime: what behaviour do you want exactly? |
18:05:55 | wubbla | LinusN: 2.1MB? |
18:06:03 | Maxime | ep0ch|: that foobar will not hide when I press "desktop" key, so, that he don't appear in taskbar, only in traybar :x |
18:06:08 | LinusN | wubbla: yes |
18:06:20 | wubbla | LinusN: why is it that small? |
18:06:24 | LinusN | zip |
18:06:44 | wubbla | ah ;-) |
18:06:58 | ep0ch| | Maxime: what "desktop" key? |
18:07:08 | Maxime | in the quick launch |
18:07:20 | ep0ch| | you mean "show desktop"? |
18:07:27 | Maxime | yes |
18:07:32 | LinusN | wubbla: it worries me that the backlight isn't turned on |
18:07:33 | Maxime | (i'm french, so don't know the english callings) |
18:07:44 | ep0ch| | oh you mean "always on top"? |
18:08:05 | ep0ch| | oh no |
18:08:24 | Maxime | ep0ch|: if an app is only on systray, it won't hide when "show desktop" |
18:09:12 | Ctcp | Ignored 1 channel CTCP requests in 0 seconds at the last flood |
18:09:12 | * | wubbla is flashing... |
18:09:20 | wubbla | hopefully this does work... |
18:09:39 | ep0ch| | i think i understand, well i use columns ui and there is a tickbox so you don;t have to have "minimize to systray" on |
18:10:41 | Maxime | yeah but.. the app will hide when "show dekstop" :s |
18:11:17 | ghode|afk | doesn't that defeat the purpose of show desktop |
18:11:35 | Maxime | ghode|afk: yeah, but mpc does it well |
18:11:38 | | Quit CBM-away (Read error: 104 (Connection reset by peer)) |
18:11:45 | | Join CheeseBurgerMan [0] (n=BurgerBo@63.150.80.142) |
18:12:28 | ep0ch| | i dont think i can get mpc to behave like that |
18:12:33 | Maxime | ghode|afk: it's because I extended my desktop to another screen, so i would like to have foobar always on the other screen |
18:12:34 | wubbla | LinusN: uh oh... |
18:12:42 | ghode|afk | ah |
18:12:46 | Maxime | ep0ch|: in mpc, tell him to have only traybar |
18:12:50 | Maxime | and try ^^ |
18:13:00 | wubbla | LinusN: i think that wasn't a good idea... |
18:13:10 | ghode|afk | if you find out how, let me know. i have just started to use duel screens and this is annoying |
18:13:27 | LinusN | wubbla: tell me |
18:13:35 | wubbla | LinusN: same thing egain |
18:13:35 | Maxime | ghode|afk: ok ^^ |
18:13:49 | wubbla | LinusN: except the fact that the HOLD trick doesn't work anymore |
18:14:00 | LinusN | wow |
18:14:05 | Maxime | ep0ch|: you think we can 'modify' the source of fb2k not to show the traskbar thing? |
18:14:57 | ep0ch| | no, i think you should post something in the relavant forum. |
18:15:03 | wubbla | argh... |
18:15:26 | Maxime | http://www.hydrogenaudio.org/forums/index.php?showtopic=30770 |
18:15:38 | Maxime | found it |
18:15:41 | Maxime | foo_notaskbar ^^ |
18:15:52 | | Join ^BeN^ [0] (i=Paprica@85-250-45-166.bb.netvision.net.il) |
18:16:21 | Maxime | yeah |
18:16:22 | Maxime | it works |
18:16:22 | wubbla | LinusN: ok...nothing that i can do... |
18:16:23 | Maxime | ^^ |
18:16:34 | Maxime | ghode|afk: found it, on the link I pasted |
18:16:39 | wubbla | LinusN: except sending it to you |
18:16:54 | wubbla | hehe |
18:17:04 | Maxime | ep0ch|: thanks, i found ^^ |
18:17:06 | wubbla | LinusN: finally i really have to send it... |
18:17:12 | ep0ch| | np |
18:17:58 | LinusN | wubbla: does the disk spin up? |
18:18:03 | wubbla | LinusN: yes |
18:18:12 | wubbla | same thing again.. |
18:18:26 | LinusN | can you see if there is any sign of a backlight? |
18:19:10 | mirak | are you unemployed ? |
18:19:23 | wubbla | LinusN: nothing... |
18:19:24 | mirak | or in vacation |
18:19:30 | mirak | or at work lol |
18:19:56 | LinusN | wubbla: new zip, same place |
18:20:08 | wubbla | LinusN: i cannot flash it anymore |
18:20:15 | LinusN | mirak: who? |
18:20:19 | wubbla | LinusN: because i cannot even boot the iriver fw |
18:20:32 | mirak | LinusN: people often here |
18:20:44 | LinusN | wubbla: i think you can |
18:20:52 | wubbla | how? |
18:21:01 | LinusN | hold ON and double click the reset |
18:21:18 | mirak | LinusN: I see you often here, that's why I am wondering |
18:21:32 | LinusN | mirak: i work from home |
18:21:51 | mirak | LinusN: I can't do that, I can't keep focused on my job |
18:21:52 | LinusN | but i join the channel when i'm at the office as well |
18:22:03 | mirak | LinusN: when I work at home |
18:22:22 | mirak | to many things around |
18:23:35 | wubbla | LinusN: yay! iriver fw boots... |
18:23:46 | LinusN | i know... :-) |
18:24:13 | LinusN | that's one of the safety nets i implemented in the boot loader |
18:24:57 | | Join _FireFly_ [0] (n=FireFly@p54A47E9C.dip.t-dialin.net) |
18:25:12 | wubbla | LinusN: but i had to try it ~15 times to finally boot it ;-) |
18:25:31 | LinusN | really? |
18:25:42 | | Part leftright |
18:25:44 | wubbla | LinusN: yes |
18:25:45 | | Join rockriver140 [0] (n=522788bc@labb.contactor.se) |
18:25:46 | mirak | LinusN: with the current bootloader for H300 the main risk is to miss the flash ? |
18:25:51 | wubbla | LinusN: it was not that easy |
18:26:19 | mirak | I want to try, but I am afraid ... |
18:26:20 | mirak | :) |
18:26:46 | LinusN | mirak: then wait until we get it more stable |
18:26:46 | mirak | I don't want you to say me go ahead, just to know what are the exact risks actually |
18:27:08 | rockriver140 | so how do I get video working on my H140 !:-) wooo! |
18:27:13 | LinusN | the biggest risk is to "miss the flash" |
18:27:19 | mirak | LinusN: mmm by stable you mean a lower brick ratio ? |
18:27:33 | rockriver140 | ? |
18:27:36 | LinusN | mirak: the brick ratio is so far 0 |
18:27:42 | LinusN | no bricks yet |
18:27:45 | mirak | LinusN: lol |
18:27:50 | mirak | I feel it's my turn |
18:28:00 | mirak | I am kidding |
18:28:09 | mirak | LinusN: where do you live ? |
18:28:14 | LinusN | sweden |
18:28:15 | mirak | in sweeden right ? |
18:28:23 | mirak | ok I am in france |
18:28:39 | mirak | I wanted to know if you repair bricked flash with your bdm stuff |
18:28:51 | mirak | or happened to do it |
18:29:02 | | Join webguest63 [0] (n=d5654abb@labb.contactor.se) |
18:29:15 | wubbla | LinusN: YAY! |
18:29:19 | wubbla | LinusN: IT BOOTS! |
18:29:29 | wubbla | LinusN: without any glitches at all |
18:29:40 | wubbla | LinusN: what did you change? |
18:29:43 | | Quit Moos (Read error: 104 (Connection reset by peer)) |
18:29:45 | LinusN | damn! |
18:29:51 | wubbla | LinusN: what was it? |
18:29:57 | LinusN | the ide power |
18:30:05 | wubbla | LinusN: hooray! |
18:30:15 | wubbla | LinusN: checking if the iriver fw also boots... |
18:30:19 | LinusN | i'm not equally happy |
18:30:54 | wubbla | LinusN: hm? |
18:31:03 | wubbla | yeah |
18:31:09 | wubbla | iriver fw starts too... |
18:31:28 | wubbla | LinusN: you're the king :-D |
18:31:54 | wubbla | LinusN: i think it's time for bootloader v3, right? ;-) |
18:32:12 | | Join TCK- [0] (n=tckocr@81-178-209-67.dsl.pipex.com) |
18:32:26 | mirak | LinusN: so you advise to send iriver to iriver in case of flash failure ? |
18:32:29 | LinusN | wubbla: this might mean that there are two versions of the h300 |
18:32:36 | LinusN | mirak: no, to me |
18:32:49 | mirak | LinusN: ok |
18:33:03 | rockriver140 | sorry to repeat myself, but could someone kindly explain how to get the video on the iriver h100 series working before it gets commited? or just point me in the right direction to instructions? thanks ;) |
18:33:04 | * | LinusN collects dead players :-) |
18:33:04 | wubbla | LinusN: hmm... |
18:33:16 | LinusN | rockriver140: i have no idea |
18:33:37 | mirak | LinusN: I sent a power supply to antec RMA in Holland, it coasted me 20 euros but it's heavier |
18:33:57 | linuxstb | rockriver140: One person is working on video, for the h100, but I don't think he's released anything to anyone else yet. |
18:34:03 | LinusN | mirak: you shouldn't be that worried |
18:34:04 | mirak | rockriver140: what kind of video it can read ? |
18:34:07 | wubbla | LinusN: it actually could mean that there are two versions... |
18:34:11 | mirak | LinusN: ok :) |
18:34:23 | rockriver140 | its rockbox video, .rbv |
18:34:27 | wubbla | LinusN: but why care about this, if it actually works? ;-) |
18:34:34 | mirak | rockriver140: what frame rate and resolution ? |
18:34:41 | mirak | rockriver140: is it compressed ? |
18:34:48 | LinusN | mirak: to my knowledge, nobody has ever bricked a player yet, not h1x0 or h3x0 |
18:34:50 | rockriver140 | i think its uncompressed AVI, 8 fps and with mp3 audio |
18:34:51 | | Join iobound [0] (n=iobound@221.80-203-3.nextgentel.com) |
18:34:56 | wubbla | LinusN: i've played with rockbox for one day now and i haven't really noticed any major bugs... |
18:35:18 | mirak | LinusN: I have heard a guy crying on a french forum. I don't know what happened exacltly |
18:35:22 | mirak | after that |
18:35:29 | rockriver140 | so the files will be huge lol |
18:35:35 | mirak | rockriver140: That's Wett stuffs ? |
18:35:44 | wubbla | LinusN: just small ones, e.g. flickering of the LCD when using WPS's with bitmaps... |
18:36:25 | mirak | rockriver140: he said me internally it's 70fps. He use that high rate for creating a gray scale with latency |
18:36:59 | webguest63 | linus: will it be possible to change the main meny background in h3xx rockbox? |
18:37:44 | rockriver140 | ah right, the video showed 8fps, but what do i know. heres the link http://perso.wanadoo.fr/wett/capt-video2.avi |
18:38:00 | wubbla | LinusN: you should probably write a small plugin that writes all relevant hardware info into a file so that you can analyze the differences between different players... |
18:38:12 | _FireFly_ | had a main-dev got some time to look at the new wps-file-loader-patch ?? |
18:39:22 | rockriver140 | I have to say, im getting quite envious over the rockboxs quick port to the H300 :) I want a colour screen now :( |
18:39:32 | rockriver140 | lol |
18:40:18 | LinusN | webguest63: yes, but not yet |
18:40:57 | mirak | rockriver140: I have it |
18:41:11 | webguest63 | :D |
18:41:13 | mirak | rockriver140: I have H300 |
18:41:27 | mirak | rockriver140: I mean I have seen that videp |
18:42:25 | webguest63 | but youre working on it now, right linus? |
18:43:06 | | Quit t0mas (" tot zo") |
18:44:29 | LinusN | webguest63: not at all |
18:46:17 | webguest63 | yeah but its nice to hear that youre planning to:D |
18:46:25 | Nixsos | LinusN: when will you release an updated fw patcher for H300? i heard you fixed the black screen bug |
18:46:26 | webguest63 | good work with rockbox, by the way ! |
18:46:39 | mirak | LinusN: is rockbox skinable or something or every graphics are hard coded ? |
18:46:46 | mirak | I mean non modular graphics |
18:46:55 | LinusN | Nixsos: i haven't fixed it yet |
18:47:29 | mirak | LinusN: when you play a song is it the same thread that play sound and pictures the screen ? |
18:47:33 | | Quit einhirn ("Miranda IM! Smaller, Faster, Easier. http://miranda-im.org") |
18:47:39 | _FireFly_ | mirak: no |
18:47:41 | | Quit TCK (Read error: 110 (Connection timed out)) |
18:47:43 | | Join einhirn [0] (i=Miranda@bsod.rz.tu-clausthal.de) |
18:47:46 | _FireFly_ | they are differents threads |
18:47:47 | mirak | _FireFly_: that's cool |
18:47:49 | XavierGr | LinusN: I have a ticking H140. If you want I can open it. |
18:47:58 | LinusN | XavierGr: great |
18:48:03 | XavierGr | What info do you want exactly? |
18:48:11 | _FireFly_ | due this you can navigate through the file-tree while the song is playing |
18:48:23 | ep0ch| | i'll open my ihp-120 up too if it helps |
18:48:44 | mirak | LinusN: you said there was probably two different H300 versions, what's up with that ? |
18:49:34 | | Quit rockriver140 ("CGI:IRC") |
18:49:39 | iobound | fyi, bootloader v2 works as advertised on my international h340 with 1.28k firmware |
18:52:32 | mirak | iobound: I will try it I guess |
18:55:36 | LinusN | mirak: it might mean that the IDE power is controlled differently on some models |
18:56:58 | XavierGr | LinusN: I will leave for the next hour or so. If you want tell me now what you want me to do, else if you are here after an hour we can talk this later. |
18:57:28 | wubbla | LinusN: btw. why do you actually need this extra ide_power_enable(false); call anyways? |
18:58:10 | LinusN | because i want to make sure that the drive doesn't spin up if you start it with the hold button enabled |
18:58:29 | wubbla | LinusN: hmm... |
18:58:51 | wubbla | LinusN: so you just removed this single call in the last test-fw? |
18:59:36 | | Part bobwise |
18:59:37 | LinusN | no, i removed the ide_power_enable(true) call |
18:59:56 | wubbla | LinusN: huh?! |
19:00 |
19:00:17 | wubbla | LinusN: so theoretically the harddisk should never be activated?! |
19:00:33 | LinusN | it is, in ata_init() |
19:01:05 | LinusN | the early ide_power_enable() call is to spin up the disk earlier to speed up the boot |
19:01:14 | | Join tim66 [0] (n=tim@83.97.39.21) |
19:01:45 | wubbla | LinusN: i see.. |
19:01:51 | LinusN | but it seems that the h300 has problems with that |
19:02:10 | LinusN | perhaps the voltage regulators haven't stabilized... |
19:02:22 | | Quit ep0ch| ("gone") |
19:02:40 | LinusN | in any case, we can remove that call and live with a slightly slower boot for now |
19:02:49 | LinusN | i have to go now |
19:02:55 | LinusN | cu later |
19:02:57 | wubbla | LinusN: slow :-) |
19:03:02 | wubbla | LinusN: cu! |
19:03:19 | LinusN | bye |
19:03:23 | | Part LinusN |
19:04:23 | | Quit webguest63 ("CGI:IRC (EOF)") |
19:05:20 | XavierGr | ah! Linus left without saying me a word about the H140. Well I guss that the operation will have to wait. ;p |
19:06:25 | mirak | LinusN: when the iriver is off and hold enabled, rockbox is not active isn't it ? |
19:06:34 | mirak | arg |
19:07:07 | *** | Saving seen data "./dancer.seen" |
19:07:14 | B4gder | correct |
19:07:33 | mirak | that's why I wonder he bother with that |
19:08:11 | B4gder | you read the code? |
19:08:18 | mirak | B4gder: not yet |
19:08:40 | mirak | B4gder: I will do that soon. I need to read some stuffs for work |
19:08:42 | B4gder | I suggest you do that first before asking about code details |
19:08:53 | mirak | B4gder: sorry |
19:09:10 | B4gder | no worries |
19:09:34 | mirak | B4gder: where do you advise me start reading the code ? |
19:09:53 | B4gder | if you want bootloader details, check the bootloader code |
19:13:42 | | Part linuxstb ("Leaving") |
19:14:02 | mirak | B4gder: I am more insterested by the kernel |
19:14:08 | mirak | I guess there is one |
19:17:58 | markun | B4gder: linus identified the backlight driver. It can dim the backlight LED in 32 steps. |
19:18:17 | Slasheri | mirak: yes, the kernel is in kernel.c and thread.c |
19:18:52 | Slasheri | probably you should start reading from apps/main.c. That is where the code starts (or it start from crt0.S in fact) |
19:19:07 | mirak | Slasheri: I know not much about OS architecture and fuctioning, that's will be enriching |
19:19:34 | mirak | Slasheri: what EID do you use to browse and code ? |
19:19:45 | | Quit FingerSoup ("On the other hand, you have different fingers.") |
19:20:03 | Slasheri | mirak: I don't use any IDE if you mean that. Just kate editor in kde and console tools (editors etc.) |
19:20:23 | mirak | Slasheri: ok |
19:21:03 | | Join leftright [0] (n=5087dfbd@labb.contactor.se) |
19:21:48 | Slasheri | But yes, the kernel architecture should be quite typical found on embedded systems so that should be good to read and understand |
19:23:39 | leftright | Hi Slasheri |
19:23:45 | Slasheri | hi leftright :) |
19:23:57 | leftright | got a bug for you :) |
19:24:01 | leftright | crossfade shuflle mode doesn't deselect if shuffle mode is disabled |
19:24:03 | Slasheri | hehe, nice :P |
19:24:19 | Slasheri | Hmm, interesting |
19:25:21 | Slasheri | Or do you mean it will crossfade always when manually selecting a song if crossfade is activated? |
19:25:34 | leftright | er no |
19:25:51 | Slasheri | ok, i will try.. just a moment :) |
19:26:23 | leftright | If the crossfade "shuffle" mode is selected, it should then only crossfade if shuffle is enabled |
19:26:31 | iobound | rock & roll, i'm playing 2nd_pm.s3m PERFECTLY in the win32 ui sim with my own plugin. |
19:27:09 | iobound | i got the necessary exp(), log(), floor() methods from freebsd's libmsun, and found out that pow() could be expressed as exp(log(x)*y) |
19:27:09 | leftright | but if shuffle is deselected it should then disable the crossfading, or do I have it wrong |
19:27:16 | iobound | wonder if it compiles for m68k too |
19:28:06 | Slasheri | leftright: Hmm.. it disables it if i deselect the shuffle mode.. Then it will not crossfade when skipping tracks |
19:28:36 | leftright | but it continues to crossfade, is this correct ? |
19:29:07 | Slasheri | leftright: if it's already crossfading when you disable the shuffle mode, then it has no effect |
19:29:09 | _FireFly_ | crossfade doesn't have an mode shuffle only repeat has an option/mode shuffle |
19:29:31 | _FireFly_ | or i'm misunderstanding something |
19:29:31 | | Quit leftright ("CGI:IRC (EOF)") |
19:30:01 | | Join leftright [0] (n=5087dfbd@labb.contactor.se) |
19:30:16 | leftright | sorry about that, fingers and thumbs today |
19:30:21 | _FireFly_ | ;) |
19:31:07 | _FireFly_ | leftright: do you realy mean that crossfade has an shuffle mode ?? |
19:31:24 | leftright | ok, so if I only want to enable crossfading if I shuffle songs I dont need to select crossfade on ? |
19:31:27 | _FireFly_ | i can't see such an mode in the crossfade option |
19:31:33 | iobound | what does it mean when i get a green screen with I04:IllInstr 1000115A |
19:31:35 | leftright | last option |
19:31:47 | iobound | i guess it means an illegal instruction? |
19:31:48 | Slasheri | leftright: no, then you should select the shuffle mode |
19:32:03 | _FireFly_ | i have only shuffle or mix as an option |
19:32:16 | _FireFly_ | in fade out mode |
19:32:20 | Slasheri | _FireFly_: Hmm, there should be on, off and shuffle |
19:32:32 | Slasheri | That is the first option |
19:32:45 | _FireFly_ | ah ok ;) |
19:32:56 | _FireFly_ | never saw it :) |
19:33:06 | Slasheri | :) |
19:33:18 | leftright | Slasheri, I do that but it still crossfades if shuffle is deselected, I dont understand |
19:33:24 | _FireFly_ | i hadn't enabled crossfade after the settings has changed |
19:33:44 | Slasheri | leftright: that is weird.. |
19:33:51 | | Nick Lynx_ is now known as Lynx_awy (n=lynx@tina-10-4.genetik.uni-koeln.de) |
19:35:12 | leftright | yep it is weird, I dont think I'm imaging it, no mushrooms today :-> |
19:35:44 | | Quit Maxime () |
19:36:32 | iobound | does anyone know how I can find out where in my .rock file the illegal instruction at 1000115A is? |
19:36:43 | iobound | i assume i have to use m68k-objdump −−disassemble? |
19:37:01 | Slasheri | iobound: if you have compiled rockbox, you can look from the .map files |
19:37:20 | iobound | but the map files all have addresses like 0x32f4047e |
19:37:29 | iobound | i guess rockbox loads the .rock file somewhere else in memory or something? |
19:37:36 | Slasheri | Hmm, 0x1... is on iram |
19:38:07 | leftright | gapless also seems to be broken, it's not as seamless as it used to be (crossfade off ofcourse) |
19:38:07 | iobound | okay? do I have to do something special to get my code on iram? it probably in my own code |
19:38:15 | Slasheri | yep, the .rock files are separate |
19:38:29 | iobound | i just need to find out what instruction is illegal |
19:38:37 | Slasheri | in generally yes |
19:38:37 | iobound | and it played so well in the win32 simulator :( |
19:38:47 | Slasheri | normally code is not in iram |
19:39:11 | iobound | is that those IATTR things i've seen specified on some functions and data structures? |
19:39:30 | Slasheri | yep, excactly |
19:39:33 | | Join Maxime [0] (n=flemmard@fbx.flemmard.net) |
19:39:47 | iobound | ok, so that means the error was not in my code? that's too weird. |
19:40:04 | Slasheri | it doesn't mean that.. =) |
19:40:20 | iobound | do you know how I can find out exactly which instruction it is? i'm not afraid of objdump and 68000 assembly, although it's been a while since i did anything with it |
19:41:04 | _FireFly_ | Slasheri: i have just tested it i can't here that the player crossfades if crossfade is set to shuffle and shuffle is off |
19:41:10 | Slasheri | hmm, you could try the m68k-objdump but that is not the easiest way to figure it out.. |
19:41:36 | Slasheri | iobound: probably you should check the plugins map-file |
19:41:52 | iobound | yeah but nothing in the map file looks anything remotely like "1000115a" |
19:41:58 | Slasheri | (apps/plugins/your_plugin.map in the compiled directory) |
19:42:13 | iobound | yeah i'm looking at it |
19:42:17 | leftright | Firefly: try it with 3 sec fadeout and fade-in only |
19:42:21 | Slasheri | Hmm.. then it could be something like incorrect pointer etc. |
19:42:27 | iobound | it's all "0x32f41362" and so on, nothing like "0x10001234" |
19:42:29 | _FireFly_ | leftright: i had it set to 6sec each |
19:42:40 | iobound | ok |
19:43:00 | Slasheri | iobound: just try debugging where the problem occurs.. use logf for example |
19:43:03 | iobound | any debugging hints in general? should I just add a lot of rb->splash calls? :) |
19:43:05 | leftright | 6 secs ought to do it :-) |
19:43:12 | iobound | ok |
19:43:18 | iobound | where does logf log to? |
19:43:28 | Slasheri | logf is generally better, because it goes to the remote lcd |
19:43:29 | _FireFly_ | the only thing which i have noticed is that the played-time-display stops ca. the amount of choosen fade-out time |
19:43:42 | iobound | oh, ok. i guess i have to dig up my remote, i'm not even sure if it has an lcd |
19:43:45 | Slasheri | and you can see many logf messages at once |
19:44:10 | iobound | too bad one can't debug across usb :) |
19:44:21 | Slasheri | :D |
19:44:26 | iobound | this is gonna take all night, rebooting into iriver firmware, uploading a new .rock file, rebooting back to rbx etc |
19:45:16 | _FireFly_ | iobound: why booting into iriver fw ?? |
19:45:24 | Slasheri | really? that's not so hard.. i have a script put.sh so that i just need to plug usb cable, run make && ./put.sh and unplug :) |
19:45:25 | _FireFly_ | the bootloader has an usb-mode |
19:45:43 | iobound | firefly it does? i thought it wasn't implemented for h300 |
19:45:50 | _FireFly_ | oh ok |
19:45:54 | _FireFly_ | that's true |
19:45:54 | Slasheri | ah, h300 might be different.. |
19:46:02 | iobound | oh, sorry i forgot to mention that :) |
19:46:06 | _FireFly_ | ;) |
19:46:59 | | Quit B4gder ("time to say moo") |
19:47:03 | iobound | anyway, the .map file says .text starts at 0x324f0000, maybe that get mapped to 0x10000000 ? in which case i should look for 0x324f115a |
19:47:20 | Slasheri | no |
19:47:27 | iobound | no? |
19:47:33 | Slasheri | but there might be some variables in iram or something like that |
19:48:05 | iobound | it would make sense, "duh_render" is at 0x32f41142, just below the crash address, which makes sense because that's the methods called when it crashed |
19:49:08 | Slasheri | ah.. that could be possible, i am not really sure what the address codes means that rockbox prints out |
19:49:47 | iobound | calculating 115a-1142 gives 18, and objdump on libdumb.a shows duh_render starting at 0x1a in its compile unit, so addin 18 to 1a yields 0x32, and at that address, "clrl %d0" |
19:50:12 | iobound | that just clears register d0, doesn't it? |
19:50:20 | iobound | that couldn't possibly be an illegal instruction? |
19:50:25 | iobound | i guess i'm on the wrong track after all |
19:50:27 | Slasheri | yes, interesting |
19:51:31 | Slasheri | still i would say that logf or splash works better to locate which part of the code crashes |
19:51:45 | _FireFly_ | yepp |
19:52:05 | iobound | ok |
19:52:31 | leftright | Dark Side Of The Moon is not a nice listening experiance with the gap(less) modified |
19:52:47 | DreamTactix291 | nor is any other gapless album |
19:53:07 | DreamTactix291 | The Human Equation sounds really bad with added gaps |
19:53:24 | iobound | hm, other module files just makes it loop |
19:53:40 | iobound | it kind of sounds like it just repeats over and over a small audio buffer |
19:53:44 | _FireFly_ | why use mp3 when ogg has gapless "onboard" ;) |
19:53:55 | leftright | ok, who broke it no beer for yhat person |
19:54:11 | DreamTactix291 | well even the iriver firmware gapped vorbis :P |
19:54:11 | | Quit dropandhop () |
19:54:27 | _FireFly_ | the iriver fw != rockbox ;) |
19:54:28 | DreamTactix291 | i've been enjoying gapless for a good long while now so i'm happy |
19:54:33 | DreamTactix291 | i know that |
19:54:39 | DreamTactix291 | i've been using rockbox for many months |
19:54:41 | leftright | it was damn good a few days ago |
19:54:53 | DreamTactix291 | leftright: they'll fix it |
19:55:11 | _FireFly_ | afaik does gapless-playback of mp3s only work when encoded with LAME |
19:55:15 | DreamTactix291 | yes |
19:55:16 | DreamTactix291 | because |
19:55:26 | DreamTactix291 | they have proper delay and padding values in the LAME tag |
19:55:33 | leftright | yep, mu whole collection is LAME@aps |
19:55:42 | DreamTactix291 | then you're ok |
19:55:47 | iobound | uhm, does pcm_play_data() work at all from plugins? |
19:55:48 | | Join Febs [0] (n=40326e83@labb.contactor.se) |
19:55:56 | | Join JonSenior [0] (n=root@host86-131-184-135.range86-131.btcentralplus.com) |
19:55:57 | iobound | it seems rockboy is the only thing using it, and even there, the code is #if 0'ed out |
19:56:02 | DreamTactix291 | mp3s for other people that i make are LAME 3.97b2 -V2 −−vbr-new |
19:56:28 | leftright | haven't tried 3.97 yet, is it much faster |
20:00 |
20:00:03 | | Quit CheeseBurgerMan (Read error: 110 (Connection timed out)) |
20:03:34 | iobound | h300 people, is there any way to exit USB mode without having to unplug the usb cable? |
20:06:25 | | Join iobound_ [0] (n=iobound@221.80-203-3.nextgentel.com) |
20:06:36 | | Join dpassen1 [0] (n=dpassen1@resnet-233-61.resnet.UMBC.EDU) |
20:07:43 | San | probaly not |
20:10:27 | | Join JoeyJoeJo [0] (n=81aeb168@labb.contactor.se) |
20:11:46 | JoeyJoeJo | does anyone here know of any good DIY mp3 players? I found out about the echomp3 player, but I was wondering if there were any others |
20:11:58 | Slasheri | hmm.. now i found many bugs from the playback when i tried gapless ogg files which previously worked fine |
20:12:28 | | Join iobound__ [0] (n=iobound@221.80-203-3.nextgentel.com) |
20:13:05 | | Join t0mas [0] (n=Tomas@ip503c08d1.speed.planet.nl) |
20:14:02 | | Quit einhirn ("Miranda IM! Smaller, Faster, Easier. http://miranda-im.org") |
20:14:16 | | Join lamed [0] (n=d4b3395e@labb.contactor.se) |
20:15:43 | | Quit JoeyJoeJo ("CGI:IRC (EOF)") |
20:17:15 | | Join Wett [0] (n=Wett@d02v-62-34-192-173.d4.club-internet.fr) |
20:19:10 | | Join frederic_ [0] (n=chatzill@i577B8726.versanet.de) |
20:20:04 | | Quit lamed ("CGI:IRC (EOF)") |
20:22:47 | iobound__ | so, does anyone know if using pcm_play_data() in plugins is OK on the h300? |
20:24:26 | | Join webguest43 [0] (n=549c8e34@labb.contactor.se) |
20:25:40 | iobound__ | or if there is any limits on the size of a dma transfer? |
20:25:53 | t0mas | hm... |
20:26:16 | t0mas | I don't know the limits, but I'm sure there are some |
20:26:45 | iobound__ | rbsound.c has a #define DMA_PORTION 1024 and seems to limit itself to that. |
20:26:50 | iobound__ | maybe that's why things are crashing for me |
20:27:33 | leftright | Slasheri, preglow mumbled something about chopping off 500 milliseconds for something or other when implementing pitch control |
20:28:25 | | Quit iobound (Read error: 110 (Connection timed out)) |
20:30:16 | Slasheri | leftright: Hmm, that could be the reason why gapless no longer seems to work.. |
20:30:55 | | Quit iobound_ (Read error: 110 (Connection timed out)) |
20:32:55 | | Quit frederic_ ("Chatzilla 0.9.68.5.1 [Firefox 1.5/undefined]") |
20:35:19 | | Join Gibbed [0] (i=rick@pool-71-108-9-40.lsanca.dsl-w.verizon.net) |
20:35:20 | | Quit Rick (Nick collision from services.) |
20:35:30 | | Nick Gibbed is now known as Rick (i=rick@pool-71-108-9-40.lsanca.dsl-w.verizon.net) |
20:37:00 | | Quit webguest43 ("CGI:IRC (EOF)") |
20:49:41 | mirak | iobound__: no there is no way |
20:49:59 | iobound__ | for stopping usb, you mean? |
20:50:05 | mirak | yeah |
20:50:08 | | Nick iobound__ is now known as iobound (n=iobound@221.80-203-3.nextgentel.com) |
20:50:10 | iobound | ok |
20:50:12 | mirak | this sucks |
20:52:21 | mirak | iobound: also it doesn't charge battery when in usb mode |
20:52:36 | mirak | it's a pity since in this mode the hard drive always run |
20:53:26 | iobound | it is. |
20:56:54 | | Join Maxime` [0] (n=flemmard@fbx.flemmard.net) |
20:56:54 | | Quit Maxime (Read error: 104 (Connection reset by peer)) |
21:00 |
21:01:00 | | Join Bgr [0] (n=Bager@83.222.160.88) |
21:02:05 | | Join RotAtoR [0] (n=e@12-210-82-91.client.insightBB.com) |
21:02:51 | | Join solexx [0] (n=jrschulz@d168214.adsl.hansenet.de) |
21:06:00 | | Quit iobound ("Leaving") |
21:07:11 | *** | Saving seen data "./dancer.seen" |
21:07:55 | | Join San||Away [0] (n=Test@A-72-176.cust.iol.ie) |
21:15:24 | | Quit Bger (Read error: 110 (Connection timed out)) |
21:17:14 | | Quit Wett (Read error: 110 (Connection timed out)) |
21:18:23 | | Quit solexx_ (Read error: 110 (Connection timed out)) |
21:23:41 | | Join Bger [0] (n=Bager@83.222.160.88) |
21:26:39 | | Quit San (Read error: 110 (Connection timed out)) |
21:27:59 | | Quit San||Away (Read error: 110 (Connection timed out)) |
21:32:45 | | Part leftright |
21:32:45 | | Join iobound [0] (n=iobound@221.80-203-3.nextgentel.com) |
21:33:48 | iobound | slasheri, you know, i just looked in rockbox.map, and 1000115c is "DMA0" - the interrupt handler which gets called after each dma transfer. 1000115c is 2 bytes higher than 1000115a (my crash location) |
21:36:07 | | Join iobound_ [0] (n=iobound@221.80-203-3.nextgentel.com) |
21:36:18 | iobound_ | 1000115a is "rts", the end of lcd_remote_bitmap_part().. |
21:36:35 | | Join linuxstb [0] (n=5343d4aa@labb.contactor.se) |
21:37:38 | linuxstb | iobound: Have you tried disabling the audio output in your plugin? |
21:38:07 | iobound_ | no, what would the point in that be? |
21:38:25 | linuxstb | For testing. You're saying it crashes. |
21:38:42 | linuxstb | I'm just asking if it works without audio output. |
21:39:00 | iobound_ | well, it runs until play_pcm_data() and a few callbacks to the get_more() callback |
21:39:18 | iobound_ | also, it works with audio output in the simulator |
21:39:45 | iobound_ | and the "I04: Illegal Instruction at 1000115a" seems to point to the "DMA0" interrupt handler |
21:39:47 | linuxstb | OK. So you've already narrowed the problem down to the audio output. |
21:40:06 | iobound_ | well, hm. |
21:41:03 | iobound_ | i think i'm going to try to write a main loop that just renders into a buffer and does nothing with it, as you suggested. |
21:41:35 | linuxstb | If I was you, I would write the data to a file and check that the decoding is OK. |
21:41:45 | iobound_ | that's a great idea, thanks |
21:41:53 | | Join webguest43 [0] (n=549c8e34@labb.contactor.se) |
21:42:12 | | Quit Bgr (Read error: 110 (Connection timed out)) |
21:42:23 | iobound_ | i'll try it later tonight |
21:43:25 | linuxstb | Do you know if dumb is endian-safe? The iriver is big-endian, the win32 simulator is little-endian. |
21:44:13 | iobound_ | i'm not sure. i'm aware iriver is big-endian. i ported (well, copied and pasted, more like) exp(),floor(),log() from freebsd's math library and made sure to modify #if ENDIANNESS == BIG_ENDIAN to #ifdef ROCKBOX_BIG_ENDIAN |
21:44:15 | Slasheri | iobound: what are you doing inside the get_more() function? You should not call _any_ system calls from there |
21:44:56 | Slasheri | but now i have to go, cu tomorrow |
21:44:58 | iobound_ | i'm calling duh_render() into my char[] buffer |
21:45:04 | iobound_ | ok, seeya, thanks for you help so far |
21:45:38 | iobound_ | i'll try rendering to a file, if that works then I'll know it's not endianess-trouble or anything in dumb |
21:45:44 | Slasheri | you shouldn't do that |
21:45:53 | Slasheri | it probably causes it to crash |
21:46:12 | Slasheri | you have to render the file outside and buffer it somewhere |
21:46:53 | iobound_ | you think it causes the file system to be corrupted? |
21:47:16 | Slasheri | no, rockbox crashes because you are making system calls inside ISR handler (get_more()) |
21:47:22 | iobound_ | ok |
21:47:32 | Slasheri | no sleep, disk access or anything like that is allowed inside that function |
21:47:55 | iobound_ | ok. but would it cause an "illegal instruction"? |
21:48:02 | iobound_ | is it because rbx is not re-entrant, or something? |
21:48:07 | Slasheri | it can cause anything |
21:48:14 | iobound_ | why? :) |
21:48:24 | Slasheri | no, isr functions can never have system calls |
21:48:32 | Slasheri | you have to implement buffering |
21:48:35 | Slasheri | but now time to go :) -> |
21:48:39 | iobound_ | ok, thanks again |
21:48:41 | iobound_ | bye! |
21:49:47 | | Join Rob2222 [0] (n=Miranda@ACB18861.ipt.aol.com) |
21:51:08 | | Join Wett [0] (n=Wett@d02v-62-34-192-173.d4.club-internet.fr) |
21:51:10 | linuxstb | iobound_: Do you know how much memory dumb is typically using? |
21:51:30 | | Join iobound__ [0] (n=iobound@221.80-203-3.nextgentel.com) |
21:52:36 | iobound__ | hi, i'm sorry, my dsl connection is really unstsable |
21:52:45 | | Join TCK [0] (n=tckocr@81-178-232-218.dsl.pipex.com) |
21:53:02 | iobound__ | i'm not sure how much memory it uses but I can find it out pretty fast, I just need to re-enable the debug statements in my malloc()/realloc() implementation |
21:55:46 | perplexity | Ok, another silly newbie question.. when compiling for the simulator (X11) how can I easily debug some data to the console? DEBUGF is not defined.. if I enable logf the sim segfaults, and I can't access printf from within a codec.. (it's a codec I'm debugging) |
21:56:08 | | Quit iobound (Read error: 110 (Connection timed out)) |
21:56:18 | | Quit linuxstb ("CGI:IRC (Ping timeout)") |
21:56:28 | iobound__ | hm, DEBUGF works fine for me in the win32 sim |
21:56:31 | | Nick iobound__ is now known as atomic (n=iobound@221.80-203-3.nextgentel.com) |
21:56:33 | perplexity | heh.. nevermind.. I have been working on it for an hour.. I ask the question and 10 seconds later I get it working.. |
21:56:35 | | Nick atomic is now known as iobound (n=iobound@221.80-203-3.nextgentel.com) |
21:56:41 | | Join Maxime [0] (n=flemmard@fbx.flemmard.net) |
21:57:03 | perplexity | DEBUGF is not working for me.. but I get compile warnings on printf, however it resolves at runtime and works fine.. |
21:58:24 | iobound | are you working on a plugin or what? |
21:58:44 | perplexity | yes.. playing with different mdct algorithms for Tremor |
22:00 |
22:00:58 | merbanan | perplexity: integer ones ? |
22:01:00 | | Join Bgr [0] (n=Bager@83.222.160.88) |
22:01:36 | | Quit Kohlrabi (Nick collision from services.) |
22:01:41 | | Join Kohlriba [0] (n=Kohlrabi@dslb-082-083-128-173.pools.arcor-ip.net) |
22:01:52 | | Join linuxstb [0] (n=5343d4aa@labb.contactor.se) |
22:02:15 | perplexity | yes merbanan |
22:02:24 | iobound | linuxstb, i just changed my plugin to write to disk and not use the pcm_() calls |
22:02:39 | iobound | it renders perfectly (although everything is byteswapped from the file written by the simulator) |
22:03:21 | | Join DangerousDan [0] (n=Miranda@newtpulsifer.campus.luth.se) |
22:04:16 | iobound | linuxstb, endianness in the output files considered, the win32 and the h300 produces bit-identical files |
22:04:39 | | Quit TCK- (Read error: 110 (Connection timed out)) |
22:05:27 | merbanan | perplexity: ffmpeg ac3enc.c has a fixedpoint mdct, have you tried that one ? |
22:06:03 | | Join Moos [0] (i=DrMoos@m79.net81-66-158.noos.fr) |
22:06:43 | iobound | i'm amazed that freebsd's math library worked without nearly any tweaking at all on the h300 |
22:07:00 | linuxstb | iobound: That's a good sign. How fast does it appear to be? i.e. is it realtime? |
22:07:01 | perplexity | Not yet merbanan, at the moment I'm working on shoehorning the ifft from libfaad in for testing.. |
22:07:27 | iobound | no, it appears to be very slow, but that might be because i'm writing 1kb blocks at a time to the disk? |
22:07:52 | iobound | i think it spent like 10 seconds to generate a .raw file with about 2.5 sec of audio |
22:08:00 | linuxstb | No, disk output doesn't slow decoding down that much. |
22:08:08 | iobound | not even when you write small blocks? |
22:08:12 | | Quit iobound_ (Read error: 110 (Connection timed out)) |
22:08:39 | linuxstb | I would be surprised. Try commenting out the writes and seeing how long it takes. |
22:08:52 | iobound | ok |
22:08:58 | linuxstb | My guess would be that it is almost the same time. |
22:09:10 | iobound | is there a time() type function i can use |
22:10:03 | linuxstb | rb->current_tick can be used for that. |
22:10:24 | iobound | ok, and there's HZ ticks in a second? |
22:10:55 | linuxstb | i.e. starttime=*rb->currenttick; |
22:11:11 | iobound | yeah, i've got it coded up already :) |
22:11:13 | linuxstb | Yes - HZ is 100 on all platforms. |
22:11:18 | iobound | ok |
22:11:51 | iobound | booting iriver firmware for usb mode.. |
22:12:33 | iobound | disconnecting usb.. |
22:12:49 | iobound | rebooting to rbx |
22:12:58 | ^BeN^ | How i can open sudoku board on h300 rockbox ? |
22:13:14 | | Quit Maxime` (Read error: 110 (Connection timed out)) |
22:13:44 | iobound | aaand i must have done something wrong, it said 0 ticks |
22:14:00 | chopped_pork | lol |
22:14:49 | iobound | yeah, i should have paid more attention to linuxstb, i didn't notice current_tick was a pointer |
22:14:50 | linuxstb | ^BeN^: http://www.rockbox.org/twiki/bin/view/Main/PluginSudoku |
22:15:07 | merbanan | perplexity: are you sire it is a ifft you need ? |
22:15:12 | merbanan | *sure |
22:15:15 | ^BeN^ | 10x |
22:16:13 | | Join Massa [0] (n=Massa@p549E848A.dip0.t-ipconnect.de) |
22:17:13 | merbanan | perplexity: I made a fixed point mdct but it's using 64bits ints, can be found here http://tranquillity.campus.luth.se/~banan/fpmdct/ |
22:17:25 | | Quit Bger (Read error: 110 (Connection timed out)) |
22:20:07 | perplexity | thanks merbanan, I'll add it to my list of things to look at.. the Tremor inverse mdct is fixed point in any case, but I'm looking at any extra gains I can make with algorithmic changes |
22:20:46 | iobound | the results are in: #ticks spent generating 2.972 seconds of 16bit 44.1khz stereo audio: 2nd_pm.s3m: 600ticks snowb.xm (small chiptune) 3200ticks (!) adrenaline.mod 900ticks |
22:21:12 | iobound | so it seems it's somewhere between 3% and 50% of realtime |
22:21:26 | linuxstb | That's normal for a first version of a codec. |
22:21:40 | iobound | it really seems to depend on the tune |
22:22:23 | iobound | also, this is with default resampling/interpolation. |
22:22:51 | iobound | i think it uses "best" by default, and resampling uses a lot of floats, i think. |
22:23:02 | iobound | also i really need to get rid of malloc() calls in the render loop.... |
22:23:22 | | Quit Bgr (Read error: 110 (Connection timed out)) |
22:25:05 | | Join ashridah [0] (i=ashridah@220-253-123-128.VIC.netspace.net.au) |
22:28:28 | preglow | iobound: you got it running on taget? |
22:28:29 | preglow | target |
22:28:37 | iobound | yes |
22:28:41 | preglow | woohoo!" |
22:28:45 | preglow | resampling currently uses tons of floats |
22:28:47 | iobound | but not with audio output, only disk writing |
22:29:51 | iobound | it crashes after the dma thing or whatever it is calls get_more() a couple of times |
22:30:03 | iobound | but with disk writing, it produces an identical file as the win32 simulator |
22:31:21 | preglow | which is good news |
22:31:30 | preglow | the use of floats will probably slow stuff down a lot now |
22:32:30 | iobound | yes |
22:32:38 | preglow | not "probably" |
22:32:42 | preglow | it does, and probably by tons |
22:32:45 | iobound | especially the pow(), exp() and log() calls |
22:32:51 | preglow | what? |
22:32:57 | preglow | you've implemented those properly? |
22:33:06 | iobound | yeah, i took them from freebsd's libm |
22:33:10 | preglow | good god |
22:33:13 | preglow | they should be Very slow |
22:33:23 | iobound | they were dead easy to port |
22:33:26 | preglow | still |
22:33:31 | preglow | what you've done is great |
22:33:46 | preglow | i might want to work on optimising it |
22:34:29 | iobound | me too but i'm getting really tired of the compile/run/debug cycle, with all this rebooting and unplugging and replugging of usb cables :) |
22:34:45 | | Quit thegeek_ (Read error: 104 (Connection reset by peer)) |
22:34:48 | preglow | haha, you don't say |
22:34:50 | preglow | i've gotten used to it |
22:35:21 | iobound | i can send you the source if you want to take a hack on it |
22:35:26 | preglow | not now |
22:35:31 | preglow | i'm busy preparing for a longish trip |
22:35:38 | iobound | ok |
22:35:56 | preglow | i'm going to another city for a couple of months to work |
22:36:02 | preglow | which might also mean a lot of rockbox coding |
22:36:16 | iobound | not all bad then :) |
22:36:19 | linuxstb | preglow: I was worrying there for a moment... |
22:36:28 | linuxstb | trips normally mean no coding. |
22:36:34 | preglow | this wont will probably mean more |
22:36:41 | preglow | there's nothing to do up there but drink beer and code |
22:36:47 | | Join thegeek [0] (n=thegeek@s175a.studby.ntnu.no) |
22:36:55 | ashridah | as long as there's net access |
22:36:57 | preglow | and read, that is |
22:37:01 | preglow | ashridah: there is, 100mbit |
22:37:01 | | Join Bger [0] (n=Bager@83.142.21.199) |
22:37:05 | ashridah | nice |
22:37:08 | linuxstb | Those two things don't normally mix very well though. |
22:37:09 | ashridah | can i come? :) |
22:37:10 | preglow | i'll have my own office and will probably be camping there a ton |
22:37:11 | solexx | preglow: thanks for fixing the issue with mono files that quick |
22:37:11 | | Quit webguest43 ("CGI:IRC (EOF)") |
22:37:22 | preglow | solexx: no problem, it was a quick one |
22:37:42 | preglow | linuxstb: good luck i wont try mixing them, then, heh |
22:37:45 | solexx | nevertheless - I didn't even need to talk to you :) |
22:37:56 | preglow | solexx: nah, amiconn made me aware of it |
22:38:41 | preglow | but no, i'll be dsp coding for work as well |
22:38:47 | preglow | let's hope i don't grow tired |
22:39:10 | iobound | brb |
22:39:54 | perplexity | woooooooooooooooooooooooooooooooo have an inverse fft working in Tremor.. now to try it on the device :) |
22:40:07 | preglow | perplexity: excellent! |
22:40:23 | _FireFly_ | what is a inverse fft ?? |
22:40:38 | perplexity | well, it's what you get if you stand on your head and look at an fft ;) |
22:40:41 | preglow | perplexity: you mean inverce mdct, right? |
22:40:58 | preglow | an inverse fft wont do you much good by itself |
22:41:11 | _FireFly_ | perplexity: lol and now waht is a fft or mdct |
22:41:14 | perplexity | Well.. it's an inverse mdct implemented using an ifft.. but yes.. |
22:41:22 | preglow | perplexity: that's what i wanted to know, great |
22:41:29 | preglow | perplexity: truly excellent |
22:41:31 | perplexity | In any case I have intelligable music coming out my speakers :) |
22:41:46 | perplexity | Oh, it's an ugly, ugly hack.. but we'll see if I can't make it work |
22:41:47 | preglow | will be fun to see which way boost rate swings now |
22:42:10 | preglow | _FireFly_: mdct is the transform function used in almost all lossy codecs |
22:42:15 | preglow | wma/ogg/mp3 |
22:42:25 | perplexity | I'm going down to my car to grab my iriver now.. then I'll probably fall into bed.. 10 pints of Stella and 2am are neither conducive to writing good code :) |
22:42:47 | preglow | 10 pints of stella would have me tired of lager for a week |
22:44:01 | ashridah | mmm. stella |
22:44:15 | _FireFly_ | preglow: if i understand it correctly then with this code it would be possible to do encoding in rockbox ?? |
22:44:39 | | Quit DreamTactix291 () |
22:44:47 | preglow | _FireFly_: no |
22:45:09 | _FireFly_ | ups yes have just found what an imdct is |
22:45:18 | ashridah | heh |
22:45:53 | preglow | used to drink tons of stella when in england, but then i discovered bitters |
22:46:18 | ashridah | traitor! :) |
22:46:47 | perplexity | It was all they had at that pub that was drinkable on tap.. the only other alternative was Fosters and I'd rather drink cats urine.. (Which is in fact part of the Fosters brewing process I'm sure) |
22:47:00 | preglow | the entire beer market in norway is based on lagers, so i tend to drink anything else when i can |
22:47:23 | preglow | perplexity: it is in fact fermented cat's urine |
22:47:32 | preglow | with slight hopping |
22:47:41 | | Join DreamTactix291 [0] (n=DreamTac@adsl-149-140-175.bna.bellsouth.net) |
22:47:47 | perplexity | I thought as much.. we take the finest tomcat, apply a light press and squeeze ..... |
22:48:06 | perplexity | you will never find an Australian with any taste that drinks that stuff |
22:48:20 | ashridah | perplexity: hahaha. i still can't believe the rest of the world takes our cat urine as a brand of beer. |
22:48:27 | ashridah | you foreigners are crazy :) |
22:48:31 | preglow | i don't find stella that much better, but hey... |
22:48:34 | perplexity | I know.. it's called marketing :) |
22:48:53 | ashridah | no one, and i mean *no-one* ever drinks fosters here |
22:48:58 | | Quit Cassandra (Read error: 104 (Connection reset by peer)) |
22:49:00 | perplexity | I find stella a little rough.. personally I'll go a Kilkenny if I have to drink beer, otherwise it's onto the scotch |
22:49:08 | perplexity | I know ashridah.. it's awful stuff |
22:49:39 | ashridah | kilkenny's more of an ale than a beer, isn't it? |
22:49:56 | perplexity | More of a Stout actually.. I like beer and red wine that you have to eat with a fork |
22:50:19 | perplexity | Wynns Coonawarra 1998 Cab Sav is also a fav of mine |
22:50:21 | ashridah | hmm. didn't seem strong enough to be a stout, ah well. |
22:50:31 | preglow | stouts are nice |
22:50:33 | * | ashridah shudders |
22:50:44 | preglow | but you can't get much better than an ipa |
22:50:46 | preglow | i like my hops |
22:51:55 | preglow | i believe kilkenny is categorised as an irish red ale |
22:51:56 | | Quit _FireFly_ ("Leaving") |
22:52:02 | perplexity | Ok, just replaced my vorbis.codec with my ugly version.. it skips on stuff the other codec did not skip with, but it plays.. it sounds good and it has _no_ optimisation at all.. |
22:52:24 | preglow | perplexity: point is that an ifft is easier to optimise than the imdct in vorbis now |
22:52:40 | perplexity | Indeed.. I think I just made a mess in my trousers.. |
22:52:55 | preglow | a healthy sound of excitement, now go change |
22:53:00 | preglow | s/sound/sign/ |
22:53:07 | preglow | i suck |
22:53:18 | perplexity | lol.. time for this little black duck to go to bed.. but I can go to bed with a smile on my dial :) |
22:53:30 | preglow | do that, good night |
22:53:36 | perplexity | ta for the idea on that one preglow.. lets hope it pays off :0 |
22:53:41 | | Join akaidiot [0] (n=nope@c-f744e255.363-1-64736c11.cust.bredbandsbolaget.se) |
22:59:40 | iobound | preglow, should i send my patches somewhere (after cleanup)? the devel mailinglist, for example? |
22:59:43 | ashridah | Is it just me, or does saving a playlist not actually show up in the filesystem tree if you have directory cache on? |
22:59:59 | ashridah | at least, not immediately. |
23:00 |
23:00:10 | ashridah | iobound: there's a patch tracker on sourceforge |
23:00:25 | iobound | ok |
23:00:37 | ashridah | http://www.sourceforge.net/projects/rockbox |
23:00:48 | iobound | right |
23:01:20 | iobound | should i just send a cvs diff -u? what about new and removed files? should i use regular diff? are there instructions somewhere? |
23:02:20 | ashridah | i remember someone telling me about a funky way to get cvs to allow you to 'add' new files even if you don't have commit access, but damned if i can remember what it is |
23:03:09 | ashridah | might even have been Bagder |
23:05:27 | iobound | unfortunately, i couldn't makefile myself out of a paper bag, so i've put almost all the code in one huge .c file |
23:05:53 | iobound | well, not that huge, 700 lines, but it would be nice to put the maths stuff in a separate file |
23:06:25 | linuxstb | You could add it to libdumb itself |
23:06:55 | iobound | and the malloc/realloc stuff |
23:07:10 | iobound | i could, but these things would probably be nice to have for other plugins too |
23:07:14 | *** | Saving seen data "./dancer.seen" |
23:07:21 | iobound | maybe they could go into a "nano-libc for plugins" thing |
23:07:44 | preglow | iobound: nah, please don't put it in a separate file, it'd be nice to not have to delete files when i/someone ports it to fixed point |
23:07:59 | iobound | ok then |
23:08:07 | | Join San [0] (n=Test@A-72-176.cust.iol.ie) |
23:08:32 | iobound | i have one dumb.c in plugin/ and a "dumbsupp.h" (dumb support methods) there as well, which is included from dunb.h in codec/ (ugly, i know) |
23:09:12 | | Join hellsaviour [0] (n=hellsavi@host86-130-27-97.range86-130.btcentralplus.com) |
23:11:00 | preglow | what support functions do you currently have? |
23:11:17 | | Part JonSenior |
23:11:47 | hellsaviour | I am on Mac OS X and a few days ago I loaded rockbox with a bootloaded firmware from Bger and then had to get the .rockbox folder and such onto my h340 on my PC, because OsX recognises it as a hidden folder. Well, just now I found a way of showing all the hidden files/folders on OsX so that mac user won't have to use a PC to update RB. Its listed here on this website: http://www.osxfaq.com/DailyTips/02-2005/02-01.w |
23:11:57 | iobound | you can see it here, http://starfall.rootservers.org:36000/rbx/dumbsupp.h and http://starfall.rootservers.org:36000/rbx/dumb.c |
23:12:10 | hellsaviour | I thought that the webmasters for RB.org might find this helpfull |
23:13:02 | preglow | iobound: dumb uses _DOUBLE_ floating point precision??? |
23:13:20 | iobound | i think so. at least it uses pow() and exp() and those work with doubles |
23:13:24 | preglow | damn, small wonder it's slow |
23:13:31 | preglow | ahh, right |
23:13:33 | preglow | of course |
23:13:35 | preglow | it doesn't use powf |
23:13:48 | preglow | well, it might still just use floats |
23:14:20 | iobound | the implementation of exp() and stuff is pure voodoo it seems, full of strange magic hex constants and stuff |
23:14:29 | preglow | yeah, i'd expect so |
23:16:08 | | Join leftright [0] (n=5087dfbd@labb.contactor.se) |
23:16:21 | | Quit hellsaviour ("http://www.osxfaq.com/DailyTips/02-2005/02-01.ws - for mac users") |
23:17:23 | leftright | preglow, I'm busy listening to DSOTM right now, and its not gapless as it used to be |
23:17:53 | leftright | there is definately a difference |
23:18:36 | | Quit ashridah ("uni, must reenrol.") |
23:23:54 | | Join DMJC [0] (n=DMJC@220-244-239-27-sa-pppoe.tpgi.com.au) |
23:24:05 | preglow | leftright: from which build? |
23:24:09 | preglow | which was the last that worked? |
23:24:37 | | Quit Massa ("ChatZilla 0.9.61 [Mozilla rv:1.7.7/20050414]") |
23:28:19 | leftright | preglow, latest build |
23:28:55 | leftright | err, I'll get you a build which works, one sec |
23:29:13 | | Quit RotAtoR (Read error: 113 (No route to host)) |
23:29:47 | | Join aliask [0] (n=chatzill@c210-49-190-113.eburwd8.vic.optusnet.com.au) |
23:31:05 | | Quit webguest38 ("CGI:IRC (EOF)") |
23:50:59 | leftright | hmm, preglow, I went back a month and those builds also exhibited artifacts at the track transitions, but maybe my memory serves me incorrectly but I do remember gapless being more seamless |
23:51:28 | preglow | i did do a change relating to gapelss perhaps a month back |
23:51:48 | preglow | but it shouldn't have affected it destructively, just made more files work |
23:52:23 | leftright | I remember us all being ecstatic a while back that it was damn near perfect |
23:53:06 | preglow | well, i have no time to fix it now |
23:53:09 | leftright | now its distracting |
23:53:21 | preglow | and i don't even know what's wrong |
23:54:14 | leftright | pair of scissors to remove the gap :) |
23:55:53 | iobound | who's the clever dude accessing /temp and /home on my webserver ;) |
23:56:37 | | Join webguest03 [0] (n=45dda986@labb.contactor.se) |
23:57:11 | | Quit drumRBoy320 (Read error: 104 (Connection reset by peer)) |
23:58:22 | leftright | well thanks for all the hard work, later |
23:58:27 | | Part leftright |