Time Nick Message 05:58 MTDiscord Can someone voice me in IRC, I am smugler5 13:04 Krock @morea, smugler5[m]: I believe you have to be registered on freenode in order to obtain voice 13:04 Krock otherwise it's temporary and will stop working as soon you disconnect from freenode 18:29 MTDiscord sfan5, for the record, my M1 rebuilds MT within 45 seconds, it's glorious 18:32 sfan5 neat 18:39 Krock @Jordach Celeron D 347 takes 20-30 minutes 18:42 MTDiscord seems to be so far the main issue that irrlicht is creating a window 18:42 MTDiscord but not doing the rest of it 18:46 MTDiscord lemme build with svn-trunk and see what works 18:47 MTDiscord built against trunk 18:47 MTDiscord i'm immediately suspicious with how effortlessly that worked 18:48 MTDiscord same explosion 18:48 MTDiscord weirdly enough, opengl 2.1 is supported on m1 18:48 MTDiscord as minecraft forge runs without issue 21:36 MTDiscord Krock: straight up bought CrossOver and minetest runs flawlessly 21:36 MTDiscord kek 21:41 MTDiscord https://cdn.discordapp.com/attachments/747163533212516474/817874437063049297/Screenshot_2021-03-06_at_21.37.36.png 21:47 MTDiscord VanessaE: proof in the pudding 21:47 MTDiscord https://cdn.discordapp.com/attachments/747163533212516474/817876145919361085/Screenshot_2021-03-06_at_21.47.31.png 21:48 MTDiscord that said, run in place builds have always been the better option for Minetest 21:48 VanessaE no Dreambuilder game installed? boooooo 21:49 MTDiscord i mean you're pushing a lot of things through WINE+Rosetta2 21:49 rubenwardy crossover sounds like proprietary wine 21:49 MTDiscord do you know how many hoops it takes to compile wine for ARM64 21:50 MTDiscord more than enough hours at minimum wage to justify crossover 21:50 rubenwardy I like their descriptions 21:52 MTDiscord i might look into how that travis build worked 21:52 MTDiscord as the resultant x64 builds worked fine on this machine without any issues like crossover 21:52 MTDiscord he was using travis 21:54 sfan5 oh hey I reproduced that initWithTitle crash you had in my vm 21:55 MTDiscord ayy nice 21:57 MTDiscord it sounds like Irrlicht isn't building a GLUT instance properly 21:58 MTDiscord because it works in 1.8.4 21:58 MTDiscord with HiDPI issues 22:04 MTDiscord Clicking things work 22:04 MTDiscord But things like keyboard inputs entirely crash the non app version 22:06 sfan5 yeah it looks like that known issue where running mt not from the app bundle doesn't work at all 22:10 MTDiscord i get at proper arm build now 22:10 MTDiscord however 22:10 MTDiscord make package breaks 22:10 MTDiscord and prints a faulty binary 22:16 sfan5 okay now I have reached the point where I can't test in my vm due to missing drivers 22:17 sfan5 but it did build fine 22:17 MTDiscord i mean i can yank the travis conf from his repo 22:17 MTDiscord and work from that since it was a last good known build conig 22:52 sfan5 @Jordach here's something for you to try: build this Irrlicht branch https://github.com/minetest/irrlicht (there's been some commits, build system is now CMake, no library copying required) 22:52 sfan5 then build this MT branch with it https://github.com/sfan5/minetest/tree/irr19 22:52 sfan5 and see if it runs 22:53 sfan5 oh and more importantly, build with -DRUN_IN_PLACE=0 do `make package` and try to run the bundle from the .zip *not* directly from bin 22:53 MTDiscord Which irrlicht branch 22:53 MTDiscord Ah feck I hit the reply 22:54 sfan5 just master 22:54 MTDiscord That’ll do 22:55 sfan5 for irrlicht you might want to use `cmake . -DBUILD_SHARED_LIBS=OFF` or whatever 23:02 MTDiscord can do 23:05 MTDiscord > [100%] Linking CXX static library ../../lib/OSX/libIrrlicht.a 23:06 MTDiscord hopefully this isn't the shagged neon stuff 23:08 MTDiscord suggested cmake args for minetest other than cmake . -DRUN_IN_PLACE=0 23:08 MTDiscord i dislike flying blind but i'll give it a whirl 23:08 sfan5 -DIRRLICHT_LIBRARY=$PWD/../irrlicht/lib/OSX/libIrrlicht.a -DIRRLICHT_INCLUDE_DIR=$PWD/../irrlicht/include 23:09 sfan5 assuming you've got your clone at ../irrlicht/ of course 23:10 MTDiscord yep 23:10 MTDiscord set those via cmake cache 23:11 MTDiscord building package -j8 23:12 MTDiscord and watch libpng fuck me other with NEON 23:12 sfan5 should be none of that in there 23:12 MTDiscord oh it worked 23:12 MTDiscord pleasant surpirse 23:12 MTDiscord > Termination Reason: Namespace CODESIGNING, Code 0x2 23:13 sfan5 oh is that a thing now? 23:13 MTDiscord running the package direct 23:13 MTDiscord here's the travis x64 build for comparison 23:13 MTDiscord https://cdn.discordapp.com/attachments/747163533212516474/817897666251718686/Screenshot_2021-03-06_at_19.54.10.png 23:13 MTDiscord jordach@Jordans-Air minetest-irr19 % codesign -vv Minetest.app Minetest.app: code has no resources but signature indicates they must be present 23:14 MTDiscord this is likely hardened application support 23:14 sfan5 i cant make any sense of that 23:14 sfan5 if by resources it means Minetest.app/Resources/[...] surely those exist 23:16 MTDiscord they exist alright 23:16 MTDiscord https://cdn.discordapp.com/attachments/747163533212516474/817898464192495627/Screenshot_2021-03-06_at_23.16.19.png 23:18 MTDiscord cursory google search indicates linked libraries being shitty 23:20 MTDiscord i wonder if that error refers to minetest game being missing 23:20 MTDiscord that's the only thing "missing" 23:21 MTDiscord the fault is libjpeg 23:21 MTDiscord @executable_path/../Frameworks/libjpeg.9.dylib 23:21 MTDiscord force signing the app fails on libjpeg 23:22 sfan5 if you installed that via brew or something shouldn't it be signed 23:22 MTDiscord no lue 23:22 MTDiscord clue even 23:22 MTDiscord jpeg does come from brew 23:25 MTDiscord it's a bug with inodes 23:27 MTDiscord success* 23:27 MTDiscord https://cdn.discordapp.com/attachments/747163533212516474/817901169606656010/Screenshot_2021-03-06_at_23.27.00.png 23:27 MTDiscord it immediately app not responds 23:27 sfan5 aw 23:28 MTDiscord it does spawn a window 23:28 MTDiscord but it still locks up on input 23:28 sfan5 did you see the buttons highlight on hover? or did it already lock up by that point 23:29 MTDiscord they highlight but have wrong positioning 23:29 MTDiscord for the mouse 23:29 sfan5 hmm so that's still broken 23:29 sfan5 at least it's not scaled to 1/4 of the window 23:30 MTDiscord the window isn't being brought into focus if you will 23:31 MTDiscord here's what it's doing 23:31 MTDiscord https://gist.github.com/Jordach/123729c8765a82e30137fdec89ec6298 23:32 MTDiscord https://gist.github.com/Jordach/34739c8fe048c4edfe141ff9c67d2546 23:32 MTDiscord some hints 23:33 MTDiscord lemme run it under the terminal 23:34 MTDiscord curiously opening via the terminal launches it fine 23:34 MTDiscord the window spawns, but render thread die 23:34 MTDiscord s 23:36 MTDiscord nothing prints into the terminal, like a single frame gets rendered then it stops 23:38 MTDiscord it does respond to SIGTERM and ctrl+c from the terminal 23:38 MTDiscord lemme see if montes patch works 23:39 MTDiscord same compile settings you suggested 23:41 MTDiscord negative 23:41 MTDiscord testing 1.8.4 irr against master 23:41 MTDiscord same suggested settings 23:42 sfan5 https://github.com/minetest/minetest/blob/master/src/gui/guiEngine.cpp#L386-L390 try commenting these out 23:44 MTDiscord can do 23:44 MTDiscord testing master: same quarter size screen 23:46 MTDiscord lets see 23:47 MTDiscord fixed 23:47 MTDiscord IT WORKS 23:47 MTDiscord sfan5 ^ 23:47 sfan5 what exactly does 23:47 MTDiscord everything 23:47 MTDiscord it's the FPS limiter 23:47 MTDiscord menus work and everything 23:47 sfan5 yeah but 23:48 sfan5 which combination of libraries and branches 23:48 MTDiscord just removing the fps limiter 23:48 MTDiscord however, joining a game breaks 23:48 MTDiscord stops at resolving address 23:49 MTDiscord lemme guess it's the FPS limiter again 23:49 MTDiscord where's the one for ingame located 23:49 MTDiscord it's a pthread issue 23:51 MTDiscord snippet of calls where it hangs 23:51 MTDiscord https://gist.github.com/Jordach/d40dcbaa00da8d4df91ab6c81ce1b6e1 23:52 sfan5 that looks like the same fps thingy again 23:52 MTDiscord yep 23:52 sfan5 here's a better idea 23:52 sfan5 https://github.com/minetest/irrlicht/blob/master/source/Irrlicht/CIrrDeviceOSX.mm#L1061 23:52 MTDiscord or it's pthread 23:53 sfan5 comment this out, recompile irrlicht, then minetest 23:53 MTDiscord comment that out 23:54 MTDiscord who'd of thought me buying an M1 Mac would lead to spontaneous development 23:55 MTDiscord inb4 macos maintainer 23:56 MTDiscord that does it 23:57 sfan5 you're using irrlicht 1.9.0 now right? 23:57 MTDiscord irr19 branch 23:57 MTDiscord https://cdn.discordapp.com/attachments/747163533212516474/817908852489453638/Screenshot_2021-03-06_at_23.57.24.png 23:57 MTDiscord solid 60fps looking into a jungle with shaders on 23:58 sfan5 ...but with irrlicht 1.8? 23:58 MTDiscord it's using the minetest fork branch 23:58 sfan5 good good 23:58 MTDiscord averaging 90fps 23:58 MTDiscord jesus fucking christ 23:59 MTDiscord VanessaE might have forgot my pass on your server 23:59 MTDiscord oof