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 2016-12-03

00:01:41pamaurylike I want it in the middle of the screen horizontally
00:02:15pamauryI guess I can do it by computing the length with font_getstringsize but I hoped for something less low level
00:02:48__builtinwhy not just splash()?
00:03:09pamaurybecause it's in the bootloader
00:03:24pamauryand splash will not do, this is not a temporary message
00:04:03__builtinwell just LCD_WIDTH/2 - text_width/2
00:04:05 Quit amayer (Quit: Leaving)
00:05:03pamauryyeah so I need to compute the size, just a bit annoying
00:05:39pamauryhum also I only have the sysfont in bootloader, this one is really ugly
00:24:04pamauryyeah \o/ I have the bootloader working, except for the super ugly and small font
00:26:02[Saint]don't all our bootloaders just have sysfont?
00:27:07pamauryYes but in this case the bootloader displays a menu with big icons to select between OF and Rockbox. And the very small font just looks horrible in a big screen
00:27:19[Saint]I actually want to get rid of the concept of a single sysfont.
00:27:23[Saint]but, time, effort, motivation.
00:27:59[Saint]pamaury: is it localized? perhaps you might want to just go with bitmaps.
00:28:06[Saint]for the text, I mean.
00:29:08[Saint]Oh, of course it isn't localized...we can't guess the locale in the bootloader reliably.
00:29:36pamauryno it's not localized, but seems there case be error messages and all, maintaining a text bitmaps is not a great option
00:29:46[Saint]I mean, we could probably scrape from config.cfg, but...that's more trouble than it is worth and provides fail cases.
00:30:07pamauryI could install a font along the bootloader
00:30:38pamauryexcept I guess one needs to run a tool to compile tools?
00:31:19pamauryI cannot simply take a bdf file from fonts/ and load it with rockbox?
00:31:35[Saint]convbdf, in */tools
00:32:08[Saint]and, no - honestly, I wish we could.
00:32:18[Saint]native bdf and ttf font parsing instead of the proprietary FNT madness would be nice.
00:32:58[Saint]there's also convttf for antialiased fonts, but these can be substantially larger.
00:37:18*pamaury is confused by some makefile bitmap automatic that doesn't work
00:38:00 Quit girafe (Read error: Connection reset by peer)
00:41:58 Part robertd1
00:44:41 Join Senji [0] (~Senji@
00:45:44pamauryactually there is another solution: changing the sysfont for this bootloader for this build, but that doesn't sound great
00:46:20pamauryor embed a second font
00:47:31 Quit Senji_ (Ping timeout: 244 seconds)
00:52:52 Quit lebellium (Quit: ChatZilla 0.9.93 [Firefox 50.0.2/20161129173726])
00:54:17[Saint][20161203111648] <pamaury> [Saint]: that's a waste of space
00:55:24[Saint]I think personally the "right" fix for this is abandoning the sysfont that, lets face it, doesn't fucking work on all but a tiny subset of devices.
00:55:34[Saint]sysfont should be actually usable.
00:56:13[Saint]Which means that it should be targeted for each resolution.
00:56:33 Join Senji_ [0] (~Senji@
00:59:54 Quit ender (Quit: The first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time.)
00:59:55 Quit Senji (Ping timeout: 244 seconds)
00:59:58pamauryarg and of course, convdbf is hard-coded to emit sysfont names
01:00:09pamaurythus you cannot use it for anything else without resorting to ugly tricks
01:00:13pamauryor fixing the tool
01:02:57pamauryactually it might just be simpler to have the makefile compile the bootloader, convert a font to .fnt and tar them, calling the result the "bootloader"
01:03:12pamaurysince this will eventually be processed by a tool to create the final firmware image anyway
01:05:30[Saint]Hum, good point.
01:08:50pamauryah I love our headers, never ever any comments about what it does and return values on error
01:10:05[Saint]I particularly love it when you find a bunch of abandoned includes that no one has been brave enough to touch in a decade because it means auditing extremely fucked up code.
01:10:33[Saint]I see that in a lot of projects though.
01:10:45[Saint]"Fuck, maybe this still does something...better leave it"
01:11:48pamaurysigh... font.h claims font exists in bootloader but most of font.c is not compiled in bootloader
01:12:36pamauryactually it is hardcoded to sysfont...
01:13:00pamauryso currently there is litteraly no way to having another font in bootloader
01:14:04*pamaury tries the brutal "remove #ifdef and see if it works" approach
01:14:08 Quit ZincAlloy (Quit: Leaving.)
01:15:10[Saint]pamaury: persumably at this stage you have a bulletproof recovery?
01:16:21pamaury[Saint]: at this stage I know what can brick the device or not. Basically the only dangerous part is when you do a firmware upgrade. The rest of the time, the root filesystem is mounted read-only so unless you remount it rw, you (mostly) can't brick the device
01:16:52pamaurybecause OF will go to USB mode even before loading the main app if cable is plugged
01:17:19[Saint]Are you using an overlayfs system?
01:20:04 Quit Senji_ (Ping timeout: 244 seconds)
01:20:48***Saving seen data "./dancer.seen"
01:21:29pamaury[Saint]: no, there is a /tmp ramdisk and the user partition is mounted in /contents/
01:24:39pamauryso even if I compile font.c, font loading fails
01:24:46pamauryI suspect because of "lack of memory"
01:31:02pamauryah I was missing font_init()
01:31:07pamaurybut now it segfaults...
01:31:49pamauryin buflib
01:31:57pamauryIs buflib supposed to worked in bootloader?
01:33:08pamauryah I'm missing core_allocator_init();
01:33:15pamaurynow it's working \o/
01:48:43pamauryupdated g#1424
01:48:45fs-bluebot_Gerrit review #1424 at : Initial commit for the Sony NWZ linux port and NWZ-E460 (WIP) by Amaury Pouly
01:48:45pamaurygoing to bed
01:53:39 Quit pamaury (Ping timeout: 244 seconds)
02:12:56 Join Senji_ [0] (~Senji@
02:16:17 Join Senji [0] (~Senji@
02:19:29 Quit Senji_ (Ping timeout: 244 seconds)
02:24:51 Quit krnlyng (Ping timeout: 248 seconds)
02:29:50 Join Senji_ [0] (~Senji@
02:33:02 Quit Senji (Ping timeout: 265 seconds)
02:36:45 Quit Bilgus (Quit: Page closed)
02:36:58 Join krnlyng [0] (
02:37:36 Join Senji [0] (~Senji@
02:40:09 Quit Senji_ (Ping timeout: 244 seconds)
02:40:59 Join Senji_ [0] (~Senji@
02:43:46 Quit Senji (Ping timeout: 244 seconds)
03:02:42 Join Senji [0] (~Senji@
03:06:05 Quit Senji_ (Ping timeout: 268 seconds)
03:10:47 Join Senji_ [0] (~Senji@
03:14:15 Quit Senji (Ping timeout: 244 seconds)
03:17:34 Quit [Saint] (Read error: Connection reset by peer)
03:19:14 Join [Saint] [0] (~sinner@rockbox/staff/saint)
03:20:51***Saving seen data "./dancer.seen"
03:22:22 Quit smoke_fumus (Quit: KVIrc 4.2.0 Equilibrium
04:00:22 Quit [Saint] (Read error: Connection reset by peer)
04:00:51 Join [Saint] [0] (~sinner@rockbox/staff/saint)
04:18:05 Join Senji [0] (~Senji@
04:19:43 Quit athidhep (Quit: athidhep)
04:21:28 Quit Senji_ (Ping timeout: 260 seconds)
04:27:21 Quit PurlingNayuki (Ping timeout: 260 seconds)
04:38:53 Join Senji_ [0] (~Senji@
04:39:49 Join Senj_ [0] (~Senji@
04:41:35 Quit Senji (Ping timeout: 244 seconds)
04:43:08 Quit Senji_ (Ping timeout: 244 seconds)
04:45:12 Quit Senj_ (Ping timeout: 244 seconds)
05:00:56 Quit dfkt (Ping timeout: 260 seconds)
05:02:05 Join dfkt [0] (~dfkt@unaffiliated/dfkt)
05:20:52***Saving seen data "./dancer.seen"
06:35:03 Quit Strife89 (Ping timeout: 245 seconds)
06:46:16 Quit [7] (Ping timeout: 240 seconds)
06:47:02 Join TheSeven [0] (~quassel@rockbox/developer/TheSeven)
07:20:56***Saving seen data "./dancer.seen"
07:28:12 Join Strife89 [0] (
08:00:26 Quit naleo (Read error: Connection reset by peer)
08:16:53 Quit nlogex (Ping timeout: 250 seconds)
09:13:42 Join nlogex [0] (
09:18:04 Quit nlogex (Ping timeout: 256 seconds)
09:19:01 Join fs-bluebot [0] (
09:20:58***Saving seen data "./dancer.seen"
09:21:08 Quit fs-bluebot_ (Ping timeout: 246 seconds)
09:22:28 Quit bluebrother (Ping timeout: 248 seconds)
09:24:19 Join bluebrother [0] (~dom@rockbox/developer/bluebrother)
10:02:31 Join Bray90820_ [0] (
10:04:53 Quit Bray90820 (Ping timeout: 246 seconds)
10:09:08 Join ender` [0] (
10:09:22 Join pamaury [0] (~pamaury@rockbox/developer/pamaury)
11:20:59***Saving seen data "./dancer.seen"
11:22:28 Join athidhep [0] (~afoakf@unaffiliated/athidhep)
11:22:44 Join lebellium [0] (
11:24:40 Join feoafka [0] (
11:27:49 Quit athidhep (Ping timeout: 256 seconds)
11:43:14 Quit pamaury (Ping timeout: 246 seconds)
11:43:33 Join pamaury [0] (~pamaury@rockbox/developer/pamaury)
11:54:56 Quit feoafka (Quit: feoafka)
11:57:55 Join athidhep [0] (~afoakf@unaffiliated/athidhep)
12:05:34 Join robertd1 [0] (~root@
12:35:10user890104when playing a FLAC track, rockbox on ipod classic always crashes at the exact same place with "undefined instruction" or "data abort"
12:35:57user890104can someone provide me with a build of which there are debug symbols avalable, so i can reproduce it?
12:58:04 Nick megal0maniac is now known as shiftymike (~megal0man@unaffiliated/megal0maniac)
13:02:10 Join Boltermor [0] (
13:03:54 Join johnb2 [0] (
13:06:16johnb2Is anyone working on the NWZ-E500 series, too, as libellium asked for a drawing?
13:17:20johnb2Can you help me on the numbering scheme of the NWZ-E series? First digit seems to be generation, the last flash memory size, but what is the second digit, e.g. in E474?
13:17:38lebelliumpamaury will probably be working on it after the E470
13:17:43lebelliumHe has the E580 too
13:18:22lebelliumcorrect for the numbering scheme
13:18:48lebelliumwell not exactly
13:19:12lebelliumE and 4 is the range
13:19:16lebellium7 is the generation
13:19:20lebellium4 is the memory size
13:19:57lebelliumE470 is higher range than E380
13:20:09lebelliumE470 is the generation after E460
13:21:01***Saving seen data "./dancer.seen"
13:21:52 Quit johnb2 (Ping timeout: 244 seconds)
13:38:45 Join johnb2 [0] (
13:48:22 Quit Boltermor (Ping timeout: 260 seconds)
14:17:24 Quit prof_wolfff (Ping timeout: 248 seconds)
14:31:01 Join prof_wolfff [0] (
14:46:44 Quit Strife89 (Ping timeout: 248 seconds)
14:48:39 Quit athidhep (Quit: athidhep)
14:51:39 Join athidhep [0] (~afoakf@unaffiliated/athidhep)
14:53:19 Quit johnb2 (Ping timeout: 244 seconds)
15:08:19 Join ZincAlloy [0] (~Adium@2a02:8108:8b80:1700:84c0:88f:127c:ccf1)
15:12:36 Join feoafka [0] (
15:15:02 Join johnb2 [0] (
15:15:04 Quit athidhep (Ping timeout: 260 seconds)
15:15:40johnb2Thanks for explanation.
15:18:16johnb2I just bought an Sony NWZ-E585 on Ebay from a guy in chicago: 252664040579. He is selling multiple very cheap, so I will have to see if it's fraud or not.
15:21:04***Saving seen data "./dancer.seen"
15:21:15 Quit johnb2 (Quit: Nettalk6 -
16:43:36 Join petur [0] (~petur@rockbox/developer/petur)
16:45:34pamaurydoes someone know how USB_HANDLED_BY_OF works ? After some grepping I am wondering if it event does something. I thought we had a define to reboot on usb plug
16:45:37 Join paulk-aldrin [0] (
17:03:17 Part robertd1
17:07:42 Join rela [0] (~x@pdpc/supporter/active/rela)
17:12:52 Join Strife89 [0] (
17:20:29 Join fujisan [0] (~fujisan@unaffiliated/fujisan)
17:21:07***Saving seen data "./dancer.seen"
17:26:56 Quit fujisan (Quit: My Mac Mini has gone to sleep. ZZZzzz…)
17:31:37 Join girafe [0] (
17:42:35 Join nlogex [0] (
17:47:49 Quit feoafka (Quit: feoafka)
18:00:19 Join naleo [0] (~naleo@unaffiliated/naleo)
18:50:09 Quit ZincAlloy (Quit: Leaving.)
19:01:24 Join athidhep [0] (~afoakf@unaffiliated/athidhep)
19:21:09***Saving seen data "./dancer.seen"
19:25:16 Join fujisan [0] (~fujisan@unaffiliated/fujisan)
19:35:46 Quit fujisan (Quit: My Mac Mini has gone to sleep. ZZZzzz…)
19:37:25 Join Bilgus [0] (ae6611d9@gateway/web/freenode/ip.
19:38:16BilgusI have a bunch of compiled test builds i'd like to add in the forum what do I need to do to add them or where should I add them?
19:46:15 Join soap [0] (~soap@rockbox/staff/soap)
19:57:38 Join johnb2 [0] (
19:58:35johnb2Bilgus: the latest version works flawlessly for me, both Clip+ and FuzeV2.
20:01:02BilgusI've changed a bit more and added the option to disable backlight on with unknown buttons but the underlying stuff is still The same I think its ready for a wider audience.. thanks for your help
20:04:52 Quit johnb2 (Ping timeout: 260 seconds)
20:19:35BilgusTopic for SelBl/Sl is here:,51589.0.html
20:28:17 Quit Bilgus (Quit: Page closed)
20:28:31 Quit girafe (Read error: Connection reset by peer)
20:29:44 Join girafe [0] (
20:46:29__builtinhey looks like the new element names are here:
20:47:07__builtin g#1349 is good to go
20:47:08fs-bluebotGerrit review #1349 at : Add tentative new element names, IUPAC approval expected around November by Franklin Wei
20:51:42 Join wodz [0] (
20:52:57wodzpamaury: IIRC pp ipods rebooted to disk mode on usb plug until rb usb driver was developed.
20:55:04 Join JanC_ [0] (~janc@lugwv/member/JanC)
20:56:13 Join johnb2 [0] (
20:56:16 Quit JanC (Ping timeout: 258 seconds)
20:56:20 Nick JanC_ is now known as JanC (~janc@lugwv/member/JanC)
21:11:58pamaurywodz: yeah but that feature does not seem to exists anymore. I've been making progress, got a proper lcd driver, backlight, adc, battery, power status
21:12:07pamaurytouchscreen (untested)
21:12:37pamauryI need to find out why playback crashes
21:21:13***Saving seen data "./dancer.seen"
21:35:16 Join fujisan [0] (~fujisan@unaffiliated/fujisan)
21:37:49 Quit johnb2 (Quit: Nettalk6 -
22:00:13 Join Bray90820 [0] (
22:02:56 Quit Bray90820_ (Ping timeout: 260 seconds)
22:08:11 Join Bray90820_ [0] (
22:09:31 Quit Bray90820_ (Client Quit)
22:10:38 Quit Bray90820 (Ping timeout: 258 seconds)
22:16:16 Quit wodz (Quit: Leaving)
22:17:10 Quit fujisan (Quit: Textual IRC Client:
22:36:37pamauryhum, so plugins are working but codecs crash immediately
22:36:40pamaurysomething is not right
22:51:52 Join Bray90820 [0] (
23:05:57 Join ZincAlloy [0] (~Adium@2a02:8108:8b80:1700:e44b:4c91:b95e:24c1)
23:08:15pamauryah dammit, that could be an instance of g#1390
23:08:16fs-bluebotGerrit review #1390 at : Fix DEBUG build codecs by Amaury Pouly
23:08:21pamaurywhich I should have pushed
23:12:13pamauryhum no, this does not apply in app builds
23:17:29 Quit paulk-aldrin (Quit: Leaving)
23:18:56pamauryhaha, it seems that it works on non-debug build
23:19:24pamauryat least it doesn't crash :) but there is no sounds, probably a problem with the codec and/or the audio amplifier and/or headphone gate
23:19:35pamaurystill why debug codec crash...
23:20:16 Quit Bray90820 ()
23:21:17***Saving seen data "./dancer.seen"
23:25:47 Join Bray90820 [0] (
23:33:14 Quit petur (Quit: Leaving)
23:35:33 Quit girafe (Read error: Connection reset by peer)
23:42:07pamauryhum in fact I do get some sound but it seems to underflow all the time
23:47:05 Quit Bray90820 ()
23:51:44pamauryhum there is clearly something wrong with the CODEC, if I start to use the OF after rockbox, audio is completely messed up
23:58:33pamauryanyway updated g#1424
23:58:34fs-bluebotGerrit review #1424 at : Initial commit for the Sony NWZ linux port and NWZ-E460 (WIP) by Amaury Pouly
23:58:37pamaurygoing to bed

Previous day | Next day