← Back to team overview

desktop-packages team mailing list archive

[Bug 1393205] Re: Intel q35 bug on Ubuntu 14.04 (Screen Artifacts)

 

Launchpad has imported 31 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=45092.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2012-01-22T08:43:53+00:00 Freedesktop-jay wrote:

Created attachment 55974
Typical appearance of garbage

After running memory intensive programs I often have garbled UIs, most
often in GTK+ programs. I started to suspect memory read back from disk
for this problem and run a little test driving out a lot of memory to
disk and artifacts showed. Someone else on gentoo.org said he had
exactly the same sort of artifacts after hibernating to disk.

System environment: 
-- chipset: "Intel 965GM"
-- system architecture: i686 32-bit
-- xf86-video-intel: "2.17.0"
-- xserver: "X.Org X Server 1.11.2"
-- mesa: 7.11.2
-- libdrm: 2.4.27
-- kernel: "Linux beluga 3.1.6-gentoo #1 SMP PREEMPT Sun Jan 22 00:29:26 CET 2012 i686 Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz GenuineIntel GNU/Linux"
-- Linux distribution: gentoo
-- Machine or mobo model: i686 Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz GenuineIntel
-- Display connector: LVDS1

Unable to build intel-gpu-tools due to xorg version mismatch.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/1393205/comments/0

------------------------------------------------------------------------
On 2012-01-22T08:45:23+00:00 Freedesktop-jay wrote:

Created attachment 55975
X log

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/1393205/comments/1

------------------------------------------------------------------------
On 2012-01-22T08:47:51+00:00 Freedesktop-jay wrote:

Created attachment 55976
dmesg

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/1393205/comments/2

------------------------------------------------------------------------
On 2012-01-22T08:48:54+00:00 Freedesktop-jay wrote:

Created attachment 55977
Output of xrandr --verbose

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/1393205/comments/3

------------------------------------------------------------------------
On 2012-01-22T08:55:14+00:00 Chris Wilson wrote:

Possibly related bug 28813. Or we may just have never got the swizzling
correct for crestline?

Johnny, can you please download intel-gpu_tools from
http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/ and run through a
make test. However we may need to throw in a memory hog in order to
exercise the swap paths.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/1393205/comments/4

------------------------------------------------------------------------
On 2012-01-22T12:16:01+00:00 Daniel-ffwll wrote:

Ok, a few things:
- Can you try to grab another screenshot, preferrably where the background image (or any other large image) shows some corruptions? Because gui elements are usually pretty small and have mostly uniform&flat coloring it's much harder to see the pattern.

- Please attach the output of intel_reg_dumper from the intel-gpu-tools
(at last v1.1, prefarrably git). You need to install a bunch of
dependencies for that to compile.

- As Chris mentioned, please run the i-g-t testsuite. If that one blows
up, the relevant tests are tests/gem_tiled_*, you can run these
manually.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/1393205/comments/5

------------------------------------------------------------------------
On 2012-01-22T15:50:46+00:00 Freedesktop-jay wrote:

Created attachment 56003
Damaged desktop

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/1393205/comments/6

------------------------------------------------------------------------
On 2012-01-22T16:30:53+00:00 Freedesktop-jay wrote:

I have uploaded a shot of the desktop with damages.

As I already wrote, I can't build intel-gpu-tools because of an error.
Here's the output of autogen.sh:

