You are not logged in.

#1 2013-05-24 18:56:40

damnbug
Member
Registered: 2012-09-18
Posts: 88

fontconfig / gvfs issues

I was having bad graphics performance on my system with Nvidia but I figured it out... The issue is gone after removing /etc/fonts/conf.avail/29-replace-bitmap-fonts.conf symlink from /etc/fonts/conf.d/, removing fonts configuration from /etc/xorg.conf and then using fc-cache -r. I also removed"options nvidia NVreg_EnableMSI=1" from /etc/modprobe.d/modprobe.conf but I'm not sure if this was needed...

This is a bug related with fontconfig and I can't report it...

Last edited by damnbug (2013-05-25 15:48:48)

Offline

#2 2013-05-24 22:56:37

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: fontconfig / gvfs issues

This is not a bug, this is a feature.   And the 29-etc file will be back with the next upgrade of fontconfig.

First, the configuration rules in '/etc/fonts/conf.avail/' are simply what the name says: they are available configuration rules.  You do not have to apply those rules.

The rules that do apply to the system-wide font configuration are the files in '/etc/fonts/conf.d/'.  The 'conf.d' directory contains symlinks (symbolic links) to files in the conf.avail directory.  If you wish to apply a rule from 'conf.avail' to your font configuration, you create a symlink in 'conf.d' to the file in 'conf.avail'.  If you do not want to have the rule applied, you delete the link in .conf.d (or never create the link in the first place).  Now you probably have a broken symlink in '/etc/fonts/conf.d'.  This is benign, I'm pretty sure.  You can check with 'ls -l /etc/fonts/conf.d/29*' for the broken link.

I don't quite know what you mean by "graphic performance," and I truly don't understand how removing some font substitution rules could improve it.  The rules you removed simply have Helvetica, Times, and Courier fonts replaced by Arial, Times New Roman, and Courier New, if those substitute fonts are available.

The improvement you see might very well be from enabling the MSI.  But perhaps the improvement is due to the new kernel or new fontconfig packages that came out this past Monday.

Offline

#3 2013-05-25 13:05:18

damnbug
Member
Registered: 2012-09-18
Posts: 88

Re: fontconfig / gvfs issues

thisoldman, I'm pretty sure it's not a problem with the kernel but some issue with fontconfig.

I've removed all symlinks in /etc/fonts/conf.d/, then downgraded both fontconfig and lib32-fontconfig to 2.10.2, and finally symlinked 10-sub-pixel-rgb.conf, 11-lcdfilter-default.conf and 70-no-bitmaps.conf.

Fonts tab in Xfce's Appearence menu shows that Anti-aliasing is enabled, Hinting is Slight, Sub-pixel order is RGB, Custom DPI is unchecked because it's already configured in xorg.conf

Offline

#4 2013-05-25 15:11:31

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: fontconfig / gvfs issues

You didn't say you were using Xfce in your original post.  To me, "bad graphics performance" translates to a problem with frame rates or compositing.

Do you mean fonts were or are rendered poorly?  Proper font display is very subjective.  Have you checked the "Font Configuration" page in the wiki.

Offline

#5 2013-05-25 15:47:16

damnbug
Member
Registered: 2012-09-18
Posts: 88

Re: fontconfig / gvfs issues

I was trying to tell you that fonts look good and they are properly configured... Nvidia MSI is currently disabled and performance is good. Since fontconfig was downgraded and GVFS was uninstalled  I have good system performance. Something fishy.

Offline

Board footer

Powered by FluxBB