每当应用程序运行 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
尽管应用程序不会完全崩溃,但在打印此错误时视频会冻结,并且音频会继续且不会出现错误。
- 是字体配置错误导致的问题吗?
- 我如何解决它?
编辑:
计算机是 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)
答案1
fc-cache -v | grep -i err
也会在第 78 行给你一个错误(对我来说)。结果是,<matrix>
中的元素本来应该只有一个,但却/etc/fonts/conf.d/10-scale-bitmap-fonts.conf
有 2 个。<name>
正在做:
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>
但似乎没有必要。
答案2
尝试关闭蒸汽覆盖。右键单击库中的游戏,选择“属性”,然后取消选中“在游戏中启用 Steam 界面”。这为我解决了这个问题。
答案3
有人提到这里这个解决方案:
只需删除 /usr/local/etc/fonts/fonts.conf 文件中的 fontconfig
你能尝试一下吗?
要找出导致视频冻结问题的真正原因,请执行以下操作:
steam
在一个终端上以命令行启动。- 在另一个终端上的命令行中启动 Civ V。
find
Steam 目录中的可执行文件(~/.local/share/Steam
在 Ubuntu 上)如下所示:find ~/.local/share/Steam/ -executable -type f | grep -i civ
- 欢乐时光!玩《Civ V》直到出现错误。快速杀死文明V。
- 查看
steam
civ 二进制文件的输出,并将其发布在此处或 Google 上以获取如下错误消息:“Error: Term”,使用双引号。
答案4
10-scale-bitmap-fonts.conf
从中删除/etc/fonts/conf.d
并为我运行fc-cache -fv
它的工作