Bug#1014937: stormbaancoureur: Slow/wrong rendering on Intel 945GM x86/MMX/SSE2
Nils Dagsson Moskopp
nils+debian-reportbug at dieweltistgarnichtso.net
Fri Jul 15 22:37:34 BST 2022
Package: stormbaancoureur
Version: 2.1.6-3
Followup-For: Bug #1014937
X-Debbugs-Cc: nils+debian-reportbug at dieweltistgarnichtso.net
I haveinvestigated the source package of stormbaancoureur.
The file src-common/ogl.cxx contains the shadow rendering functionality.
It also contains a check for when exactly shadow rendering is enabled:
--- 8< --- snip --- 8< ---
/*
* This helper function checks wether we have all req'd extensions for shadow mapping
*/
bool OglCanDoShadowing(void)
{
if (getenv("PLODE_NO_SHADOWS")) return false;
const char *vers = (const char*) glGetString(GL_VERSION);
const char *rend = (const char*) glGetString(GL_RENDERER);
fprintf(stderr, "OpenGL is version %s\n", vers);
fprintf(stderr, "OpenGL renderer %s\n", rend);
const char *exts = (const char*) glGetString(GL_EXTENSIONS);
//fprintf(stderr, "OpenGL has extensions %s\n", exts);
if (!strstr(exts, "GL_ARB_multitexture")) return false;
if (!strstr(exts, "GL_ARB_depth_texture")) return false;
if (!strstr(exts, "GL_ARB_shadow")) return false;
if (!strstr(exts, "GL_EXT_framebuffer_object")) return false;
if (!strstr(exts, "GL_ARB_vertex_shader")) return false;
if (!strstr(exts, "GL_ARB_fragment_shader")) return false;
if (!strstr(exts, "GL_ARB_shader_objects")) return false;
return true;
}
--- >8 --- snap --- >8 ---
The Irrlicht engine manages to do bug-free realtime shadows on the same GPU.
Therefore, I assume that this issue can be worked around relatively easily.
-- System Information:
Debian Release: 11.3
APT prefers stable
APT policy: (900, 'stable'), (500, 'oldoldstable')
Architecture: i386 (i686)
Kernel: Linux 5.10.0-10-686 (SMP w/2 CPU threads)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages stormbaancoureur depends on:
ii freeglut3 2.8.1-6
ii libasound2 1.2.4-1.1
ii libc6 2.31-13+deb11u3
ii libgcc-s1 10.2.1-6
ii libgl1 1.3.2-1
ii libglu1-mesa [libglu1] 9.0.1-1
ii libode8 2:0.16.2-1
ii libplib1 1.8.5-8+deb11u1
ii libstdc++6 10.2.1-6
ii stormbaancoureur-data 2.1.6-3
stormbaancoureur recommends no packages.
stormbaancoureur suggests no packages.
-- no debconf information
More information about the Pkg-games-devel
mailing list