View Issue Details

IDProjectCategoryView StatusLast Update
0004815Spring engineGfx driver issuespublic2017-06-22 23:41
Reporterpdragon Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionreopened 
Product Version98.0.1+git 
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.
Attached Files
infolog.txt (Attachment missing)
infolog2.txt (Attachment missing)
infolog3.txt (Attachment missing)
Checked infolog.txt for Errors

Activities

abma

2015-06-18 01:04

administrator   ~0014624

infolog is from spring 98.0

abma

2015-06-18 01:05

administrator   ~0014625

Last edited: 2015-06-18 01:05

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

pdragon

2015-06-19 05:41

reporter   ~0014634

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
=============

abma

2015-06-19 12:07

administrator   ~0014640

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?

pdragon

2015-06-19 16:05

reporter   ~0014644

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.

pdragon

2015-06-19 16:06

reporter   ~0014645

Is the MESA_FORMAT_L_UNORM8 used for everything in the game?

abma

2015-06-19 19:11

administrator   ~0014646

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

jK

2015-06-20 20:31

developer   ~0014663

Last edited: 2015-06-20 20:31

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.

pdragon

2015-06-23 08:14

reporter   ~0014691

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.

jK

2015-06-26 02:37

developer   ~0014706

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

pdragon

2015-07-06 09:05

reporter   ~0014907

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?

pdragon

2015-07-07 08:23

reporter   ~0014921

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.

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
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
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