autoreconf-2.68: Entering directory `.'
autoreconf-2.68: configure.ac: not using Gettext
autoreconf-2.68: running: aclocal 
configure.ac:52: error: xorg-macros version 1.16 or higher is required but 1.15.0 found                                                                      
/usr/share/aclocal/xorg-macros.m4:39: XORG_MACROS_VERSION is expanded from...                                                                                
configure.ac:52: the top level                                                                                                                               
autom4te-2.68: /usr/bin/m4 failed with exit status: 1                                                                                                        
aclocal-1.11: /usr/bin/autom4te-2.68 failed with exit status: 1                                                                                              
autoreconf-2.68: aclocal failed with exit status: 1

I guess to succeed, I have to have a newer util-macros package for which
I have to have a newer X server. I don't know whether I want to do that.
Can't we get around without it?

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/1393205/comments/7

------------------------------------------------------------------------
On 2012-01-23T01:21:14+00:00 Daniel-ffwll wrote:

> --- Comment #7 from Johnny Wezel <freedesktop-
> I guess to succeed, I have to have a newer util-macros package for which I have
> to have a newer X server. I don't know whether I want to do that. Can't we get
> around without it?

Nope, newer X server not required at all. Either you upgarde the dev
package (xutils-dev on debian) or you grab the single missing file
from source:

http://cgit.freedesktop.org/xorg/util/macros/

Run ./autogen.sh and copy xorg-macros.m4 into /usr/share/aclocal

That should make this work. Btw for quick questions like this it's
usually faster to ask for help on irc, #intel-gfx on the freenode
network.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/1393205/comments/8

------------------------------------------------------------------------
On 2012-01-23T09:13:27+00:00 Freedesktop-jay wrote:

Created attachment 56044
Output of intel_reg_dumper

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/1393205/comments/9

------------------------------------------------------------------------
On 2012-01-23T09:14:45+00:00 Freedesktop-jay wrote:

OK, got it with intel_reg_dumper (had to update libdrm and check whether
the bug is still there because of that [yes, it is])

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/1393205/comments/10

------------------------------------------------------------------------
On 2012-01-23T09:46:52+00:00 Daniel-ffwll wrote:

Thanks a lot for the reg dump and the screenshot, perfect match with
what Chris suspected. Can you please also grab the same registers as in
https://bugs.freedesktop.org/show_bug.cgi?id=28813#c21

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/1393205/comments/11

------------------------------------------------------------------------
On 2012-01-23T14:44:28+00:00 Freedesktop-jay wrote:

Sure:

0x10200 : 0xF0002
0x10204 : 0x0
0x100E0 : 0x0
0x11234 : 0x910C1800
0x11334 : 0x910C1800

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/1393205/comments/12

------------------------------------------------------------------------
On 2012-01-25T06:37:28+00:00 Daniel-ffwll wrote:

Can you try to set bit20 in register 0x10204 like this?

intel_reg_write 0x10204 0x100000

Note though that it's unclear from the documentation what this bit
exactly does, and it has the potential to corrupt system memory (and not
just graphics stuff). So I highly advise you to try this on a throw-away
disk/installation.

But it's the only thing I could find, so please try it if you can.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/1393205/comments/13

------------------------------------------------------------------------
On 2012-01-25T10:10:38+00:00 Freedesktop-jay wrote:

This is the output of the command:

Value before: 0x0
Value after: 0x0

There is no effect from the command. Problems persist.

I'm not sure whether this helps but another effect of swapped back
memory is that in GTK+ programs, icons lose their images, like shown in
the last screenshot.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/1393205/comments/14

------------------------------------------------------------------------
On 2012-01-25T10:11:56+00:00 Freedesktop-jay wrote:

Created attachment 56154
Damaged GTK+ icons

There is no way to make the icon's images to reappear.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/1393205/comments/15

------------------------------------------------------------------------
On 2012-01-26T03:12:27+00:00 Daniel-ffwll wrote:

Ok, so the hw doesn't allow this bit to be flipped after initialization.
Which makes sense. I need to do more documentation reading and also some
patch writing before I'll have something new for you to test.

For the damaged icons: Does this not happen when swap is disabled?

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/1393205/comments/16

------------------------------------------------------------------------
On 2012-01-26T03:30:26+00:00 Chris Wilson wrote:

The icons look more like the ddx bug:

commit 2174f840158aa9cfa370ade38be28f8dc8e4b526
Author: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
Date:   Thu Nov 3 20:41:31 2011 +0000

    uxa: Remove caching of surface binding location
    
    If the pixmap were to be used multiple times within a batch with
    mulitple formats, the cache would only return the initial location with
    the incorrect format and so cause rendering glitches. For instance, GTK+
    uses the same pixmap as an xrgb source and as an argb mask in order to
    premultiply and composite in a single pass. Rather than introduce an
    overly complication caching (handle, format) mechanism, kiss and remove
    the invalid implementation.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=40926
    Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>

release in 2.16.902

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/1393205/comments/17

------------------------------------------------------------------------
On 2012-01-26T10:40:30+00:00 Freedesktop-jay wrote:

The icons blacken only after swapping. IMHO this is not a GTK+ bug.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/1393205/comments/18

------------------------------------------------------------------------
On 2012-02-20T03:58:09+00:00 Daniel-ffwll wrote:

*** Bug 46178 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/1393205/comments/19

------------------------------------------------------------------------
On 2012-04-11T07:33:19+00:00 Marius Gedminas wrote:

Got this again, under GNOME Shell, after using suspend to disk.  (I've a
screenshot if you need more of them.)  Restarting GNOME Shell with
Alt-F2 r fixed the corruption.

Is there anything I can to do help debug this?

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/1393205/comments/20

------------------------------------------------------------------------
On 2012-04-11T07:35:41+00:00 Daniel-ffwll wrote:

(In reply to comment #20)
> Got this again, under GNOME Shell, after using suspend to disk.  (I've a
> screenshot if you need more of them.)  Restarting GNOME Shell with Alt-F2 r
> fixed the corruption.
> 
> Is there anything I can to do help debug this?

Unfortunately not. I have a machine which has this issue, too. And we
have tests in i-g-t that can easily reproduce it. The problem is simply
that I have no idea how to fix it (without rewriting the entire driver,
that is).

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/1393205/comments/21

------------------------------------------------------------------------
On 2012-04-11T07:39:45+00:00 Chris Wilson wrote:

What's the grand plan? Everyone needs to be aware of physical page
locations and swizzling again?

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/1393205/comments/22

------------------------------------------------------------------------
On 2012-04-11T07:58:29+00:00 Daniel-ffwll wrote:

One thing you could try is to grab the latest verion of intel-gpu-tools
from git and run the testsuite with make test. That should give you a
nice set of failing tests with "tiled" in their names.

Then try to decrease the amount of memory linux uses with the mem=xxxm
boot parameter, until all these tests with 'tiled' work reliably. The
best result would be to figure out that things work for mem=xxxm, but
not for mem=xxx+1m.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/1393205/comments/23

------------------------------------------------------------------------
On 2013-07-03T17:54:27+00:00 Chris Wilson wrote:

Created attachment 81971
Hack to prevent movement of swizzled pages

A hack for you to please test.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/1393205/comments/24

------------------------------------------------------------------------
On 2013-12-17T11:39:43+00:00 Jani-nikula wrote:

Timeout. What is the status of the bug?

Johnny, still an issue? Did you try the proposed hack patch?

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/1393205/comments/25

------------------------------------------------------------------------
On 2014-02-28T20:56:07+00:00 abdelfetah hadij wrote:

Hi i had the same problem in debian Wheezy and i managed to solve
changing my hibernation method to TuxOnIce.

I hope this extra info could help solve the problem.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/1393205/comments/26

------------------------------------------------------------------------
On 2014-03-19T11:43:03+00:00 Ildar wrote:

Excuse me, what are the workarounds for the problem besides patching the
drm kernel module? is it possible to invalidate pixmap cache that GTK
uses?

2nd: the bug is in "NEEDINFO" state. What kind of info is needed?

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/1393205/comments/27

------------------------------------------------------------------------
On 2014-03-26T22:21:42+00:00 Daniel-ffwll wrote:

Disabling swap, replace with more ram.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/1393205/comments/28

------------------------------------------------------------------------
On 2014-10-08T22:29:47+00:00 Rodrigo-vivi wrote:

And by the time, please retest with latest drm-intel-nightly

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/1393205/comments/29

------------------------------------------------------------------------
On 2014-10-09T06:17:40+00:00 Chris Wilson wrote:

(In reply to Rodrigo Vivi from comment #29)
> And by the time, please retest with latest drm-intel-nightly

Known hardware issue that remains unresolved. The patch we want tested
is attached to this bug.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
intel/+bug/1393205/comments/30


** Changed in: xserver-xorg-video-intel
       Status: Unknown => Incomplete

** Changed in: xserver-xorg-video-intel
   Importance: Unknown => Medium

** Bug watch added: freedesktop.org Bugzilla #28813
   https://bugs.freedesktop.org/show_bug.cgi?id=28813

** Bug watch added: freedesktop.org Bugzilla #40926
   https://bugs.freedesktop.org/show_bug.cgi?id=40926

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xserver-xorg-video-intel in Ubuntu.
https://bugs.launchpad.net/bugs/1393205

Title:
  Intel q35 bug on Ubuntu 14.04 (Screen Artifacts)

Status in X.org xf86-video-intel:
  Incomplete
Status in “xserver-xorg-video-intel” package in Ubuntu:
  New

Bug description:
  Picture simliar of my problem: http://i.stack.imgur.com/0ARuB.jpg

  I went on a Ubuntu support chat website and was told that either this
  problem is a "glitch"  or intel q35 doesn't support Ubuntu 14.04. From
  the chat they told me i should downgrade to Ubuntu 12 which i did but
  i really want to use Ubuntu 14. They also told me to make a bug report
  of this.

  Is this a glitch or is my graphics card unsupportive.

To manage notifications about this bug go to:
https://bugs.launchpad.net/xserver-xorg-video-intel/+bug/1393205/+subscriptions