Created attachment 120777 [details]
system information (uname -a, lspci -vv -k, packages info, xorg log)
I am using xf86-video-intel git version. latest release from last year has a bad experience with my hardware. Using dri2/sna or dri2/uxa exhibits kernel gpu hangs; dri3/sna has the best experience until now without kernel gpu hangs.
Though, sporadically ui elements are not redrawn. image will be attached.
This happens in firefox quite often, combobox pull-downs are black, load a page and the ui element in focus is black, then redrawn after a moment.
Youtube HTML5 player in firefox:
- newly drawn elements are black, move mouse over elements, then it is redrawn.
- click on an element and other elements turn blank(black).
- close fullscreen video -> mate desktop panel is not redrawn.
System information is attached.
If you need any other information, let me know.
Created attachment 120778 [details]
The gpu hang (unfortunately) is not the subject of this bug report. Just some interaction not part of the ddx.
Created attachment 120783 [details]
gpu hang on firefox painting background/ui elements of webpage
Actually, I got a hang in firefox.
Last days I got gpu hangs very rarely on cold boot starting desktop manager lightdm. If I get to save the hang error then, I will post it here.
Created attachment 120824 [details]
gpu hang after login (display manager already being corrupted)
I have similar problem when mplayer or mpv using OpenGL output is switching from full screen mode to windowed mode using keyboard shortcut on Xfce with compositor disabled. Window of application which is behind mplayer/mpv isn't repainted completely.
I swapped the battery for a new one, updated kernel to 4.4.1(which fixes the invisible cursor issue), xorg to 1.18.1 and rebuilt xf86-video-intel git today.
It is not triggered that often, now. Though, Google Maps triggers blanking of Chromium 48 tab and the desktop background and icons and if I do not force a reboot in time the laptop freezes.
The freeze is a usual pattern after elements start being blanked, if I cannot reboot in time.
Another way to reproduce, sadly sporadically, blanking is to press the control key.
Sometimes a square beneath the mouse turns black independently of application or desktop is visible.
Created attachment 122435 [details]
video: mouse cursor versus control key
Created attachment 122436 [details]
video: trash icon versus control key
Created attachment 122437 [details]
video: trash icon focus lost
my problem seems to be fixed
Another round of system updates with kernel 4.6.3 and xorg-server 1.18.3 fixed two of three video samples of blanking elements.
Just noticed that Google Maps with Chromium 51 behaves. As do the random freezes seem to be gone, too.
Well, I enabled option TearFree - I wonder if there is any connection.
Just noticed, that the "mouse cursor versus control key" issue is related to MATE desktop feature "show position of mouse cursor when control key is pressed".
Let's see if I can identify the code MATE executes to cause this black square.
Hokay, MATE had their own issue drawing that mouse cursor position highlight:
After updating, I saw that black square once for a very very short amount of time. But now, I cannot reproduce anymore. Though, even if it may occur again, it would not be worth the time inspecting.
Since the last issue of this bugreport is resolved - for me - I will close this report.
Resolution: Have a somewhat proper power supply for your laptop and use a recent kernel (>= 4.6) as well as snapshot of xf86-video-intel driver.