Closed D8174 closed 8 years ago
I can hardly explain where this comes from. We can only hope that #287 will fix it i guess.
The last revision that didn't have flickering for me was 24fc81e, then the first one that did was 49fbd1a.
I tried the revisions in-between but they gave me this:
openage.cppinterface.exctranslate.CPPException: Failed to read CSV file /converted/string_resources.docx: Empty or missing.
so unfortunately I can't be more specific.
Maybe because this line was added to libopenage/engine.cpp
:
SDL_GL_SetAttribute(SDL_GL_STENCIL_SIZE, 8);
(and glClear(GL_COLOR_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
)
'Failed to read' error for 5a776a6db20cb63fdf238227856bdd5a035fa67e is pretty impossible if it works for the previous one... There are just some functions and fields added that are not yet used.
My mistake.
I must have missed this, but the first revision that causes flickering is 3d0b0e8.
The two revisions (5a776a6 and cb5e991) between just give a error: ‘gui_link’ does not name a type
but I don't think that's important.
Edit: I'll try editing those lines you mentioned and report back.
I commented SDL_GL_SetAttribute(SDL_GL_STENCIL_SIZE, 8);
and removed GL_STENCIL_BUFFER_BIT
but it still flickers.
Then maybe it's MakeCurrent()
calls. The #595 has some magical effects on that if we're lucky.
And one other thing, pls: what is your 3d card and driver?
Nvidia GTX 760 using proprietary driver version 352.79.
I've got the same card, 4GiB version. The difference is KDE/Unity.
Well I found out what causes it...
In my xorg.conf I have Option "TripleBuffer" "True"
and disabling it fixes the flicker.
So in my opinion this is pretty much a non-issue and can be closed.
Video: https://www.youtube.com/watch?v=TZEiBMJ3IiY (warning: flickering) Running on Debian x86_64, compiled with g++ 6.1.