Time Nick Message 09:04 MTDiscord Stupid question: How does stuff like this happen? ERROR: StaticObjectList::insert(): id already exists 09:05 MTDiscord Minetest_live/src/staticobject.h:3f: void StaticObjectList::insert(irr::u16, const StaticObject&): A fatal error occurred: StaticObjectList::insert() 09:19 sfan5 ? 09:22 MTDiscord most likely, a bug. but you probably already know that 09:47 MTDiscord Heh ? Question is, should I report it somewhere is someone interested in that thing? If not, I'll go with sfan5's assessment: ? 10:17 MTDiscord How can one join the Minetest-Mods GitHub organization to add resurrected mods? 10:18 MTDiscord https://github.com/minetest-mods/minetest-mods.github.io/issues was what I went with last time 10:19 sfan5 I have admin in the org but IIRC there were some guidelines for mods to be accepted or idk 10:20 sfan5 if you want me to look at something ping me 10:20 MTDiscord https://github.com/minetest-mods/minetest-mods.github.io/issues/123 10:26 MTDiscord sfan5: ^ 10:28 sfan5 yes I saw 10:28 sfan5 will check later 11:53 kilbith GTA VI leaked btw 11:54 kilbith https://www.reddit.com/r/GTA/comments/xhkc8o/gta_6_a_sorted_list_of_the_90_videos_allegedly/ 12:11 rubenwardy I like all the debug UI. It's interesting to try and work out what's going on 12:11 kilbith interesting that Rockstar uses ImGui for their editor 12:21 kilbith https://twitter.com/videotech_/status/1571514138311942145?s=20&t=topS5VzGpH08yW_7DwdXYg 12:21 kilbith they're going to hire a hitman to kill the hacker 12:22 kilbith they do have the source code also 14:07 MTDiscord related: https://twitter.com/rockstargames/status/1571849091860029455 14:55 mazes_84 Bastrabun: other day I saw you were profiling petz: did it get to something ? 15:04 MTDiscord Actually yes, flux made an awesome tool to profile entities and also flux' PR resulted from poking at petz: https://github.com/runsy/petz/pull/112 Before, the list in question grew to a couple of tens of thosusands of records and was traversed each entity step - causing lag 15:05 fluxionary https://github.com/fluxionary/minetest-debuggery/blob/main/chatcommands/entity_lag_log.lua 15:05 fluxionary https://github.com/fluxionary/minetest-debuggery/blob/main/chatcommands/instrument_mod.lua 15:07 galex-713 ok so weird 15:07 galex-713 i just rebooted in debian 15:07 galex-713 created new world 15:07 galex-713 now i have 45fps 15:07 galex-713 why??? 15:08 mazes_84 how cool 15:08 mazes_84 I will try the PR locally 15:08 galex-713 and no 15:08 galex-713 *and now it uses only 200M of memory 15:09 galex-713 i swear i just got fps 60 by dividing screen 15:09 galex-713 wtf 15:09 galex-713 mazes_84, what PR? 15:09 mazes_84 galex-713: just lookup: my question about petz 15:10 galex-713 oh ok, i haven’t joined yet 15:11 mazes_84 fluxionary: I may take a try at minetest-debuggery 15:11 fluxionary i created that recently and put a bunch of ad-hoc tools in there. at some point i'll have to document it. 15:12 mazes_84 dive underwater without light: usual for minetest 15:12 galex-713 and 1G of memory if i join multiplayer 15:12 galex-713 how to explain that? 15:12 galex-713 the other day i was stuck at 4fps 15:12 galex-713 why??? 15:13 fluxionary galex-713, multiplayer on which server? some servers use a *whole* lot of extra mods 15:14 galex-713 fluxionary, adventure time 15:14 mazes_84 galex-713: I have weird slowdowns when my computer uptimes are long, especially with low ram 15:14 galex-713 but the thing is that i got 4fps before 15:14 galex-713 ad now i got 35fps 15:14 galex-713 i have 8G ram 15:14 fluxionary ugh my backspace key just broke off O_O 15:15 fluxionary galex-713, FPS can depend a lot on the environment you're in. on some servers, the spawn area can have a huge number of entities and such that drop FPS hugely 15:16 fluxionary galex-713, lower your graphics settings, and in particular, drop draw distance in those areas 15:16 mazes_84 galex-713: what I'm speaking of is known bug, got to swapoff -a; swapon -a; to regain speed or to reboot, that what made me think it could be 15:16 galex-713 but the environment is *same* 15:16 galex-713 mazes_84, interesting 15:17 galex-713 fluxionary, i had voided .minetest hence config 15:17 fluxionary sure, but the default options aren't the lowest graphics settings 15:17 galex-713 ok now it’s dropping again 15:17 fluxionary https://gist.github.com/fluxionary/a764be6d0ff4ce934b7de666bdec2f43 15:17 galex-713 20fp 15:17 galex-713 *fps 15:18 galex-713 fluxionary, but this is unrelated to my issue: if i start the game, it get 60fps, and then i stand still, and slowly i get to 7fps 15:18 galex-713 for no reason 15:18 galex-713 since i stay in same environment 15:18 mazes_84 if the swapon thing takes forever, it may be this, else another thing. but it happens only after long uptime and/or heavy ram usage 15:18 galex-713 now 18fps 15:18 galex-713 keeps slowing 15:18 fluxionary galex-713, well, more and more of the map will continue to load even if you just stand still 15:18 galex-713 mazes_84, ok how uptime does that? 15:18 galex-713 fluxionary, is there a way to prevent that? 15:19 fluxionary galex-713, drop draw distance. hit the - key until it says "20" 15:19 mazes_84 not really uptime, more related to swapin 15:19 galex-713 fluxionary, it’s already there 15:19 mazes_84 tbut it seems different 15:19 fluxionary galex-713, hm... alright, so it's none of the usual things 15:19 fluxionary galex-713, what OS? 15:19 fluxionary oh you said debian 15:19 galex-713 fluxionary, debian rn 15:19 galex-713 last time, parabola 15:20 galex-713 but it had been reversed i think, so i don’t understand… 15:21 fluxionary galex-713, if i remember right, yesterday you said single-core CPU usage was also low? 15:21 galex-713 yes 15:21 galex-713 now it’s 70% 15:21 galex-713 idk why 15:21 galex-713 omg this is so weird 15:22 galex-713 tf it came back at 60fps 15:22 galex-713 woaaah everything is so beautiful at 60fps, i was not used anymore to see that 15:23 definitelya :D 15:24 galex-713 i keep feeling like this is a rare priviledge i’m being given temporarily by the god of randomness, and soon it will be bad again 15:24 fluxionary galex-713, sorry it's like that. i'm running out of ideas. see if anything comes out of perf top, perhaps? https://man7.org/linux/man-pages/man1/perf-top.1.html 15:30 galex-713 it’s a lot of info, idk what to say :/ 15:33 mazes_84 personally on weak pc I disable quite all shaders, do not use smooth lightning, active performance_tradeoff in settings, use low render distance 15:33 fluxionary galex-713, when it gets slow, check to see if there's anything in there about what minetest is doing. you can ignore anything non-minetest 15:36 galex-713 fluxionary, anything like what? 15:37 fluxionary in the output of perf top 15:39 fluxionary like for me, there's an line like "1.17% minetest [.] ClientMap::renderMap" 15:42 galex-713 oh ok 15:42 galex-713 like 15:42 galex-713 what function takes more time? 15:42 galex-713 that’s what it says? 15:52 mazes_84 @BastRabun: already merged or integrated using slightly different approach 15:53 mazes_84 I like petz, but gosh resources and lag, maybe server crash for me 15:55 mazes_84 tested animalia, not convinced yet despite: less ressources for about 3 times more entity 15:56 mazes_84 and the killer behavior in animalia: birds grouped flights 15:58 mazes_84 if switch to something then mobs_animal, bit raw but really resources effective 16:02 MTDiscord Maybe we should make a "customer wishlist", instead of waiting the techies come up with something ? 16:14 sfan5 @Bastrabun bug reports gladly always but if you don't have a way to reproduce probably nobody can fix it 16:20 galex-713 hi again 16:20 galex-713 here i am: i reached 7 fps again 16:20 galex-713 from 40fps to 7fps very fast, idk how 16:20 galex-713 i moved a lot 16:20 galex-713 still 60fps 16:20 galex-713 then 40fps 16:20 galex-713 i stopped moving, started going around 16:21 galex-713 then 7fps 16:21 galex-713 and perf top was saying nothing about minetest 16:21 galex-713 it said 20% of my cpu was busy wish sha256 decryption 16:22 definitelya Do you have other programs running? Try closing them and profile again. 16:23 galex-713 4fps… T-T 16:23 galex-713 10% cpu 16:23 galex-713 omg everything like yesterday 16:23 galex-713 i closed many stuff 16:23 galex-713 closed tor deamon, closed every terminal, closed firefox 16:24 definitelya hmm you said you rebooted, so it's unlikely another program. Unless it's a program set to autostart. meh 16:24 galex-713 0,32% libIrrlicht.so.1.8.4 [.] irr::video::COpenGLDriver::setRenderStates3DMode ▒ 16:24 galex-713 what is that? 16:25 galex-713 is this really bad? 0,37% minetest [.] Sky::draw_stars ▒ 16:28 mazes_84 you said it's fresh install, no ? 16:32 galex-713 mazes_84, idk, what do you mean by fresh install? 16:32 galex-713 i several times deleted .minetest and .cache/minetest to see results and observed non 16:33 galex-713 :/ 16:37 mazes_84 no I mean for the OS 16:37 galex-713 so wdym by the OS? 16:37 galex-713 from what point is it a fresh install or not? 16:37 galex-713 personally, i would take that as soon as you install another non-default software (such as minetest) it’s non-fresh anymore, so i don’t see :/ 16:38 galex-713 it’s even more tricky to know when did »fresh install« started, as i’ve installed using debootstrap… 16:39 mazes_84 so you can not test minetest on fresh install 16:39 mazes_84 tok 16:40 galex-713 wdym? 16:40 galex-713 i still don’t know what you mean 16:40 MTDiscord testing the minetest 16:41 MTDiscord feels like you two are talking about different level of 'fresh install' -- one is talking about fresh install of OS while the other is talking about fresh install of minetest 16:41 mazes_84 if when you install minetest the OS install is not fresh anymore ... 16:43 mazes_84 my distro is installed since 2006 I guess apart some tweak to config and kernel params when moving hardware nothing new 16:43 mazes_84 if it can enlighten what I mean by fresh 16:46 galex-713 mazes_84, ig you updated linux, glibc, and X since then… 16:46 mazes_84 no ofc 16:47 galex-713 wat? 16:48 galex-713 hard to believe 16:48 mazes_84 it's totally unrelated to your current problem: focus on it rather than digging into the wall 16:48 galex-713 anyway, from what point *for you* is an install fresh? 16:48 mazes_84 dig the walls in minetest 16:48 galex-713 what does »dig into the wall« here? 16:48 galex-713 ok so if it’s unrelated, what should i do? 16:49 galex-713 idk you asked this so i try to answer… 16:49 galex-713 why i get 6fps with a 30ms drawtime 16:50 galex-713 this too is a mystery 16:52 mazes_84 sometimes the info are not reliable: it is not uncommon to see 0FPS on one of my pc 16:52 galex-713 i see… 16:52 mazes_84 may be an I/O bottleneck, give a try at iotop 16:53 galex-713 oh right! 16:54 mazes_84 and also maybe at: free 16:58 galex-713 okok 16:58 galex-713 installing 17:01 mazes_84 Batrabun: wichlist for petz: make collision box larger so animal don't get stuck in fences or other nodeboxes 17:01 galex-713 Mem: 7781672 4054816 142772 303612 3584084 3115156 17:01 galex-713 swap: 16777212 260736 16516476 17:01 galex-713 and nothing in iotop 17:02 mazes_84 seems good 17:03 mazes_84 what desktop do you use ? 17:03 definitelya Ubuntuwu? 17:03 galex-713 i3 17:03 mazes_84 maybe some of those with fancy things eating gpu resources 17:03 mazes_84 ok i3 is perfect 17:04 definitelya Nice 17:04 mazes_84 not awesome but still perfect 17:05 galex-713 and intel_gpu_top gives me 240 irq/s and 100% gpu usage 17:05 galex-713 mazes_84, what is awesome? awesome itself? x) 17:06 mazes_84 awesome is like i3, but easy when coming to multiple output 17:06 galex-713 *irqs 17:07 galex-713 i3 is said to be easy too 17:07 galex-713 i never had problems 17:07 mazes_84 so you identified the bottleneck 17:07 galex-713 what is the bottleneck? 17:07 mazes_84 gpu 17:08 galex-713 ok 17:08 galex-713 so 17:08 galex-713 what would be the answer then? 17:08 mazes_84 did you already disabled most shaders ? 17:08 galex-713 why was i getting 60fps earlier? 17:08 galex-713 yes 17:08 galex-713 all of them 17:08 galex-713 i did all like in the link on github 17:09 mazes_84 which is ? 17:09 galex-713 but one thing (performance_tradeoffs was absent as a parameter) 17:09 mazes_84 I missed this 17:09 galex-713 uh let me reopen firefox 17:09 mazes_84 it does not change the deal so much (idk what it does really) 17:11 galex-713 from fluxionary 17:11 galex-713 mazes_84, https://gist.github.com/fluxionary/a764be6d0ff4ce934b7de666bdec2f43 17:11 galex-713 mazes_84, ik, i gained 10fps, but i didn’t double it 17:11 galex-713 well no 17:11 galex-713 i didn’t gain in multiplayer 17:11 mazes_84 from what I see from free: Mem: 7781672 seems to be like you assigned 256Mo to igpu ? 17:11 galex-713 but singleplayer went from 15fps to 25fps 17:12 galex-713 how did i do that? 17:13 mazes_84 bios setting if there is 17:13 galex-713 what is igpu? compared to gpu 17:13 galex-713 i have no bios 17:13 galex-713 only libreboot 17:13 MTDiscord igpu is a gpu made by apple 8) 17:13 mazes_84 bios/uefi idk but you have 17:13 MTDiscord jk jk, integrated gpu, usually one which comes on your motherboard or processor 17:14 galex-713 mazes_84, neither, only libreboot 17:14 galex-713 MTDiscord, aaaaah i915! yes! 17:14 galex-713 okok 17:14 mazes_84 you may try to assign more memory to your gpu (i just means it is shipped in cpu) 17:15 galex-713 idk how such thing is assigned, i did nothing about that 17:15 galex-713 mazes_84, how to do that? 17:15 definitelya ROller: iKnewit 17:15 galex-713 lol 17:16 mazes_84 oh I was late, there was a hand up before 17:19 mazes_84 ok libreboot, but that's still a bios even if not proprietary 17:21 mazes_84 you still should be able to change memory affected to gpu from this (idk this so can't help) 17:25 mazes_84 seems nice even supported hardware limited, very nice to see something like this 17:30 galex-713 afaik no, libreboot doesn’t contain a bios, it *can* contain a bios (like seabios) but most of the time doesn’t, because linux use something more modern that’s provided by both bios and uefi otherwise, but which isn’t bios or uefi 17:30 galex-713 mazes_84, how do i change that tho? idk :/ 17:32 galex-713 mazes_84, what in the number makes you believe 256M is assigned that way? 17:32 mazes_84 bios: basic input output system: no matter of the constructor 17:32 galex-713 i know 17:32 galex-713 but they told me bios is implemented by SeaBIOS only 17:32 galex-713 and is only needed by some very old baremetal kernels and by windows 17:33 mazes_84 that's different consideration 17:33 galex-713 so for instance, you need to chainload SeaBIOS to boot windows 17:33 galex-713 but you don’t to boot linux 17:33 mazes_84 i don't care about those 17:33 galex-713 they told me SeaBIOS is the bios, not coreboot, coreboot does only initialization, not input/output, afaik 17:33 galex-713 well you talked about bios 17:34 mazes_84 i don't speak about brand/vendor but about what it means 17:34 mazes_84 why do you always want to dig the wall 17:35 mazes_84 at beginning I thought you really had a problem 17:35 mazes_84 but I guess it's different kind 17:35 galex-713 nobody talked about brand/vendor tho 17:35 galex-713 what does dig the wall mean? 17:35 galex-713 i do have a problem 17:36 galex-713 fps drops from 60fps to 4fps and idk why 17:36 mazes_84 then focus on it 17:36 galex-713 i want to know why to reverse that 17:36 galex-713 i *am* focused, but i have no idea of what can it be 17:36 galex-713 so i ask 17:36 galex-713 but even focusing, nobody knows( 18:05 mazes_84 fluxionary /memory require unknown priv (staff), idk were it is supposed to be registered from, but I changed it to server locally 18:06 fluxionary you're right, it should default to server 18:06 fluxionary staff is specific for your-land 18:07 fluxionary actually there's code to create the priv if it doesn't exist, i just forgot to link it 18:08 mazes_84 the instrumentation is nice, sadly it works only for globals (how could it be else?) 18:09 MTDiscord Hey, I have a question, if anybody knows let me know. If I break up a long raycast into chunks (in this case for bullet drop), for example; a 100 meter long ray into 50 or so rays, each spanning 2 blocks... how bad wi it be compared to the first ray 18:09 MTDiscord Are there tools to check for the lag this can produce? 18:10 mazes_84 it still makes me think I should use those kind of tools bit more (LMD kit also) 18:13 fluxionary mazes: well, it could have worked through lua's introspection, but that's removed for security reasons e.g. https://github.com/minetest/minetest/pull/8707 18:17 rubenwardy you can use an insecure env to get it 18:18 fluxionary that's a good point 18:31 definitelya When will the code sections in dev.minetest.net be fixed? Trying to read examples is futile rn. e.g. https://dev.minetest.net/Lua_code_style_guidelines 18:49 Krock definitelya: I'm on it 18:49 Krock although it's strange that this doesn't work any more 18:49 Krock celeron55: might it be possible that was added by a MediaWiki plugin that went lost during an update, or something? 18:51 definitelya Krock: Thank you! 18:51 Krock I'll update it after it's clear whether this isn't some sort of upgrade issue 18:52 Krock the article source should show you the correct line breaks 18:53 mazes_84 fluxionary: 30% cpu call gained, my bad, I can't believe I didn't see it 18:55 mazes_84 n°2 though is the point I already planned to look at 18:55 fluxionary mazes_84: you mean from the /inspect_mod command? yeah it has quite an overhead 18:56 mazes_84 no I mean using it I gained 30% on the thing I work on 18:56 fluxionary oh i see, you were able to speed up your code. nice! 18:56 mazes_84 the overhead is not to be blamed. it's just there when testing 18:57 mazes_84 it was supposed to stop instrument for this one, but log still flood 18:59 celeron55 Krock: i'll play around with this for a moment, beware the possible breakage of devwiki 18:59 Krock celeron55: thanks for having a look at it. but take your time. it's not something urgent :) 19:00 celeron55 eh... i think i fixed it 19:00 Krock surprise 19:00 Krock indeed, it does look good now 19:01 Krock it used to be syntax-highlighted in the past, but I don't think that's much of a concern 19:01 celeron55 i went through the config looking for any extensions i would have had issues with in the big upgrade and saw one being mysteriously commented out 19:01 celeron55 https://www.mediawiki.org/wiki/Extension:SyntaxHighlight 19:01 celeron55 it looks like the tag is deprecated and should be used 19:01 Krock > In older versions (before MediaWiki 1.16), the extension used the tag ‎. This is still supported, but is deprecated. ‎ 19:01 celeron55 and i bet the arguments to that have changed also 19:02 celeron55 we're talking about 10 years of mediawiki upgrades here 19:02 Krock that's quite something 19:03 celeron55 one thing i think is permanently broken is the language selection, the way it was implemented doesn't seem to be supported anymore with or without extensions... or that's how it seems to me 19:03 celeron55 if you know better please tell 19:04 Krock ¯\_(ツ)_/¯ I never worked with MediaWiki 19:22 definitelya It was quick-and-easy, luckily. 19:24 celeron55 a bit embarrassing not having done that earlier 19:24 celeron55 i guess i got annoyed with the language selector 19:25 definitelya :P 20:17 Kimapr cheapie: i found a bug with digistuff movestones. they can't move in negative directions when using the relmove command (https://content.minetest.net/threads/3391/) 20:58 sfan5 !op 20:59 sfan5 !deop 21:03 sfan5 Minetest 5.6.1 has been released >> https://forum.minetest.net/viewtopic.php?f=18&t=28703