Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vmware workstation / player font issue (square characters instead of text) #177270

Closed
hansemschnokeloch opened this issue Jun 11, 2022 · 5 comments · Fixed by #177286
Closed

vmware workstation / player font issue (square characters instead of text) #177270

hansemschnokeloch opened this issue Jun 11, 2022 · 5 comments · Fixed by #177286

Comments

@hansemschnokeloch
Copy link

Describe the bug

Fonts are missing, square characters are displayed

vmware

Steps To Reproduce

Steps to reproduce the behavior:

  1. Install vmware-workstation
  2. Start vmware workstation or player

Additional context

I started a discussion on https://discourse.nixos.org/t/font-issue-with-vmware-workstation/19669

Notify maintainers

/cc @deinferno

Metadata

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.43, NixOS, 22.05 (Quokka), 22.05.714.e5556c75ac0`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.8.1`
 - channels(root): `"nixos-22.05"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
@deinferno
Copy link
Contributor

I can reproduce this, probably related to some missing font in freshly installed systems

@hansemschnokeloch
Copy link
Author

I launched vmware with FC_DEBUG=8, but I'm not able to interpret these errors messages, hope this can help

FC_DEBUG=8
adding fonts from /usr/share/fonts
cache scan dir /usr/share/fonts
adding fonts from /home/pascal/.local/share/fonts
cache scan dir /home/pascal/.local/share/fonts
adding fonts from /home/pascal/.fonts
cache scan dir /home/pascal/.fonts
FontSet 0 of 0
/nix/store/v5yhx9hp13dy9hzil83xwgbrzp7c8gni-dconf-0.40.0-lib/lib/gio/modules/libdconfsettings.so: undefined symbol: g_log_structured_standard
Failed to load module: /nix/store/v5yhx9hp13dy9hzil83xwgbrzp7c8gni-dconf-0.40.0-lib/lib/gio/modules/libdconfsettings.so
'g_io_module_load': /nix/store/z4yprly9sv4gp672nxizig0x5dn5bd8c-glib-networking-2.72.0/lib/gio/modules/libgioenvironmentproxy.so: undefined symbol: g_io_module_load
Failed to load module: /nix/store/z4yprly9sv4gp672nxizig0x5dn5bd8c-glib-networking-2.72.0/lib/gio/modules/libgioenvironmentproxy.so
/nix/store/z4yprly9sv4gp672nxizig0x5dn5bd8c-glib-networking-2.72.0/lib/gio/modules/libgiognomeproxy.so: undefined symbol: g_task_set_name
Failed to load module: /nix/store/z4yprly9sv4gp672nxizig0x5dn5bd8c-glib-networking-2.72.0/lib/gio/modules/libgiognomeproxy.so
/nix/store/z4yprly9sv4gp672nxizig0x5dn5bd8c-glib-networking-2.72.0/lib/gio/modules/libgiognutls.so: undefined symbol: g_byte_array_steal
Failed to load module: /nix/store/z4yprly9sv4gp672nxizig0x5dn5bd8c-glib-networking-2.72.0/lib/gio/modules/libgiognutls.so
/nix/store/jang67xg1fidp5zpd146f3v14978hhwr-vmware-workstation-16.2.3/lib/vmware/lib/libstdc++.so.6/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /nix/store/p9p9wbgfjc6v23q9lrp5p4201h4pzcgr-libproxy-0.4.17/lib/libproxy.so.1)
Failed to load module: /nix/store/z4yprly9sv4gp672nxizig0x5dn5bd8c-glib-networking-2.72.0/lib/gio/modules/libgiolibproxy.so
/nix/store/dbqgkps4h076lkavi46ms3zzwl8q2wnv-gvfs-1.50.2/lib/gvfs/libgvfscommon.so: undefined symbol: g_task_set_name
Failed to load module: /nix/store/dbqgkps4h076lkavi46ms3zzwl8q2wnv-gvfs-1.50.2/lib/gio/modules/libgioremote-volume-monitor.so
/nix/store/dbqgkps4h076lkavi46ms3zzwl8q2wnv-gvfs-1.50.2/lib/gvfs/libgvfscommon.so: undefined symbol: g_task_set_name
Failed to load module: /nix/store/dbqgkps4h076lkavi46ms3zzwl8q2wnv-gvfs-1.50.2/lib/gio/modules/libgvfsdbus.so

@nixos-discourse
Copy link

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/font-issue-with-vmware-workstation/19669/6

@deinferno
Copy link
Contributor

I found reason for missing fonts, it just loads fonts.conf from lib/vmware/libconf/etc/fonts/fonts.conf instead of system path and vmware's config points to wrong FHS paths, removing file fixes it, i will make a PR with fix, thanks.

@hansemschnokeloch
Copy link
Author

I confirm that deleting lib/vmware/libconf/etc/fonts/fonts.conf fixes the issue.
Thanks a lot !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants