[Bug 1098334] Re: [gen4 sna] Font corruption

2015-10-04 Thread David Pérez
After reading this page https://downloadcenter.intel.com/product/81523
/Graphics-Drivers-for-Intel-82Q963-Graphics-and-Memory-Controller-Hub-
GMCH-, I see that latest official drivers from Intel date from august
2013.

Possible workarounds:

- Keep on using Linux and have to reboot every few hours to see text ok
- Install Windows, even though I prefer Linux.
- Buy another computer. (I don't like to do so, in an otherwise good working 
computer).
- Try to use another driver.  Which one?

$ lsmod
Module  Size  Used by
i915  783805  2 
video  19476  1 i915


I think the used driver is i915.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334] Re: [gen4 sna] Font corruption

2015-10-04 Thread Christopher M. Penalver
David Pérez, as this report is closed, if you have a bug please file a new 
report via a terminal:
ubuntu-bug xorg

Please ensure you have the package xdiagnose installed, and that you
click the Yes button for attaching additional debugging information.

Also, please feel free to subscribe me to it.

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

** Changed in: xserver-xorg-video-intel
   Status: In Progress => New

** Changed in: xserver-xorg-video-intel
 Remote watch: freedesktop.org Bugzilla #55500 => None

** Changed in: xserver-xorg-video-intel
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1098334] Re: [gen4 sna] Font corruption

2015-10-04 Thread David Pérez
I've found a relevant document about our bug:

There are a couple of backends available for accelerating the DDX. "UXA"
(Unified Acceleration Architecture) is the mature backend that was
introduced to support the GEM driver model. It is in the process of
being superseded by "SNA" (Sandybridge's New Acceleration). Until that
process is complete, the ability to choose which backend to use remains
for backwards compatibility.

SNA is the default acceleration method in xf86-video-intel. If you are 
experience issues with SNA (e.g. pixelated graphics, corrupt text, etc.), try 
using UXA instead, which can be done by creating an X configuration file 
containing the following:
/etc/X11/xorg.conf.d/20-intel.conf
Section "Device"
   Identifier  "Intel Graphics"
   Driver  "intel"
   Option  "AccelMethod"  "uxa"
EndSection

Source: https://wiki.archlinux.org/index.php/Intel_graphics#SNA_issues

So, I've created a file called 60-patch-graphis.conf in the
/usr/share/X11/xorg.conf.d folder, and reboot my system.  I let you know
about the results

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334] Re: [gen4 sna] Font corruption

2014-07-05 Thread David Pérez
I'm experiencing also this nasty bug:

$ lspci|grep -i graphic
00:02.0 VGA compatible controller: Intel Corporation 82Q963/Q965 Integrated 
Graphics Controller (rev 02)
00:02.1 Display controller: Intel Corporation 82Q963/Q965 Integrated Graphics 
Controller (rev 02)

After reading your technical comments, I don't know what to do in order to 
solve it.
I'm using KUbuntu 14.04.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334] Re: [gen4 sna] Font corruption

