Time Nick Message 18:31 real_mcsim Hi everybody! 18:31 VanessaE real_mcsim: #minetest 18:31 real_mcsim I want to bring up topic of compiler used for building minetest 18:32 real_mcsim and SSE/SSE2 instructions in the official build 18:32 real_mcsim Anyone listens? 18:32 PilzAdam at least the loggingbot ;-) 18:33 thexyz yes 18:33 real_mcsim OK, then. From the version of msvcr100.dll shipped with official build I can see that VS 2010 RTM is used to build official binaries 18:33 real_mcsim Also, the /SSE flag is used in cmake conf 18:34 real_mcsim However VS 2010 RTM has a bug: if /SSE switch is supplied, it's emit SSE2 instructions sometimes 18:34 real_mcsim please see http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/00094bc3-af5f-4f8a-a02b-164f9296c5ae/ 18:34 real_mcsim To solve ypu nees service pack 1 for VS 2010 18:35 real_mcsim One of the reasons people using minetest is better performance on older HW 18:35 thexyz was that fixed? 18:35 Calinou someone's using MSVC here. 18:35 celeron55 have you tested that /sse thing to be the case for my builds? 18:35 celeron55 i have though that the sse instructions could be in one of the pre-built libraries used 18:36 real_mcsim Yes, I build basic game, no sound or lcalization with VS2010 SP1, bug disappeared on Athlon XP CPU 18:36 celeron55 that is, irrlicht or zlib 18:36 celeron55 did you use the suggested pre-built versions of those? 18:37 real_mcsim I building as per instructions in the readme file, zlib is precompiled, irrlicht built from sources 18:37 celeron55 try using a pre-built irrlicht 18:38 real_mcsim what exact version should I use? 18:38 celeron55 i think the official build has pre-built 1.7.2 18:40 celeron55 i'm too lazy to start my rarely used virtual machine for checking whatever random version of vs2010 express it happens to have 18:42 celeron55 for what i can google, sp1 has been released much before i downloaded the thing 18:45 real_mcsim OK, it will take me some time to build and test, I will get back later 18:45 real_mcsim There only 2 vesrions of VS2010 - RTM and SP1, and you can put SP1 on top of RTM AFAIK 18:45 real_mcsim talk to you later 19:41 thexyz anything against that patch? https://github.com/celeron55/minetest/pull/284 19:45 Calinou no 19:46 darkrose worked on it with him, so no 19:46 sfan5 no 20:10 rubenwardy celeron55, does Minetest use Lua or LuaBind? 20:11 Calinou lua 20:11 rubenwardy ok 20:11 Calinou no luabind, 99% sure 20:12 celeron55 lua, so plain directly that most C++ coders puke 20:13 rubenwardy i am guessing it (LuaBind) is easier than plain LUA then 20:15 celeron55 not really 20:16 celeron55 they're just completely different worlds 20:18 celeron55 for the plain one, you need to understand the lua C api well, and for the luabind one, you need to understand... well, luabind well 20:19 rubenwardy ok, thank you. 20:21 celeron55 i don't even know if what minetest uses is a good choice or not, but it does work without any problems practically at all, so i'm happy 20:22 rubenwardy the game i want to make will use a similar API, so LuaBind will be fine 20:22 rubenwardy :) 20:23 rubenwardy bye 20:23 hmmmm does that real_mcsim guy realize how old his hardware would have to be to support sse but not sse2? 20:24 hmmmm besides, the only thing that would be SSE right now would be the floating point operations in the CRT, *maybe* 20:25 celeron55 athlon xp supports sse and not sse2 20:25 celeron55 and they can run new OSes and minetest just fine 20:25 celeron55 (except not if there are sse2 instructions, obviously, and that is the problem) 20:26 celeron55 (the official minetest build has them, somewhere, and i don't know where) 20:26 hmmmm i suppose somebody can take a look with OllyDbg or something and then search for SSE2 instructions 20:27 hmmmm shouldn't be too hard, you just need to have windows handy 20:27 hmmmm or maybe he could've just read what the faulting module was when he experienced it crash 20:32 real_mcsim I am back reporting 20:33 real_mcsim minetest-0.4.3-win32.zip - official stable biuld with MSVC 10 - illegal instruction exception 20:34 real_mcsim minetest-0.4.dev-20120606-win32.zip - official development build with MSVC 10 - Illegal instruction exception 20:34 real_mcsim minetest-0.4.dev-20120606-f067897-win32.zip - official development MinGW build - runs fine 20:35 real_mcsim My MSVC 10 SP1 build of stable sources celeron55-minetest-0.4.3-0-g9696ed3.zip with pre built irrlicht - runs fine 20:36 real_mcsim My MSVC 10 SP1 build of development sources from celeron55-minetest-0.4.3-29-g1db0334.zip - runs fine 20:36 celeron55 so changes are my MSVC10 setup is screwed 20:36 celeron55 chances* 20:37 real_mcsim My point is that official stable build on minetest.net website is made using MSVC 10 RTM and this has embedded SSE2, which prevents it to run on older HW 20:37 real_mcsim SSE is fine, sources and build scripts are fine, just compiler needs SP1 20:39 real_mcsim and windowsupdate after SP1 better to be run, there could be updates to runtime library distributed with the build 20:39 celeron55 an another thing that is known of the past official builds is that they are missing oal_wrap.dll which prevents sound from working on systems that don't have openal globally installed 20:39 celeron55 or was it wrap_oal.dll 20:41 real_mcsim I did not get to the sound yet, I'll probably looking into it in some time in the future to get fully functional build for my Athlone Xp 20:43 real_mcsim forgot to mention - I user irrlicht 1.7.2 prebuild libraries for my build, and official builds have same dll 20:43 real_mcsim I thank you for attention to my words and keepeng project open source. 20:43 real_mcsim Bye 20:50 hmmmm well you can't make it "un-open source" 20:50 celeron55 "thank the license" 20:50 celeron55 8) 21:12 Calinou next guy in this channel: mac maintainer