Bug 90377 - [82Q35] Black widgets after some use
Summary: [82Q35] Black widgets after some use
Status: REOPENED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium critical
Assignee: Chris Wilson
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-08 22:48 UTC by Felipe Braga
Modified: 2017-09-27 13:11 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log (16.69 KB, text/plain)
2015-05-08 22:48 UTC, Felipe Braga
no flags Details
dmesg.output (250.55 KB, text/plain)
2015-05-08 22:50 UTC, Felipe Braga
no flags Details
Output of xrandr --verbose (1.96 KB, text/plain)
2015-05-08 22:52 UTC, Felipe Braga
no flags Details
On xorg.conf.d (246 bytes, text/plain)
2015-05-08 22:53 UTC, Felipe Braga
no flags Details
Xorg.0.log in Ter Ago 11 16:07:15 BRT 2015 (17.17 KB, text/plain)
2015-08-11 19:07 UTC, Felipe Braga
no flags Details
Xorg.0.log from Qua Ago 12 11:05:13 BRT 2015 ("SNA") (17.90 KB, text/plain)
2015-08-12 14:05 UTC, Felipe Braga
no flags Details
Xorg.0.log from Qua Ago 12 11:07:26 BRT 2015 ("UXA") (16.98 KB, text/plain)
2015-08-12 14:08 UTC, Felipe Braga
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Felipe Braga 2015-05-08 22:48:50 UTC
Created attachment 115647 [details]
Xorg.0.log

Its related with https://bugzilla.redhat.com/show_bug.cgi?id=949058:

Occaionally, any new opened window (explorers, libreoffice, firefox, terminal, etc) will go black and making it unusuable unless I restart X.

After installing Fedora 22 (this issue occurred before, on Debian 8 "Jessie"), I've got corrupted graphics (images wrong displayed - as showed here: http://youtu.be/RdPf8SLv_k0) - tried the fix in https://bugzilla.redhat.com/show_bug.cgi?id=949058#c16, but it not solved the issue (it seemed to have no effect at all - I think "AccelMethod" it's already set to "sna"...).

Based on https://bugzilla.redhat.com/show_bug.cgi?id=949058#c16 and some googling, I've tried it:

################# begin file in /etc/X11/xorg.conf.d/ #################
Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option      "AccelMethod"  "uxa"
EndSection
################# end file #################

... it corrected the graphics (images are displayed correctly!), but the black boxes occurred again after some use (like on Debian)...

additional info:
      -- chipset: Q35
      -- system architecture: x86_64
      -- xf86-video-intel/xserver/ version: in the attached Xorg.0.log
      -- kernel version: 4.0.1-300.fc22.x86_64
      -- Linux distribution: Fedora 22
      -- Machine or mobo model: Dell Optiplex 755
      -- Display connector: DVI (with DVI-VGA adapter to connect monitor)
Comment 1 Felipe Braga 2015-05-08 22:50:25 UTC
Created attachment 115648 [details]
dmesg.output
Comment 2 Felipe Braga 2015-05-08 22:52:05 UTC
Created attachment 115649 [details]
Output of xrandr --verbose
Comment 3 Felipe Braga 2015-05-08 22:53:27 UTC
Created attachment 115650 [details]
On xorg.conf.d
Comment 4 Felipe Braga 2015-05-08 22:57:56 UTC
now that I'm trying to screenshot it, the issue is not happening :/
Comment 5 Chris Wilson 2015-05-09 07:40:10 UTC
(In reply to Felipe Braga from comment #0)
> Created attachment 115647 [details]
> Xorg.0.log
> 
> Its related with https://bugzilla.redhat.com/show_bug.cgi?id=949058:
> 
> Occaionally, any new opened window (explorers, libreoffice, firefox,
> terminal, etc) will go black and making it unusuable unless I restart X.

Bug in libdrm_intel for UXA, in theory fixed in latest libdrm_intel.
 
> After installing Fedora 22 (this issue occurred before, on Debian 8
> "Jessie"), I've got corrupted graphics (images wrong displayed - as showed
> here: http://youtu.be/RdPf8SLv_k0) - tried the fix in
> https://bugzilla.redhat.com/show_bug.cgi?id=949058#c16, but it not solved
> the issue (it seemed to have no effect at all - I think "AccelMethod" it's
> already set to "sna"...).

Trivial recent bug in sna (introduced by new features in kernel 4.0 + 2.99.917)

commit de61dae3bb64137db311cc75f3b084f991da2179
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Apr 3 11:11:09 2015 +0100

    sna: Implement missing 9^10^11 swizzle mode
    
    As found on my gm45...
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Comment 6 Felipe Braga 2015-08-11 18:44:51 UTC
This very annoying bug still happening
Comment 7 Felipe Braga 2015-08-11 18:51:44 UTC
See: http://www.forums.fedoraforum.org/showthread.php?p=1740113
Comment 8 Chris Wilson 2015-08-11 18:52:26 UTC
(In reply to Felipe Braga from comment #6)
> This very annoying bug still happening

Which one? There is no information here to suggest that you have the fix.
Comment 9 Felipe Braga 2015-08-11 18:56:48 UTC
This one (described here): with some updates of Fedora 22 distro, the bug seems to become less likely to happening, but some other do the opposite :P

here:
$ uname -a
Linux escritorio 4.1.3-201.fc22.x86_64 #1 SMP Wed Jul 29 19:50:22 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Comment 10 Chris Wilson 2015-08-11 19:02:38 UTC
Just start with Xorg.0.log.
Comment 11 Felipe Braga 2015-08-11 19:07:45 UTC
Created attachment 117631 [details]
Xorg.0.log in Ter Ago 11 16:07:15 BRT 2015

Sorry: I'm not a video driver developer
Comment 12 Chris Wilson 2015-08-11 19:15:57 UTC
There are a few bugs described here. So what symptoms do you still see?
Comment 13 Felipe Braga 2015-08-11 19:20:13 UTC
the one described in the "description" of this bug...
Comment 14 Felipe Braga 2015-08-12 13:44:34 UTC
I've been able to record it today: https://youtu.be/-qFSjPD6D4g

* trying to record, I've noted something: opening gnome-terminal (it's window seems transparent...) stops the recording
Comment 15 Felipe Braga 2015-08-12 14:01:54 UTC
Whit SNA (or no setup at all): http://youtu.be/Mv_Z3UW7El0

* it occurs not only on Firefox (I've only used it to show the bug)
Comment 16 Felipe Braga 2015-08-12 14:05:49 UTC
Created attachment 117646 [details]
Xorg.0.log from Qua Ago 12 11:05:13 BRT 2015 ("SNA")
Comment 17 Felipe Braga 2015-08-12 14:08:05 UTC
Created attachment 117647 [details]
Xorg.0.log from Qua Ago 12 11:07:26 BRT 2015 ("UXA")
Comment 18 Felipe Braga 2015-09-23 15:06:05 UTC
it's very annoying (and it's happen on a DELL Optiplex 755 machine [https://duckduckgo.com/?q=dell+usff+755&t=ffab&iax=1&ia=images], with a tiny form-factor ["USFF = Ultra Small Form Factor"]]: it has no space for an extra video card to avoid the problem...)


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct.