2025-07-22 05:26 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004815Spring engineGfx driver issuespublic2017-06-22 23:41
Reporterpdragon 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionreopened 
Product Version98.0.1+git 
Target VersionFixed in Version 
Summary0004815: All UI elements (menus, minimap, chat window) flicker badly (Intel i915/Fedora 22 KDE beta, x86_64)
DescriptionWhen the game starts, everything works, I can play the game, but the UI elements and to-be-built buildings flicker erratically, all at the same time, several times a second.

I'm a new player on Fedora 22 KDE beta, x86_64, and I've got an Intel i915-compatible GPU.


spring_{develop}98.0.1-828-g881bcdf_minimal-portable-linux64-static.7z
Steps To Reproduce1. Start game
2. Observe flickering
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0014624

abma (administrator)

infolog is from spring 98.0

~0014625

abma (administrator)

Last edited: 2015-06-18 01:05

View 2 revisions

please set DebugGL = 1 in config, & test with current development version and attach that infolog.txt to the report.

~0014634

pdragon (reporter)

By config, I guess you mean ~/.config/spring/springsettings.cfg ?

Ok, done, infolog.txt about to attached.

There seems to be a lot of entries like this:
==============
[f=0000000] Error: OpenGL: source<API> type<peformance> id<6> severity<medium>:
CPU mapping a busy miptree BO stalled and took 1.252 ms.

[f=0000000] Error: OpenGL: source<API> type<other> id<9> severity<medium>:
FBO incomplete: Unsupported HW texture/renderbuffer format attached: MESA_FORMAT_L_UNORM8
=============

~0014640

abma (administrator)

does it work when you start spring with spring --safemode ?

imo you have basicly a gfx / driver problem. can you increase memory of gpu in bios?

~0014644

pdragon (reporter)

Safemode didn't help.

Interestingly, it flickers less when I've selected the commander.

Also, when I'm using Balanced Annihilation Reloaded test-3596, the UI doesn't flicker until I start building stuff, and then not much of the UI flickers.

~0014645

pdragon (reporter)

Is the MESA_FORMAT_L_UNORM8 used for everything in the game?

~0014646

abma (administrator)

sorry, idk. there is no reference to UNORM8 in springs source code.

as the errors are related to FBO you could try to set MiniMapRenderToTexture = 0

~0014663

jK (developer)

Last edited: 2015-06-20 20:31

View 2 revisions

MESA_FORMAT_L_UNORM8 is GL_LUMINANCE and I don't see it anywhere used in a FBO when safemode is used.

If at all the other error might be related but neither that should be triggered in safemode.

~0014691

pdragon (reporter)

Well, I tried MiniMapRenderToTexture = 0, and --safemode, and still it flickers constantly. The following error messages occur when it flickers:

[f=0000000] Error: OpenGL: source<API> type<other> id<11> severity<medium>:
FBO incomplete: Unsupported HW texture/renderbuffer format attached: MESA_FORMAT_L_UNORM8

[f=0000000] Error: OpenGL: source<API> type<other> id<12> severity<medium>:
FBO incomplete: driver marked FBO as incomplete [-1]

[f=0000000] Error: OpenGL: source<API> type<peformance> id<7> severity<medium>:
CPU mapping a busy miptree BO stalled and took 0.328 ms.

~0014706

jK (developer)

Fix 46ada26ebb0090d1c1ffd9ce6d76dbdde39d1ac0 committed to develop branch: attempt to fix 0004815: flickering GUI with mesa drivers, repo: spring changeset id: 5243

~0014907

pdragon (reporter)

Sorry, just tried it, still flickering. It does settle down a bit if you play for a while, but it's a major eyesore when you start.

I compiled version 99.0.1-24-g0dd4127 , which contains commit 46ada26ebb0090d1c1ffd9ce6d76dbdde39d1ac0 mentioned in comment https://springrts.com/mantis/view.php?id=4815#c14706

I'm now compiling only that commit, in case someone undid the patch in a later patch.

By the way, ccache isn't helping as much as I'd expect; is the version number embedded in every cpp file?

~0014921

pdragon (reporter)

Ok, Spring 99.0.1-5-g46ada26 HEAD didn't fix it. I'll see if a much older version helps, and then maybe do a git-bisect.
+Notes

-Issue History
Date Modified Username Field Change
2015-06-18 00:27 pdragon New Issue
2015-06-18 00:27 pdragon File Added: infolog.txt
2015-06-18 01:03 abma Product Version 98.0.1+git => 98.0
2015-06-18 01:04 abma Note Added: 0014624
2015-06-18 01:05 abma Note Added: 0014625
2015-06-18 01:05 abma Assigned To => abma
2015-06-18 01:05 abma Status new => feedback
2015-06-18 01:05 abma Note Edited: 0014625 View Revisions
2015-06-19 05:41 pdragon Note Added: 0014634
2015-06-19 05:41 pdragon Status feedback => assigned
2015-06-19 05:42 pdragon File Added: infolog2.txt
2015-06-19 12:07 abma Note Added: 0014640
2015-06-19 16:05 pdragon Note Added: 0014644
2015-06-19 16:06 pdragon Note Added: 0014645
2015-06-19 19:11 abma Note Added: 0014646
2015-06-20 20:15 abma Product Version 98.0 => 98.0.1+git
2015-06-20 20:31 jK Note Added: 0014663
2015-06-20 20:31 jK Note Edited: 0014663 View Revisions
2015-06-20 20:48 abma Summary All UI elements (menus, minimap, chat window) flicker badly => All UI elements (menus, minimap, chat window) flicker badly (Intel i915/Fedora 22 KDE beta, x86_64)
2015-06-23 08:14 pdragon Note Added: 0014691
2015-06-26 02:37 jK Changeset attached => spring develop 46ada26e
2015-06-26 02:37 jK Note Added: 0014706
2015-06-26 02:37 jK Assigned To abma => jK
2015-06-26 02:37 jK Status assigned => resolved
2015-06-26 02:37 jK Resolution open => fixed
2015-07-06 09:05 pdragon Note Added: 0014907
2015-07-06 09:05 pdragon Status resolved => feedback
2015-07-06 09:05 pdragon Resolution fixed => reopened
2015-07-06 09:07 pdragon File Added: infolog3.txt
2015-07-07 08:23 pdragon Note Added: 0014921
2015-07-07 08:23 pdragon Status feedback => assigned
2017-06-22 23:41 Kloot Assigned To jK =>
2017-06-22 23:41 Kloot Status assigned => closed
+Issue History