Page 1 of 1

Minetest 0.4.13 Lag Issues

PostPosted: Sat Oct 03, 2015 03:50
by Minerz
Hello everyone.
I recently tried out the new update, 0.4.13, and found it real laggy. I played it on 0.4.12, and 0.4.11, and the game was running at around 70 FPS. Are there any fixes or something? I'd like that, because the new update is AWESOME, but laggy.
Thanks,
-Minerz

Re: Minetest 0.4.13 Lag Issues

PostPosted: Sat Oct 03, 2015 07:49
by Krock
Here's an earlier post, if you haven't seen it yet: Low FPS

A minimap was added with 0.4.13, you can try to disable it and see if the problem sill persists.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
enable_minimap = false

Re: Minetest 0.4.13 Lag Issues

PostPosted: Sat Oct 03, 2015 14:03
by Minerz
Ok, Krock! Thanks for the help. I'm going to try it out and see if it works out!

Re: Minetest 0.4.13 Lag Issues

PostPosted: Sat Oct 03, 2015 14:53
by Minerz
Krock, is 0.4.13 made for OpenGL or something? Because I have Directx and there is no option for Directx, OpenGL, Burningsvideo, and Software Renderer in the options.

Re: Minetest 0.4.13 Lag Issues

PostPosted: Sat Oct 03, 2015 15:22
by rubenwardy
You can still use Minetest.conf to change the driver. However, opengl is still recommended. The others cause problems.

Re: Minetest 0.4.13 Lag Issues

PostPosted: Sat Oct 03, 2015 16:05
by Calinou
Direct3D does not support shaders, since the only kind of shaders available in Minetest are GLSL shaders. (Direct3D uses HLSL shaders.)

Re: Minetest 0.4.13 Lag Issues

PostPosted: Sat Oct 03, 2015 17:00
by Minerz
rubenwardy wrote:You can still use Minetest.conf to change the driver. However, opengl is still recommended. The others cause problems.

Ok, rubenwardy. I'll try it out again and switch up the drivers. I'll try 'em all to see which one offers the best performance.

Re: Minetest 0.4.13 Lag Issues

PostPosted: Sat Oct 03, 2015 17:01
by Minerz
Calinou wrote:Direct3D does not support shaders, since the only kind of shaders available in Minetest are GLSL shaders. (Direct3D uses HLSL shaders.)

Oh. Shaders DO cause lots of lag, right?

Re: Minetest 0.4.13 Lag Issues

PostPosted: Sat Oct 03, 2015 17:13
by Calinou
Minerz wrote:Oh. Shaders DO cause lots of lag, right?


They don't, if your graphics hardware is recent and powerful enough.

Re: Minetest 0.4.13 Lag Issues

PostPosted: Sat Oct 03, 2015 19:16
by Minerz
Ok. I had heard that shaders dropped this guy's frames by like, 30. Thanks.

Re: Minetest 0.4.13 Lag Issues

PostPosted: Sat Oct 03, 2015 19:19
by kaadmy
It drops my fps by about 4, but I usually get around 16-20 anyway.

Re: Minetest 0.4.13 Lag Issues

PostPosted: Sat Oct 03, 2015 19:20
by Minerz
Uh, sorry for the random question, but where is the init.lua located? I kinda don't want to start a new forum topic on this.

Re: Minetest 0.4.13 Lag Issues

PostPosted: Sat Oct 03, 2015 20:41
by kaadmy
In the individial mod directory, ie. minetest_game/mods/default/init.lua
That's the file that's run in startup, for modpacks, put the file modpack.txt into the same directory as the init.lua, and add mods there.

Re: Minetest 0.4.13 Lag Issues

PostPosted: Sat Oct 03, 2015 22:32
by Minerz
kaadmy wrote:In the individial mod directory, ie. minetest_game/mods/default/init.lua
That's the file that's run in startup, for modpacks, put the file modpack.txt into the same directory as the init.lua, and add mods there.

Thankyou, kaadmy! I've went back to 0.4.12, so there would be no lag issues.

Re: Minetest 0.4.13 Lag Issues

PostPosted: Sat Oct 17, 2015 19:51
by kaadmy
kaadmy wrote:It drops my fps by about 4, but I usually get around 16-20 anyway.

Wait.. Is it me, or does the 0.4.13-dev version have much increased performance? I could do viewing range at 35 nodes before around 20 fps, and now I get about 25-40 fps with 130+ node viewing range??

Re: Minetest 0.4.13 Lag Issues

PostPosted: Sat Oct 17, 2015 20:25
by Minerz
What? My PC uses DirectX, and my Minetest (in 0.4.13), is laggy as HELL! Around what, 4-5 fps?

Re: Minetest 0.4.13 Lag Issues

PostPosted: Sat Oct 17, 2015 21:29
by Dragonop
Do not use DirectX, it's unstable in Minetest. Use OpenGL instead

Re: Minetest 0.4.13 Lag Issues

PostPosted: Sun Oct 18, 2015 03:40
by Minerz
I'll try it. What kind of issues can it cause?

Re: Minetest 0.4.13 Lag Issues

PostPosted: Sun Oct 18, 2015 17:48
by kaadmy
Minerz wrote:I'll try it. What kind of issues can it cause?

Shaders don't work, everything breaks and becomes red/black from what i've heard.

Re: Minetest 0.4.13 Lag Issues

PostPosted: Mon Oct 19, 2015 03:17
by Don
I made the mistake of changing from opengl and my screen was a mess. Here is the topic. The picture shows what can happen.

viewtopic.php?f=6&t=11468&hilit=screen

Re: Minetest 0.4.13 Lag Issues

PostPosted: Mon Oct 19, 2015 21:12
by Minerz
Don wrote:I made the mistake of changing from opengl and my screen was a mess. Here is the topic. The picture shows what can happen.

viewtopic.php?f=6&t=11468&hilit=screen

I can't believe it. This is exactly what happened to me. Twice. It's bad, really bad. It's probably the worst thing that can happen to you. But, since I use DirectX, will OpenGL work for me when I use it?

Re: Minetest 0.4.13 Lag Issues

PostPosted: Mon Oct 19, 2015 22:26
by rubenwardy
OpenGL is recommended.

Re: Minetest 0.4.13 Lag Issues

PostPosted: Mon Oct 19, 2015 22:43
by Don
If you don't have opengl then you can get it here
https://www.opengl.org/wiki/Getting_Sta ... ing_OpenGL

Re: Minetest 0.4.13 Lag Issues

PostPosted: Mon Nov 16, 2015 18:12
by snowflake
Some Lag might happen by adding mods like techinc,that makes the world lag