web-dev-qa-db-ja.com

Fontconfigエラーを修正する方法

Fontconfigがアプリケーション(私の特定のケースでは、SteamのCiv V)によって実行されると、常に次のエラーが出力されます。

Fontconfig error: "/usr/local/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig error: "/usr/local/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig warning: "/usr/local/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number

アプリケーションは完全にはクラッシュしませんが、このエラーが出力されるとビデオがフリーズし、オーディオはエラーなしで続きます。

  • Fontconfigエラーが問題の原因ですか?
  • どうすれば修正できますか?

編集:

コンピューターはUbuntu 14.04 32ビットです。この問題がfontconfigに関連しているのではないかと思います。このエラーが出力されると、ビデオ(Aspyrのイントロ)がフリーズするため、shift-tab Steamコミュニティメッセージが表示されます。そのテキストは、目立たないのではなく、不正な形式で膨らんでいます。これはSteam 2> error.txtによって作成されたファイルで、問題の後で私が殺したものです。

    rm: cannot remove ‘/home/seth/.Steam/steam’: Is a directory
    rm: cannot remove ‘/home/seth/.Steam/bin’: Is a directory
    Installing breakpad exception handler for appid(Steam)/version(1404163764_client)
    Installing breakpad exception handler for appid(Steam)/version(1404163764_client)
    Installing breakpad exception handler for appid(Steam)/version(1404163764_client)
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
    [0705/210154:WARNING:proxy_service.cc(958)] PAC support disabled because there is no system implementation
    Installing breakpad exception handler for appid(Steam)/version(1404163764_client)
    Installing breakpad exception handler for appid(Steam)/version(1404163764_client)
    [HTTP Remote Control] HTTP server listening on port 27037.
    Installing breakpad exception handler for appid(Steam)/version(1404163764_client)
    Installing breakpad exception handler for appid(Steam)/version(1404163764_client)
    Installing breakpad exception handler for appid(Steam)/version(1404163764_client)
    Installing breakpad exception handler for appid(Steam)/version(1404163764_client)
    Generating new string page texture 2: 48x256, total string texture memory is 49.15 KB
    Generating new string page texture 3: 256x256, total string texture memory is 311.30 KB
    Installing breakpad exception handler for appid(Steam)/version(1404163764_client)
    Installing breakpad exception handler for appid(Steam)/version(1404163764_client)
    Adding licenses for the following package(s): 0, 11092, 11707, 14631, 28756, 29136
    roaming config store loaded successfully - 716 bytes.
    migrating temporary roaming config store
    Installing breakpad exception handler for appid(Steam)/version(1404163764_client)
    Failed to init SteamVR because it isn't installed
    ExecCommandLine: "/home/seth/.Steam/ubuntu12_32/Steam"
    System startup time: 6.84 seconds
    Generating new string page texture 73: 1024x256, total string texture memory is 1.36 MB
    Generating new string page texture 74: 128x256, total string texture memory is 131.07 KB
    Generating new string page texture 75: 128x256, total string texture memory is 1.49 MB
    Generating new string page texture 76: 64x256, total string texture memory is 1.56 MB
    Generating new string page texture 77: 32x256, total string texture memory is 1.59 MB

    (Steam:4437): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

    (Steam:4437): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

    (Steam:4437): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

    (Steam:4437): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

    (Steam:4437): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

    (Steam:4437): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

    (Steam:4437): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

    (Steam:4437): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

    (Steam:4437): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

    (Steam:4437): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

    (Steam:4437): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

    (Steam:4437): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

    (Steam:4437): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    Generating new string page texture 82: 128x256, total string texture memory is 1.72 MB
    Generating new string page texture 83: 384x256, total string texture memory is 2.11 MB
    ExecCommandLine: "/home/seth/.Steam/root/ubuntu12_32/Steam steam://open/driverhelperready"
    ExecSteamURL: "Steam://open/driverhelperready"
    Game update: AppID 8930 "Sid Meier's Civilization V", ProcID 4526, IP 0.0.0.0:0
    ERROR: ld.so: object '/home/seth/.Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.

    (Steam:4437): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

    (Steam:4437): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

    (Steam:4437): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

    (Steam:4437): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

    (Steam:4437): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

    (Steam:4437): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

    (Steam:4437): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

    (Steam:4437): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

    (Steam:4437): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

    (Steam:4437): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

    (Steam:4437): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

    (Steam:4437): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

    (Steam:4437): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
    ERROR: ld.so: object '/home/seth/.Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
    Setting breakpad minidump AppID = 8930
    Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198080162579 [API loaded no]
    Installing breakpad exception handler for appid(gameoverlayui)/version(20140630132217_client)
    Installing breakpad exception handler for appid(gameoverlayui)/version(1.0_client)
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: Installing breakpad exception handler for appid(gameoverlayui)/version(1.0_client)
    non-double matrix element
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
    [0705/210210:WARNING:proxy_service.cc(958)] PAC support disabled because there is no system implementation
    Installing breakpad exception handler for appid(gameoverlayui)/version(1.0_client)    
5
kbitikofer
fc-cache -v | grep -i err

78行目でもエラーが表示されます(私にとって)。結局のところ、<matrix>要素/etc/fonts/conf.d/10-scale-bitmap-fonts.confには2 <name>要素が1つだけ必要な場合。実行:

Sudo nano "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf"

そして、次のような余分な行を削除します。

<name>pixelsizefixupfactor</name>

fc-cacheクエリがエラーを返さなくなり、Steam(およびその後のゲーム)をロードするときにFontconfig error:行はなくなりました。

あたり http://linux.die.net/man/5/fonts-conf 4が必要だと思った<double>要素の<matrix>が必要とは思われません。

4
pbhj

Steamオーバーレイをオフにしてみてください。ライブラリでゲームを右クリックし、[プロパティ]を選択して、[ゲーム中にSteamオーバーレイを有効にする]チェックボックスをオフにします。これで修正されました。

1
Rob Mcelvenny

誰かが言及しました ここ この解決策:

/usr/local/etc/fonts/fonts.confファイルのfontconfigを削除するだけです

試して頂けますか?

調べるために、ビデオがフリーズする問題の実際の原因は次のとおりです。

  • 1つの端末のコマンドラインでSteamを開始します。
  • 別の端末のコマンドラインでCiv Vを起動します。 find St​​eamディレクトリの実行ファイル(~/.local/share/Steam(Ubuntuの場合)このように:find ~/.local/share/Steam/ -executable -type f | grep -i civ
  • 楽しい時間!エラーが発生するまでCiv Vを再生します。 Civ Vをすばやく倒します。
  • Steamの出力とcivバイナリを確認し、「Error:Term」のようなエラーメッセージをここまたはGoogleに投稿します。二重引用符を使用します。
0
polym

10-scale-bitmap-fonts.confから/etc/fonts/conf.dを削除してfc-cache -fvを実行してください

0
ucil