Bug 7635

Summary: nvidia shows garbled glyphes in some programs using cairo (eg: Firefox) due to a x11 patch to use the new pixman glyph cache
Product: Mageia Reporter: Tamás Hajdu <fathom>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: hhielscher, mageia, thierry.vignaud, thomas.bigot
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
See Also: https://bugs.mageia.org/show_bug.cgi?id=9458
Whiteboard:
Source RPM: x11-driver-video-nvidia-current-310.19-1.mga3.nonfree CVE:
Status comment:
Attachments: Strange chars on firefox (9gag example)
I have a similar problem sometimes in audacius, leafpad, firefox; always in Font Management (KDE System Settings). I don't know if it matters, I use driver nvidia from web page (NVIDIA-Linux-x86_64-30

Description Tamás Hajdu 2012-09-30 14:29:46 CEST
Description of problem:
In firefox strange things appear instead of a font letter. I was not able to reproduce the problem on other browsers.

Version-Release number of selected component (if applicable):
firefox 15 with cauldron

How reproducible:
Always

Steps to Reproduce:
1.Install firefox
2.See strange characters
Comment 1 Tamás Hajdu 2012-09-30 14:36:43 CEST
Created attachment 2875 [details]
Strange chars on firefox (9gag example)
Comment 2 Tamás Hajdu 2012-10-03 11:57:40 CEST
it looks like with some update this is gone, still I let this open for a week or two, if anybody else has the issue.
Helge Hielscher 2012-10-11 01:07:36 CEST

CC: (none) => hhielscher

Comment 3 Tamás Hajdu 2012-10-11 12:25:50 CEST
the problem is still present. It looks like it is doing that the only one kind of font. What kind of info should I post to address this issue?
Comment 4 Tamás Hajdu 2012-10-11 13:05:39 CEST
after upgrade to ff16 the problem still persists.
Comment 5 Tamás Hajdu 2012-10-20 10:50:17 CEST
The problem also appears in libreoffice
Comment 6 Thierry Vignaud 2012-10-24 01:46:19 CEST
Maybe a pango or a cairo issue...

CC: (none) => thierry.vignaud

Comment 7 Tamás Hajdu 2012-10-24 08:38:15 CEST
I have changed the default font in firefox from helvetica to freeserif, I still have those things sometimes, but it definitely got better.
Other plus info, that after ff loads the full page these characters are usually disappeared, as well as after scrolling to somewhere else on the page and scrolling back does the same.
Comment 8 Tamás Hajdu 2012-10-28 14:08:40 CET
The problem sporadic and as I have written it vanishes on several actions, but it is still annoying. Please let me know what information I can provide you or what can I do to debug/address the problem source at least.

Cheers!
Comment 9 Tamás Hajdu 2012-10-28 19:45:20 CET
New symptom: Instead of strange characters now those just vanished...
Comment 10 Vladimir Gurevich 2012-11-04 17:41:55 CET
I have the same problem  (Cauldron, Dell Latitude D830, Nvidia Quattro NVS 135M, Nvidia driver 304.60).

There seeem to be two issues in that area, reported and fixed in the X server:

https://bugs.freedesktop.org/show_bug.cgi?id=47266
https://bugs.freedesktop.org/show_bug.cgi?id=55723

Both issues have patches and users report the problem being solved. From looking at the source RPM of x11-server-1.13.0-6mga.3 I can see the patch for the issue 47266, but not 55723. 

Can someone, please, check?

Thanks,
Vladimir

CC: (none) => mageia

Comment 11 Thierry Vignaud 2012-11-05 16:10:34 CET
An x11-server is being pushed with that patch.
Please test once it lands on your favorite mirror
Comment 12 Tamás Hajdu 2012-11-05 18:36:22 CET
I really would, but for now, mageia.supp.name has no cauldron at all:(
Comment 13 Vladimir Gurevich 2012-11-06 09:37:55 CET
Hello Thierry,

So far looks quite good! I'll let it run a little longer (and I have several of these laptops), but I keep my fingers crossed.

BTW, when I tried to rebuild the X server myself, I got a LOT of warnings (with or without this particular patch). Is that expected?

Thanks,
Vladimir
Comment 14 Thierry Vignaud 2012-11-06 11:27:16 CET
That happens. It depends on upstream developers.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 15 Vladimir Gurevich 2012-11-08 07:46:28 CET
Well, I have some bad news... While the problem is definitely much less pronounced, eventually corrupted characters appeared on several systems. 

I'd suggest we still keep this patch, but we need to watch XOrg server for the additional developments

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 16 Tamás Hajdu 2012-11-08 10:58:34 CET
I can confirm, that since the X server update, de characters are goo again (after one day of testing at least)
Comment 17 Tamás Hajdu 2012-11-10 13:12:59 CET
Sadly the problem is present though it is much less annoying at this moment, I will upload a new screenshot too if I can catch it...
Comment 18 Marcin Ch 2012-11-11 21:07:12 CET
Created attachment 3073 [details]
I have a similar problem sometimes in audacius, leafpad, firefox; always in Font Management (KDE System Settings). I don't know if it matters, I use driver nvidia from web page (NVIDIA-Linux-x86_64-30
Comment 19 Thomas Bigot 2012-12-19 14:29:00 CET
The problem is due to an incompatibility between this patch:
use-new-pixman-api.diff to use the new experimental pixman glyph cache.
and the nvidia drivers (any version).

See for instance:
https://devtalk.nvidia.com/default/topic/524242/linux/pixman-glyph-cache-patch/
https://bbs.archlinux.org/viewtopic.php?id=152837
https://bugs.archlinux.org/task/32612

According to the nvidia link, a nvidia dev managed to reproduce the bug and fixed it in a version to come.

I personally encounter this bug all the day, like people in these forums (and others).

CC: (none) => thomas.bigot
Source RPM: firefox-15.0.1-2.mga3 => x11-driver-video-nvidia-current-310.19-1.mga3.nonfree

Thomas Bigot 2012-12-19 14:32:55 CET

Summary: Firefox show strange characters, see uploaded screenshot => nvidia shows garbled glyphes in some programs using cairo (eg: Firefox) due to a x11 patch to use the new pixman glyph cache

Michał Wernicki 2013-03-19 21:44:23 CET

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=9458

Comment 20 Thomas Bigot 2013-08-25 10:58:58 CEST
On different machines, I havenât met this issue, thanks to nVidia driver updates.

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED