Como corrigir o erro Fontconfig

4

Sempre que o Fontconfig é executado por um aplicativo (no meu caso específico, Civ V em steam), ele gera este erro:

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

Embora o aplicativo não falhe totalmente, o vídeo congela quando esse erro é impresso e o áudio continua sem erros.

  • O erro do Fontconfig está causando o problema?
  • Como faço para corrigir isso?

Editar:

O computador é o Ubuntu 14.04 32 bit. Eu suspeito que o problema está associado ao fontconfig, porque o vídeo (Aspyr intro) congela quando esse erro é impresso, exatamente quando a mensagem da comunidade de vapor da guia shift-shift é mostrada. Esse texto está mal formado e inchado, em vez de discreto. Aqui está o arquivo criado por steam 2> error.txt , que matei depois do problema.

    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)    
    
por kbitikofer 05.07.2014 / 00:42

4 respostas

3

fc-cache -v | grep -i err

também lhe dará um erro na linha 78 (para mim). O que aconteceu foi que o elemento <matrix> em /etc/fonts/conf.d/10-scale-bitmap-fonts.conf tem 2 <name> elementos quando deveria ter apenas um. Fazendo:

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

e removendo a linha extra que diz:

<name>pixelsizefixupfactor</name>

faz com que a consulta fc-cache não retorne nenhum erro e, ao carregar o steam (e os jogos subsequentes), as Fontconfig error: linhas não estão mais presentes.

Por link achei que precisaríamos de 4 <double> elements no <matrix> , mas não parece ser necessário.

    
por 01.02.2015 / 01:37
1

Tente desativar a sobreposição de vapor. Clique com o botão direito do mouse no jogo da sua biblioteca, escolha "Propriedades" e desmarque "Ativar o Steam Overlay enquanto estiver no jogo". Isso consertou isso para mim.

    
por 24.08.2014 / 01:47
0

Alguém mencionou aqui esta solução:

Just remove the fontconfig in the /usr/local/etc/fonts/fonts.conf file

Você pode tentar isso?

Para descobrir o que realmente está causando o problema de congelamento de vídeo, faça o seguinte:

  • Inicie steam na linha de comando em um terminal.
  • Inicie o Civ V na linha de comando em outro terminal. find o executável no seu diretório Steam ( ~/.local/share/Steam no Ubuntu) assim: find ~/.local/share/Steam/ -executable -type f | grep -i civ
  • Tempo de diversão! Jogue Civ V até que você tenha o erro. Mate o Civ V rapidamente.
  • Observe a saída de steam e o binário civ e publique-o aqui ou no Google para as mensagens de erro como esta: "Erro: Termo", use aspas duplas.
por 05.07.2014 / 21:54
0

remova 10-scale-bitmap-fonts.conf de /etc/fonts/conf.d e execute fc-cache -fv seu trabalho para mim

    
por 18.01.2017 / 18:27