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 2024-09-24

01:00
01:29:05_bilgus_ok thats background bmp files
01:32:44_bilgus_I calculate my tagtree is using 210904 bytes the other allocs come up to 115424 all of that except 64k of that would need to be free to satisfy this so wtf did we change something recently?
01:37:18***No seen item changed, no save performed.
01:41:02 Join advcomp2019__ [0] (~advcomp20@user/advcomp2019)
01:44:44 Quit advcomp2019_ (Ping timeout: 272 seconds)
02:00
02:15:39_bilgus_Hmm it looks to me that its a direct result of all these audio clips getting loaded and this commit
02:15:41_bilgus_https://github.com/Rockbox/rockbox/commit/af02a674c539ee76260be543c000637ffa6ce2af
02:16:41_bilgus_so What I can do I think I make that for targets with 8 or fewer mb
03:00
03:09:41_bilgus_at the moment the voice file is 253 ish kb its taking over the playback buffer but why isn't it getting shrunk/freed?
03:10:43_bilgus_and the answer is that we weren't checking well enough if we should free the talk buffer before the alloc and the 253kb voice file stays loaded
03:21:41_bilgus_ g#5944
03:21:44rb-bluebotGerrit review #5944 at https://gerrit.rockbox.org/r/c/rockbox/+/5944 : [BugFix] Playback.c OOM with large voice file by William Wilgus
03:37:20***Saving seen data "./dancer.seen"
05:00
05:04:19 Quit jacobk (Ping timeout: 260 seconds)
05:05:29 Join jacobk [0] (~quassel@47-186-105-237.dlls.tx.frontiernet.net)
05:37:23***Saving seen data "./dancer.seen"
06:00
06:07:32 Quit PheralSparky (Read error: Connection reset by peer)
07:00
07:37:24***Saving seen data "./dancer.seen"
07:44:41rb-bluebotBuild Server message: New build round started. Revision 56bd6cd634, 345 builds, 9 clients.
07:44:41rb-bluebotfonts: 12-Adobe-Helvetica.bdf: adjust width for few letters by Roman Artiukhin
08:00
08:00:03rb-bluebotBuild Server message: Build round completed after 924 seconds.
08:00:05rb-bluebotBuild Server message: Revision 56bd6cd634 result: All green
08:59:23speachy_bilgus_: that's a bit of a d'oh. any reason to not merge it?
09:00
09:37:28***No seen item changed, no save performed.
09:43:24 Join dconrad [0] (~dconrad@152.117.104.217)
10:00
10:27:51rb-bluebotBuild Server message: New build round started. Revision c3f51b5fe9, 345 builds, 9 clients.
10:27:52rb-bluebotopus: Re-add a ICONST_ATTR lost in 4c6bb798d6bebc80f07e863236adbaf8d156a9c by Solomon Peachy
10:33:30speachydon't think that will move the needle much but it can't hurt.
10:33:43speachyreally need a coldfire device to run benchmarks on
10:42:04rb-bluebotBuild Server message: Build round completed after 853 seconds.
10:42:05rb-bluebotBuild Server message: Revision c3f51b5fe9 result: All green
10:45:25_bilgus_no other than I didn't want to sit and wait for it to finish
10:47:36rb-bluebotBuild Server message: New build round started. Revision f0c208554c, 345 builds, 9 clients.
10:47:37rb-bluebot[BugFix] Playback.c OOM with large voice file by William Wilgus
10:56:26_bilgus_I was going to go and say maybe we need to split out the voice file but it looks like since it was built with 2mb devices in mind most of the provisions are there for it to be say 1MB
10:57:01_bilgus_but its probably already too much for the 2mb clip
10:57:26_bilgus_not fixing it there if so
11:00
11:01:29rb-bluebotBuild Server message: Build round completed after 834 seconds.
11:01:31rb-bluebotBuild Server message: Revision f0c208554c result: All green
11:01:38rb-bluebotBuild Server message: New build round started. Revision 5d2692375d, 345 builds, 9 clients.
11:01:38rb-bluebotrbutil: Add erosqnative by Dana Conrad
11:08:32 Quit dconrad (Remote host closed the connection)
11:13:49rb-bluebotBuild Server message: Build round completed after 733 seconds.
11:13:51rb-bluebotBuild Server message: Revision 5d2692375d result: All green
11:14:01 Join dconrad [0] (~dconrad@152.117.104.217)
11:18:42 Quit dconrad (Ping timeout: 248 seconds)
11:28:45_bilgus_so that should fix the major issues I did note the voice changes pitch after playback has been started in the sim wonder if thats a sign of something else
11:28:48 Join dconrad [0] (~dconrad@152.117.104.217)
11:31:51speachysample rate difference?
11:37:29***Saving seen data "./dancer.seen"
11:47:33_bilgus_I'm hoping thats all it is
11:56:43_bilgus_the crash on device still appears to be there
11:57:28_bilgus_voice enable and go to browse the db 'buflib error' invalid_handle_pin -2
11:57:51_bilgus_guess I'll start tracking that down this eve
11:58:41_bilgus_ok files too
12:00
12:02:20_bilgus_disabling voice fixes it, this one is probably going to be a bit harder to find. Its crashing in the shrink function so, I'll have to first figure out which alloc it is
12:20:13speachyHmm, the shuffle rewrite exacerbated it?
12:23:39_bilgus_Idk yet probably could bisect if I get stuck but I'm guessing memory pressure is just exposing something
12:24:15_bilgus_so far its not tagtree or backdrops
12:25:03speachymy daily driver has a vast 64MB to play with and a 128x64 monochrome screen. so... what memory pressure? :D
12:28:29_bilgus_ok its in tree,c
12:29:21_bilgus_might be my patch that reuses the previous loaded tree daat if it exists but i'll keep looking
12:31:17_bilgus_tree_lock_cache() is spead far and wide but at least I have a place to start
12:35:48_bilgus_hmm looks like it just couldn't make the alloc
12:36:13_bilgus_it doesn't check if its valid
12:36:15speachyshrink the shufflebuf on 8MB targets? Or is this purely a tree problem?
12:36:46_bilgus_the shuffle buf doesn't touch any of this anymore
12:37:19_bilgus_maybe core_alloc should try shrinking the talk buf before it gives up
12:39:24_bilgus_I see 3 potential ways 1. shrink the voice file, 2. make 8 mb targets give away the talk buffer like 2mb does, or 3 give core alloc a way to hail mary
12:39:59_bilgus_4. knock off 100k from the bin
12:40:07speachy(1) refers to the in-memory voice cache you mean?
12:40:19_bilgus_yes
12:40:46speachythese are all flash-based devices right?
12:41:13_bilgus_yeah the disk hit shouldnt be end of world
12:41:37speachyI think the smallest hdd-based is 16mb (ie the ihp-1xx/3xx)
12:42:39speachythat said I have a hard time seeing that this is resopnsible for that lag/crash on the erosqnative
12:42:55_bilgus_so with two it both limits the size and gives it away freely
12:43:19_bilgus_No i doubt it
12:43:37_bilgus_figure this is being caught that looks like something unhandled
12:47:38_bilgus_yeah so talk,c #if MEMORYSIZE <= 2 changes to #if MEMORYSIZE <= 8
12:48:25_bilgus_that limits it to 100k and gives it away at a whim
13:00
13:10:10_bilgus_oh theres a second define to give it away freely so this is probably good enough
13:10:44_bilgus_just limiting to 100k
13:11:51_bilgus_since the playlist stuff is now aware of the size needed it should get it and limiting voice to 100k gives enough breathing room
13:37:30***No seen item changed, no save performed.
13:42:28 Quit Tonux (Ping timeout: 252 seconds)
13:43:10 Join Tonux [0] (~Tonux@193.32.127.240)
13:45:50 Join lebellium [0] (~lebellium@2a01cb0405d07f00d33a0da62bfc2206.ipv6.abo.wanadoo.fr)
15:00
15:07:52 Join jacobk_ [0] (~quassel@47-186-105-237.dlls.tx.frontiernet.net)
15:07:57 Quit jacobk (Ping timeout: 276 seconds)
15:25:06 Quit jacobk_ (Ping timeout: 248 seconds)
15:25:33 Join jacobk [0] (~quassel@47-186-105-237.dlls.tx.frontiernet.net)
15:37:32***Saving seen data "./dancer.seen"
16:00
16:05:28 Join PheralSparky [0] (~S|h|a|w|n@user/shawn/x-4432647)
16:34:24 Quit jacobk (Ping timeout: 276 seconds)
16:52:51 Join jacobk [0] (~quassel@2603:8080:b200:7b02::b71)
16:53:46speachyhmm, it would be useful if the "font coverage" page could generate lists of the actual codepoints that are missing for any given language+font combo.
17:00
17:05:54_bilgus_downside to moving towards limiting MAX_CLIP_BUFFER_SIZE is it adds TALK_PROGRESSIVE_LOAD still looking at what that entails
17:08:51 Quit jacobk (Ping timeout: 276 seconds)
17:13:28speachyturns out it has (disabled) code that will do just that. no good way to present/incorporate it though.
17:20:11_bilgus_there are some thatd probably be very interested in the font coverage but the question is will anyone fix it if we do?
17:24:51 Quit dconrad (Remote host closed the connection)
17:25:04speachyfirst step is visibility
17:35:42speachyhttps://translate.rockbox.org/whichfont.php
17:36:03speachyhover over a non-green box and you'll see the missing characters. crude but it does work.
17:37:34***Saving seen data "./dancer.seen"
17:41:28 Quit lebellium (Quit: Leaving)
17:45:35rb-bluebotBuild Server message: New build round started. Revision 33495ef006, 345 builds, 9 clients.
17:45:35rb-bluebotfonts: Major update for 12-Fixed-SemiCond (1767 -> 4531 codepoints) by Solomon Peachy
17:57:49rb-bluebotBuild Server message: Build round completed after 734 seconds.
17:57:51rb-bluebotBuild Server message: Revision 33495ef006 result: All green
18:00
18:31:20 Quit COMPL_EXE (Quit: WeeChat 4.2.2)
18:50:34_bilgus_speachy thats pretty nice IMO
18:54:46 Join othello7 [0] (~Thunderbi@pool-100-36-176-164.washdc.fios.verizon.net)
19:00
19:03:21 Join jacobk [0] (~quassel@2603:8080:b200:7b02::b71)
19:09:13_bilgus_ok it just enables the path for loading clips as you go doesn't appear to do anything untoward
19:24:03 Quit jacobk (Ping timeout: 276 seconds)
19:30:46 Join OlsroFR [0] (~OlsroFR@user/OlsroFR)
19:32:08OlsroFRI noticed that a very small amount of my songs don't even load. I use Swinsian on Mac to manage my library, which maintains automatically a folder structure based on Album Artist/Album/File.extension. The issue here when a title is long (or an album artist because a lot of collabs), the whole path size seems to exceed the size of 250
19:32:58OlsroFRI don't know if it would be possible to add an option to modify the size of MAX_PATH. iPods have a large amount of RAM and I would be ready to sacrifice some of it to avoid checking my whole library about cases like this one
19:33:51OlsroFRthe issue here seems to be this is hard coded in a magic value statically allocated
19:37:35***Saving seen data "./dancer.seen"
19:37:58OlsroFR260* actually, not 250. Stored in MAX_PATH value.
19:48:17_bilgus_We will not be modifying MAX_PATH
19:48:24speachyIF you bump it up by more than a little but, you'll run into stack overflows as well.
19:48:27OlsroFRI tried to connect my iPod to my old snow leopard mac with Stock OS. Open VLC through the contextual menu "Open it" fails, nothing happen under VLC. But if I drag and drop the song while VLC is opened, it works just fine and VLC starts to play it. So the file is here, properly copied and technically works. But it seems like it is not generally a
19:48:27OlsroFRgood idea to exceeds 260
19:49:20speachyWindows is limited to 260 characters too, IIRC.
19:49:49_bilgus_you can do whatever for your own builds even compete with us with them if you prefer but its too many issues I will however accept patches that allow you to change it across codebase easily in a static way
19:49:52OlsroFRI sync my iPod on a Mac, which seems to not care about this 260 limits and copy everything just fine
19:50:06speachyyou're free to modify your own builds however you wish
19:52:03OlsroFRI did not try to increase it (yet). But even if we do not change here, we may improve the error. I could figure out the issue because I had some portion of that code in my head, but the error for the user is not clear. From DB Browser the song will not play without error. From the file browser, it triggers a popup that is not explicit
19:53:13speachyMAX_PATH is a global #define already, but we do have places where paths are on the stack.
19:54:43_bilgus_I can't say exactly where in the forum but this has been investigated already it might even be on the Won't Do List
19:55:41speachyI don't think we have any meaningful way to determine if a file operation fails because the file isn't found vs the path was too long
19:56:28speachyor at least nothing that's centralizeable
19:59:58OlsroFRI figured this out only with one song, I feel like the easy fix is just to rename it and go on. I now understand why iTunes standardizes completely the paths when copying songs; it makes things much more memory efficient and keep paths very short all the time by relying only on the db to store/retrieve relevant infos.
20:00
20:02:38_bilgus_yep
20:04:11_bilgus_one thing that could help is an actual CWD
20:04:29OlsroFRCWD ?
20:04:53_bilgus_with current working directory you could know where you were starting from and effectively allow longer paths
20:05:48OlsroFRit will probably only work from file browser then, DB browser will still be screwed by this kind of workaround unfortunately
20:05:57_bilgus_yep
20:06:36_bilgus_but the db browser can do something similar
20:06:55OlsroFRthat specific song was so abusing metadata. All collabs were wrote on the title + on the album + on the album artist field lol
20:07:06_bilgus_because of the scan paths
20:09:17speachyhah, id3v2 maxes out at 16MB.
20:14:10_bilgus_I was thinking about dirplay today I suppose the main issue is the user wants the track to play faster and the playlist code takes playback ram to do it faster what if we allowed them to do lazier loading to get a track playing and some amount of skipping
20:14:48_bilgus_I suppose the next bitch would be then that skipping tracks causes delays
20:15:08speachythis isn't a problem for "reasonable" playlist lengths.
20:15:32speachybut when folks want to have tens of thousands of tracks on shuffle or whatever...
20:15:38_bilgus_Ah, good point esp with OLSROFRs patch
20:16:47OlsroFRIt's not really worrying but I notice a huge delay on my ipod 4Th gen when I switch especially several tracks in a row, yes. It happens often
20:16:49speachybtw, cwd will still not work in the general case; we need absolute paths for most stuff to work.
20:17:25_bilgus_the codecs
20:17:40OlsroFRAll my tracks are in musepack (mpc) SV8
20:17:51_bilgus_we can show you it but you can't play it lol
20:18:24_bilgus_might allow you to edit it on device though
20:19:00OlsroFRI don't know, but showing infos about the file also crash (pretty logical since it rely on a full path to do the operation)
20:21:40 Quit bpye (Quit: Ping timeout (120 seconds))
20:22:04OlsroFRI leave for today, thanks for the answers
20:22:06 Quit OlsroFR (Quit: Client closed)
20:22:21 Join bpye [0] (~bpye@user/bpye)
20:22:37_bilgus_I've been browsing this file browser for like an hour it seems to not be any slower
20:23:01_bilgus_maybe it has something to do with files in a directory I think my max is like 10000
20:24:38_bilgus_its pretty slow if I wrap the scroll around on first load
20:34:17 Join jacobk [0] (~quassel@47-186-105-237.dlls.tx.frontiernet.net)
20:48:05speachy... maybe we're hitting intrinsic limits of what we can accomplish on 20-year-old microcontrollers with limited resources. :D
21:00
21:05:29speachywow, didn't realize the ARM7TDMI core was introduced in *1994*
21:37:36***Saving seen data "./dancer.seen"
21:42:59 Join PSparky|Ryzen7 [0] (~S|h|a|w|n@user/shawn/x-4432647)
21:43:10 Quit PheralSparky (Ping timeout: 252 seconds)
22:00
22:10:18 Quit jackie (Ping timeout: 246 seconds)
22:12:26 Join jackie [0] (~jackie@banana-new.kilobyte22.de)
22:30:19 Join dconrad [0] (~dconrad@152.117.104.217)
22:31:59 Quit dconrad (Client Quit)
22:56:29aaabbbif it's just the ui being slow then it's an optimization problem not a performance problem. the ARM7TDMI is pretty powerful
23:00
23:08:47 Quit massiveH (Quit: Leaving)
23:37:37***Saving seen data "./dancer.seen"

Previous day | Next day