--- Log for 07.11.114 Server: asimov.freenode.net Channel: #rockbox --- Nick: logbot- Version: Dancer V4.16 Started: 5 days and 10 hours ago 00.15.17 Quit foolsh (Remote host closed the connection) 00.19.04 Join foolsh [0] (~lsh@c-24-11-243-148.hsd1.in.comcast.net) 00.20.02 Quit lebellium (Quit: ChatZilla 0.9.91 [Firefox 34.0/20141103144234]) 00.21.02 Quit bertrik (Remote host closed the connection) 00.35.52 Quit TheLemonMan (Ping timeout: 264 seconds) 00.47.46 Quit michaelni (Ping timeout: 245 seconds) 00.52.39 Join michaelni [0] (~michael@chello084114129144.4.15.vie.surfer.at) 01.02.26 Quit krnlyng (Read error: Connection timed out) 01.03.19 Join krnlyng [0] (~liar@83.175.90.24) 01.04.46 Quit krabador (Quit: Sto andando via) 01.05.06 Join krabador [0] (~krabador@unaffiliated/krabador) 01.21.37 *** Saving seen data "./dancer.seen" 01.53.34 Quit Scromple (Read error: Connection reset by peer) 01.53.52 Join Scromple [0] (~Simon@27.127.199.230) 01.56.52 Quit yuriks (Quit: No Ping reply in 180 seconds.) 01.58.33 Quit ps-auxw (Remote host closed the connection) 01.58.58 Join ps-auxw [0] (~arneb@2001:470:c807:0:1532:4e5f:2ad3:4123) 01.59.03 Join Aldem [0] (~Aldem@unaffiliated/aldem) 01.59.05 Quit chrisb (Ping timeout: 250 seconds) 01.59.29 Join yuriks [0] (~quassel@opentyrian/developer/yuriks) 02.02.10 Join varogami [0] (~varogami@adsl-ull-205-201.46-151.net24.it) 02.06.37 Quit varogami (Client Quit) 02.17.21 Quit lycide (Ping timeout: 245 seconds) 02.19.46 Quit Scall (Ping timeout: 265 seconds) 02.24.42 Join lycide [0] (~kvieta@149.255.100.108) 02.28.55 Join Scall [0] (~chat@unaffiliated/scall) 02.36.34 Quit krabador (Quit: Sto andando via) 02.39.26 Quit ZincAlloy (Quit: Leaving.) 02.51.16 Join guest206 [0] (05168294@gateway/web/freenode/ip.5.22.130.148) 02.51.27 # hi! 02.51.54 # how do i compile bootloader for sansa clip zip 02.52.24 # if i run tools/configure on B mode 02.52.30 # and run make 02.52.52 # it makes a bootloader.bin 02.53.06 # is that the file? 03.00.04 Quit AlexP (Remote host closed the connection) 03.21.40 *** Saving seen data "./dancer.seen" 03.32.58 Quit froggyman (Ping timeout: 244 seconds) 03.49.10 Join Strife89 [0] (~Strife89@adsl-98-80-212-67.mcn.bellsouth.net) 04.07.04 Quit guest206 (Quit: Page closed) 04.34.13 Join saratoga [0] (123e1c18@gateway/web/freenode/ip.18.62.28.24) 04.34.21 Quit saratoga (Client Quit) 04.47.28 Quit amiconn (Disconnected by services) 04.47.28 Join amiconn_ [0] (amiconn@rockbox/developer/amiconn) 04.47.31 Nick amiconn_ is now known as amiconn (amiconn@rockbox/developer/amiconn) 04.47.31 Quit pixelma (Disconnected by services) 04.47.32 Join pixelma_ [0] (pixelma@rockbox/staff/pixelma) 04.47.34 Nick pixelma_ is now known as pixelma (pixelma@rockbox/staff/pixelma) 04.53.11 Quit Jinx (Quit: reboot) 05.21.43 *** Saving seen data "./dancer.seen" 05.55.04 Quit prof_wolfff (Ping timeout: 244 seconds) 05.57.23 Quit [7] (Disconnected by services) 05.57.37 Join TheSeven [0] (~quassel@rockbox/developer/TheSeven) 07.13.39 Join kugel [0] (~kugel@ip5b408b00.dynamic.kabel-deutschland.de) 07.13.39 Quit kugel (Changing host) 07.13.39 Join kugel [0] (~kugel@rockbox/developer/kugel) 07.21.44 *** Saving seen data "./dancer.seen" 07.38.59 Join mortalis [0] (~kvirc@212.44.150.238) 08.11.04 Quit Scall (Ping timeout: 245 seconds) 08.15.26 Join Scall [0] (~chat@unaffiliated/scall) 08.18.32 Join xorly [0] (~xorly@m180.dkm.cz) 08.24.22 Join ender` [0] (krneki@foo.eternallybored.org) 08.29.23 Quit amiconn (Remote host closed the connection) 08.29.23 Quit pixelma (Remote host closed the connection) 08.31.35 Join pixelma [0] (pixelma@rockbox/staff/pixelma) 08.31.35 Join amiconn [0] (amiconn@rockbox/developer/amiconn) 08.39.33 Join pamaury [0] (~quassel@rockbox/developer/pamaury) 08.47.36 Join petur [0] (5bb7304d@rockbox/developer/petur) 08.48.07 Join prof_wolfff [0] (~prof_wolf@82.158.1.206.dyn.user.ono.com) 08.54.14 Quit xorly (Ping timeout: 265 seconds) 09.01.03 Join edhelas [0] (~edhelas@77-173-104-232.ip.telfort.nl) 09.08.41 Quit kugel (Ping timeout: 265 seconds) 09.09.57 Quit edhelas (Ping timeout: 264 seconds) 09.21.45 *** Saving seen data "./dancer.seen" 09.22.19 Quit pamaury (Ping timeout: 245 seconds) 09.24.09 Join froggyman [0] (~frogs@unaffiliated/froggyman) 09.38.56 Join foolsh_ [0] (~here-we-g@c-24-11-243-148.hsd1.in.comcast.net) 09.43.57 Join edhelas [0] (~edhelas@193.172.124.224) 10.18.28 Nick mpmc is now known as WindBag (~mpmc@unaffiliated/mpmc) 10.42.18 Join pamaury [0] (~quassel@rockbox/developer/pamaury) 10.57.26 Quit hob (Ping timeout: 265 seconds) 11.08.53 Join lebellium [0] (~chatzilla@i16-les01-ntr-212-194-176-149.sfr.lns.abo.bbox.fr) 11.10.04 Quit toso (Ping timeout: 258 seconds) 11.11.36 Quit K1773R (Ping timeout: 260 seconds) 11.16.59 Join K1773R [0] (~K1773R@unaffiliated/k1773r) 11.21.46 *** Saving seen data "./dancer.seen" 11.36.59 Join toso [0] (~toso@95.85.59.222) 11.50.21 Join AlexP [0] (~alex@rockbox/staff/AlexP) 13.21.47 *** No seen item changed, no save performed. 13.40.48 Quit foolsh (Ping timeout: 265 seconds) 13.51.34 Join krabador [0] (~krabador@unaffiliated/krabador) 14.11.12 Quit K1773R (Ping timeout: 255 seconds) 14.13.10 # hob (logs): I need to wait for someone who has access to the server to upload the bootloader file, in the mean time I have updated the prebuilt bootloader (link is on the wiki page of the port) 14.16.31 Join K1773R [0] (~K1773R@unaffiliated/k1773r) 14.59.24 Join amayer [0] (~amayer@mail.weberadvertising.com) 15.11.13 Quit krabador (Quit: Sto andando via) 15.12.38 Join krabador [0] (~krabador@unaffiliated/krabador) 15.21.49 *** Saving seen data "./dancer.seen" 15.47.59 Join Guest66077 [0] (Slayer@c-69-143-187-144.hsd1.va.comcast.net) 15.49.27 Quit pamaury (Ping timeout: 272 seconds) 15.49.30 Join pamaury_ [0] (~quassel@rockbox/developer/pamaury) 15.49.57 Quit Strife89 (Ping timeout: 256 seconds) 15.54.13 Quit petur (Quit: Page closed) 16.23.16 Join hob [0] (~hob@149.3.137.135) 16.44.01 Nick pamaury_ is now known as pamaury (~quassel@rockbox/developer/pamaury) 16.57.41 Quit eternnoir (Remote host closed the connection) 16.59.23 Join eternnoir [0] (~quassel@li389-177.members.linode.com) 17.01.43 Join rela [0] (~x@pdpc/supporter/active/rela) 17.03.45 Quit AlexP (Remote host closed the connection) 17.05.06 Join AlexP [0] (~alex@rockbox/staff/AlexP) 17.10.45 Quit rela (Ping timeout: 255 seconds) 17.18.20 Nick WindBag is now known as mpmc (~mpmc@unaffiliated/mpmc) 17.21.52 *** Saving seen data "./dancer.seen" 17.22.55 Join rela [0] (~x@pdpc/supporter/active/rela) 17.27.29 Quit rela (Ping timeout: 255 seconds) 17.27.38 Quit krabador (Quit: Sto andando via) 17.39.03 Join rela [0] (~x@pdpc/supporter/active/rela) 17.43.36 Quit rela (Ping timeout: 255 seconds) 17.54.15 # pamaury: now rbutil doesn't show http download error anymore but it won't accept the OF's exe file and only accepts the 'firmware.sb' file itself. 17.54.46 # and shows this error message: "Patching the original firmware failed." 17.55.05 # that's probably because support for exe file has not been released yet, we should release a new rbutil 17.55.56 # didn't have problem with extracting the firmware.sb file from creative's exe file before 17.56.01 # you mean that patching of firmware.sb fails too ? 17.56.02 # it's weird 17.56.08 # yes it fails 17.56.16 # can you pastebin the log ? 17.59.49 # it is quite possible that it won't accept the 1.00.25e firmware because it was not out when the release was made 18.00.17 Quit edhelas (Ping timeout: 256 seconds) 18.01.17 Join ender [0] (krneki@foo.eternallybored.org) 18.01.42 Quit ender` (Ping timeout: 244 seconds) 18.02.48 # http://pastebin.com/YPsAYt6y 18.06.36 # i hope that's not the case 18.07.03 # using this 25e is less painful than the previous ones 18.07.05 # sucks less 18.07.31 # loads faster, both the internal and external storage 18.07.45 # you can use the prebuilt firmware that I uploaded, that's weird it should print more messages to describe the error, let me check what -4 means 18.08.18 # is it still based on 1.00.22e? 18.08.18 # IMX_NO_MATCH 18.08.28 # nope, I repatched using 25e 18.08.41 # yeah it means RBUtil doesn't know about 25e unfortunately 18.09.35 # I heard you cry ;) 18.10.10 # I only tested it very quickly on mine but it updaded fine as far as I can tell 18.10.32 # thank you very much pamaury 18.10.47 # and indeed it loads the OF way faster, last time I tried (was a very long time ago) it tools several minutes, now only 20 seconds 18.11.33 # you're welcome, it's nice to see people using the port :) 18.12.59 # i would've stopped using this device a long time ago if i had to use the OF forever 18.13.19 # it's the worst thing i've ever seen on a creative player 18.13.48 # it can't even do 2 things at the same time right 18.14.23 # playing flac on the of was the worst 18.15.26 # thank you for porting rockbox for this device, pamaury 18.15.29 # the major missing feature is bluetooth which is a shame 18.15.37 # I'd really like to implement this 18.16.31 # the bluetooth feature in the OF is only capable of pairing with headphones, nothing else 18.16.46 # not that much interesting if it's a hardware limitation 18.17.26 # the 2007 YP-P2 could do much more than that with bluetooth :P 18.18.01 # files transfer, incoming calls, bluetooth headset, bluetooth games 18.18.07 # shitty Creative, as usual 18.19.03 # that's sort of a hardware limitation: the BT firmware only lists headphones. In theory it's possible to reprogram it but I'm not sure to which extent this is doing in a software-only way 18.19.22 # i'd like to see creative make a less limited "Creative Zen". 18.19.45 # that device was well-made and powerful. but creative had to make it suck! 18.20.10 # Creative players are not powerful. They have a limited SoC 18.20.12 # which makes it pretty painful to support bluetooth: some players like the ZEN X-Fi3 use a very high level (AT) protocol, and some others like P2, Zen M300 use a standard low level HCI interface I guess 18.20.39 # lebellium: depends which ! The ZEN is pretty powerful, same for the ZEN X-Fi2/3 18.20.48 # some are quite RAM limited unfortunately 18.21.25 # but yeah the P2 is twice as powerful is theory, it's dual core arm 18.21.39 # (but lower frequency) 18.27.37 Join rela [0] (~x@pdpc/supporter/active/rela) 18.32.23 # it's working perfect, pamaury. thanks ^_^ 18.39.05 Join edhelas [0] (~edhelas@77-173-104-232.ip.telfort.nl) 18.41.05 Quit pamaury (Ping timeout: 256 seconds) 18.46.35 Quit mortalis (Remote host closed the connection) 18.50.25 Join bluebrother [0] (~dom@rockbox/developer/bluebrother) 18.52.38 Quit bluebrother^ (Ping timeout: 244 seconds) 18.53.22 Quit fs-bluebot (Ping timeout: 244 seconds) 19.00.36 Join fs-bluebot [0] (~fs-bluebo@g231122255.adsl.alicedsl.de) 19.07.15 Join pamaury [0] (~quassel@rockbox/developer/pamaury) 19.21.56 *** Saving seen data "./dancer.seen" 19.25.30 Quit lebellium (Quit: ChatZilla 0.9.91 [Firefox 34.0/20141103144234]) 19.30.39 Join xorly [0] (~xorly@m180.dkm.cz) 19.50.53 Join ZincAlloy [0] (~Adium@pD9EEB4F3.dip0.t-ipconnect.de) 19.51.56 Quit rela (Ping timeout: 255 seconds) 20.03.47 Join rela [0] (~x@pdpc/supporter/active/rela) 20.08.30 Quit rela (Ping timeout: 255 seconds) 20.20.02 Join rela [0] (~x@pdpc/supporter/active/rela) 20.24.42 Quit rela (Ping timeout: 255 seconds) 20.28.41 Join franklin [0] (~franklin@cpe-071-071-039-006.triad.res.rr.com) 20.28.42 Nick franklin is now known as [Franklin] (~franklin@cpe-071-071-039-006.triad.res.rr.com) 20.28.55 # [Franklin]: o/ 20.28.59 # <[Franklin]> foolsh_: \o 20.29.05 Join petur [0] (~petur@rockbox/developer/petur) 20.29.05 # <[Franklin]> long time no see :) 20.29.05 # \o/ 20.29.39 # :) 20.30.02 # <[Franklin]> foolsh_: I know what the bug is! 20.30.05 # <[Franklin]> (I think) 20.30.10 # <[Franklin]> You need to use rb->memset 20.30.14 # memory allocation 20.30.17 # <[Franklin]> no 20.30.22 # AH 20.31.19 # <[Franklin]> OK I hope running sed will work 20.39.31 # <[Franklin]> foolsh_: I'm guessing that it's compiling and linking fine because it's linking with a library that won't be present on target 20.39.43 # <[Franklin]> and then calling a function that won't exist on target 20.39.47 # <[Franklin]> and then crashing 20.39.57 # It's copying over to the target now 20.40.05 Quit edhelas (Ping timeout: 255 seconds) 20.40.44 # * foolsh_ hangs his head 20.40.49 # nope 20.40.49 # <[Franklin]> aww 20.41.14 # <[Franklin]> foolsh_: what'd you change in patch sets #49/49? 20.42.06 # Honestly, I forgot, in my branch here I pulled out everything not video related 20.42.54 # <[Franklin]> ah 20.43.08 # <[Franklin]> so you're sure that's where the crash is now, right? 20.43.18 # yep 20.43.44 # <[Franklin]> if it turns out that there's really not enough memory, I might have to turn to using the audio buffer 20.43.49 # <[Franklin]> which will make sound impossible 20.43.57 # <[Franklin]> but will at least make the game run 20.45.23 # I'm building clean to make sure 20.48.11 # nope, the garbage on screen is indicative of bad memory handling, some thing some where is over writing where it shouldn't 20.48.21 # <[Franklin]> foolsh_: you really gutted the whole game :) 20.48.43 # my local branch has even less 20.50.20 # <[Franklin]> the framebuffers need 128K 20.50.32 Join y4n [0] (~y4n@unaffiliated/y4ndexx) 20.51.05 # plugin buffers are 512 I think 20.51.26 # <[Franklin]> and vm needs 640K 20.51.33 # <[Franklin]> so 768K total for those two 20.51.38 # ah 20.51.49 # <[Franklin]> now there's the problem! 20.52.07 # using the audio buffer doesn't make sound impossible 20.52.14 # <[Franklin]> gevaerts: really? 20.52.23 # It makes regular playback impossible 20.52.26 Join rela [0] (~x@pdpc/supporter/active/rela) 20.52.33 # <[Franklin]> gevaerts: so what can be done? 20.52.44 # * gevaerts isn't a plugin writer 20.53.05 # You should still be able to play samples as far as I know 20.53.49 # <[Franklin]> ok good 20.54.07 # <[Franklin]> foolsh_: it's gonna need to steal the audio buffer for the VM memory 20.55.02 # that doesn't leave much left, but the PCM data from the game isn't overly large 20.57.14 Quit rela (Ping timeout: 265 seconds) 21.00.06 # <[Franklin]> foolsh_: yeah 21.00.26 # <[Franklin]> actually, no 21.00.30 # <[Franklin]> the audio buffer is *huge* 21.00.37 # <[Franklin]> 5.6M 21.00.44 # <[Franklin]> the game only needs 640K 21.03.19 # silly me I was looking something else entirely 21.04.38 # so much room for activities :) 21.06.36 # <[Franklin]> foolsh_: but still, it needs to stop audio playback 21.06.46 # no big deal 21.06.48 # <[Franklin]> hopefully what gevaerts says about samples is true 21.06.57 # you doubt? 21.07.24 # <[Franklin]> foolsh_: no :) 21.07.38 # <[Franklin]> "you were kicked from #rockbox" 21.08.40 Join rela [0] (~x@pdpc/supporter/active/rela) 21.10.47 # <[Franklin]> foolsh_: if my piezo patch ever gets merged, this could play sound through the piezo! 21.10.50 # <[Franklin]> :D 21.10.52 # <[Franklin]> but that won't happen 21.11.40 # :) *you* could, I don't have a piezo in my fuze+ 21.12.02 # thankfully 21.12.09 # <[Franklin]> lol 21.12.18 # <[Franklin]> Fuer Elise actually sounds decent 21.12.22 # <[Franklin]> as does the imperial march 21.12.27 # <[Franklin]> and SMB theme song :) 21.13.06 # <[Franklin]> foolsh_: video should still be able to use the plugin buffer 21.13.10 # <[Franklin]> it only needs 128K 21.13.40 Quit rela (Ping timeout: 265 seconds) 21.13.50 # <[Franklin]> foolsh_: ok try the latest patch set 21.14.03 # <[Franklin]> if it works, you can un-gut the thing, finally! 21.16.20 # its building 21.16.36 # <[Franklin]> fingers crossed... 21.18.48 # * [Franklin] goes through and (void)s all unused parameters 21.21.10 # damn, the on screen garbage was gone, but the player still powers off after a few seconds 21.21.36 # <[Franklin]> ok that's progress 21.21.37 Quit ender (Read error: Connection reset by peer) 21.21.51 # <[Franklin]> if you could isolate the bug again, that'd be great 21.21.57 *** Saving seen data "./dancer.seen" 21.21.59 # ok sure thing 21.22.05 # <[Franklin]> i.e. checking if it's still that line that crashes 21.22.16 # <[Franklin]> if so, video will need to use the audiobuf, too 21.24.06 # you missed a memset in sys.c let me try again 21.24.37 Join ender` [0] (krneki@foo.eternallybored.org) 21.24.50 Join rela [0] (~x@pD9E55DF9.dip0.t-ipconnect.de) 21.24.55 Quit rela (Changing host) 21.24.56 Join rela [0] (~x@pdpc/supporter/active/rela) 21.27.07 # <[Franklin]> how does audiobuf alloc work? 21.29.35 Quit rela (Ping timeout: 255 seconds) 21.30.21 # * [Franklin] assumes that there's a pointer to the actual buffer that gets increased with each alloc 21.31.01 # you has a tab in between rb-> and memset on line 57 of video.c 21.31.12 # * foolsh_ wonders if the others are like that 21.31.17 # <[Franklin]> foolsh_: no 21.31.21 # <[Franklin]> mismerge 21.32.35 # <[Franklin]> do I need to call plugin_release_audio_buffer when exiting? 21.42.24 # confirmed the bug is in rb->memset(v->page_data,0,4*VID_PAGE_SIZE); 21.42.31 # <[Franklin]> ok good 21.57.18 Join rela [0] (~x@pdpc/supporter/active/rela) 22.01.54 Quit rela (Ping timeout: 255 seconds) 22.03.14 Join bertrik [0] (~bertrik@53563CA6.cm-6-7a.dynamic.ziggo.nl) 22.03.14 Quit bertrik (Changing host) 22.03.14 Join bertrik [0] (~bertrik@rockbox/developer/bertrik) 22.08.33 Join edhelas [0] (~edhelas@77-173-104-232.ip.telfort.nl) 22.11.18 # <[Franklin]> foolsh_: I don't think it's memory this time 22.11.41 # <[Franklin]> gevaerts: is there some way to measure memory usage of a plugin? 22.12.02 # Look at the linker map? 22.12.44 # <[Franklin]> aha 22.13.27 Join rela [0] (~x@pdpc/supporter/active/rela) 22.14.29 # <[Franklin]> it's not very helpful 22.14.42 # * foolsh_ doesn't believe that 22.14.54 # <[Franklin]> it doesn't tell me how much memory is allocated on the stack 22.14.58 # <[Franklin]> (a lot is) 22.15.13 # <[Franklin]> all the framebuffers are alloc'ed on the stack 22.15.21 # Really? 22.15.24 # Then fix that... 22.15.27 # lol 22.15.39 # <[Franklin]> *facepalm* 22.18.26 Quit rela (Ping timeout: 265 seconds) 22.18.54 # * [Franklin] un-guts the thing 22.22.22 Join Jinx [0] (Dojo@unaffiliated/jinx) 22.25.57 Join TheLemonMan [0] (~lemonboy@unaffiliated/thelemonman) 22.46.48 Quit edhelas (Ping timeout: 272 seconds) 22.56.12 Quit xorly (Ping timeout: 250 seconds) 23.01.55 Join edhelas [0] (~edhelas@77-173-104-232.ip.telfort.nl) 23.10.48 Quit amayer (Quit: Leaving) 23.13.20 Join xorly [0] (~xorly@m180.dkm.cz) 23.21.08 Join Strife89 [0] (~Strife89@adsl-98-80-212-67.mcn.bellsouth.net) 23.22.01 *** Saving seen data "./dancer.seen" 23.22.12 Quit pamaury (Ping timeout: 250 seconds) 23.23.26 Quit edhelas (Ping timeout: 255 seconds) 23.32.43 Quit xorly (Ping timeout: 245 seconds) 23.36.14 Quit ender` (Quit: Just think of how stupid the average person is, and then realize half of them are even stupider than that! -- George Carlin) 23.48.22 # <[Franklin]> foolsh_: for some reason, plugin_get_audio_buffer can only be called once, or it will crash 23.48.37 # <[Franklin]> so I integrated the calls the that function into resource.c 23.48.54 # <[Franklin]> so res_allocMemBlock allocs the VM memory and the framebuffers at once 23.50.27 # <[Franklin]> foolsh_: try patch set 52 23.50.52 # Why would you even want to get the audio buffer more than once? 23.51.07 # <[Franklin]> gevaerts: it takes a size argument 23.51.20 # * [Franklin] assumes that it's like malloc, and each call returns a pointer to a different block of memory 23.51.26 # <[Franklin]> correct me if I'm wrong 23.51.37 # To *return* the size in, yes 23.51.45 # <[Franklin]> what? 23.51.59 # <[Franklin]> size in? 23.52.22 # Have you noticed that the size argument is a pointer? 23.52.33 # <[Franklin]> yes, what's the point of that? 23.52.38 # <[Franklin]> (no pun intended) 23.52.57 Quit y4n (Quit: Today is the perfect day for a perfect day.) 23.53.09 # You call the function, it returns a pointer to the block of memory you get, and it writes the size of the block to the size pointer 23.53.52 # * [Franklin] thought it gave you a block the size you wanted 23.54.08 # <[Franklin]> so it always returns the same pointer? 23.54.33 # It's not meant to be called more than once 23.54.40 # <[Franklin]> ohh... I see 23.55.27 # <[Franklin]> well, I did something right for once 23.55.30 # <[Franklin]> w00t 23.56.25 # * [Franklin] feels dumb