Time Nick Message 11:10 Bombo i compiled minetest 5.5.0 for my raspberry pi3, with SDL, now i realized the keyboard doesn't work properly, i can't use shift key, so i can't enter chat commands, with / i get 7 instead, it's the same in console (no x) and with X (windowed) any ideas? 12:04 erle Bombo does it work with previous versions? 12:12 sfan5 the sdl support in irrlichtmt is unfinished 12:13 erle yeah also people had ideas about key mapping that turned out to be wrong 12:13 erle i remember that around christmas i tested some key on 3 different laptops and minetest gave me 3 different names for the key 12:14 erle forgot what key it was though 12:14 Markow Shaders have made a great difference in the appearance of everything. Textures are looking great! Big difference when enabled and not disabled. 12:14 erle which shaders in particular? 12:14 Markow The 'shaders' setting, when enabled 12:15 erle yeah, i have no idea what exactly it enables if no other boxes are checked 12:15 Markow The trains in the Advanced Trains mod look much better now 12:15 Markow Big difference when enabling shaders. 12:15 erle i mean i have only one computer on which this setting does not slow the game to unplayable levels right now, but also i often aim for “crisp”, i.e. texture filtering 12:16 erle i thought shaders are more for concrete features. like … waving plants or so. 12:17 erle or bloom effects 12:17 erle sfan5 can you remember what was wrong with bump mapping btw? it *was* wrong, but i wonder what was wrong about it and i forgot. 12:17 erle i mean it got removed afaik 12:17 Markow It definitely made an enormous difference in the appearance of many objects. I can post a before / after screenshot of some items. 12:18 erle oh, please do 12:18 erle just one screenshot is prob enough for en educated guess 12:18 erle i mean two 12:18 erle before/after 12:19 Markow Example, when shaders were disabled (this is on the latest git snapshot), the subway in Advanced Trains looked like a simple yellow box without features. When enabled, all the features, curves, details came out, really nice. 12:20 sfan5 that's called object shading 12:20 Markow It's a nice improvement. 12:23 erle ah yeah, i guess curved models profit much more from this 12:24 erle btw, advanced trains is the one mod i am thinking of when i argue for an entity attribute specifying a move path 12:31 Markow Getting back to work on a 'Port City' on my MT Server :D 12:32 Markow Work in progress: https://imgur.com/RdZa4Qi 12:39 Markow The 'stack2' command is pure genius in the Worldedit mod. Extremely productive. 12:48 sfan5 you're welcome ;) 12:52 Markow Any setting setting available in the Basic Trains mod to give sound to the Japanese engine, before I modify the Lua code? 12:52 Markow It runs too quietly, lol 13:04 Bombo erle: good question :) ok i tested the debian 11 repo version 5.3.0, it works there 13:05 Bombo hm will the mt version compiled with sdl use sdl in X windowed mode too? 13:06 Bombo or can one chose if it uses sdl or whatever, x11? opengl? gles? 13:07 MTDiscord irrlichtmt compiled with the sdl device will use sdl no matter what 13:28 Bombo mkay 13:44 * Oblomov wants a libcaca backend 13:50 Bombo ;-) 13:50 Bombo hm what version of zlib does mt 55 need? ' Could NOT find ZLIB (missing: ZLIB_LIBRARY) (found version "1.2.11")' 13:52 Bombo i compiled it already with sdl so i thought i had all the deps, strange 13:56 sfan5 that means it couldn't find the library for it 13:56 sfan5 "i tested the debian 11 repo version 5.3.0, it works there" <- I guarantee you that isn't using SDL 14:01 Bombo sounds like vicky pollard 'could not find, but found version' 14:33 Bombo ok got it, had to add architecture amd64 and install all deps :amd64 too (cross compiling on i7 x86_64) 14:34 Bombo err arm64 14:35 Bombo but it doesn't run now, in X glxbadfbconfig 15:32 Bombo now i added to IrrCompileConfig.h: #define _IRR_COMPILE_WITH_X11_DEVICE_ but still get the error 'X Error of failed request: GLXBadFBConfig Major opcode of failed request: 152 (GLX) Minor opcode of failed request: 34 ()' 15:33 Bombo (glxgears runs) 15:48 kabou Bombo I understand that you are attempting to crosscompile minetest for arm64 on x86_64 15:49 kabou when you run glxgears, you are running it on x86_64 hardware, right? 15:50 kabou but when you crosscompile for arm64, the build system will look for arm64 X11 headers and will attempt to run arm64 specific tests 15:50 Bombo kabou: no glxgears on the raspi 15:50 kabou allright then 15:51 kabou can you compile for x86_64 natively without problems? 15:51 Bombo i compile on x86_64 for arm64/aarch64 copy it over to the raspi, run it in X 15:51 kabou did you try compiling it on the raspi instead? 15:51 Bombo yes x86_64 works 15:51 Bombo no it's too slow and gets too hot 15:51 kabou cross compiling is a lot trickier than regular compiling 15:52 Bombo compiling with #define _IRR_COMPILE_WITH_SDL_DEVICE_ in IrrCompileConfig.h did work 15:52 Bombo it runs without X and with X windowed 15:52 Bombo on the raspi 15:53 Bombo just one prob: the keyboard doesn't do shift, so i can't type /chatcommands 15:53 Bombo so i wanted to compile a version of 5.5 without sdl now 15:55 Bombo on the first try i compiled with a chroot and qemu on my i7 x86_64, it worked, took ~95mins now with aarch64-linux-gnu-gcc only ~7 minutes :) 15:58 Bombo -- Looking for _IRR_COMPILE_WITH_OGLES1_ - not found -- Looking for _IRR_COMPILE_WITH_OGLES2_ - not found -- Looking for _IRR_COMPILE_WITH_OPENGL_ - found 15:58 Bombo -- Found OpenGL: /usr/lib/aarch64-linux-gnu/libOpenGL.so 15:58 Bombo -- Found X11: /usr/include 15:58 Bombo -- Looking for XOpenDisplay in /usr/lib/aarch64-linux-gnu/libX11.so;/usr/lib/aarch64-linux-gnu/libXext.so - found 15:58 Bombo hmm 16:07 MinetestBot 02[git] 04Desour -> 03minetest/minetest: Fix the documentation of InvRef:get_lists() and clean up code (#12150) 138d38743 https://github.com/minetest/minetest/commit/8d387433b14791db95e59127b5e6e30f58155c1e (152022-03-29T16:06:16Z) 16:07 MinetestBot 02[git] 04TurkeyMcMac -> 03minetest/minetest: Optimize swapping nodes with equivalent lighting 1311aab41 https://github.com/minetest/minetest/commit/11aab4198be1a0f1104a433896e908e4c86de0c9 (152022-03-29T16:06:44Z) 16:07 MinetestBot 02[git] 04TurkeyMcMac -> 03minetest/minetest: Store vector metatable in registry 1306d197c https://github.com/minetest/minetest/commit/06d197cdd042392e1551e5e7244c61300a6bb4e3 (152022-03-29T16:07:00Z) 16:11 sfan5 btw for performance reasons you probably dont want to be using OpenGL on an rpi 16:12 Bombo so do i enable gles1 or gles2? 16:13 sfan5 the latter 16:14 sfan5 but also https://github.com/minetest/minetest/issues/12035#issuecomment-1027192813 16:20 Bombo -- Found OpenGLES2: /usr/lib/aarch64-linux-gnu/libGLESv2.so 16:56 Bombo sfan5: well, that worked. thx :) 16:56 Bombo 30fps now \o/ 16:59 Bombo and keys work /grantme all ;) 17:03 Bombo is there a way to see what driver is used right now? 'Using: opemgl|gles1|gles2|sdl|whatever' don't see that in the log 17:05 Bombo and for audio too pulse, alsa or what is used 17:42 definitelya Bombo: If the pulseadio daemon is enabled, it should have taken over audio streaming, system- wide. 18:38 Bombo //! DEVICE is the windowing system used, several PLATFORMs support more than one DEVICE 18:38 Bombo //! Irrlicht can be compiled with more than one device 18:39 Bombo but doesn't seem to work, i added sdl and x11 and gles2, says no opengl-es2 support compiled in 18:40 Bombo just testing ;) 19:19 sfan5 device is either x11 or sdl, video driver is either opengl or gles1 or gles2 19:19 sfan5 no idea if the sdl device even supports gles (I hope?) 19:20 sfan5 the state of both will be somehow apparent in --verbose output 23:24 paradust Is there a script somewhere for building the distribution directory? Including fonts, mods, etc? I see much of it in the minetest source repo, but not all of it 23:26 _Zaizen_[m]1 celeron55: hi, could you check your matrix?