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-02

00:02:06pamauryah we are slowly getting somewhere
00:03:07pamaurysomething corrupts the root menu in the data section
00:03:24 Quit lebellium (Quit: ChatZilla 0.9.93 [Firefox 50.0.1/20161123182536])
00:05:25pamaury[Saint]: can a theme change the root menu?
00:14:27pamaurycorruption happens in settings_apply_skins(), this looks dangerous
00:15:21pamauryI think it's safer to go to bed before I loose my sanity in the skin engine
00:15:34 Quit edhelas (Ping timeout: 246 seconds)
00:27:09 Quit ender` (Quit: History is a set of lies agreed upon. — Napoleon Bonaparte)
00:28:31 Join athidhep [0] (~afoakf@unaffiliated/athidhep)
00:31:08 Quit pamaury (Ping timeout: 256 seconds)
01:04:31__builtin[Saint]: well there's no easy way of loading a font of a specific size, so I was thinking of rendering it to a bitmap and scaling it
01:08:22__builtinthen I could hardcode in a few fonts which I hope exist and scale them on demand
01:17:33 Quit alexweissman (Remote host closed the connection)
01:20:20***Saving seen data "./dancer.seen"
01:20:50 Join Bray90820_ [0] (
01:23:58 Quit Bray90820 (Ping timeout: 260 seconds)
01:26:29 Quit tracktheripper (Ping timeout: 260 seconds)
01:49:35 Quit prosinz (Ping timeout: 240 seconds)
02:08:15[Saint]__builtin: you don't want to go for this approach, I assure you.
02:09:11[Saint]__builtin: scaling fonts dynamically just plain does not work if you want to retain legibility.
02:09:32[Saint]This will at best work "OK...ish" for Latin glyphs only.
02:10:05[Saint]Any Eastern or Asian glyphs will be rendered into little indistinguishable shit-blobs.
02:10:53__builtinwell all I ever need are plain latin glyphs
02:11:24[Saint]__builtin: ...what was wrong with the approach I offered?
02:11:24[Saint]I think this is both the most obvious approach, and the one that has the least impact on the myriad of end users who almost certainly aren't going to use this.
02:11:51[Saint]And....really? These aren't localized, at all?
02:11:51[Saint]That sounds like something to fix.
02:12:54__builtinthe back-end games themselves are not
02:15:52 Join cohokiller673 [0] (
02:20:20__builtinand honestly there's not much in the way of actual words, just numbers mainly
02:20:33 Join alexweissman [0] (
02:24:36 Quit krnlyng (Ping timeout: 250 seconds)
02:34:12 Quit ZincAlloy (Quit: Leaving.)
02:37:23 Quit athidhep (Quit: athidhep)
02:37:53 Join krnlyng [0] (
02:41:48__builtinanother question, can I have viewports inside of viewports?
02:41:55 Quit uwe_ (Ping timeout: 240 seconds)
02:43:17 Join uwe_ [0] (
02:52:38[Saint]Technically, yes. But not in the way you're thinking.
02:53:20[Saint]There's the default, fullscreen viewport. And additionally defined viewports, which are technically children of the fullscreen viewport.
02:59:23 Quit cohokiller673 (Read error: Connection reset by peer)
02:59:42__builtinso no chaining defined viewports then?
03:20:16 Join smoke_fumus [0] (
03:20:24***Saving seen data "./dancer.seen"
03:20:49 Quit smoke_fumus (Client Quit)
03:28:18 Quit mxyzplx (Quit: mxyzplx)
05:20:25***Saving seen data "./dancer.seen"
06:06:19 Quit Senji (Ping timeout: 260 seconds)
06:09:12 Nick [Saint] is now known as DarleneAlderson (~sinner@rockbox/staff/saint)
06:09:28 Nick DarleneAlderson is now known as [DarleneAlderson (~sinner@rockbox/staff/saint)
06:09:48 Nick [DarleneAlderson is now known as KristaGordon (~sinner@rockbox/staff/saint)
06:10:01 Nick KristaGordon is now known as [KristaGordon] (~sinner@rockbox/staff/saint)
06:10:50 Nick [KristaGordon] is now known as AngelaMoss (~sinner@rockbox/staff/saint)
06:11:06 Nick AngelaMoss is now known as [AngelaMoss] (~sinner@rockbox/staff/saint)
06:11:29 Nick [AngelaMoss] is now known as TyrellWellick (~sinner@rockbox/staff/saint)
06:11:48 Nick TyrellWellick is now known as [TyrellWellick] (~sinner@rockbox/staff/saint)
06:12:48 Nick [TyrellWellick] is now known as JoannaWellick (~sinner@rockbox/staff/saint)
06:12:58 Nick JoannaWellick is now known as [JoannaWellick] (~sinner@rockbox/staff/saint)
06:13:25 Nick [JoannaWellick] is now known as PhillipPrice (~sinner@rockbox/staff/saint)
06:13:39 Nick PhillipPrice is now known as [PhillipPrice] (~sinner@rockbox/staff/saint)
06:14:11 Nick [PhillipPrice] is now known as [Saint] (~sinner@rockbox/staff/saint)
06:16:27 Part [Saint] ("Part.")
06:29:28 Join [Saint] [0] (~sinner@rockbox/staff/saint)
06:30:24 Quit [Saint] (Quit: Quit.)
06:35:27 Join [Saint] [0] (~sinner@rockbox/staff/saint)
06:45:36 Part [Saint] ("Part.")
06:47:45 Quit TheSeven (Disconnected by services)
06:47:51 Join dfkt [0] (~dfkt@unaffiliated/dfkt)
06:47:53 Join [7] [0] (~quassel@rockbox/developer/TheSeven)
06:53:43 Join [Saint] [0] (~sinner@rockbox/staff/saint)
06:56:16 Part [Saint]
07:03:01 Join EdwardAlderson [0] (~sinner@rockbox/staff/saint)
07:03:23 Nick EdwardAlderson is now known as [Saint] (~sinner@rockbox/staff/saint)
07:20:28***Saving seen data "./dancer.seen"
07:45:17 Join johnb2 [0] (
07:55:54 Join edhelas [0] (~edhelas@
07:57:09 Quit edhelas (Client Quit)
08:01:30 Quit naleo (Read error: Connection reset by peer)
08:22:38 Join ender` [0] (
08:23:41 Join wodz [0] (
08:24:20 Nick Bray90820_ is now known as Bray90820 (
08:25:33 Quit wodz (Client Quit)
08:25:51 Join wodz [0] (
08:34:15 Quit johnb2 (Ping timeout: 260 seconds)
08:41:19 Join petur [0] (~petur@rockbox/developer/petur)
09:17:49 Quit PurlingNayuki (Remote host closed the connection)
09:18:08 Join PurlingNayuki [0] (~Thunderbi@2001:da8:215:4ff:6192:fee6:6530:8c32)
09:20:29***Saving seen data "./dancer.seen"
09:43:43 Join pamaury [0] (~pamaury@rockbox/developer/pamaury)
09:47:41wodzpamaury: I remember running sdl app build on arm debian running in qemu. Maybe thats the way to more efficiently debug?
09:49:55 Join johnb2 [0] (
09:59:19 Quit johnb2 (Ping timeout: 265 seconds)
10:02:45pamaurywodz: thanks for the suggestion, I might do that if I can't find it. I have the feeling I'm getting closer to a skin engine bug
10:03:07wodzwhoa, that would be quantum leap
10:05:10wodzpamaury: anyway my idea with g_serial + gdbserver still holds. Judging from sony's kernel source they implemented gadget udc controller using regular linux framework so retrofit g_serial module should be possible
10:05:12pamaurybecause the biggest problem in debugging that is that the point of the crash is irrelevant, the corruption happens much before that silently
10:08:03 Quit scorche|sh (Ping timeout: 260 seconds)
10:08:05 Join johnb2 [0] (
10:12:28funmandid you try building a sim with address sanitizer?
10:25:20 Join ZincAlloy [0] (~Adium@2a02:8108:8b80:1700:6565:2227:f4cc:7ddd)
10:29:26 Join robertd1 [0] (~root@
10:34:30 Quit pamaury (Ping timeout: 268 seconds)
11:08:35 Quit robertd1 (Ping timeout: 248 seconds)
11:11:52 Join pamaury [0] (
11:11:53 Quit pamaury (Changing host)
11:11:53 Join pamaury [0] (~quassel@rockbox/developer/pamaury)
11:17:47 Join Bray90820_ [0] (
11:19:52 Quit Bray90820 (Ping timeout: 246 seconds)
11:20:16 Join robertd1 [0] (~root@
11:20:32***Saving seen data "./dancer.seen"
11:24:58 Join pamaury_ [0] (~pamaury@rockbox/developer/pamaury)
11:51:20pamaury_ah, so the problem was that I declared a 0 byte plugin buffer in config.h and the skin parser steals the plugin buffer for parsing
11:52:39pamaury_and plugin_get_buffer() expects a non-zero buffer size
11:52:46pamaury_what a waste of time...
12:00:27Bilgusdid you put a warning in for the next guy?
12:00:54pamaury_I will
12:01:31pamaury_I'm unsure between plugin_get_buffer() that returns NULL if PLUGIN_BUFFER_SIZE is 0, or a warning in config.h
12:04:17wodzpamaury_: I'd expect more places silently stealing buffers for a while
12:05:07Bilguscould there be a instance where someone woul want a 0 buffer after startup where the null would throw up
12:07:15Bilguswodz: isn't the whole buffer area a case of things stealing buffers IIUC anything free gets allocated to the playback buffer?
12:08:37 Quit johnb2 (Quit: Nettalk6 -
12:09:46wodzBilgus: eee, parsing failure
12:10:28pamaury_I think #error is safer, since skin parsing will fail with an empty plugin buffer
12:10:35pamaury_I think
12:11:07wodzBigger question is why it actually uses plugin buffer at all?
12:11:17 Quit robertd1 (Ping timeout: 245 seconds)
12:12:36Bilgusrobbing peter to pay paul would be my guess, how many plugins will be running at init
12:12:45pamaury_wodz: my guess is that when you first load the skin on boot, it saves an allocation
12:13:06pamaury_since not plugin is running at that point
12:13:17pamaury_but yeah I don't like this buffer stealing stuff
12:14:36wodzok, but this is asking for troubles. Does it work the same on dynamic skin change?
12:15:25 Join robertd1 [0] (~root@
12:17:31pamaury_I haven't read the code thoroughly, I think it refuses to load a skin if it cannot steal the plugin buffer. Actually it doesn't need all the plugin buffer, it only requires a part of it. And I think plugin_get_buffer() has a lock so in theory nothing bad can happen
12:19:23wodzIt probably predates buflib but IMO buflib is the right way to do that
12:58:25 Join athidhep [0] (~afoakf@unaffiliated/athidhep)
13:08:47pamaury_I will implement the button driver and when I confirm it works, I will push all my nwz work to gerrit
13:20:33***Saving seen data "./dancer.seen"
13:37:11BilgusSelective Softlock and Backlight SANSA - Fuze+, FuzeV2, Clip+, Clip Zip; IPOD - Classic_6G, Video; CREATIVE zen; Cowon D2
13:38:01BilgusJohnb2, TorC the settings will need to be set again as some options have changed values again
14:21:29pamaury_yeah \o/ keys working on NWZ-E460
14:21:49wodzscreenshot would be in order :-)
14:22:15gevaertsA screenshot of working keys? :)
14:22:30wodzrockbox main menu on sony rather
14:31:13pamaury_unfortunately playback does not work, it crashes on an illegal instruction
14:31:53wodzin codec or somewhere else?
14:32:20pamaury_I haven't looked into that yet
14:46:24pamaury_ g#1424
14:46:26fs-bluebot_Gerrit review #1424 at : Initial commit for the Sony NWZ linux port and NWZ-E460 (WIP) by Amaury Pouly
15:05:42 Quit wodz (Ping timeout: 260 seconds)
15:12:24funmanSony LLC has not made this instruction legal in your country
15:20:35***Saving seen data "./dancer.seen"
15:31:59pamauryfunman: care to explain what you mean ?
15:32:21gevaertsI suspect he means you should smile :)
15:32:39gevaerts"illegal instruction"
15:33:42pamauryhaha, I completely miss the reference
15:34:45gevaertsAh, a cache miss? You probably didn't set up the page table right!
15:35:33funmanpamaury: sorry for scaring you :)
15:36:13pamaurygevaerts: I had switched to work context
15:36:30gevaertspamaury: you shouldn't lose data on context switch!
15:36:47*gevaerts suspects this is also a symptom of the page tables being incorrect
15:38:46pamaurygevaerts: that's the fault of my supervisor, he is constantly messing with my schedule
15:39:43gevaertsDoes he preempt you?
15:58:03 Join rela_ [0] (
15:59:55 Quit rela (Ping timeout: 260 seconds)
16:19:00 Join johnb2 [0] (
16:23:44 Quit johnb2 (Client Quit)
16:23:54 Join johnb2 [0] (
16:32:57 Quit johnb2 (Quit: Nettalk6 -
16:33:16 Join johnb2 [0] (
16:35:35johnb2Bilgus: What has changed respectively what should we look out for?
16:42:18 Quit petur (Quit: Leaving)
16:49:15 Quit johnb2 (Quit: Nettalk6 -
16:51:31 Join scorche|sh [0] (~scorche@rockbox/administrator/scorche)
17:11:55 Join Senji [0] (~Senji@
17:14:42 Join Senji_ [0] (~Senji@
17:17:23 Quit Senji (Ping timeout: 260 seconds)
17:17:30 Join Senji [0] (~Senji@
17:19:08 Join Bilgus_ph [0] (~Bilgus_ph@
17:19:55 Quit Bilgus_ph (Read error: Connection reset by peer)
17:19:55 Quit Senji_ (Ping timeout: 240 seconds)
17:20:07 Join Bilgus_ph [0] (~Bilgus_ph@
17:20:39***Saving seen data "./dancer.seen"
17:22:30Bilgus_phJohnb2 there shouldn't be anything to look for specifically there is an error i introduced in the settings menu that will turn it off if only volume is set but ill fix that when I find something else to change
17:25:28Bilgus_phi moved all handling to a single function so there could be a gotcha I haven't noticed yet but I doubt it. There is now an option to disable touch on touch screen devices. a disable notify option that won't pop up buttons locked during softlock. both are for sel softlock btw
17:26:24Bilgus_phTHE mask for setting have changed so check them before you wonder why a button you had disabled is getting through
17:29:29Bilgus_phthe code should be much faster now READ more responsive And less resource intensive
17:30:48 Quit Bilgus_ph (Remote host closed the connection)
17:50:06 Quit alexweissman (Remote host closed the connection)
17:54:43 Quit athidhep (Quit: athidhep)
18:00:12 Join naleo [0] (~naleo@unaffiliated/naleo)
18:03:40 Join Senji_ [0] (~Senji@
18:06:43 Quit Senji (Ping timeout: 248 seconds)
18:13:27 Quit naleo (Ping timeout: 250 seconds)
18:16:59 Quit robertd1 (Ping timeout: 268 seconds)
18:18:18 Join JanC_ [0] (~janc@lugwv/member/JanC)
18:19:33 Quit JanC (Killed ( (Nickname regained by services)))
18:19:34 Nick JanC_ is now known as JanC (~janc@lugwv/member/JanC)
18:20:21 Join robertd1 [0] (~root@
18:24:55 Quit rela_ (Quit: Leaving)
18:35:26 Join athidhep [0] (~afoakf@unaffiliated/athidhep)
18:53:00 Join girafe [0] (
19:00:32 Join alexweissman [0] (
19:03:48 Join lebellium [0] (
19:04:10 Quit robertd1 (Ping timeout: 260 seconds)
19:05:42 Quit alexweissman (Ping timeout: 268 seconds)
19:05:49 Join robertd1 [0] (~root@
19:09:17lebelliumpamaury: congrats :)
19:12:20 Quit pamaury (Remote host closed the connection)
19:13:44 Quit pamaury_ (Ping timeout: 258 seconds)
19:18:55 Join naleo [0] (~naleo@unaffiliated/naleo)
19:20:43***Saving seen data "./dancer.seen"
19:22:47 Quit robertd1 (Ping timeout: 250 seconds)
19:26:00 Join robertd1 [0] (~root@
19:35:03 Quit naleo (Ping timeout: 260 seconds)
19:51:07 Quit robertd1 (Ping timeout: 250 seconds)
19:51:30 Join robertd1 [0] (~root@
20:09:54 Join pamaury [0] (~pamaury@rockbox/developer/pamaury)
20:13:15 Join smoke_fumus [0] (
20:14:10 Quit akaWolf (Quit: leaving)
20:16:51 Quit robertd1 (Ping timeout: 260 seconds)
20:18:52 Join alexweissman [0] (
20:19:17 Join ender [0] (
20:19:29 Quit ender` (Read error: Connection reset by peer)
20:25:40 Join robertd1 [0] (~root@
21:20:44***Saving seen data "./dancer.seen"
21:23:20 Join sven_knurr [0] (2ef63892@gateway/web/freenode/ip.
21:23:26 Part sven_knurr
21:37:01 Join b0hoon [0] (~quassel@
21:42:31 Join naleo [0] (~naleo@unaffiliated/naleo)
21:43:10 Join akaWolf [0] (~akaWolf@unaffiliated/akawolf)
21:43:29b0hoonpamaury: nice job! i guess i should start to think how to redraw this DAP. :)
21:43:47pamauryb0hoon: yeah :)
21:44:38pamauryor plain draw it, I don't think it has an image
21:46:29lebelliumand draw the A840/850 and E580 too :D
21:46:44b0hoonit has and in very good quality
21:46:54b0hoono shit ;p
21:49:12pamauryb0hoon: I know it's a lot of work but if you could draw E380, E460, E450, A860 and E470 that would nice too :)
21:49:26pamaury"they all look the same" ;)
21:50:46 Quit robertd1 (Ping timeout: 260 seconds)
21:51:11b0hoonthese are good
21:52:49b0hoonok nwz-e380 is like e370 right?
21:54:19pamauryb0hoon: you would need to check the case but I think so, except for the color
21:54:49b0hoonaha ok
21:55:33 Join robertd1 [0] (~root@
22:59:47pamaurywhat would be the cleanest way to embed the rockbox *icon* into the bootloader? Currently it embed the *logo* but it's ugly for the purpose I have in mind. Possibilities I see: adding a custom rule to sonynwz.make and put the bitmap somewhere in firmware/host/sonynwz. Or adding an icon bitmap in apps/bitmap/native/ and editing SOURCES there with a special case of nwz
23:04:50b0hooni would choose 2
23:08:02b0hoondifferent sizes of icons for different players?
23:08:24pamauryand the second problem I have is that I actually need to embed two icons: one for rockbox and one for "tools" (I have a bootloader menu with three choice)
23:08:52pamaurycurrently all the nwz players I have seen will use the same size but it may change for newer players if they have higher res screen
23:09:38b0hoonyeah i don't konow, second option seems to me more sane
23:09:54pamaurybut it only works for one icon though
23:10:15pamaurybecause the root makefile hardcodes one bitmap rule and the SOURCES just select the bmp file
23:10:25pamauryor maybe not
23:10:32pamauryI need to see that
23:10:44b0hooneeee why?
23:11:13pamauryscrap that, it already suppors several icons because of usblogo
23:13:37b0hoonspeaking of specific cases, is anyone against g1408?
23:13:39fs-bluebot_Gerrit review #1408 at : YH-820: prohibit to change time/date on some hardware versions by Sebastian Leonhardt
23:14:53b0hooni know it's another target define in a tree but there is no other, cleaner way
23:14:55pamauryok let's try it
23:16:14pamauryb0hoon: what I don't like with this patch is it seems to be at the wrong level. I would do the test in the rtc driver and have time_menu.c handle failures in a model independent fashion
23:16:29[Saint]I always thought we should ship an oversized image for logo and usb and then scale it ondemand on the device.
23:16:43[Saint]the way we do it now with 'picking one that's about the right size' looks terrible.
23:16:46pamaury[Saint]: that's a waste of space
23:17:01pamauryalso resizing is much better done offline
23:17:15pamaury(since we produce the bitmap from the svg)
23:17:52b0hoonyeah i know it's some kind of ugly, but is it worth to do it for one target?
23:18:03[Saint]Our scaler is actually fucking fast and efficient.
23:18:28[Saint]and arguing against waste of space when we still ship plugins by default seems like shakey grounds.
23:19:09[Saint]I sincerely believe outside of viewers about three people use plugins.
23:20:01[Saint]the only time I ever hear of devs using plugins is __builtin creating them, or people bitching about them when creating keymaps for a new port.
23:20:02pamaury[Saint]: on targets with lowmem it can make a huge difference, because it is *in memory*
23:20:34[Saint]this could be cased out for lowmem trivially.
23:20:46***Saving seen data "./dancer.seen"
23:20:51pamaurythen you can as well case it for a few sizes as we do...
23:20:51[Saint]the lowmem targets pretty much universally have shit screens that wouldn't benefit from this.
23:21:21[Saint]but then you end up with weird, shittily aligned USB screen logos like we have now.
23:21:28pamauryFor me the good question is more: why do we even embed them and not store them in a bitmap file to save *memory*
23:22:28pamauryI haven't noticed any particular problem with the USB logo
23:22:46[Saint]I realize aesthetics aren't a high priority, but to me on some targets the USB screen just looks cobbled together and weird.
23:23:07[Saint]because they used an image where the horizontal resolution was /close enough/, so the alignment is way off.
23:23:12pamaurywell I have to admit I never understood why the logo in horizontal and ugly
23:23:30pamaurywhen most targets have a more vertical screen
23:23:43[Saint]it would look better vertical and centrally aligned, yes.
23:24:59pamauryI guess we could rotate it on most targets
23:25:49 Join Bray90820 [0] (
23:26:02 Part b0hoon ("GTG... Bye.")
23:26:18pamauryTo be honest, I also always prefered the rockbox *icon* to the rockbox *logo*. It looks much better at low res in my opinion
23:26:42[Saint]Honestly, I agree.
23:26:43*pamaury thinks we need a Rockbox Design Group (RDG)
23:27:00[Saint]But I agree even in "high" resolution.
23:27:29[Saint]For us "high" res is 240x320-ish, and the text and subtext of the logo itself is just a blurred garbled mess.
23:27:31pamauryyeah me too, but at least in high res the logo makes more sense
23:27:39[Saint], kinda.
23:27:49pamaury240x320 isn't high res
23:27:58[Saint]most people don't even realize that there's text in the background as well.
23:27:58pamauryI mean it is for rockbox but not for the logo ;)
23:28:03 Quit Bray90820_ (Ping timeout: 250 seconds)
23:28:23[Saint]and the 'open source jukebox player' text is usually renered totally unreadable.
23:29:10pamauryWell if you want to switch from logo to icon and rotate usb logo I will support you
23:29:33pamauryIt looks technically unchallenging for once :)
23:30:17pamauryunless you want to try to use ffmpeg to rotate the bitmaps in CLI
23:34:50 Join nlogex [0] (

Previous day | Next day