2014-04-30 Thread Florian Hars
I opened Bug #1314551 for the current AMD version of this behaviour and
subscribed Christopher to it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-03-30 Thread Chris Wilson
*** Bug 76804 has been marked as a duplicate of this bug. ***

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-03-19 Thread Ildar
(In reply to comment #187)
 Ah, would you happen to have an uneven amount of memory installed?

Probably. Is this and unsupported configuration?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-03-19 Thread Chris Wilson
(In reply to comment #188)
 (In reply to comment #187)
  Ah, would you happen to have an uneven amount of memory installed?
 
 Probably. Is this and unsupported configuration?

We have a known issue in that we don't detect the swizzling correctly
and so we may end up with corruption if objects are paged out from
memory. Typically you see the affects after running for some time (so
that memory pressure takes effect) or after resume. See bug 28813 bug
45092

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-03-19 Thread Harald Judt
(In reply to comment #187)
 Ah, would you happen to have an uneven amount of memory installed?

I too have an uneven amount of memory installed (7 GiB). It's an old
workhorse for office usage only, so dual-channel doesn't matter.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-03-19 Thread Ildar
true. Thanks a lot, Chris!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-03-19 Thread Chris Wilson
(In reply to comment #184)
 Created attachment 96026 [details]
 GTK+2 fonts corruption
 
 as per git, the commit is applied for the version 2.99.910. I have this
 version installed.
 But the problem is still there, see the screenshot. Interestingly, the fonts
 are heavily corrupted in GTK+2 apps. QT/efl apps are fine. GTK+3 apps mainly
 ok, but gedit have icons corrupted a bit, but not fonts.

Please provide your Xorg.0.log to confirm this is the same bug.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-03-19 Thread Ildar
Created attachment 96026
GTK+2 fonts corruption

as per git, the commit is applied for the version 2.99.910. I have this version 
installed.
But the problem is still there, see the screenshot. Interestingly, the fonts 
are heavily corrupted in GTK+2 apps. QT/efl apps are fine. GTK+3 apps mainly 
ok, but gedit have icons corrupted a bit, but not fonts.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-03-19 Thread Ildar
Created attachment 96027
Xorg.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-03-19 Thread Chris Wilson
Ah, would you happen to have an uneven amount of memory installed?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334] Re: [gen4 sna] Font corruption

2014-03-15 Thread Christopher M. Penalver
Jmadero, thank you for your comment. So your hardware and problem may be 
tracked, could you please file a new report by executing the following in a 
terminal:
ubuntu-bug xorg

Please ensure you have xdiagnose installed, and that you click the Yes
button for attaching additional debugging information.

For more on this, please see the official Ubuntu documentation:
Ubuntu X.Org Team, Ubuntu Bug Control, and Ubuntu Bug Squad: 
https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue
Ubuntu Community: 
https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Please note, not filing a new report will delay your problem being
addressed as quickly as possible.

Thank you for your understanding.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334] Re: [gen4 sna] Font corruption

2014-03-11 Thread Jmadero
I still have the same issue - not sure if it's made it into 13.10
repositories

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-02-07 Thread Edward Sheldrake
Running with all workarounds disabled, this change doesn't fix anything nor 
seem to make any difference, but anyway:
Shouldn't the cache flush bits be in dword 0 for gen4 GEN4_PIPE_CONTROL? Maybe 
gen5 also?

diff --git a/src/sna/gen4_render.c b/src/sna/gen4_render.c
index 1d164b6..894418b 100644
--- a/src/sna/gen4_render.c
+++ b/src/sna/gen4_render.c
@@ -575,8 +575,10 @@ inline static void
 gen4_emit_pipe_flush(struct sna *sna)
 {
 #if 1
-   OUT_BATCH(GEN4_PIPE_CONTROL | (4 - 2));
-   OUT_BATCH(GEN4_PIPE_CONTROL_WC_FLUSH);
+   OUT_BATCH(GEN4_PIPE_CONTROL |
+ GEN4_PIPE_CONTROL_WC_FLUSH |
+ (4 - 2));
+   OUT_BATCH(0);
OUT_BATCH(0);
OUT_BATCH(0);
 #else
@@ -601,8 +603,10 @@ inline static void
 gen4_emit_pipe_invalidate(struct sna *sna)
 {
 #if 0
-   OUT_BATCH(GEN4_PIPE_CONTROL | (4 - 2));
-   OUT_BATCH(GEN4_PIPE_CONTROL_WC_FLUSH | GEN4_PIPE_CONTROL_TC_FLUSH);
+   OUT_BATCH(GEN4_PIPE_CONTROL |
+ GEN4_PIPE_CONTROL_WC_FLUSH | GEN4_PIPE_CONTROL_TC_FLUSH |
+ (4 - 2));
+   OUT_BATCH(0);
OUT_BATCH(0);
OUT_BATCH(0);
 #else

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-02-07 Thread Arkadiusz Miśkiewicz
(In reply to comment #181)


Without #181 patch I had flickering like:
http://ixion.pld-linux.org/~arekm/intel-flicker.mov
(best viewed from local fs)

With the patch flickering is gone.

GM45 - synonym for all bad words :/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-02-07 Thread Edward Sheldrake
Created attachment 93326
icon corruption

Latest git (2.99.909-7-g1cbc59a) has icon corruption, but all text is
fine.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-02-07 Thread Chris Wilson
Nevertheless it was a good catch.

commit 1cbc59a917e7352fc68aa0e26b1575cbd0ceab0d
Author: Edward Sheldrake ejsheldr...@gmail.com
Date:   Mon Feb 3 09:34:33 2014 +

sna/gen4,5: Fix setting pipe control cache flush bits

Cache flush bits are on dword 0, not 1, on gen4 and gen5. Also texture
cache invalidate is only available from Cantiga onwards.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334] Re: [gen4 sna] Font corruption

2014-02-07 Thread Anirban Ghosh
I am having ATI video card. The problem still persists. Any idea on
this?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-02-07 Thread Chris Wilson
Sigh.

Probably,


diff --git a/src/sna/gen4_render.c b/src/sna/gen4_render.c
index 1580707..ba9c9bc 100644
--- a/src/sna/gen4_render.c
+++ b/src/sna/gen4_render.c
@@ -602,6 +602,7 @@ gen4_emit_pipe_break(struct sna *sna)
 inline static void
 gen4_emit_pipe_invalidate(struct sna *sna)
 {
+#if 0
OUT_BATCH(GEN4_PIPE_CONTROL |
  GEN4_PIPE_CONTROL_WC_FLUSH |
  (sna-kgem.gen = 045 ? GEN4_PIPE_CONTROL_TC_FLUSH : 0) |
@@ -609,6 +610,9 @@ gen4_emit_pipe_invalidate(struct sna *sna)
OUT_BATCH(0);
OUT_BATCH(0);
OUT_BATCH(0);
+#else
+   OUT_BATCH(MI_FLUSH);
+#endif
 }

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-02-07 Thread Edward Sheldrake
Created attachment 93235
sna/gen4,5: Fix setting pipe control cache flush bits

Only the one in gen4_emit_pipe_flush is in an enabled part of the code
anyway.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-02-07 Thread Chris Wilson
Pushed the flushes once again. Hopefully we are corruption free once
more.

commit fc001615ff78df4dab6ee0d5dd966b723326c358
Author: Chris Wilson ch...@chris-wilson.co.uk
Date:   Tue Feb 4 10:36:21 2014 +

sna/gen4: Disable use of pipecontrol invalidates again

One day, just not today, we may make gen4 work correctly, efficiently and
fast. Today, we can barely pick one.

References: https://bugs.freedesktop.org/show_bug.cgi?id=55500
Signed-off-by: Chris Wilson ch...@chris-wilson.co.u

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334] Re: [gen4 sna] Font corruption

2014-02-06 Thread Chris Wilson
I'm keeping the upstream bug open to see if we can fix the performance
implications of the workaround. But as far as the corruption is
concerned, the fix has been release (and packaged by Ubuntu).

** Changed in: xserver-xorg-video-intel (Ubuntu)
   Status: Incomplete = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334] Re: [gen4 sna] Font corruption

2014-02-02 Thread Lonnie Lee Best
I was expirening this bug in Ubuntu 13.10, but I've been running the
14.04 alpha for a few weeks now and haven't noticed it recently at all.

uname -a
Linux sidekick 3.13.0-6-generic #23-Ubuntu SMP Thu Jan 30 09:48:03 UTC 2014 
x86_64 x86_64 x86_64 GNU/Linux

I'll report back here if it comes back.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-01-31 Thread Chris Wilson
(In reply to comment #175)
 Created attachment 92770 [details]
 not quite random corruption example
 
 With the workarounds disabled, can anything be deduced from the text or
 pixmap corruption not seeming to be completely random?

It's not entirely random. What I have noticed is that one or more
vertices are corrupt. Sometimes you see the correct content but skewed,
which is what happens if you just move one of the vertices (its texture
coordinates). With two or more distorted coordinates, we can be sampling
from anywhere within the texture - which can mean that we see the wrong
glyph or a highly distorted composite of several glyphs (since all the
active glyphs are stored in a single texture).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-01-31 Thread Edward Sheldrake
Created attachment 92770
not quite random corruption example

With the workarounds disabled, can anything be deduced from the text or
pixmap corruption not seeming to be completely random?

Italic text seems to be particularly badly hit, and it seems to vary
with the font and size. But in the attached screenshot, some of the
lines of text never showed any corruption, while others usually showed
some corruption, the corruption changing on switching focus to another
window and back. Size 10 italic Cantarell seemed particularly badly hit,
with even lines of just repeated c or d characters showing corruption
(if longer than 18 letters), but other fonts don't usually show any
corruption on a line of text filled with a single repeating character.

For pixmap corruption, the printer icon in the gedit toolbar seems to
get turned into grey vertical bars more often than any other icons get
corrupted.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-01-24 Thread Zdenek Kabelac
Created attachment 92240
Text with errors

Recently I'm noticing somewhat more 'weird' behavior - it might be
related to my temporal usage of night releases of Mozilla (since rawhide
version got somewhat broken)

What is weird in this image is - the text was badly rendered AND it
remained visible even when refreshed, even small scroll up/down left the
text as is - it helped only to scroll text out of window and back.

So I assume now the rendering happens to some off-screen memory - which is then 
transfered back to screen with errors - and refresh doesn't help with this case.
(and it's a bit different then during typing text into input box).

Another probably unrelated comment could be - even when  'glxgears' is
running in parallel - the visual errors still happens during typing of
this text. I'd have expect the glxgears manages to 'overfill' GPU queue
(since it's rendering ~1300FPS with default window) also the flushes are
probably completely different. And - there is no observable rendering
error in gears window - only Firefox seems to be exposing them.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-01-24 Thread Edward Sheldrake
I am wondering if some extra flushes are needed in regard to what the
G45 PRM PDFs say about the BLT (section 8.6, vol 1b p. 170)

git + this gives only a moderate amount of corrupt rendering:
diff --git a/src/sna/gen4_render.c b/src/sna/gen4_render.c
index e239c21..f150e5b 100644
--- a/src/sna/gen4_render.c
+++ b/src/sna/gen4_render.c
@@ -63,7 +63,7 @@
 #define NO_FILL_BOXES 0
 #define NO_VIDEO 0
 
-#define MAX_FLUSH_VERTICES 1 /* was 6, 
https://bugs.freedesktop.org/show_bug.cgi?id=55500 */
+#define MAX_FLUSH_VERTICES 12 /* was 6, 
https://bugs.freedesktop.org/show_bug.cgi?id=55500 */
 
 #define GEN4_GRF_BLOCKS(nreg)((nreg + 15) / 16 - 1)
 
@@ -571,26 +571,28 @@ static void gen4_emit_vertex_buffer(struct sna *sna,
 inline static void
 gen4_emit_pipe_flush(struct sna *sna)
 {
-#if 1
+#if 0
OUT_BATCH(GEN4_PIPE_CONTROL | (4 - 2));
-   OUT_BATCH(GEN4_PIPE_CONTROL_WC_FLUSH);
+   OUT_BATCH(GEN4_PIPE_CONTROL_WC_FLUSH | GEN4_PIPE_CONTROL_TC_FLUSH);
OUT_BATCH(0);
OUT_BATCH(0);
 #else
OUT_BATCH(MI_FLUSH | MI_INHIBIT_RENDER_CACHE_FLUSH);
+   /* OUT_BATCH(MI_NOOP); */
 #endif
 }
 
 inline static void
 gen4_emit_pipe_break(struct sna *sna)
 {
-#if 1
+#if 0
OUT_BATCH(GEN4_PIPE_CONTROL | (4 - 2));
-   OUT_BATCH(0);
+   OUT_BATCH(GEN4_PIPE_CONTROL_TC_FLUSH);
OUT_BATCH(0);
OUT_BATCH(0);
 #else
OUT_BATCH(MI_FLUSH | MI_INHIBIT_RENDER_CACHE_FLUSH);
+   /* OUT_BATCH(MI_NOOP); */
 #endif
 }
 
@@ -599,11 +601,12 @@ gen4_emit_pipe_invalidate(struct sna *sna)
 {
 #if 0
OUT_BATCH(GEN4_PIPE_CONTROL | (4 - 2));
-   OUT_BATCH(GEN4_PIPE_CONTROL_WC_FLUSH | GEN4_PIPE_CONTROL_TC_FLUSH);
+   OUT_BATCH(GEN4_PIPE_CONTROL_WC_FLUSH | GEN4_PIPE_CONTROL_TC_FLUSH | 
GEN4_PIPE_CONTROL_IS_FLUSH);
OUT_BATCH(0);
OUT_BATCH(0);
 #else
-   OUT_BATCH(MI_FLUSH);
+   OUT_BATCH(MI_FLUSH); /* | MI_STATE_INSTRUCTION_CACHE_FLUSH */
+   /* OUT_BATCH(MI_NOOP); */
 #endif
 }
 
@@ -781,7 +784,10 @@ gen4_emit_urb(struct sna *sna)
urb_cl_end = urb_gs_end + URB_CL_ENTRIES * URB_CL_ENTRY_SIZE;
urb_sf_end = urb_cl_end + URB_SF_ENTRIES * URB_SF_ENTRY_SIZE;
urb_cs_end = urb_sf_end + URB_CS_ENTRIES * URB_CS_ENTRY_SIZE;
-   assert(urb_cs_end = 256);
+   if (sna-kgem.gen = 045)
+   assert(urb_cs_end = 384);
+   else
+   assert(urb_cs_end = 256);
 
while ((sna-kgem.nbatch  15)  12)
OUT_BATCH(MI_NOOP);
@@ -1623,6 +1629,7 @@ gen4_render_composite_done(struct sna *sna,
kgem_bo_destroy(sna-kgem, op-src.bo);
 
sna_render_composite_redirect_done(sna, op);
+   gen4_emit_pipe_invalidate(sna);
 }
 
 static bool
@@ -2154,6 +2161,7 @@ gen4_render_composite_spans_done(struct sna *sna,
 
kgem_bo_destroy(sna-kgem, op-base.src.bo);
sna_render_composite_redirect_done(sna, op-base);
+   gen4_emit_pipe_invalidate(sna);
 }
 
 static bool
@@ -2500,6 +2508,7 @@ fallback_blt:
gen4_vertex_flush(sna);
sna_render_composite_redirect_done(sna, tmp);
kgem_bo_destroy(sna-kgem, tmp.src.bo);
+   gen4_emit_pipe_invalidate(sna);
return true;
 
 fallback_tiled_dst:
@@ -2535,6 +2544,7 @@ gen4_render_copy_done(struct sna *sna, const struct 
sna_copy_op *op)
 {
if (sna-render.vertex_offset)
gen4_vertex_flush(sna);
+   gen4_emit_pipe_invalidate(sna);
 }
 
 static bool
@@ -2736,6 +2746,7 @@ gen4_render_fill_boxes(struct sna *sna,
 
gen4_vertex_flush(sna);
kgem_bo_destroy(sna-kgem, tmp.src.bo);
+   gen4_emit_pipe_invalidate(sna);
return true;
 }
 
@@ -2776,6 +2787,7 @@ gen4_render_fill_op_done(struct sna *sna, const struct 
sna_fill_op *op)
if (sna-render.vertex_offset)
gen4_vertex_flush(sna);
kgem_bo_destroy(sna-kgem, op-base.src.bo);
+   gen4_emit_pipe_invalidate(sna);
 }
 
 static bool

I've also tried setting Render Cache Operational Flush Enable of the
Cache_Mode_0 register with intel_reg_write, this made no difference.

I was also wondering if firefox is particularly bad because it uses it's
own old version of cairo which seems to be version 1.9.8 plus lots of
patches.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-01-24 Thread Zdenek Kabelac
Ok - seem(In reply to comment #170)
 Created attachment 92288 [details]
 bug
 
 f23ab963c4f4ada2051588dfc85264aa2798dbf7 + that patch and I'm seeing
 corruption. Using google-chrome and letters in url bar or window title bar
 sometimes get corrupted and then get fixed.
 
 Also seeing the problem in gimp menus. Some letters get corrupted and fixed.

This could be related to my hw:

[219745.896] (II) intel(0): SNA compiled with assertions enabled
[219745.898] (--) intel(0): Integrated Graphics Chipset: Intel(R) 965GM
[219745.898] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3
[219745.898] (**) intel(0): Depth 24, (--) framebuffer bpp 32


And Arkadiusz hw:

[236338.852] (II) intel(0): SNA compiled with assertions enabled
[236338.853] (--) intel(0): Integrated Graphics Chipset: Intel(R) GM45
[236338.853] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1
[236338.853] (==) intel(0): Depth 24, (--) framebuffer bpp 32


On my 965GM I've not yet seen any error

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-01-24 Thread Zdenek Kabelac
Update after some new commits:

4c7b183fd21b461f9f18662c3b9d9732b6bef13d +  Always patch - now gives me
broken text lines in Thunderbird window.

And it's now enough just to move the mouse over text and the text is
changing and actually never renders correctly some letters.

Checking back f23ab963c4f4ada2051588dfc85264aa2798dbf7 + Always patch -
again correct rendering.

This relates to GMA965.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-01-24 Thread Edward Sheldrake
(In reply to comment #168)
 Created attachment 92287 [details] [review]
 Always force a GPU flush between operations
 
 Can you please try this patch against git and see if that improves things -
 except for performance?

Current git (2.99.907-23-gf23ab96) without any other changes: still a
few corrupt characters in gedit with italic font

Current git + patch in attachment 92287: still the same - has a few
corrupt characters in gedit with italic font, displaying files full of
text

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-01-24 Thread Harald Judt
The image corruptions are also visible on the file/folder icons in
thunar. I still have no glyph corruptions any more.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-01-24 Thread Chris Wilson
Created attachment 92287
Always force a GPU flush between operations

Can you please try this patch against git and see if that improves
things - except for performance?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-01-24 Thread Zdenek Kabelac
)
libxcb-xfixes.so.0 = /lib64/libxcb-xfixes.so.0 (0x7f6f0bb82000)
libxcb-shape.so.0 = /lib64/libxcb-shape.so.0 (0x7f6f0b97d000)
libgbm.so.1 = /lib64/libgbm.so.1 (0x7f6f0b775000)
libwayland-client.so.0 = /lib64/libwayland-client.so.0 
(0x7f6f0b567000)
libwayland-server.so.0 = /lib64/libwayland-server.so.0 
(0x7f6f0b355000)
libglapi.so.0 = /lib64/libglapi.so.0 (0x7f6f0b12e000)
libudev.so.1 = /lib64/libudev.so.1 (0x7f6f0af1c000)
libdrm.so.2 = /home/kabi/soft/glx-test/lib/libdrm.so.2 
(0x7f6f0ad0f000)
libxcb-glx.so.0 = /lib64/libxcb-glx.so.0 (0x7f6f0aaf5000)
libXxf86vm.so.1 = /lib64/libXxf86vm.so.1 (0x7f6f0a8ee000)
libpcre.so.1 = /lib64/libpcre.so.1 (0x7f6f0a687000)
libgcc_s.so.1 = /lib64/libgcc_s.so.1 (0x7f6f0a47)


So while the Firefox is the easiest one to see those errors (it's always enough 
to play for a while with some input box), it's probably not tied with its 
built-in version of Cairo library.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-01-24 Thread Zdenek Kabelac
ok - while doing a very quick  light check - at least on Firefox input
window I do not observe any rendering bugs (which have been pretty
simple to reach before).

(Lenovo T61 +  git + patch from comment 168)

Thought the performance decrease is noticeable and also the setting for
MAX_FLUSH... becomes irrelevant.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-01-24 Thread Arkadiusz Miśkiewicz
Created attachment 92288
bug

f23ab963c4f4ada2051588dfc85264aa2798dbf7 + that patch and I'm seeing
corruption. Using google-chrome and letters in url bar or window title
bar sometimes get corrupted and then get fixed.

Also seeing the problem in gimp menus. Some letters get corrupted and
fixed.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-01-24 Thread Chris Wilson
Created attachment 92512
Always force a GPU flush between operations

Updated always flush patch that passes Arkadiusz's stress test.

* sobs

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334] Re: [gen4 sna] Font corruption

2014-01-17 Thread Anirban Ghosh
This happens with me in Firefox in Ubuntu 13.10.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334] Re: [gen4 sna] Font corruption

2014-01-17 Thread Christopher M. Penalver
Anirban Ghosh, thank you for your comment. So your hardware and problem may be 
tracked, could you please file a new report by executing the following in a 
terminal:
ubuntu-bug xorg

For more on this, please see the official Ubuntu documentation:
Ubuntu X.Org Team, Ubuntu Bug Control, and Ubuntu Bug Squad: 
https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue
Ubuntu Community: 
https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Please note, not filing a new report will delay your problem being
addressed as quickly as possible.

Thank you for your understanding.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-01-16 Thread Edward Sheldrake
I have been experimenting with various numbers in the code in comment
#157 without really discovering anything useful. I think any change that
slows things down decreases the chances of observing any corruption, but
might not necessarily fix the problem completely.

With current git + MAX_FLUSH_VERTICES=6, gnome-terminal suffers from the
text corruption, firefox is bad, but KDE4 konqueror and MiniBrowser from
webkitgtk3 seem to display the same webpages perfectly fine. The other
thing I have noticed is that under this setup, I can make gedit suffer
from the text corruption if I set an italic (and not monospaced) font -
in that case, almost every line of the text file displayed will show
some corruption immediately after changing to the italic font.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-01-16 Thread Harald Judt
I have updated to current git and reverted commit
b7565a26401e283df94b68019e8093f8104428f4 and left the MAX_FLUSH_VERTICES
set to 1, but now instead of glyph corruption I notice some icons are
corrupted similar to the glyphs before.

Example: In thunderbird, I hover over a toolbar icon and when the mouse
pointer leaves the icon, it is corrupted. Or it gets corrupted when I
hover over the icon. In both cases, the corruptions disappear a short
time after, when something else gets updated on the screen.

Strangely, I have not seen glyph corruption yet.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-01-16 Thread Zdenek Kabelac
(In reply to comment #160)
 Typical, it appeared stable through my firefox testing, but if you try
 reverting b7565a26401e283df94b68019e8093f8104428f4, I expect the corruptions
 to disappear again.

Yep - correct revert of this commit make  MAX_VERTEX 1 again producing
correct rendering - even thought it's again noticable slower - thus now
it's clear why I've considered it usable with MAX 1 before (in my
comment 155).

So yep - revert  MAX 1 works again - but it's quite slow.

Is it now any better to deduce which operation is make such bad memory
interaction ?

It seems like the 'synchronization' is really needed only at very
certain moments - where the GPU is producing memory corruption error on
the screen - but how to catch in which moment ?

I'm still suspecting some memory layout of those memory object - since
when I see corruption - it usually it specific places (i.e. edit of this
firefox input widget and just only certain characters at certain
positions are render with errors)

How can I try to increasing memory alignment ?
(i.e. each object only at 16KB boundary?)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-01-16 Thread Chris Wilson
Typical, it appeared stable through my firefox testing, but if you try
reverting b7565a26401e283df94b68019e8093f8104428f4, I expect the
corruptions to disappear again.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-01-16 Thread Harald Judt
After updating to current git, the situation has become worse and I now
see more visible corruptions even with MAX_FLUSH_VERTICES=1. And I did
not have to wait some hours for them to appear as before, they are
visible right after starting X.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334] Re: [gen4 sna] Font corruption

2014-01-09 Thread Thaddäus Tintenfisch
** Tags added: trusty

** Changed in: xserver-xorg-video-intel (Ubuntu)
   Status: Incomplete = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334] Re: [gen4 sna] Font corruption

2014-01-09 Thread Christopher M. Penalver
Thaddäus Tintenfisch, please allow the original reporter to perform the
requested action, so his logs may be collected.

Thank you for your understanding.

** Changed in: xserver-xorg-video-intel (Ubuntu)
   Status: Confirmed = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1098334]

2014-01-08 Thread Chris Wilson
Something worth experimenting with is detuning the GPU, e.g.:


diff --git a/src/sna/gen4_render.c b/src/sna/gen4_render.c
index e239c21..bc6af68 100644
--- a/src/sna/gen4_render.c
+++ b/src/sna/gen4_render.c
@@ -52,7 +52,7 @@
  */
 #define FORCE_SPANS 0
 #define FORCE_NONRECTILINEAR_SPANS -1
-#define FORCE_FLUSH 1 /* https://bugs.freedesktop.org/show_bug.cgi?id=55500 */
+#define FORCE_FLUSH 0 /* https://bugs.freedesktop.org/show_bug.cgi?id=55500 */
 
 #define NO_COMPOSITE 0
 #define NO_COMPOSITE_SPANS 0
@@ -74,7 +74,7 @@
 #define URB_CS_ENTRIES   0
 
 #define URB_VS_ENTRY_SIZE 1
-#define URB_VS_ENTRIES   32
+#define URB_VS_ENTRIES   16
 
 #define URB_GS_ENTRY_SIZE 0
 #define URB_GS_ENTRIES   0
@@ -83,7 +83,7 @@
 #define URB_CL_ENTRIES  0
 
 #define URB_SF_ENTRY_SIZE 2
-#define URB_SF_ENTRIES   64
+#define URB_SF_ENTRIES   1
 
 /*
  * this program computes dA/dx and dA/dy for the texture coordinates along
@@ -93,9 +93,9 @@
 #define SF_KERNEL_NUM_GRF 16
 #define PS_KERNEL_NUM_GRF 32
 
-#define GEN4_MAX_SF_THREADS 24
-#define GEN4_MAX_WM_THREADS 32
-#define G4X_MAX_WM_THREADS 50
+#define GEN4_MAX_SF_THREADS 8
+#define GEN4_MAX_WM_THREADS 16
+#define G4X_MAX_WM_THREADS 16
 
 static const uint32_t ps_kernel_packed_static[][4] = {
 #include exa_wm_xy.g4b

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-01-08 Thread Zdenek Kabelac
bad news -  now I'm in fact able to spot badly rendered characters in
Firefox also with  MAX 1

So something went wrong

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-01-08 Thread Zdenek Kabelac
Created attachment 91613
Grabbed snapshot with patch from comment 157

As could be seen - yes - with little effort I'm able to capture broken
characters with given patch compiled in.

The only needed thing is to start to edit the dialog in the Firefox and
start to add/remove random characters over places.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-01-08 Thread Harald Judt
The bug occurs with MAX_FLUSH_VERTICES = 2 too, both in firefox and
xterm, so unfortunately setting it to 1 seems to be the only solution
here.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-01-08 Thread Zdenek Kabelac
I think nice illustration could be - that while before with MAX 9 it
seemed like i.e. gnome-terminal running top was not really rendering
broken characters - it now seems to show a lot of messed characters.

On the other hand -  MAX 1 seems to be now more fluent then before - so
except for some dramatic drops in performance in benchmark tools like
'x11perf -aa10text' it seems to be quite usable.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-01-08 Thread Chris Wilson
(In reply to comment #145)
 Created attachment 91383 [details]
 gedit in openbox with 2.99.907 GM45 SNA
 
 I am finding that GM45 SNA seems unusable with 2.99.907 - git bisect pointed
 to the bad commit as:
 9289e2c56b7f0cc78c5123691ad96611f0e04bed is the first bad commit
 commit 9289e2c56b7f0cc78c5123691ad96611f0e04bed
 Author: Chris Wilson ch...@chris-wilson.co.uk
 Date:   Mon Dec 16 11:39:20 2013 +
 
 sna/gen4: Sacrifice performance to workaround render corruption
 
 The problems are lines of text keep disappearing (and reappearing) in gedit,
 and the occasionally the screen becomes unresponsive for a short time and
 these messages appear in dmesg:
 
 [ 1702.349954] [drm] stuck on render ring
 [ 1702.349966] [drm] capturing error event; look for more information in
 /sys/class/drm/card0/error
 [ 1702.354334] [drm:i915_set_reset_status] *ERROR* render ring hung inside
 bo (0x32a1000 ctx 0) at 0x32a1110

Ok, I think I have this fixed:

commit 9d8473c5d9489db439aca73f470bda29a22ebab6
Author: Chris Wilson ch...@chris-wilson.co.uk
Date:   Tue Jan 7 13:43:35 2014 +

sna/gen4: Check for available batch space before restoring state after CA 
pass

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73348
References: https://bugs.freedesktop.org/show_bug.cgi?id=55500
Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-01-08 Thread Zdenek Kabelac
(In reply to comment #153)
 (In reply to comment #145)
  Created attachment 91383 [details]
  gedit in openbox with 2.99.907 GM45 SNA
  
  I am finding that GM45 SNA seems unusable with 2.99.907 - git bisect pointed
  to the bad commit as:
  9289e2c56b7f0cc78c5123691ad96611f0e04bed is the first bad commit
  commit 9289e2c56b7f0cc78c5123691ad96611f0e04bed
  Author: Chris Wilson ch...@chris-wilson.co.uk
  Date:   Mon Dec 16 11:39:20 2013 +
  
  sna/gen4: Sacrifice performance to workaround render corruption


Interestingly this commit has increased the number of buggy character 
occurrence - although I admit I'm overriding MAX_FLUSH_VERTICES to  9  (since I 
don't like the slowness with 1) so I've been rather living with faster desktop 
and occasional wrong characters on the screen - but with this commit it seems 
to appearance of visual problem increased to the level which makes noticeable 
reading difficulties that probably enforce me to switch to very slow  '1' for 
MAX :(...

(I'm not sure if it's the direct cause - since I've been using before
about 3 week old version of git tree)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334] Re: [gen4 sna] Font corruption

2014-01-08 Thread Bug Watch Updater
** Bug watch added: freedesktop.org Bugzilla #73348
   https://bugs.freedesktop.org/show_bug.cgi?id=73348

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334] Re: [gen4 sna] Font corruption

2014-01-07 Thread Christopher M. Penalver
Jonathan Thomas, this bug was reported a while ago and there hasn't been
any activity in it recently. We were wondering if this is still an
issue? If so, could you please test for this with the latest development
release of Ubuntu? ISO images are available from
http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in
the development release from a Terminal
(Applications-Accessories-Terminal), as it will automatically gather
and attach updated debug information to this report:

apport-collect -p xserver-xorg-video-intel REPLACE-WITH-BUG-NUMBER

Please note, given that the information from the prior release is
already available, doing this on a release prior to the development one
would not be helpful.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

** Changed in: xserver-xorg-video-intel (Ubuntu)
   Importance: Medium = Low

** Changed in: xserver-xorg-video-intel (Ubuntu)
   Status: Triaged = Incomplete

** Changed in: xserver-xorg-video-intel (Ubuntu)
 Assignee: Timo Aaltonen (tjaalton) = (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-01-01 Thread Edward Sheldrake
Created attachment 91388
intel_error_decode output

I saved the output from intel_error_decode but I didn't save the raw
error data.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-01-01 Thread Chris Wilson
(In reply to comment #145)
 [ 1702.349954] [drm] stuck on render ring
 [ 1702.349966] [drm] capturing error event; look for more information in
 /sys/class/drm/card0/error
 [ 1702.354334] [drm:i915_set_reset_status] *ERROR* render ring hung inside
 bo (0x32a1000 ctx 0) at 0x32a1110

Attach the error state.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-01-01 Thread Edward Sheldrake
Created attachment 91383
gedit in openbox with 2.99.907 GM45 SNA

I am finding that GM45 SNA seems unusable with 2.99.907 - git bisect pointed to 
the bad commit as:
9289e2c56b7f0cc78c5123691ad96611f0e04bed is the first bad commit
commit 9289e2c56b7f0cc78c5123691ad96611f0e04bed
Author: Chris Wilson ch...@chris-wilson.co.uk
Date:   Mon Dec 16 11:39:20 2013 +

sna/gen4: Sacrifice performance to workaround render corruption

The problems are lines of text keep disappearing (and reappearing) in
gedit, and the occasionally the screen becomes unresponsive for a short
time and these messages appear in dmesg:

[ 1702.349954] [drm] stuck on render ring
[ 1702.349966] [drm] capturing error event; look for more information in 
/sys/class/drm/card0/error
[ 1702.354334] [drm:i915_set_reset_status] *ERROR* render ring hung inside bo 
(0x32a1000 ctx 0) at 0x32a1110

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-01-01 Thread Lonnie Lee Best
Here's another bug report regarding this same issue:
https://bugs.launchpad.net/bugs/1227569

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-01-01 Thread Chris Wilson
Worth trying just:

diff --git a/src/sna/gen4_render.c b/src/sna/gen4_render.c
index 637137e..dc80de3 100644
--- a/src/sna/gen4_render.c
+++ b/src/sna/gen4_render.c
@@ -660,9 +660,11 @@ inline static int gen4_get_rectangles(struct sna *sna,
if (rem = 0) {
if (sna-render.vertex_offset) {
gen4_vertex_flush(sna);
-   if (gen4_magic_ca_pass(sna, op))
+   if (gen4_magic_ca_pass(sna, op)) {
+   OUT_BATCH(MI_FLUSH | 
MI_INHIBIT_RENDER_CACHE_FLUSH);
gen4_emit_pipelined_pointers(sna, op, 
op-op,
 
op-u.gen4.wm_kernel);
+   }
}
OUT_BATCH(MI_FLUSH | MI_INHIBIT_RENDER_CACHE_FLUSH);
rem = MAX_FLUSH_VERTICES;

if you are happy that it reproduces reliably.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-01-01 Thread Edward Sheldrake
(In reply to comment #148)
 Worth trying just:
 
 diff --git a/src/sna/gen4_render.c b/src/sna/gen4_render.c
 index 637137e..dc80de3 100644
 --- a/src/sna/gen4_render.c
 +++ b/src/sna/gen4_render.c
 @@ -660,9 +660,11 @@ inline static int gen4_get_rectangles(struct sna *sna,
 if (rem = 0) {
 if (sna-render.vertex_offset) {
 gen4_vertex_flush(sna);
 -   if (gen4_magic_ca_pass(sna, op))
 +   if (gen4_magic_ca_pass(sna, op)) {
 +   OUT_BATCH(MI_FLUSH |
 MI_INHIBIT_RENDER_CACHE_FLUSH);
 gen4_emit_pipelined_pointers(sna,
 op, op-op,
 
 op-u.gen4.wm_kernel);
 +   }
 }
 OUT_BATCH(MI_FLUSH | MI_INHIBIT_RENDER_CACHE_FLUSH);
 rem = MAX_FLUSH_VERTICES;
 
 if you are happy that it reproduces reliably.

This change did not fully solve the problem. One text file in gedit
displayed as blank initially for a bit, although things then seemed
fine. But the freeze with [drm] stuck on render ring happened during a
second run of gtkperf - while the GtkDrawingArea - Text test was
running.

But I didn't spot any corrupted characters while running 2.99.907 with
MAX_FLUSH_VERTICES set back to 6 - although I hadn't been running that
for very long, and I only see a single garbled char occasionally, and I
think they only appear in Firefox.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-01-01 Thread Edward Sheldrake
Created attachment 91389
intel_error_decode output

the decoded error that occurred while running gtkperf, 2.99.907 with the
change in comment #148

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2014-01-01 Thread Edward Sheldrake
(In reply to comment #149)
 
 But I didn't spot any corrupted characters while running 2.99.907 with
 MAX_FLUSH_VERTICES set back to 6

And now I have spotted the single character corruption with 2.99.907 +
MAX_FLUSH_VERTICES set to 6.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2013-12-23 Thread Harald Judt
All tests with MAX_FLUSH_VERTICES greater than 2 reveal those single
garbled glyphs. I'm still testing with a value of 2. There isn't much
noticeable difference between 3, 4, 5.

00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset 
Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
Subsystem: Dell Device 0276

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2013-12-23 Thread Chris Wilson
*** Bug 71773 has been marked as a duplicate of this bug. ***

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2013-12-23 Thread Harald Judt
(In reply to comment #134)
 (In reply to comment #132)
  I don't want to speak too soon but it seems that the latest patch fixes the
  problem.
 
 Let it run for a day or so to be sure. The other thing that is worth
 checking is whether setting MAX_FLUSH_VERTICES to 2 is also stable, or 4
 etc. Setting it to 1 has a major impact on performance (we are roughly an
 order of magnitude slower at rendering than what can be expected).

Setting max_flush_vertices to 1 fixes the problem here, with the
mentioned noticeable performance loss. IIRC, hibernating/resuming can
accelerate the appearance of the bug, but I'm not quite sure about this,
it might also be coincidence.

I will now try to decrease the value from the default one to find the
sweet spot.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334] Re: [gen4 sna] Font corruption

2013-12-19 Thread Oleksii Ostroverkhyi
For me  #define MAX_FLUSH_VERTICES 1 fixes the issue. #define
MAX_FLUSH_VERTICES 2 is also stable so far. Values starting from 3
result in artifacts.

However, as I wrote in post #150,  reverting this:

diff --git a/src/sna/sna_glyphs.c b/src/sna/sna_glyphs.c
index 62415c8..43086a0 100644
--- a/src/sna/sna_glyphs.c
+++ b/src/sna/sna_glyphs.c
@@ -1130,8 +1130,7 @@ next_image:
-if (this_atlas-format == (format-depth  24 | 
format-format) 
-(sna-kgem.gen  3) != 4) { /* XXX cache corruption? how? 
*/
+   if (this_atlas-format == (format-depth  24 | 
format-format)) {

Solves the problem at all - even setting #define MAX_FLUSH_VERTICES 128
works correct, as well as #define FORCE_FLUSH 0 is also fine.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2013-12-16 Thread Zdenek Kabelac
Just to add some more comment on MAX_FLUSH_VERTICES  - when set to valu
96 - it gives the highest throughput on  x11perf -aa10text 3.7MChar/s  -
using any higher value doesn't make any different (so the max seems to
be somewhere  between 64-96]

Also when this 3.7MChar is rendered - the parallel move of some other
window on the screen becomes very slow - so engine gets overloaded ??

Or the Xserver generates such long queue of events it becomes so slow ?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2013-12-16 Thread Zdenek Kabelac
(In reply to comment #136)
 The issue that the VUE (which is a memory slot used by the GPU for a vertex
 entry) are reused by a second thread before the first thread is complete,
 causing the first thread to generate invalid texture coordinates and corrupt
 rendering. That is a hardware read-write hazard bug (or at least I have not
 found any controls in the EU state to prevent it).

I don't think it's that easy to explain -

The typical problem in my case is -  when I freshly start the Xsession -
I do not observe any rendering bug.  I need to use this machine for a while,
to start to get those errors.

So if there would be some 'easy to trigger hardware race' - it should be
reproducible all the time.

But in my case it seem - the probability increases over the time heavily
- maybe with the amount of  cached BO segments ?

Or maybe it depends on how the memory order is set - i.e. the problem is
triggered when certain memory read pattern start to appear ?

Since once the issue of flicker starts - it then happens all the time -
and then suddenly it disappears for a while again ?

So maybe there needs to be prohibited some memory offset/alignment of
buffers with vertices ?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2013-12-16 Thread Chris Wilson
Nope. The behaviour of this bug is very well characterised by the above
analysis.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2013-12-16 Thread Zdenek Kabelac
Maybe this bug could be more easily tracked down when the amount of
vertices is actually much higher - since in this case it seems to crash
almost immediatelly.

I understand there is some 'maximum queue' size GPU could handle - but
the engine should be able to track size of all commands and not outgrown
it.

So what else could break ordering ?

As it's very easy to trigger the problem with higher max - maybe it
could be used to deduce which part of code unexpectedly touches the
command queue ?

(but of course it's just my naive assumption about how the SNA driver
works).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2013-12-16 Thread Zdenek Kabelac
Well I'm curious how this explains this -  I've taken current git -
changed the value to '44' - and I'm typing this text.  I could see a lot of 
errors during text typing - but these errors seems to be somehow limited only 
to certain regions of shown text.

It's not destroyed everywhere - only in some particularly piece and in
particular time - it's kind of weird defect to observe - and it also
happen for only some specific use-case

i.e. my text edit 'fte' which is using  X drawing code has absolutely no issue 
- all characters are always correct. 
But in firefox - typing this BZ I could see a lot of changing letters (usually 
everything after 10 letter on the line is weirdly changing - like if the font 
cache would be not working correctly.

Typing on keyboard shows rending bugs - as soon as right mouse button is
hit - everything is instantly redrawn correctly and pop window is shown.

Another thing I notice is -  I've about 20 lines of email headers in
thunderbird. And exactly only the 4th line is showing problems with
letters - even when I just move the mouse over the TB window - this text
is being continuously modified - but everything else in that window is
without any problem.

So if you say - there is hw bug - how is that  - it could very easily
render everything correctly ?

Why only certain portions of text have distortions - why it's not
randomly spread over the whole screen (which I'd have expected for time
collisions)?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2013-12-16 Thread Combuster-archlinux
I don't want to speak too soon but it seems that the latest patch fixes
the problem.

First I've tried the latest git version and it didn't help, I've noticed
corrupted fonts as soon as I logged on and start poking things in
terminal.

After I've applied the patch in comment #129 and restarted, no
corruption at all (at least for now, it usually can be reproduced right
after logging in).

Chris, any thoughts on why is this happening with radeon opesource
driver also ?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2013-12-16 Thread Chris Wilson
(In reply to comment #132)
 I don't want to speak too soon but it seems that the latest patch fixes the
 problem.

Let it run for a day or so to be sure. The other thing that is worth
checking is whether setting MAX_FLUSH_VERTICES to 2 is also stable, or 4
etc. Setting it to 1 has a major impact on performance (we are roughly
an order of magnitude slower at rendering than what can be expected).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2013-12-16 Thread Chris Wilson
(In reply to comment #132)
 Chris, any thoughts on why is this happening with radeon opensource driver
 also ?

I was hoping that it would be a bug in common component, but in this
case it sounds like they have a similar bug in managing internal GPU
state.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2013-12-16 Thread Chris Wilson
The issue that the VUE (which is a memory slot used by the GPU for a
vertex entry) are reused by a second thread before the first thread is
complete, causing the first thread to generate invalid texture
coordinates and corrupt rendering. That is a hardware read-write hazard
bug (or at least I have not found any controls in the EU state to
prevent it).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2013-12-16 Thread Chris Wilson
As a check that all problems are the same, can people who are still
affected by this do a test with

diff --git a/src/sna/gen4_render.c b/src/sna/gen4_render.c
index a87af39..86c37d6 100644
--- a/src/sna/gen4_render.c
+++ b/src/sna/gen4_render.c
@@ -63,7 +63,7 @@
 #define NO_FILL_BOXES 0
 #define NO_VIDEO 0
 
-#define MAX_FLUSH_VERTICES 6
+#define MAX_FLUSH_VERTICES 1
 
 #define GEN4_GRF_BLOCKS(nreg)((nreg + 15) / 16 - 1)

and see if that cures the last of the corruptions.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2013-12-16 Thread Combuster-archlinux
Just to report, maybe this isn't intel driver bug at all. At home I have
ATI R270X (radeonsi driver) and Intel HD2000, at work X4500 and I get
hit by this bug on all of them.

Small, single char, graphic corruption, easily triggered by scrolling
through a window with lots of small text (tailing a log in debug mode in
terminal). But I see it appers and dissapears as I'm typing this
comment.

I'm attaching the screenshots (/dev/shm is corrupted on black one).

@Chris, I'll try applying patches right now and report back.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2013-12-16 Thread Combuster-archlinux
Created attachment 90707
/dev/shm corruption

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2013-12-09 Thread Harald Judt
With kernel-3.12.2 and current git, the situation now is much better.
The corruptions happen less often (still often enough to be noticed
though), and are usually confined to single characters, or only parts of
single characters. While I'm writing this, I can notice what appears to
be some slight corruption in the lines above which I've already written,
but they are always gone immediately. Maybe today's just a lucky day, or
the situation has improved.

What's more, the issue with the cursor not disappearing or not showing
that I mentioned in my previous post no longer exists, so SNA on this
gen4 is usable again.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334] Re: [gen4 sna] Font corruption

2013-11-29 Thread Oleksii Ostroverkhyi
Gents,
I've spent some time bisecting the xf86-video-intel to track down the issue. So 
far my conclusion is as follows: the issue was introduced in this commit - 
http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=2a59eadf8165bd70780ac16220456c6196ac3ff1

Reverting the changes in sna_glyphs.c  fixes the issue for me.

PS: Seved's site works like a charm for testing! Thanks Seved! :)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334] Re: [gen4 sna] Font corruption

2013-11-26 Thread Seved Torstendahl
I just noticed that when I visit the web page 
http://www.thomann.de/se/thomann_dp25.htm and play a music sample 
from that page something happens with the text on the screen. Characters are 
distorted and back synchronized with the music. 
The error pops around on the screen seemingly in random. I use Ubuntu 13.10 and 
Firefox.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2013-11-21 Thread Chris Wilson
The tests are intentionally overkill - they are also intended to try and
test handling of large batches, as well as generally stress the system.

I hadn't noticed the basic-copyarea fail. That does look to be
different. So far, the failure pattern had seemed to be a subspan
doesn't get written (i.e. a single instance of one thread failed to
execute correctly in the GPU, which I think could explain the general
bug here.) basic-copyarea looks like a larger scale failure. And, yes,
it does fail on my gm45 as well.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334] Re: [gen4 sna] Font corruption

2013-11-10 Thread Thaddäus Tintenfisch
** Summary changed:

- [gen4 sna] Font corruption in Chromium tab bar
+ [gen4 sna] Font corruption

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334] Re: [gen4 sna] Font corruption in Chromium tab bar

2013-09-11 Thread Timo Aaltonen
** Tags added: saucy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption in Chromium tab bar

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2013-08-29 Thread Chris Wilson
*** Bug 68596 has been marked as a duplicate of this bug. ***

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption in Chromium tab bar

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2013-08-01 Thread Chris Wilson
*** Bug 67377 has been marked as a duplicate of this bug. ***

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption in Chromium tab bar

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2013-08-01 Thread aidar
It has been a long long time I am following this bug.

So, I built the 3.10.3 plain vanilla kernel, which went stable as of
today (Friday, July 26, 2013) and I can say that my crappy GM45 chip
works fine with the dreaded test.odg resizing test. Seems like things
are improving.


and if it is of any interest here are the versions of relevant sw stack:

x11-libs/libdrm-2.4.45
media-libs/mesa-9.1.2-r1
x11-base/xorg-server-1.13.4
x11-drivers/xf86-video-intel-2.21.12 (sna is the Accel)


thanks for continous work on devices that were introduced in 2008.


ps: now, only if iwlwifi would get sorted out...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption in Chromium tab bar

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334] Re: [gen4 sna] Font corruption in Chromium tab bar

2013-07-26 Thread Joonas Saarinen
Notice how with Chromium/Chrome the corruption happens only on display
positions where the fade out effect is applied to the right side of the
tab.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption in Chromium tab bar

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2013-07-25 Thread eminor
I'm also affected by this character corruption bug. My hardware is a
notebook with Intel 4500M (i915 driver). First I thought it's caused by
a hardware issue with my external screen, but the notebook screen shows
the currupted characters as well. Sometimes when I scroll down to the
end of a website with text and then keep scrolling (when the end is
reached), about 2 characters per sentence are corrupted and about every
1/10 second the position of the curruptions change. The characters that
were corrupted before look fine then and different characters are
corrupted.

What I have tried so far:

- Disable/enable xcompmgr (no effect)
- Use XFCE (no effect)
- Change driver options i915_enable_rc6, i915_enable_fbc, lvds_downclock (no 
effect)
- Use different fonts (no effect)
- Disable sna (works)
- Test firefox, libreoffice, chromium (all affected)

Version Info:

Kernel 3.10.1-1-ARCH
xf86-video-intel 2.21.12

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption in Chromium tab bar

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2013-07-25 Thread Sergio Callegari
Incorrect rendering of some glyphs is still there as of yesterday's git
snapshot (24/7/13). I'm reporting it as I read somewhere that newer
released versions of the driver implemented a lower limit on
MAX_FLUSH_VERTICES in order to reduce the impact of the bug, but I
really see no difference. Yet, it may be the case that the reduction is
only applied to the released driver and not in the devel version
(haven't checked the actual code).

A couple of notes:

- The way in which the glyphs corruption appears is weird. Without any
scrolling, just typing in characters at some place causes some random
character to get corrupted somewhere else (e.g. maybe 1 line above,
maybe 10 cm to the right, etc). Some times typing some more character is
enough to have the corruption disappear, something it does not.  I have
not been able to determine if the glyph that gets corrupted is the same
one that is being typed (i.e, I type in an 'e' and somewhere and 'e'
gets corrupted), but I suspect that this is not the case.

- The issue seems to be much less frequent if I type slowly.

- Once a glyph is corrupted, just 'selecting' some random character
around it, but not necessarily very close to it (e.g., 15 chars to the
left or to the right), seems to be enough to cause a redraw of the glyph
that fixes its rendering.  This seems somehow similar to how pressing
'PrtScrn' to try to get a snapshot causes a redraw that fixes the wrong
glyphs, so that it is difficult to get a screenshot of the issue, unless
one relies on a camera.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption in Chromium tab bar

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2013-07-25 Thread Sergio Callegari
Added 'characters' to the bug title.

I believe that this is now the major issue related with this bug and
having 'character' in the title may help people having issues look here.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption in Chromium tab bar

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2013-07-25 Thread eminor
Created attachment 82788
Character e of word deletion and n of Indicate is corrupted

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption in Chromium tab bar

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2013-07-25 Thread eminor
Created attachment 82789
Character i of word application and p of bpp=8 is corrupted

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption in Chromium tab bar

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2013-07-25 Thread eminor
Created attachment 82787
Character m of the word parameters is corrupted

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption in Chromium tab bar

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2013-07-18 Thread Sergio Callegari
Unfortunately, the artifacts on the individual characters are not gone
with the fix to the coherency bugs.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption in Chromium tab bar

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2013-07-18 Thread Sergio Callegari
Created attachment 82369
Handy phone snapshot of artifacts on chars post drm/i915 fix: Only clear 
write-domains after a successful wait-seqno

This is an example of the artifacts on chars, still happening running a kernel 
with the drm/i915 fix 'Only clear write-domains after a successful wait-seqno'.
In this case we have a completely mangled 't' in firefox.

Snapshot was taken with an handy phone so that the monitor pixel frame
is visible. In fact, it is now apparently impossible to snapshot with
prtscrn. As soon as a print screen is requested the wrong char is always
redrawn correctly.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption in Chromium tab bar

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1098334]

2013-07-18 Thread Sergio Callegari
Ubuntu has an experimental 64bit raring kernel (3.8) with the fix for
the coherency bug. Works great for me for fixing the artifacts in the
large bitmaps.

Can be tested at http://kernel.ubuntu.com/~jsalisbury/lp1200126/

It delivers the fix to 65665.

This is very good news also for this bug since the fixed kernels makes
it possible to wide test (at least on ubuntu) for the this bug
decoupling away effects from the other 65665.

Specifically, it is now possible to ignore some of my attachments for
this bug as they showed artifacts caused by the other bug (this is
certainly the case for the 'sample libreoffice document that almost
always shows issues).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1098334

Title:
  [gen4 sna] Font corruption in Chromium tab bar

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


  1   2   >