From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 81283] New: Icons are misrendered when rgb font hinting is activated [NV18] Date: Sun, 13 Jul 2014 08:15:20 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0806243870==" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0806243870== Content-Type: multipart/alternative; boundary="1405239320.575dcd1.17581"; charset="us-ascii" --1405239320.575dcd1.17581 Date: Sun, 13 Jul 2014 08:15:20 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=81283 Priority: medium Bug ID: 81283 Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Summary: Icons are misrendered when rgb font hinting is activated [NV18] QA Contact: xorg-team-go0+a7rfsptAfugRpC6u6w@public.gmane.org Severity: normal Classification: Unclassified OS: Linux (All) Reporter: linuxhippy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Hardware: x86 (IA32) Status: NEW Version: git Component: Driver/nouveau Product: xorg Created attachment 102687 --> https://bugs.freedesktop.org/attachment.cgi?id=102687&action=edit xorg.log When selecting RGB subpixel font antialising on my mothers laptop (Geforce 488Go / NV18) icons are suddenly misrendered (see screenshot) Tried several options such as NoUploadTo/DowloadFromScreen, MigrationHeuristics smart/greedy, agpmode=0 - however only disabling render acceleration completely did help. The notebook is running Fedora-20 + latest updates (linux-3.15.4), the issue happends with nouveau 1.0.9 as well as nouveau git from 20140713. - Clemens PS: It is incredible how well nouveau performs for 2D operations these days, thanks for working on improving this area over the past years. -- You are receiving this mail because: You are the assignee for the bug. --1405239320.575dcd1.17581 Date: Sun, 13 Jul 2014 08:15:20 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 81283
Assignee nouveau@lists.freedesktop.org
Summary Icons are misrendered when rgb font hinting is activated [NV18]
QA Contact xorg-team@lists.x.org
Severity normal
Classification Unclassified
OS Linux (All)
Reporter linuxhippy@gmail.com
Hardware x86 (IA32)
Status NEW
Version git
Component Driver/nouveau
Product xorg

Created attachment 102687 [details]
xorg.log

When selecting RGB subpixel font antialising on my mothers laptop (Geforce
488Go / NV18) icons are suddenly misrendered (see screenshot)

Tried several options such as NoUploadTo/DowloadFromScreen, MigrationHeuristics
smart/greedy, agpmode=0 - however only disabling render acceleration completely
did help.

The notebook is running Fedora-20 + latest updates (linux-3.15.4), the issue
happends with nouveau 1.0.9 as well as nouveau git from 20140713.

- Clemens

PS: It is incredible how well nouveau performs for 2D operations these days,
thanks for working on improving this area over the past years.


You are receiving this mail because:
  • You are the assignee for the bug.
--1405239320.575dcd1.17581-- --===============0806243870== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============0806243870==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 81283] Icons are misrendered when rgb font hinting is activated [NV18] Date: Sun, 13 Jul 2014 08:16:12 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1280825129==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1280825129== Content-Type: multipart/alternative; boundary="1405239372.f8B71.17805"; charset="us-ascii" --1405239372.f8B71.17805 Date: Sun, 13 Jul 2014 08:16:12 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=81283 --- Comment #1 from Clemens Eisserer --- Created attachment 102688 --> https://bugs.freedesktop.org/attachment.cgi?id=102688&action=edit screenshot of icons rendered white -- You are receiving this mail because: You are the assignee for the bug. --1405239372.f8B71.17805 Date: Sun, 13 Jul 2014 08:16:12 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 1 on bug 81283 from
Created attachment 102688 [details]
screenshot of icons rendered white


You are receiving this mail because:
  • You are the assignee for the bug.
--1405239372.f8B71.17805-- --===============1280825129== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1280825129==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 81283] Icons are misrendered when rgb font hinting is activated [NV18] Date: Sun, 13 Jul 2014 13:17:38 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1403506785==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1403506785== Content-Type: multipart/alternative; boundary="1405257458.daAA1.4683"; charset="us-ascii" --1405257458.daAA1.4683 Date: Sun, 13 Jul 2014 13:17:38 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=81283 --- Comment #2 from Ilia Mirkin --- There have been a few reports of things not being drawn on NV1x, but no one ever narrowed it down to anything, and I could never reproduce. I wonder if some sort of alpha setting isn't actually supported and so things are being drawn with alpha=0 or something. If you're a developer, can you debug this a bit? Take a look at src/nv10_exa.c (in the ddx)... the function that determines if something will be accelerated is NV10EXACheckComposite. Start by just returning FALSE unconditionally there and make sure the problem is 'fixed'. (If it isn't, the issue is something else.) Assuming it's fine, try printing the requests that are making it through and try to identify the ones that aren't being handled properly (by selectively returning false for some of them). -- You are receiving this mail because: You are the assignee for the bug. --1405257458.daAA1.4683 Date: Sun, 13 Jul 2014 13:17:38 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 2 on bug 81283 from
There have been a few reports of things not being drawn on NV1x, but no one
ever narrowed it down to anything, and I could never reproduce.

I wonder if some sort of alpha setting isn't actually supported and so things
are being drawn with alpha=0 or something. If you're a developer, can you debug
this a bit? Take a look at src/nv10_exa.c (in the ddx)... the function that
determines if something will be accelerated is NV10EXACheckComposite. Start by
just returning FALSE unconditionally there and make sure the problem is
'fixed'. (If it isn't, the issue is something else.)

Assuming it's fine, try printing the requests that are making it through and
try to identify the ones that aren't being handled properly (by selectively
returning false for some of them).


