koparka icon indicating copy to clipboard operation
koparka copied to clipboard

The program is only running at 7 fps on my machine

Open berylliumquestion opened this issue 6 years ago • 2 comments

I'm able to get it to load, but it seems a little slow. I noticed that it's throwing these errors on my terminal:

shaders/fxaa_f.glsl:3(12): warning: extension GL_EXT_gpu_shader4' unsupported in fragment shader shaders/fxaa_f.glsl:29(15): error: no matching function for call to texture2DLod(sampler2D, vec2, float)'; candidates are: shaders/fxaa_f.glsl:29(15): error: type mismatch shaders/fxaa_f.glsl:30(15): error: no function with name 'texture2DLodOffset' shaders/fxaa_f.glsl:30(15): error: type mismatch shaders/fxaa_f.glsl:31(15): error: no function with name 'texture2DLodOffset' shaders/fxaa_f.glsl:31(15): error: type mismatch shaders/fxaa_f.glsl:32(15): error: no function with name 'texture2DLodOffset' shaders/fxaa_f.glsl:32(15): error: type mismatch shaders/fxaa_f.glsl:33(14): error: no matching function for call to texture2DLod(sampler2D, vec2, float)'; candidates are: shaders/fxaa_f.glsl:33(14): error: type mismatch shaders/fxaa_f.glsl:36(21): warning: rgbNW' used uninitialized shaders/fxaa_f.glsl:37(21): warning: rgbNE' used uninitialized shaders/fxaa_f.glsl:38(21): warning: rgbSW' used uninitialized shaders/fxaa_f.glsl:39(21): warning: rgbSE' used uninitialized shaders/fxaa_f.glsl:40(20): warning: rgbM' used uninitialized shaders/fxaa_f.glsl:58(2): error: no matching function for call to texture2DLod(sampler2D, vec2, float)'; candidates are: shaders/fxaa_f.glsl:58(2): error: type mismatch shaders/fxaa_f.glsl:59(2): error: no matching function for call to texture2DLod(sampler2D, vec2, float)'; candidates are: shaders/fxaa_f.glsl:59(2): error: type mismatch shaders/fxaa_f.glsl:58(2): error: operands to arithmetic operators must be numeric shaders/fxaa_f.glsl:57(14): error: operands to arithmetic operators must be numeric shaders/fxaa_f.glsl:60(14): warning: rgbA' used uninitialized shaders/fxaa_f.glsl:61(2): error: no matching function for call to texture2DLod(sampler2D, vec2, float)'; candidates are: shaders/fxaa_f.glsl:61(2): error: type mismatch shaders/fxaa_f.glsl:62(2): error: no matching function for call to texture2DLod(sampler2D, vec2, float)'; candidates are: shaders/fxaa_f.glsl:62(2): error: type mismatch shaders/fxaa_f.glsl:61(2): error: operands to arithmetic operators must be numeric shaders/fxaa_f.glsl:60(33): error: operands to arithmetic operators must be numeric shaders/fxaa_f.glsl:60(14): error: operands to arithmetic operators must be numeric shaders/fxaa_f.glsl:63(20): warning: rgbB' used uninitialized shaders/fxaa_f.glsl:64(52): warning: rgbA' used uninitialized shaders/fxaa_f.glsl:65(9): warning: rgbB' used uninitialized :display:gsg:glgsg(error): An error occurred while linking GLSL shader shaders/terrain_w_f.glsl error: fragment shader input `waterFog' has no matching output in the previous stage

Is this the cause of the lag. GitHub is telling me it might be related to this issue? https://github.com/wezu/koparka/issues/2 I have the latest glsl if that's related at all.

berylliumquestion avatar May 16 '19 02:05 berylliumquestion

I'll try to re-write the fxaa shader when I get a few moments of free time. What os are you running on?

wezu avatar May 18 '19 14:05 wezu

I'm running it on the Parabola GNU/Linux-libre distro. It's pretty much up to date so far.

berylliumquestion avatar May 18 '19 20:05 berylliumquestion