Minetest logo

IRC log for #minetest-hub, 2021-03-06

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

All times shown according to UTC.

Time Nick Message
01:29 Conradish006 joined #minetest-hub
03:28 Conradish006 joined #minetest-hub
05:00 MTDiscord joined #minetest-hub
05:44 Conradish006 joined #minetest-hub
05:58 MTDiscord <morea> Can someone voice me in IRC, I am smugler5
06:32 Conradish006 joined #minetest-hub
07:39 Conradish006 joined #minetest-hub
08:00 ShadowNinja joined #minetest-hub
08:46 _Xenon joined #minetest-hub
09:16 olliy joined #minetest-hub
09:36 Conradish006 joined #minetest-hub
11:20 calcul0n joined #minetest-hub
11:35 Conradish006 joined #minetest-hub
11:51 Fixer joined #minetest-hub
12:32 Conradish006 joined #minetest-hub
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
13:57 calcul0n_ joined #minetest-hub
15:07 NathanS21 joined #minetest-hub
15:10 Fixer_ joined #minetest-hub
15:14 Rafi59 joined #minetest-hub
16:15 Fixer joined #minetest-hub
16:45 NathanS21 joined #minetest-hub
18:29 MTDiscord <Jordach> sfan5, for the record, my M1 rebuilds MT within 45 seconds, it's glorious
18:32 sfan5 neat
18:35 aerozoic joined #minetest-hub
18:39 Krock @Jordach Celeron D 347 takes 20-30 minutes
18:42 MTDiscord <Jordach> seems to be so far the main issue that irrlicht is creating a window
18:42 MTDiscord <Jordach> but not doing the rest of it
18:46 MTDiscord <Jordach> lemme build with svn-trunk and see what works
18:47 MTDiscord <Jordach> built against trunk
18:47 MTDiscord <Jordach> i'm immediately suspicious with how effortlessly that worked
18:48 MTDiscord <Jordach> same explosion
18:48 MTDiscord <Jordach> weirdly enough, opengl 2.1 is supported on m1
18:48 MTDiscord <Jordach> as minecraft forge runs without issue
19:13 NathanS21 joined #minetest-hub
21:06 calcul0n joined #minetest-hub
21:09 Rafi59 joined #minetest-hub
21:32 calcul0n joined #minetest-hub
21:36 MTDiscord <Jordach> Krock: straight up bought CrossOver and minetest runs flawlessly
21:36 MTDiscord <Jordach> kek
21:41 MTDiscord <Jordach> https://cdn.discordapp.com/attachments/747163533212516474/817874437063049297/Screenshot_2021-03-06_at_21.37.36.png
21:47 MTDiscord <Jordach> VanessaE: proof in the pudding
21:47 MTDiscord <Jordach> https://cdn.discordapp.com/attachments/747163533212516474/817876145919361085/Screenshot_2021-03-06_at_21.47.31.png
21:48 MTDiscord <Jordach> 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 <Jordach> i mean you're pushing a lot of things through WINE+Rosetta2
21:49 rubenwardy crossover sounds like proprietary wine
21:49 MTDiscord <Jordach> do you know how many hoops it takes to compile wine for ARM64
21:50 MTDiscord <Jordach> more than enough hours at minimum wage to justify crossover
21:50 rubenwardy I like their descriptions
21:52 MTDiscord <Jordach> i might look into how that travis build worked
21:52 MTDiscord <Jordach> as the resultant x64 builds worked fine on this machine without any issues like crossover
21:52 MTDiscord <Jordach> he was using travis
21:54 sfan5 oh hey I reproduced that initWithTitle crash you had in my vm
21:55 MTDiscord <Jordach> ayy nice
21:57 MTDiscord <Jordach> it sounds like Irrlicht isn't building a GLUT instance properly
21:58 MTDiscord <Jordach> because it works in 1.8.4
21:58 MTDiscord <Jordach> with HiDPI issues
22:04 MTDiscord <Jordach> Clicking things work
22:04 MTDiscord <Jordach> 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 <Jordach> i get at proper arm build now
22:10 MTDiscord <Jordach> however
22:10 MTDiscord <Jordach> make package breaks
22:10 MTDiscord <Jordach> 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 <Jordach> i mean i can yank the travis conf from his repo
22:17 MTDiscord <Jordach> 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 <Jordach> Which irrlicht branch
22:53 MTDiscord <Jordach> Ah feck I hit the reply
22:54 sfan5 just master
22:54 MTDiscord <Jordach> That’ll do
22:55 sfan5 for irrlicht you might want to use `cmake . -DBUILD_SHARED_LIBS=OFF` or whatever
23:02 MTDiscord <Jordach> can do
23:05 Conradis_ joined #minetest-hub
23:05 MTDiscord <Jordach> > [100%] Linking CXX static library ../../lib/OSX/libIrrlicht.a
23:06 MTDiscord <Jordach> hopefully this isn't the shagged neon stuff
23:08 MTDiscord <Jordach> suggested cmake args for minetest other than cmake . -DRUN_IN_PLACE=0
23:08 MTDiscord <Jordach> 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 <Jordach> yep
23:10 MTDiscord <Jordach> set those via cmake cache
23:11 MTDiscord <Jordach> building package -j8
23:12 MTDiscord <Jordach> and watch libpng fuck me other with NEON
23:12 sfan5 should be none of that in there
23:12 MTDiscord <Jordach> oh it worked
23:12 MTDiscord <Jordach> pleasant surpirse
23:12 MTDiscord <Jordach> > Termination Reason:    Namespace CODESIGNING, Code 0x2
23:13 sfan5 oh is that a thing now?
23:13 MTDiscord <Jordach> running the package direct
23:13 MTDiscord <Jordach> here's the travis x64 build for comparison
23:13 MTDiscord <Jordach> https://cdn.discordapp.com/attachments/747163533212516474/817897666251718686/Screenshot_2021-03-06_at_19.54.10.png
23:13 MTDiscord <Jordach> 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 <Jordach> 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 <Jordach> they exist alright
23:16 MTDiscord <Jordach> https://cdn.discordapp.com/attachments/747163533212516474/817898464192495627/Screenshot_2021-03-06_at_23.16.19.png
23:18 MTDiscord <Jordach> cursory google search indicates linked libraries being shitty
23:20 MTDiscord <Jordach> i wonder if that error refers to minetest game being missing
23:20 MTDiscord <Jordach> that's the only thing "missing"
23:21 MTDiscord <Jordach> the fault is libjpeg
23:21 MTDiscord <Jordach> @executable_path/../Frameworks/libjpeg.9.dylib
23:21 MTDiscord <Jordach> 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 <Jordach> no lue
23:22 MTDiscord <Jordach> clue even
23:22 MTDiscord <Jordach> jpeg does come from brew
23:25 MTDiscord <Jordach> it's a bug with inodes
23:27 MTDiscord <Jordach> success*
23:27 MTDiscord <Jordach> https://cdn.discordapp.com/attachments/747163533212516474/817901169606656010/Screenshot_2021-03-06_at_23.27.00.png
23:27 MTDiscord <Jordach> it immediately app not responds
23:27 sfan5 aw
23:28 MTDiscord <Jordach> it does spawn a window
23:28 MTDiscord <Jordach> 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 <Jordach> they highlight but have wrong positioning
23:29 MTDiscord <Jordach> 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 <Jordach> the window isn't being brought into focus if you will
23:31 MTDiscord <Jordach> here's what it's doing
23:31 MTDiscord <Jordach> https://gist.github.com/Jordach/123729c8765a82e30137fdec89ec6298
23:32 MTDiscord <Jordach> https://gist.github.com/Jordach/34739c8fe048c4edfe141ff9c67d2546
23:32 MTDiscord <Jordach> some hints
23:33 MTDiscord <Jordach> lemme run it under the terminal
23:34 MTDiscord <Jordach> curiously opening via the terminal launches it fine
23:34 MTDiscord <Jordach> the window spawns, but render thread die
23:34 MTDiscord <Jordach> s
23:36 MTDiscord <Jordach> nothing prints into the terminal, like a single frame gets rendered then it stops
23:38 MTDiscord <Jordach> it does respond to SIGTERM and ctrl+c from the terminal
23:38 MTDiscord <Jordach> lemme see if montes patch works
23:39 MTDiscord <Jordach> same compile settings you suggested
23:41 MTDiscord <Jordach> negative
23:41 MTDiscord <Jordach> testing 1.8.4 irr against master
23:41 MTDiscord <Jordach> 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 <Jordach> can do
23:44 MTDiscord <Jordach> testing master: same quarter size screen
23:46 MTDiscord <Jordach> lets see
23:47 MTDiscord <Jordach> fixed
23:47 MTDiscord <Jordach> IT WORKS
23:47 MTDiscord <Jordach> sfan5 ^
23:47 sfan5 what exactly does
23:47 MTDiscord <Jordach> everything
23:47 MTDiscord <Jordach> it's the FPS limiter
23:47 MTDiscord <Jordach> menus work and everything
23:47 sfan5 yeah but
23:48 sfan5 which combination of libraries and branches
23:48 MTDiscord <Jordach> just removing the fps limiter
23:48 MTDiscord <Jordach> however, joining a game breaks
23:48 MTDiscord <Jordach> stops at resolving address
23:49 MTDiscord <Jordach> lemme guess it's the FPS limiter again
23:49 MTDiscord <Jordach> where's the one for ingame located
23:49 MTDiscord <Jordach> it's a pthread issue
23:51 MTDiscord <Jordach> snippet of calls where it hangs
23:51 MTDiscord <Jordach> https://gist.github.com/Jordach/d40dcbaa00da8d4df91ab6c81ce1b6e1
23:52 sfan5 that looks like the same fps thingy again
23:52 MTDiscord <Jordach> 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 <Jordach> or it's pthread
23:53 sfan5 comment this out, recompile irrlicht, then minetest
23:53 MTDiscord <Jordach> comment that out
23:54 MTDiscord <Jordach> who'd of thought me buying an M1 Mac would lead to spontaneous development
23:55 MTDiscord <Jordach> inb4 macos maintainer
23:56 MTDiscord <Jordach> that does it
23:57 sfan5 you're using irrlicht 1.9.0 now right?
23:57 MTDiscord <Jordach> irr19 branch
23:57 MTDiscord <Jordach> https://cdn.discordapp.com/attachments/747163533212516474/817908852489453638/Screenshot_2021-03-06_at_23.57.24.png
23:57 MTDiscord <Jordach> solid 60fps looking into a jungle with shaders on
23:58 sfan5 ...but with irrlicht 1.8?
23:58 MTDiscord <Jordach> it's using the minetest fork branch
23:58 sfan5 good good
23:58 MTDiscord <Jordach> averaging 90fps
23:58 MTDiscord <Jordach> jesus fucking christ
23:59 MTDiscord <Jordach> VanessaE might have forgot my pass on your server
23:59 MTDiscord <Jordach> oof

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