You are receiving this mail because:
  • You are the assignee for the bug.
--1405257458.daAA1.4683-- --===============1403506785== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1403506785==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 81283] Icons are misrendered when rgb font hinting is activated [NV18] Date: Sun, 13 Jul 2014 15:54:06 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1340840975==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1340840975== Content-Type: multipart/alternative; boundary="1405266846.7a561.3941"; charset="us-ascii" --1405266846.7a561.3941 Date: Sun, 13 Jul 2014 15:54:06 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=81283 --- Comment #3 from Clemens Eisserer --- > If you're a developer, can you debug this a bit? Unfourtunately I am not a driver developer, however I can play a bit arround and see how things change. > There have been a few reports of things not being drawn on NV1x, Interesting you mention missing things, because when I go with grayscale antialising I can see missing text on the desktop icons. I didn't mention it, because I guess it is really hard to reproduce. > I wonder if some sort of alpha setting isn't actually supported > and so things are being drawn with alpha=0 or something. However, shouldn't this just affect the glyphs rendered? The blending mode of the icons doesn't change, so it seems some state is garbled after the glyphs were rendered, leading to those misrendered icons. -- You are receiving this mail because: You are the assignee for the bug. --1405266846.7a561.3941 Date: Sun, 13 Jul 2014 15:54:06 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 3 on bug 81283 from
>  If you're a developer, can you debug this a bit?
Unfourtunately I am not a driver developer, however I can play a bit arround
and see how things change.

> There have been a few reports of things not being drawn on NV1x,
Interesting you mention missing things, because when I go with grayscale
antialising I can see missing text on the desktop icons. I didn't mention it,
because I guess it is really hard to reproduce.

> I wonder if some sort of alpha setting isn't actually supported 
> and so things are being drawn with alpha=0 or something.
However, shouldn't this just affect the glyphs rendered? The blending mode of
the icons doesn't change, so it seems some state is garbled after the glyphs
were rendered, leading to those misrendered icons.


You are receiving this mail because:
  • You are the assignee for the bug.
--1405266846.7a561.3941-- --===============1340840975== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1340840975==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 81283] Icons are misrendered when rgb font hinting is activated [NV18] Date: Sun, 10 Aug 2014 06:27:49 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1344489303==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1344489303== Content-Type: multipart/alternative; boundary="1407652068.3BCd082B1.20549"; charset="us-ascii" --1407652068.3BCd082B1.20549 Date: Sun, 10 Aug 2014 06:27:48 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=81283 --- Comment #4 from Ilia Mirkin --- I just sent a bunch of patches to the list... two of the patches are no-ops, but these two actually change functionality: http://lists.freedesktop.org/archives/nouveau/2014-August/018270.html http://lists.freedesktop.org/archives/nouveau/2014-August/018271.html please see if applying these fixes the issue for you. -- You are receiving this mail because: You are the assignee for the bug. --1407652068.3BCd082B1.20549 Date: Sun, 10 Aug 2014 06:27:48 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 4 on bug 81283 from
I just sent a bunch of patches to the list... two of the patches are no-ops,
but these two actually change functionality:

http://lists.freedesktop.org/archives/nouveau/2014-August/018270.html
http://lists.freedesktop.org/archives/nouveau/2014-August/018271.html

please see if applying these fixes the issue for you.


You are receiving this mail because:
  • You are the assignee for the bug.
--1407652068.3BCd082B1.20549-- --===============1344489303== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1344489303==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 81283] Icons are misrendered when rgb font hinting is activated [NV18] Date: Sun, 10 Aug 2014 18:08:50 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0245403487==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0245403487== Content-Type: multipart/alternative; boundary="1407694130.A6f4a51.10878"; charset="us-ascii" --1407694130.A6f4a51.10878 Date: Sun, 10 Aug 2014 18:08:50 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=81283 --- Comment #5 from Clemens Eisserer --- The two patches fix both issues - the icon corruption when RGB font hinting is activated, as well as somtimes missing text with greyscale antialiasing :) This makes my old laptop a fully functional email/browsing machine again - thanks! -- You are receiving this mail because: You are the assignee for the bug. --1407694130.A6f4a51.10878 Date: Sun, 10 Aug 2014 18:08:50 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 5 on bug 81283 from
The two patches fix both issues - the icon corruption when RGB font hinting is
activated, as well as somtimes missing text with greyscale antialiasing :)

This makes my old laptop a fully functional email/browsing machine again -
thanks!


You are receiving this mail because:
  • You are the assignee for the bug.
--1407694130.A6f4a51.10878-- --===============0245403487== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============0245403487==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 81283] Icons are misrendered when rgb font hinting is activated [NV18] Date: Mon, 11 Aug 2014 19:53:43 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0207769588==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0207769588== Content-Type: multipart/alternative; boundary="1407786822.B424631.24979"; charset="us-ascii" --1407786822.B424631.24979 Date: Mon, 11 Aug 2014 19:53:42 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=81283 Ilia Mirkin changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #6 from Ilia Mirkin --- Awesome! These patches should be in xf86-video-nouveau git now. A release is going to be forthcoming once a couple of issues are ironed out. -- You are receiving this mail because: You are the assignee for the bug. --1407786822.B424631.24979 Date: Mon, 11 Aug 2014 19:53:42 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 81283
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED

Comment # 6 on bug 81283 from
Awesome! These patches should be in xf86-video-nouveau git now. A release is
going to be forthcoming once a couple of issues are ironed out.


You are receiving this mail because:
  • You are the assignee for the bug.
--1407786822.B424631.24979-- --===============0207769588== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============0207769588==--