Previous day | Jump to hour: 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | Next day

Seconds: Show Hide | Joins: Show Hide | View raw
Font: Serif Sans-Serif Monospace | Size: Small Medium Large

Click in the nick column to highlight everything a person has said.
The Logo icon identifies that the person is a core developer (has commit access).

#rockbox log for 2017-09-06

00:01:27 Join cc___ [0] (
00:05:57__builtinalso, is there any way to kill a thread from another thread?
00:06:16 Quit cc___ (Ping timeout: 252 seconds)
00:10:03 Quit shifttymike (Ping timeout: 240 seconds)
00:23:03 Quit Ruhan (Quit: Connection closed for inactivity)
00:32:44 Join shifttymike [0] (~shifttymi@
00:54:11***Saving seen data "./dancer.seen"
00:58:51 Quit ender` (Quit: You can never be too careful with the truly righteous—their faith allows them to justify all kinds of underhanded behaviour. — Simon R. Green: Just Another Judgement Day)
01:00:02pamaury__builtin: yes our PCM bit depth is harcoded
01:00:24 Join Bilgus_Ph [0] (4cf32773@gateway/web/freenode/ip.
01:02:30Bilgus_Ph__builtin: I think you asked this a while back, only way I've found it to put a queue in and send it an exit message
01:04:33 Quit pamaury (Ping timeout: 240 seconds)
01:23:44 Quit xorly (Ping timeout: 264 seconds)
01:32:26Bilgus_Ph__builtin: it looks like you might be able to set thread->state; to 0 and have it killed but you'd have to try and see accesses the thread data I still wonder why remove_thread() was removed
01:40:28__builtinhmm, where does it reference thread_remove?
01:42:23 Part chrisb ("rcirc on GNU Emacs 26.0.50")
01:46:33Bilgus_PhI think its in the wiki maybe?
01:47:41Bilgus_Phyeah here
01:54:24__builtinhmm, interesting
01:54:36__builtinI'm going to see if I can find any references in the commit history
01:59:22__builtinok, found something
02:03:44*__builtin is working on sound in SDL, btw
02:07:09__builtinhmm, appears to somewhat work :)
02:07:19*__builtin knows because his ears hurt now
02:09:39 Join MrZeus1 [0] (~MrZeus@2a02:c7f:7066:fb00:bd94:323b:5649:2725)
02:16:15Bilgus_Phso I wonder what 'The Right Way to Do Things in normal programs' is then probably sending an exit message
02:16:39*__builtin isn't too concerned about doing things properly
02:17:02__builtinas long as it can boot wolf3d and play some sound, I'll be happy
02:28:03 Quit prof_wolfff (Ping timeout: 240 seconds)
02:34:32__builtinhmm, this is surprising
02:34:35__builtinwe have working sound :D
02:34:51__builtinin the simulator, at least
02:38:03 Quit MrZeus1 (Ping timeout: 252 seconds)
02:48:03 Quit copper (Ping timeout: 240 seconds)
02:49:42Bilgus_Ph__builtin: what did exiting the thread have to do with having sounsds is it supposed to be run async or something?
02:52:41 Join copper [0] (~copper@unaffiliated/copper)
02:54:13***Saving seen data "./dancer.seen"
03:09:49 Quit Bilgus_Ph (Quit: Page closed)
03:50:33 Quit _meg (Ping timeout: 240 seconds)
03:52:34 Join _meg [0] (~notsure@
04:09:30__builtinwell, SDL uses a thread to feed the audio driver its data
04:09:49__builtinso I ran into the thread exiting issue when writing the thread support code
04:11:46__builtinbut it turns out it doesn't matter that much
04:54:17***Saving seen data "./dancer.seen"
04:54:22 Quit alexweissman (Ping timeout: 255 seconds)
04:56:08 Join alexweissman [0] (
05:07:45__builtinyay, working on target! :D
05:15:09__builtinit's crazy slow, though
05:18:43 Quit Jinx (Read error: Connection reset by peer)
05:19:04 Quit _meg (Ping timeout: 240 seconds)
05:20:48 Join _meg [0] (~notsure@
05:22:38 Quit __builtin (Remote host closed the connection)
05:34:09 Join Jinx [0] (Dojo@unaffiliated/jinx)
05:35:04 Quit _meg (Ping timeout: 240 seconds)
05:37:18 Join _meg [0] (~notsure@
05:56:04 Quit _meg (Ping timeout: 240 seconds)
05:58:42 Join _meg [0] (~notsure@
06:05:28 Quit TheSeven (Ping timeout: 246 seconds)
06:11:27 Join TheSeven [0] (~quassel@rockbox/developer/TheSeven)
06:12:41Bilgusit was originally made for what the 386? wonder what the bottleneck is; too much detail maybe?
06:33:27 Join ZincAlloy [0] (~Adium@2a02:8108:8b80:1700:4570:e82f:5511:9766)
06:42:10 Quit ZincAlloy (Quit: Leaving.)
06:43:24 Join dys [0] (
06:54:19***Saving seen data "./dancer.seen"
08:03:32 Join freenoodle [0] (
08:04:38 Quit freenoodle (Remote host closed the connection)
08:13:49 Join freenoodle [0] (
08:14:59 Join advcomp2019 [0] (~advcomp20@unaffiliated/advcomp2019)
08:16:36 Part freenoodle
08:17:34 Quit advcomp2019_ (Ping timeout: 248 seconds)
08:20:59 Join freenoodle [0] (
08:26:51 Join ender` [0] (
08:29:19 Join wodz [0] (
08:30:34 Join petur [0] (~petur@
08:30:34 Quit petur (Changing host)
08:30:34 Join petur [0] (~petur@rockbox/developer/petur)
08:51:15 Join TheLemonMan [0] (~lemonboy@irssi/staff/TheLemonMan)
08:54:20***Saving seen data "./dancer.seen"
09:11:47 Quit freenoodle (Quit: freenoodle)
09:40:34 Quit CommunistWitchDr (Ping timeout: 240 seconds)
09:41:18 Quit dys (Ping timeout: 248 seconds)
09:46:06 Join SovietShaman [0] (
09:48:22 Join dys [0] (~dys@2003:5b:203b:100:6af7:28ff:fe06:801)
09:48:53 Join JdGordon_ [0] (~jonno@
09:48:53 Quit JdGordon_ (Changing host)
09:48:53 Join JdGordon_ [0] (~jonno@rockbox/developer/JdGordon)
09:48:56 Quit JdGordon (Ping timeout: 260 seconds)
09:53:57 Join xorly [0] (
10:16:44 Quit ender` (Quit: You can never be too careful with the truly righteous—their faith allows them to justify all kinds of underhanded behaviour. — Simon R. Green: Just Another Judgement Day)
10:29:56 Quit deevious (Read error: Connection reset by peer)
10:30:58 Join deevious [0] (~Thunderbi@
10:49:58 Join parchd [0] (~parchd@unaffiliated/parchd)
10:52:04 Quit quaz0r (Ping timeout: 240 seconds)
10:54:21***Saving seen data "./dancer.seen"
11:01:17 Join pamaury [0] (~pamaury@rockbox/developer/pamaury)
11:05:37 Join quaz0r [0] (
11:14:08 Quit jhMikeS (Ping timeout: 248 seconds)
11:21:48 Join jhMikeS [0] (
11:26:04 Quit pamaury (Ping timeout: 240 seconds)
11:41:04 Quit xorly (Ping timeout: 240 seconds)
11:59:04 Join p3tur [0] (~petur@
11:59:04 Quit p3tur (Changing host)
11:59:04 Join p3tur [0] (~petur@rockbox/developer/petur)
12:02:04 Quit petur (Ping timeout: 240 seconds)
12:08:10 Join pamaury [0] (~pamaury@rockbox/developer/pamaury)
12:10:10 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon)
12:12:26 Quit JdGordon_ (Ping timeout: 260 seconds)
12:22:22 Join dfkt [0] (~dfkt@unaffiliated/dfkt)
12:23:20 Join robertd1 [0] (
12:24:08 Nick p3tur is now known as petur (~petur@rockbox/developer/petur)
12:34:12 Join PimpiN8 [0] (~textual@2a02:a454:38ea:1:f56a:1e1c:14bf:96db)
12:45:04 Quit _meg (Ping timeout: 240 seconds)
12:45:47 Join _meg [0] (~notsure@
12:46:14 Join xorly [0] (
12:50:06 Quit jhMikeS (Ping timeout: 246 seconds)
12:50:51 Join jhMikeS [0] (
12:53:59 Join TheLemon1an [0] (~lemonboy@irssi/staff/TheLemonMan)
12:54:24***Saving seen data "./dancer.seen"
12:55:11 Quit jhMikeS (Ping timeout: 252 seconds)
12:56:18 Quit TheLemonMan (Ping timeout: 255 seconds)
13:03:36 Join prof_wolfff [0] (
13:04:59 Join p3tur [0] (~petur@
13:04:59 Quit p3tur (Changing host)
13:04:59 Join p3tur [0] (~petur@rockbox/developer/petur)
13:07:34 Quit petur (Ping timeout: 240 seconds)
13:07:57 Nick p3tur is now known as petur (~petur@rockbox/developer/petur)
13:33:53 Nick SovietShaman is now known as CommunistWitchDr (
13:46:26 Quit TheLemon1an (Read error: Connection reset by peer)
13:47:31 Join TheLemonMan [0] (~lemonboy@irssi/staff/TheLemonMan)
13:51:42 Quit TheLemonMan (Ping timeout: 246 seconds)
13:53:19 Join cc___ [0] (
14:14:21 Quit wodz (Ping timeout: 260 seconds)
14:14:42qvrpamaury: do you know if newer sony products have changed the upg format somehow?
14:15:52qvrpamaury: i'm investigating srs-zr5's upg file, and it seems that it no longer uses md5sum at the start of file
14:21:18 Join krabador [0] (~krabador@unaffiliated/krabador)
14:29:25pamauryqvr: not that I am aware. at least the NW-A30 uses the same form (but different encryption so we are stuck). I don't know what the srs-zr5 is
14:30:51pamauryit might be that Sony used the same extension for other producst but never used the same format
14:32:45qvryeah, ok. it's a wifi speaker (chromecast audio, spotify connect etc).
14:33:17pamauryI guess it's all encrypted?
14:33:30qvryeah, seems so
14:35:01pamauryqvr: what happens when you connect the device via usb, does it connect as mass storage?
14:36:46qvri might try that next, but i think it'll only work in usb host mode
14:42:54*pamaury has a look at the upg image out of curiosity
14:47:59pamauryyeah, could be a totally different format or the same with a slight change but the possibilities are huge
14:54:27***Saving seen data "./dancer.seen"
14:55:28 Quit CommunistWitchDr (Ping timeout: 248 seconds)
14:57:38pamauryqvr: I am afraid the only sure way is to disassemble the device and extract the firmware from the chip, which is no small feat :-/
15:06:51 Quit _meg (Ping timeout: 260 seconds)
15:08:55 Join _meg [0] (~notsure@
15:16:55 Quit PimpiN8 (Quit: My MacBook has gone to sleep. ZZZzzz…)
15:23:34 Quit idonob (Ping timeout: 240 seconds)
15:51:09 Join krabador_ [0] (~krabador@unaffiliated/krabador)
15:52:47 Quit krabador (Ping timeout: 240 seconds)
15:53:49 Quit petur (Quit: Connection reset by beer)
15:53:59 Join TheLemonMan [0] (~lemonboy@irssi/staff/TheLemonMan)
16:14:47 Join Ruhan [0] (uid76353@gateway/web/
16:27:56 Join ender` [0] (
16:50:30pamaurydoes someone know that the second parameters in the builds file is (;a=blob;f=buildserver/builds;h=eda485a3e0c67d5d080df605a61d6c4ba5420779;hb=HEAD)? It's either 0 and 1
16:51:13pamauryis it 1=provide download link?
16:51:21gevaerts"upload build"
16:51:31 Join SovietShaman [0] (
16:51:32gevaertsSo yes
16:52:52pamauryand what is the number after
16:53:44gevaertsRelative build cost
16:54:02gevaertsAlso defined as "centiseconds on my laptop" :)
16:54:28***Saving seen data "./dancer.seen"
16:54:32pamauryhmm, the number look pretty arbitrary
16:55:19pamaurylike zenxfi2 has 91430 but zenxfi3 has 202070 which sounds wrong
16:55:24 Nick SovietShaman is now known as CommunistWitchDr (
16:56:00gevaertssims have the same sort of difference for those
16:56:17gevaertsMaybe at the time one of them didn't have most plugins?
16:56:33pamauryhmm, unless there is a big difference in terms of plugins, I don't remember tweaing those numbers
16:57:01gevaertsThey both come from the same measurement run
16:57:11pamauryso you did measure them?
16:57:57gevaertsWell, the ones that were there at the time. ibasso was added later
16:57:58pamauryok, I'll put a more or less random number of the E580 and I'll let you bench it ;)
16:58:20gevaertsLet me guess, I'll need a new toolchain? :)
16:58:54pamauryyes :)
16:59:56pamaury./ −−target="x" −−prefix=/whatever/you/want −−makeflags="-jN" (replace N and the prefix obviously)
17:00:15pamauryit might require apt-get install libmpc-dev libmpfr-dev libgmp-dev
17:00:43*pamaury added one build with the new toolchain and will try to trigger the build server
17:01:02 Join idonob [0] (
17:01:35gevaertsOK. I think I'll install toolchains on my new PC at home which is a tiny bit faster (5 years newer!) than my laptop and do a calibration run on that
17:01:57gevaertsMy laptop fan tends to be noisy for hours during those :)
17:03:35gevaertsWill this replace the old ypr0 toolchain that nobody can build?
17:04:08pamaurygevaerts: I would like it to replace it yes
17:04:23pamauryWe need to confirm it works on both ypr0 and ypr1 before switching though
17:08:02pamaurygevaerts: what is the rule for CREDITS? If I push a commit on gerrit from someone, I should add him to CREDITS right?
17:15:22 Quit TheLemonMan (Ping timeout: 246 seconds)
17:15:38 Join TheLemonMan [0] (~lemonboy@irssi/staff/TheLemonMan)
17:18:26fs-bluebotBuild Server message: New build round started. Revision 3a5ae7d, 256 builds, 13 clients.
17:32:45fs-bluebotBuild Server message: Build round completed after 859 seconds.
17:32:47fs-bluebotBuild Server message: Revision 3a5ae7d result: 2 errors 31 warnings
17:43:28pamauryyay it builds!
17:49:53gevaertsYay, my toolchain works :)
17:50:46pamaurygevaerts: how do I make the build appear on ?
17:51:51gevaertsIsn't that from tools/
17:52:23gevaertsAnd probably playerpics/ in the www repository
17:53:14pamauryyeah I don't have pictures at the moment
17:53:25pamauryfirst I'll add more builds to builds
17:55:34 Quit _meg (Ping timeout: 240 seconds)
17:57:42 Join _meg [0] (~notsure@
18:01:16fs-bluebotBuild Server message: New build round started. Revision 4580897, 267 builds, 13 clients.
18:02:58 Join petur [0] (~petur@rockbox/developer/petur)
18:12:33 Quit krabador_ (Quit: Leaving)
18:12:56 Join krabador [0] (~krabador@unaffiliated/krabador)
18:18:02fs-bluebotBuild Server message: Build round completed after 1007 seconds.
18:18:03fs-bluebotBuild Server message: Revision 4580897 result: 7 errors 26 warnings
18:26:37fs-bluebotBuild Server message: New build round started. Revision 1d58667, 267 builds, 13 clients.
18:28:08 Quit TheLemonMan (Quit: "It's now safe to turn off your computer.")
18:35:10gevaertsI think so, yes
18:35:22*gevaerts was scrolled back
18:35:31gevaertspamaury: for CREDITS, I think so
18:40:58fs-bluebotBuild Server message: Build round completed after 861 seconds.
18:40:59fs-bluebotBuild Server message: Revision 1d58667 result: 7 errors 29 warnings
18:45:53pamauryah I screwed up the builds line
18:47:34 Quit _meg (Ping timeout: 240 seconds)
18:48:10 Join _meg [0] (~notsure@
18:48:30 Quit cc___ (Ping timeout: 248 seconds)
18:54:31***Saving seen data "./dancer.seen"
19:06:35 Quit dys (Ping timeout: 246 seconds)
19:10:41 Join MrZeus1 [0] (~MrZeus@2a02:c7f:7066:fb00:4924:c1db:44da:6129)
19:15:04 Join lebellium [0] (
19:32:16 Quit parchd (Quit: Lost terminal)
19:45:08 Join johnb3 [0] (
19:48:14 Quit pamaury (Ping timeout: 248 seconds)
19:58:12 Quit krabador (Remote host closed the connection)
19:58:48 Quit lebellium (Quit: ChatZilla 0.9.93 [Firefox 55.0.3/20170824053622])
20:02:37 Join p3tur [0] (~petur@rockbox/developer/petur)
20:10:55 Join lebellium [0] (
20:12:04 Join TheLemonMan [0] (~lemonboy@irssi/staff/TheLemonMan)
20:26:04 Quit _meg (Ping timeout: 240 seconds)
20:28:33 Join _meg [0] (~notsure@
20:37:24 Join pamaury [0] (~pamaury@rockbox/developer/pamaury)
20:45:35fs-bluebotBuild Server message: New build round started. Revision e6de6c1, 267 builds, 13 clients.
20:46:48pamauryI think I'll need the help of b0hoon for the sony NWZ icons/images
20:50:10 Join dys [0] (
20:54:17lebelliumcongrats :)
20:54:34***Saving seen data "./dancer.seen"
20:55:00johnb3Same here and thanks for including the A20.
20:55:46pamauryyou're welcome. I still need to update the wiki and upload some bootloader builds. There are still many things to fix and probably the bootloader can be improved
20:56:02pamauryalso there is a problem on E450/E460 where audio stutters when backlight is off :(
20:56:27lebelliumDid we solve the sound issue on E580?
20:56:33lebelliumI don't even remember
20:57:03johnb3I don't think completely.
20:57:25johnb3I wanted to record a signal and see the steps next weekend.
20:58:00fs-bluebotBuild Server message: Build round completed after 744 seconds.
20:58:01fs-bluebotBuild Server message: Revision e6de6c1 result: 10 errors 29 warnings
20:58:24lebelliumI'll try to spend some time on Rockbox this weekend. I still have to test the Yp-r0 patch... :/
21:00:22pamauryjohnb3: there is a bug with audio volume but I know why and it can't be fixed until I do some work on the DSP
21:02:23johnb3ok. I tried to understand your algorithm for creating the volume, but did not understand it immediately :-/ Then I will postpone the measuring.
21:03:54pamauryI realized today there is a bug in my algorithm anyway, it's wrong by a factor of 2. The steps are 2dB instead of 1dB
21:06:53lebelliumis it possible to get the usual volume display (negative) instead of starting at +0 which f**ks up themes with a graphical volume bar?
21:08:03pamauryI'm pretty sure the current code doesn't start at 0dB
21:08:12pamauryit starts at something like -50dB
21:09:02lebelliumah, I may not be up to date. I'll check this weekend
21:09:07pamauryactually it ranges from -100dB to 4dB
21:10:05lebelliumyou must have done some progress since the last time I used a NWZ :P
21:12:48lebelliumare you still doing something with the A860?
21:24:57johnb3BTW, I have updated g#1591 to activate the pitch screen on Longpress Up. Tested with the pushed NWZ commit on E450, E580 and A20 ;-)
21:24:59fs-bluebotGerrit review #1591 at : For Sony players that have explicit volume keys, make better use the up and down... by Johannes Rauh
21:25:34johnb3oops, should say "better use of ...
21:27:45 Join ZincAlloy [0] (~Adium@2a02:8108:8b80:1700:a05f:6141:5bca:8bdb)
21:35:47 Quit johnb3 (Quit: Nettalk6 -
21:44:31 Quit Topy44 (Ping timeout: 246 seconds)
21:49:55pamaurylebellium: I'm working on your A860 right now
21:50:03 Join Topy44 [0] (
21:55:04 Join jhMikeS [0] (
22:04:19pamaurylebellium: so the A860 is a bit weird because of touch screen and buttons that are different from the other nwz players
22:04:36lebelliumweird I don't know
22:04:40lebelliumat least different!
22:05:05pamauryI guess the big question is do we want/need a completely different keymap
22:08:53lebelliumWe'll probably need to accept that some functions can only be used through the touchscreen, that means it depends on the theme you're using (or using the grid mode)
22:12:52pamauryyes, but the current nwz keymap kind of requires directional arrows so I suspect we want a separate keymap
22:18:22 Quit LjL (Ping timeout: 246 seconds)
22:22:41pamaurylebellium: I suggest power off on long home, is that consistent with OF
22:31:45lebelliumI assume there is not much choice. Either long press on Home or on Play/pause right?
22:32:17pamaurypretty much...
22:32:48lebelliumHome is maybe more natural
22:32:53lebelliumas bigger and more visible
22:32:56 Join LjL [0] (~ljl@unaffiliated/ljl)
22:41:18 Quit TheLemonMan (Quit: "It's now safe to turn off your computer.")
22:47:53[Saint]Play/pause is quite a bit more consistent with other targets.
22:47:53 Join wodz [0] (
22:47:59[Saint]Just sayin'.
22:50:47wodzAtj has single analog output stage volume control (applied both to left and right channel uniformly). Does it mean I should set it to max and define HAVE_SW_VOLUME_CONTROL to actual attenuation? Or should I use 'hybrid' mode and set base in analog stage and possible difference in SW?
22:51:06pamauryon the A860 this would be a strange choice I feel since it's a little button on the side but I don't feel stronly about it
22:51:48wodzpamaury: Do you have any opinion on how should I implement volume control on ATJ?
22:52:41pamaurywodz: on NWZ I use a hybrid approach, but currently I don't use HAVE_SW_VOLUME_CONTROL because of some weirdness in the nwz driver. But I'd like to use HAVE_SW_VOLUME_CONTROL eventually, I am just not sure if this hybrid mode is supported by HAVE_SW_VOLUME_CONTROL
22:52:52pamauryin any case I'm definitely interested in having such a mode
22:54:37***Saving seen data "./dancer.seen"
22:55:18wodzwith HAVE_SW_VOLUME_CONTROL you simply call pcm_set_master_volume(sw_volume_l, sw_volume_r) in audiohw_set_volume(). So AFAIK you can set base volume in HW and in SW adjust only difference.
22:55:33 Quit Jinx (Ping timeout: 246 seconds)
22:55:57pamaurywodz: oh cool, then I'd say go for hybrid
22:56:07 Quit p3tur (Quit: Leaving)
22:59:15saratoga_how well does hybrid actually work given the latency in the PCB buffering? Do you get weird effects where changing the volume goes in stages?
23:00:40wodzsaratoga_: Don't know yet.
23:00:48pamaurywell at the moment I use a horible hack in the pcm alsa driver so changing volume produces artifact anyway. I didn't pay attention to the latency to the honest
23:01:38wodzheh we even have AUDIOHW_HAVE_MONO_VOLUME (seems to be used only in sdl driver and no target defines it)
23:01:39pamaurybut I would expect the pcm volume to be very late in the pipeline so the latency should be very small no? But I can see how this can be a problem though if hw and sw volume are not synchronized
23:03:58pamaurybut the idea of hybrid volume anyway is that you should usually adjust either using hw or sw in ranges. For example between -50dB and 0dB you would use harware and between -100dB to -50dB you set hardware to -50dB and use software. Thus only one of hw/sw changes when you step up/down
23:03:59*pamaury needs to find a way around the database refresh on NWZ
23:04:49 Nick LjL is now known as LjL-Laplette (~ljl@unaffiliated/ljl)
23:07:10wodzah, no mas35xx, uda1341, dx50, dx90 and maemo5 seems to use mono volume control
23:09:35 Join Jinx [0] (Dojo@unaffiliated/jinx)
23:12:20wodzSo easy route is to define MONO_VOL_CAP and forget about balance.
23:13:42 Quit lebellium (Quit: ChatZilla 0.9.93 [Firefox 55.0.3/20170824053622])
23:16:05pamauryI didn't know about AUDIOHW_HAVE_MONO_VOLUME, seems useful in my case too
23:21:02wodzpamaury: I didn't know too until few minutes ago
23:23:51*pamaury has a working bootloader on A860, but without touchscreen
23:34:06 Quit Ruhan (Quit: Connection closed for inactivity)
23:34:52pamaurynow the fun part: keymap...
23:39:03 Quit ZincAlloy (Quit: Leaving.)
23:49:41 Quit petur (Quit: Leaving)

Previous day | Next day