Minetest logo

IRC log for #minetest-dev, 2024-02-19

| Channels | #minetest-dev index | Today | | Google Search | Plaintext

All times shown according to UTC.

Time Nick Message
00:01 panwolfram joined #minetest-dev
00:23 SFENCE joined #minetest-dev
00:27 MTDiscord <jordan4ibanez> Now it's -1% because even renaming types in irrlicht probably causes memory corruption by some anomalous scp level bug
01:15 proller__ no need to touh irr
02:08 YuGiOhJCJ joined #minetest-dev
03:26 behalebabo joined #minetest-dev
04:01 MTDiscord <jordan4ibanez> Oh there's just so much stuff everywhere I don't even know where v3s16 comes from at this point
04:09 proller__ patch ready almost 2 years
04:20 MTDiscord <paradust> what is bpos, opos?
05:00 MTDiscord joined #minetest-dev
05:26 YuGiOhJCJ joined #minetest-dev
06:14 SFENCE joined #minetest-dev
06:30 calcul0n joined #minetest-dev
07:05 v-rob joined #minetest-dev
07:44 MTDiscord <nrz0> @paradust blockpos objectpos
09:04 v-rob joined #minetest-dev
09:47 SFENCE joined #minetest-dev
09:54 appguru joined #minetest-dev
10:11 appguru joined #minetest-dev
10:13 appguru joined #minetest-dev
10:16 appguru joined #minetest-dev
11:06 SpaceManiac joined #minetest-dev
11:18 MTDiscord <paradust> @panic!("is null: {}", *nullptr); Once irrlicht and minetest are in the same repo, it would be a simple matter to replace IReferenceCounted with shared_ptr (or a slightly-faster non-threadsafe version of that, if desired)
11:19 MTDiscord <paradust> There are 467 calls to ->drop(). It'd be quite difficult to audit to figure out if they are being done correctly
11:19 MTDiscord <paradust> And then you have stuff like this: https://github.com/minetest/minetest/blame/master/src/gui/guiFormSpecMenu.cpp#L161
11:26 MTDiscord <paradust> unfortunately there might be drops that are required to happen at a specific time for side effects
13:06 imi joined #minetest-dev
13:10 proller__ joined #minetest-dev
13:21 proller__ paradust: look to https://github.com/minetest/minetest/pull/12142/files -  to make optional break 32k limit all types should be renamed to aliases
13:24 proller__ now there is  node position (s16 => pos_t)  block position (s16=> bpos_t) (usually  pos should be equal bpos but for better conversion control need to split )  object position (float => opos_t)
13:24 proller__ then 16/32 bit mode can be switched from one place in config
13:26 proller__ https://github.com/minetest/minetest/pull/12142/files#diff-de2d4c7a20f6da44f9046171f0be257890e7d50d78b5f2b5f3fac93cc8dd7732R68
13:46 MTDiscord <jordan4ibanez> That's actually evil
13:53 Lupercus joined #minetest-dev
13:56 proller__ what do you suggest?
13:57 wsor4035 joined #minetest-dev
14:01 jonadab joined #minetest-dev
14:03 MisterE123 joined #minetest-dev
14:05 MTDiscord <mistere_123> proller__, you can't see it but he was replying to paradust's "unfortunately there might be drops ... " comment
14:06 MTDiscord <mistere_123> keep in mind that replys are not bridged
14:09 MTDiscord <jordan4ibanez> Oh sorry
14:15 luk3yx joined #minetest-dev
14:23 Swift110-mobile_ joined #minetest-dev
14:28 Swift110-mobile_ joined #minetest-dev
14:32 dzho joined #minetest-dev
15:25 sofar joined #minetest-dev
15:31 Fleckenstein joined #minetest-dev
16:09 SFENCE joined #minetest-dev
16:25 fluxionary joined #minetest-dev
16:37 appguru joined #minetest-dev
16:46 fluxionary joined #minetest-dev
16:54 SFENCE joined #minetest-dev
17:02 calculon joined #minetest-dev
17:06 Swift110-mobile_ joined #minetest-dev
17:32 SFENCE joined #minetest-dev
17:50 SFENCE joined #minetest-dev
18:06 grorp joined #minetest-dev
18:09 grorp pushing https://github.com/grorp/minetest/commit/84dd812da4dc9d12282a2110a4e062848e2e8dd2 in 15 min
18:23 Fleckenstein joined #minetest-dev
18:29 grorp done.
18:39 v-rob joined #minetest-dev
19:20 sfan5 https://0x0.st/HnGH.png looks like it might rain soon
19:22 MTDiscord <warr1024> Is that a teaser for a new feature or just a weird texturing bug?
19:22 sfan5 the latter
19:22 sfan5 textured clouds could be funny tho
19:41 MTDiscord <herowl> Wait, can we control cloud (and star) color? Leaving alone textures, color alone would be cool.
19:44 sfan5 yes, you can
19:45 sfan5 merging #14383 in 10m
19:45 ShadowBot https://github.com/minetest/minetest/issues/14383 -- Irrlicht support changes by sfan5
19:45 Krock there's indeed some water in the sky
20:22 sfan5 I just realized that we have IrrlichtMt since 3 years ago, long time
20:36 calcul0n joined #minetest-dev
20:48 sfan5 [47749.623437] __vm_enough_memory: pid: 59933, comm: minetest, not enough memory for the allocation
20:48 sfan5 I wonder what exactly I did to cause this
21:00 Krock malloc(-1) ?
21:06 Krock I just checked your recent irrlicht compat PR and the commit in irrlicht itself. looks good. are you sure it's a new issue?
21:06 Krock in either case - you might already be doing a bisect to figure it out
21:13 proller__ joined #minetest-dev
21:18 sfan5 nah it was my own freshly written code that was broken
21:44 sfan5 it seems our shader system has no concept of setting constants for specific shaders only
21:44 sfan5 so all names are shared between all shaders
21:45 sfan5 in other words if you define an uniform texelSize0 in your shader it will get a value
21:45 sfan5 if you don't, it won't but the code still tries
21:57 v-rob joined #minetest-dev
22:14 YuGiOhJCJ joined #minetest-dev
22:34 calculon joined #minetest-dev
22:53 vampirefrog joined #minetest-dev
23:04 y5nw joined #minetest-dev
23:25 proller joined #minetest-dev
23:32 panwolfram joined #minetest-dev
23:53 proller__ joined #minetest-dev

| Channels | #minetest-dev index | Today | | Google Search | Plaintext