FS#46461 - [llvm] Lot of flickering with mesa 11.0

Attached to Project: Arch Linux
Opened by Bruno Pagani (ArchangeGabriel) - Monday, 28 September 2015, 14:46 GMT
Last edited by Laurent Carlier (lordheavy) - Monday, 04 April 2016, 11:56 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Evangelos Foutras (foutrelis)
Laurent Carlier (lordheavy)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No


Since mesa 11.0 (or linux 4.2, not really sure which one is causing this), there is a lot of flickering on my screen, especially when scrolling on my browser (I can see part of my background terminal window in the flickering parts).

I’m on a Intel Haswell system, with SNA. Found nothing in any log.
This task depends upon

Closed by  Laurent Carlier (lordheavy)
Monday, 04 April 2016, 11:56 GMT
Reason for closing:  Fixed
Comment by Bruno Pagani (ArchangeGabriel) - Monday, 28 September 2015, 15:20 GMT
Also, sometimes Thunderbird or Firefox content is not repaint. Need to switch to another window for repainting to happen.
Comment by patrick (potomac) - Monday, 28 September 2015, 15:48 GMT
in order to find which package is the culprit ( kernel or mesa ) you should downgrade one of these packages ( go to /var/cache/pacman/pkg, and type "pacman -U the_name_of_the_package_file" )
Comment by Bruno Pagani (ArchangeGabriel) - Monday, 28 September 2015, 15:52 GMT
Thanks, didn’t think about this.

It’s mesa.
Comment by Doug Newgard (Scimmia) - Tuesday, 29 September 2015, 01:26 GMT
Present in 11.0.1 as well?
Comment by Bruno Pagani (ArchangeGabriel) - Tuesday, 29 September 2015, 21:33 GMT
Sorry, it’s in mesa 11.0.1, never had 11.0 on my system (I suppose this one never left testing).
Comment by Bruno Pagani (ArchangeGabriel) - Saturday, 03 October 2015, 12:51 GMT
Still happening with 11.0.2 in case you were wondering.

Maybe I should report upstream, but since I don’t have any log or error message to show this, I don’t know where to begin…
Comment by patrick (potomac) - Saturday, 03 October 2015, 14:01 GMT
@Bruno Pagani: maybe I have a clue for your problem :

I discovered a problem related to llvm 3.7.0-4 and llvm-libs 3.7.0-4 packages,

these packages are used to build mesa 11 packages, with my configuration ( amd radeon HD4650, cpu pentium dual core E6800 3.33 Ghz ) mesa 11 triggers a bug on some openGL functions, for example every openGL programs who use the "glRasterPos2i()" openGLfunction will crash or will have a weird display,

to solve my problem I decided to downgrade llvm/llvm-libs to the previous version ( 3.6.2-4 ) and then I rebuilt mesa 11.0.2 with llvm 3.6.2, the result is that my bug is gone, all is ok now,

maybe your problem is related also to llvm 3.7.0,

I created a bug report in mesa and llvm websites :


could be also a problem related to glibc but I am not sure
Comment by Bruno Pagani (ArchangeGabriel) - Sunday, 11 October 2015, 22:17 GMT
I’m now (after a quite long session of computer use) having hell-tearing and flickering on my screen, making my laptop unusable. Also, fan began to run heavily. Closing everything calmed down things.

The repaint bug now also affect Dolphin (KDE Filemanager) a lot, i.e. folder names and icons are not changed when opening one, only refreshed when moving cursor above them.
Comment by Andreas Radke (AndyRTR) - Wednesday, 11 November 2015, 17:57 GMT
@foutrelis - can you make sure we include that llvm fix to fix mesa issues?
Comment by Bruno Pagani (ArchangeGabriel) - Wednesday, 11 November 2015, 18:21 GMT
This seems less terrible with latest (11.0.5) mesa update. I didn’t have the time to try recompiling mesa using older llvm though, so not even sure this is related.
Comment by Bruno Pagani (ArchangeGabriel) - Monday, 04 January 2016, 12:32 GMT
Still present with latest mesa (11.1.0-2). I might have the time to look a bit deeper into this friday and eventually report upstream.
Comment by Andreas Radke (AndyRTR) - Friday, 01 April 2016, 17:02 GMT
We had several llvm and mesa updates. Is this still an issue?
Comment by Bruno Pagani (ArchangeGabriel) - Monday, 04 April 2016, 08:24 GMT
Sorry, I had forgotten to report here. It has been solved, yes.