Time Nick Message 13:28 MisterE[m] Why is there a rendering freeze whenever media file is loaded into memory (from dynamic media)? That seems like a stupid, unnecessary bug which sours the benefits of dynamic media. 13:39 sfan5 because it happens on the main thread 13:49 Zughy[m] Any chance to see that freeze going away in the future? Right now dynamic media seem useful only during in-game loading screens 13:49 rubenwardy surely loading a single media file isn't that slow, is it waiting for network? 13:50 MisterE[m] rubenwardy: No, its the loading into memory that is the problem. It causes a stutter. 13:50 MisterE[m] Ruben, if you have time, join a.e.s. test server on the server list to see. 13:51 Zughy[m] Every time you hit a sign, it starts downloading the arena BGM 13:52 MisterE[m] Well, for any tracks you don't have yet ^^ and every time it finished downloading, it loads the track into memory. That causes a stuter for a half second, which looks jank. 13:54 rubenwardy ohh, for sound? 13:55 rubenwardy I believe this is fixed by the sounds mega PR 13:55 rubenwardy give that a try, you only need it clientside 13:55 rubenwardy Enhancement: Long sounds (> 3 seconds) (i.e. music) are streamed (not over network, but from file). So, the client doesn't freeze anymore when music from the sound-pack or dynamic media is played. 13:55 rubenwardy #12764 13:55 ShadowBot https://github.com/minetest/minetest/issues/12764 -- Sound refactor and improvements by Desour 13:56 MisterE[m] oooh. I will. 13:56 MisterE[m] But, is there any chance of that being merged :( 13:58 MisterE[m] nice: this fixes both dynamic media and regular media: 13:58 * MisterE[m] uploaded an image: (19KiB) < https://libera.ems.host/_matrix/media/v3/download/matrix.org/cdYPapKYjshpYcuuUfRDlHWj/image.png > 14:28 sfan5 it's waiting on #12774 as you can see, after that is merged Desour will probably rebase it 14:28 ShadowBot https://github.com/minetest/minetest/issues/12774 -- [nosquash] Devtest: Add jukebox and branding iron by Desour 14:28 sfan5 we should prioritize this for 5.7 14:50 MisterE[m] YAY! Please do! It would be great to be able to use dynamic media to load bgm tracks on AES; we can't until this freezing bug is mitigated. 14:51 rubenwardy I had a nit pick with #12774 but it doesn't matter that much, so approved 14:51 ShadowBot https://github.com/minetest/minetest/issues/12774 -- [nosquash] Devtest: Add jukebox and branding iron by Desour 15:25 Zughy[m] beware that there already a few features queuing up for 5.7 and that feature freeze is probably not that distant (it's one of the next meeting points) https://github.com/minetest/minetest/milestone/20 16:11 MTDiscord Re: that media loading thing, it also happens with texturemods, esp. applying new textures to an ent or a HUD. It'd be great to get those fixed as well. I'd be fine with just getting a placeholder texture for the few frames after the new texture is set but before the media loading/building thread returns the actual texture. For ents or HUDs we could just display whatever was there before, if anything, or leave it transparent, while 16:11 MTDiscord the new media loads... 18:06 MTDiscord The sound PR is ready. Yes, we need to fix textures too. Lets do media now for 5.7, since is is a headache that is already solved. 18:07 MisterE[m] *sounds now