Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Occasional character corruption when rendering fonts
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
XelKarin
n00b
n00b


Joined: 29 Dec 2003
Posts: 33

PostPosted: Fri Nov 08, 2013 10:00 pm    Post subject: Occasional character corruption when rendering fonts Reply with quote

I upgraded x11-base/xorg-x11 to version 7.4-r2 and it pulled in a huge number of upgrades for other X11 packages at the time. This was around October 27th. Since then I've noticed that random characters would occasionally be rendered incorrectly by the font renderer. x11-base/xorg-server has been upgraded since then, but that hasn't fixed the problem. It doesn't happen all that often and a simple screen refresh will fix the characters currently displayed (ie. Ctrl-L in Vim). Corruption is limited to single characters, so I don't think it's bad video memory.

These font problems are only occurring on my laptop, my desktop machine is just fine. I was wondering if anyone here might have any ideas before I submit a bug report.

Here's an image illustrating the problem. The corrupted characters are highlighted in red squares.

System info I think may be relevant:

Code:
VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)

x11-base/xorg-server-1.14.3-r2
x11-base/xorg-drivers-1.14
x11-drivers/xf86-video-intel-2.21.15
media-libs/freetype-2.4.11
media-libs/fontconfig-2.10.92


And my fontconfig configuration:

Code:

  [1]   09-texlive.conf
  [2]   10-autohint.conf
  [3]   10-no-sub-pixel.conf
  [4]   10-scale-bitmap-fonts.conf *
  [5]   10-sub-pixel-bgr.conf
  [6]   10-sub-pixel-rgb.conf
  [7]   10-sub-pixel-vbgr.conf
  [8]   10-sub-pixel-vrgb.conf
  [9]   10-unhinted.conf
  [10]  11-lcdfilter-default.conf
  [11]  11-lcdfilter-legacy.conf
  [12]  11-lcdfilter-light.conf
  [13]  20-unhint-small-dejavu-sans.conf
  [14]  20-unhint-small-dejavu-sans-mono.conf
  [15]  20-unhint-small-dejavu-serif.conf
  [16]  20-unhint-small-vera.conf *
  [17]  25-ttf-arphic-ukai-render.conf
  [18]  25-ttf-arphic-uming-bitmaps.conf
  [19]  25-ttf-arphic-uming-render.conf
  [20]  25-unhint-nonlatin.conf
  [21]  30-metric-aliases.conf *
  [22]  30-urw-aliases.conf *
  [23]  35-ttf-arphic-ukai-aliases.conf
  [24]  35-ttf-arphic-uming-aliases.conf
  [25]  40-nonlatin.conf *
  [26]  41-ttf-arphic-ukai.conf
  [27]  41-ttf-arphic-uming.conf
  [28]  42-luxi-mono.conf *
  [29]  44-wqy-zenhei.conf
  [30]  45-latin.conf *
  [31]  49-sansserif.conf *
  [32]  50-user.conf *
  [33]  51-local.conf *
  [34]  52-infinality.conf
  [35]  57-dejavu-sans.conf *
  [36]  57-dejavu-sans-mono.conf *
  [37]  57-dejavu-serif.conf *
  [38]  59-google-droid-sans.conf
  [39]  59-google-droid-sans-mono.conf
  [40]  59-google-droid-serif.conf
  [41]  60-latin.conf *
  [42]  60-liberation.conf
  [43]  62-croscore-arimo.conf
  [44]  62-croscore-cousine.conf
  [45]  62-croscore-symbolneu.conf
  [46]  62-croscore-tinos.conf
  [47]  64-ttf-arphic-uming.conf
  [48]  65-fonts-persian.conf *
  [49]  65-khmer.conf
  [50]  65-nonlatin.conf *
  [51]  66-ja-ipafonts.conf
  [52]  66-wqy-zenhei-sharp.conf
  [53]  66-wqy-zenhei-sharp-no13px.conf
  [54]  69-unifont.conf *
  [55]  70-no-bitmaps.conf
  [56]  70-yes-bitmaps.conf
  [57]  75-ttf-arphic-ukai-select.conf
  [58]  80-delicious.conf *
  [59]  90-synthetic.conf *
  [60]  90-ttf-arphic-ukai-embolden.conf
  [61]  90-ttf-arphic-uming-embolden.conf
  [62]  99pdftoopvp.conf


*edit* Fix date of my X11 upgrade. Should have been Oct. 27th, was Oct. 7th before.
Back to top
View user's profile Send private message
cruzki123
Apprentice
Apprentice


Joined: 16 May 2008
Posts: 233

PostPosted: Sun Nov 24, 2013 11:04 am    Post subject: Reply with quote

I have had the same problem in two similar computers.
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sun Nov 24, 2013 4:56 pm    Post subject: Reply with quote

I would try upgrading freetype.

Personally, I use freetype git, because it's continually being improved.
_________________
Improve your font rendering and ALSA sound
Back to top
View user's profile Send private message
bug_report
n00b
n00b


Joined: 17 Sep 2010
Posts: 71
Location: Frankfurt, Germany

PostPosted: Sun Nov 24, 2013 4:58 pm    Post subject: Reply with quote

I wonder if this is related to bug #68410: https://bugs.freedesktop.org/show_bug.cgi?id=68410

Solutions:

1) Switch back to UXA: add the line below to the device section of your xorg.conf.
Code:
Option "AccelMethod"  "UXA"

2) Wait a couple of days until the next version of xf86-video-intel is released
(probably xf86-video-intel-2.99.907). Hopefully, this version will contain a fix
for bug #68410.
Back to top
View user's profile Send private message
XelKarin
n00b
n00b


Joined: 29 Dec 2003
Posts: 33

PostPosted: Tue Nov 26, 2013 10:56 am    Post subject: Reply with quote

Hey all,

Thanks for the responses. I was able to fix the issue by masking the following packages.

Code:
=x11-base/xorg-drivers-1.14
=x11-base/xorg-server-1.14.3-r2
=x11-drivers/xf86-input-keyboard-1.7.0
=x11-drivers/xf86-input-mouse-1.9.0
=x11-drivers/xf86-video-intel-2.21.15


The issue appears to be with =x11-drivers/xf86-video-intel-2.21.15. I plan to submit a bug report, but haven't had the time just yet.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum