#1034689 gl-117: Moving mouse creates lag (workaround: use software rendering)

Package:
gl-117
Source:
gl-117
Description:
action flight simulator
Submitter:
Nils Dagsson Moskopp
Date:
2023-05-05 23:27:03 UTC
Severity:
normal
#1034689#5
Date:
2023-04-21 19:04:12 UTC
From:
To:
Dear Maintainer,

I installed and started gl-117 just now. It showed severe lag.
There was a warning shown about the rendering being too slow …

I managed to disable fullscreen mode and quit the application and started it again.
I found that lag only happens when the mouse cursor moves inside the gl-117 window.

Using Mesa software rendering with “LIBGL_ALWAYS_SOFTWARE=1 gl-117” avoids the lag.
Here is the terminal output of “glxinfo |grep -i ' version'” on the machine I used:

server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
    Version: 20.3.5
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.3.5
OpenGL core profile shading language version string: 4.60
OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.3.5
OpenGL shading language version string: 4.60
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.3.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

#1034689#10
Date:
2023-05-05 23:23:27 UTC
From:
To:
Dear Maintainer,

I tested gl-117 on a Thinkpad T60 and found the lag does not to occur on it;
I actually did get 60 fps almost consistently, sometimes dropping to 45 fps.

I have no idea what could make gl-117 work so much worse on newer hardware …

Here is the terminal output of “glxinfo |grep -i ' version'” on that laptop:

server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
    Version: 20.3.5
    Max core profile version: 0.0
    Max compat profile version: 1.4
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 2.0
OpenGL version string: 1.4 Mesa 20.3.5
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 20.3.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16