Bisection points to the refactor done to unify the back ends. Can't point to a single commit since the SDL stuff was broken through most of it.
Spoiler: Bisect output
Moderator: GZDoom Developers
Spoiler: Bisect output
g3.4pre-278-gd7c227469 on g3.3mgw is not affected. Breaking 200fps just fine.drfrag wrote:If my legacy branch is not affected it's not the software renderer itself.
Code: Select all
void Init()
{
glBufferData(GL_PIXEL_UNPACK_BUFFER, w*h*texelsize, nullptr, GL_DYNAMIC_DRAW);
}
void Lock()
{
glMapBuffer(GL_PIXEL_UNPACK_BUFFER, GL_READ_WRITE);
}
Code: Select all
void Init()
{
if (glMapBufferRange)
glBufferData(GL_PIXEL_UNPACK_BUFFER, size, nullptr, GL_DYNAMIC_DRAW);
}
void Lock()
{
if (glMapBufferRange)
{
return (FBVERTEX*)glMapBufferRange(GL_PIXEL_UNPACK_BUFFER, 0, size, GL_MAP_WRITE_BIT | GL_MAP_INVALIDATE_RANGE_BIT | GL_MAP_INVALIDATE_BUFFER_BIT);
}
else
{
glBufferData(GL_PIXEL_UNPACK_BUFFER, size, nullptr, GL_STREAM_DRAW);
return glMapBuffer(GL_PIXEL_UNPACK_BUFFER, GL_WRITE_ONLY);
}
}
All modes are affected although less so in true color.Graf Zahl wrote:Can you compare the different modes of the software renderer? Does it only happen with paletted rendering or always? Or with Softpoly?
That's g3.4.1v i forgot to upload the tag. Also i've not uploaded a few recent commits yet.Blzut3 wrote:g3.4pre-278-gd7c227469 on g3.3mgw is not affected. Breaking 200fps just fine.
I'd suspect the driver, not Linux.Blzut3 wrote:I'm fairly confident that the regression only manifests on Linux
Spoiler:Considering OpenGL powers all the renderers now, even the software one, that performace dip is hardly surprising for me. This computer never really liked OpenGL .
That is now confirmed. I tried both versions on my Debian Linux with my Nvidia 980 card. The 3.3.0 version gave me 332 fps in a release build. Master gave me 455 fps. So there the new version is actually faster.Graf Zahl wrote:I'd suspect the driver, not Linux.Blzut3 wrote:I'm fairly confident that the regression only manifests on Linux