Wine cannot find Freetype Font

Hi all,
I write as i hope you can help me.

I run EndeavourOS and here’s the output for lutris submit-issue

2022-05-01 14:19:17,899: Starting Lutris 0.5.10.1
2022-05-01 14:19:17,922: No folder at /home/leonardo/.local/share/lutris/runners/retroarch/
2022-05-01 14:19:17,958: Using NVIDIA drivers 510.60.02 for x86_64
2022-05-01 14:19:17,958: GPU: NVIDIA GeForce RTX 3070
2022-05-01 14:19:17,958: GPU: 10DE:2484 196E:136E (nvidia drivers)

I’m trying to install Nex Machina, but using lutris.fshack.7.2 it hangs when Wine tries to draw the installer.

Here’s the log:

[leonardo@leonardo-ms7c84 ~]$ lutris -d
INFO     2022-05-01 14:23:58,278 [startup.init_lutris:173]:Starting Lutris 0.5.10.1
WARNING  2022-05-01 14:23:58,301 [libretro.get_libretro_cores:24]:No folder at /home/leonardo/.local/share/lutris/runners/retroarch/
DEBUG    2022-05-01 14:23:58,306 [xrandr._get_vidmodes:15]:Retrieving video modes from XrandR
INFO     2022-05-01 14:23:58,378 [startup.check_driver:57]:Using NVIDIA drivers 510.60.02 for x86_64
INFO     2022-05-01 14:23:58,378 [startup.check_driver:61]:GPU: NVIDIA GeForce RTX 3070
INFO     2022-05-01 14:23:58,378 [startup.check_driver:77]:GPU: 10DE:2484 196E:136E (nvidia drivers)
INFO     2022-05-01 14:23:58,407 [startup.update_runtime:213]:Startup complete
DEBUG    2022-05-01 14:23:58,467 [lutriswindow.update_store:437]:Showing 208 games
DEBUG    2022-05-01 14:24:07,708 [base.install:210]:Installing 1124718952 from service gog
DEBUG    2022-05-01 14:24:07,708 [http.get:83]:GET https://lutris.net/api/games/service/gog
DEBUG    2022-05-01 14:24:07,939 [api.get_game_installers:160]:Fetching installer https://lutris.net/api/installers/nex-machina
DEBUG    2022-05-01 14:24:07,939 [http.get:83]:GET https://lutris.net/api/installers/nex-machina
DEBUG    2022-05-01 14:24:08,132 [application.show_window:332]:Showing window InstallerWindow1124718952
DEBUG    2022-05-01 14:24:09,675 [xrandr._get_vidmodes:15]:Retrieving video modes from XrandR
INFO     2022-05-01 14:24:11,400 [runner.get_runner_version:324]:Getting runner information for wine
DEBUG    2022-05-01 14:24:11,401 [http.get:83]:GET https://lutris.net/api/runners/wine
DEBUG    2022-05-01 14:24:11,578 [interpreter.get_runners_to_install:223]:Default wine version is lutris-fshack-7.2
DEBUG    2022-05-01 14:24:11,579 [interpreter.get_extras:159]:Checking if service provide extra files
DEBUG    2022-05-01 14:24:11,579 [gog.get_extras:326]:Download extras for GOG ID 1124718952 and its DLCs
INFO     2022-05-01 14:24:11,579 [gog.get_game_details:292]:Getting game details for 1124718952
DEBUG    2022-05-01 14:24:11,579 [http.get:83]:GET https://auth.gog.com/token?client_id=46899977096215655&client_secret=9d85c43b1482497dbbce61f6e4aa173a433796eeae2ca8c5f6129f2dc4de46d9&grant_type=refresh_token&refresh_token=8cEpCU62fyAHFZmPaKEDHGm05g98P5-l7QIdSNNBEVee7w50eia_Yfjk3d03tYzQ
DEBUG    2022-05-01 14:24:11,780 [http.get:83]:GET https://api.gog.com/products/1124718952?expand=downloads&locale=en-US
INFO     2022-05-01 14:24:12,216 [gog.get_game_details:292]:Getting game details for 1124718952
DEBUG    2022-05-01 14:24:12,217 [http.get:83]:GET https://api.gog.com/products/1124718952?expand=downloads&locale=en-US
DEBUG    2022-05-01 14:24:12,436 [http.get:83]:GET https://embed.gog.com/userData.json
INFO     2022-05-01 14:24:13,023 [installer.prepare_game_files:155]:Getting files for goginstaller
INFO     2022-05-01 14:24:13,023 [installer.prepare_game_files:157]:Adding selected extras to downloads
INFO     2022-05-01 14:24:13,024 [gog.get_game_details:292]:Getting game details for 1124718952
DEBUG    2022-05-01 14:24:13,025 [http.get:83]:GET https://api.gog.com/products/1124718952?expand=downloads&locale=en-US
INFO     2022-05-01 14:24:13,317 [gog.get_download_info:298]:Getting download info for https://api.gog.com/products/1124718952/downlink/installer/en1installer0
DEBUG    2022-05-01 14:24:13,318 [http.get:83]:GET https://api.gog.com/products/1124718952/downlink/installer/en1installer0
DEBUG    2022-05-01 14:24:13,641 [interpreter.create_game_folder:181]:Creating destination path /home/leonardo/Games/gog/nex-machina
DEBUG    2022-05-01 14:24:15,240 [downloader.start:65]:⬇ https://content-system.gog.com/products/1124718952/users/46987940115169996/namespaces/website/download?path=%2Fsecure%2Foffline%2F1124718952%2F1124718952%2F50727000147917630%2F4802%2Fsetup_nex_machina_v1.06_0073_%2816715%29.exe&token=eyJhbGciOiJIUzI1NiIsImV4cCI6IjE2NTE0OTQyNTMifQ.eyJjb250ZW50Ijoie1widXNlcl9pZFwiOjQ2OTg3OTQwMTE1MTY5OTk2LFwicHJvZHVjdF9pZFwiOjExMjQ3MTg5NTIsXCJwYXRoXCI6XCJcXFwvc2VjdXJlXFxcL29mZmxpbmVcXFwvMTEyNDcxODk1MlxcXC8xMTI0NzE4OTUyXFxcLzUwNzI3MDAwMTQ3OTE3NjMwXFxcLzQ4MDJcXFwvc2V0dXBfbmV4X21hY2hpbmFfdjEuMDZfMDA3M18oMTY3MTUpLmV4ZVwifSIsImV4cCI6IjE2NTE0OTQyNTMifQ.jVVz7a6ax4VvPJK9e4aQZFYjq78SSCLV4jmBDeDzRLA&access_token=mx0ixdlnVxNaPOOis1dZeBQr1040GuEEmLiluq7ikGzeQZaAAvcvUbxUGtcolnarhHQvjzE4eg2AzhH2c1YgkYaIsZ9mAolHcm86qnQ5RZu_xMcVNpDvCt1X9PjfBBSIofDQ8whPTTLZiXXsMjniag
DEBUG    2022-05-01 14:27:01,379 [downloader.download_cb:125]:Finished downloading https://content-system.gog.com/products/1124718952/users/46987940115169996/namespaces/website/download?path=%2Fsecure%2Foffline%2F1124718952%2F1124718952%2F50727000147917630%2F4802%2Fsetup_nex_machina_v1.06_0073_%2816715%29.exe&token=eyJhbGciOiJIUzI1NiIsImV4cCI6IjE2NTE0OTQyNTMifQ.eyJjb250ZW50Ijoie1widXNlcl9pZFwiOjQ2OTg3OTQwMTE1MTY5OTk2LFwicHJvZHVjdF9pZFwiOjExMjQ3MTg5NTIsXCJwYXRoXCI6XCJcXFwvc2VjdXJlXFxcL29mZmxpbmVcXFwvMTEyNDcxODk1MlxcXC8xMTI0NzE4OTUyXFxcLzUwNzI3MDAwMTQ3OTE3NjMwXFxcLzQ4MDJcXFwvc2V0dXBfbmV4X21hY2hpbmFfdjEuMDZfMDA3M18oMTY3MTUpLmV4ZVwifSIsImV4cCI6IjE2NTE0OTQyNTMifQ.jVVz7a6ax4VvPJK9e4aQZFYjq78SSCLV4jmBDeDzRLA&access_token=mx0ixdlnVxNaPOOis1dZeBQr1040GuEEmLiluq7ikGzeQZaAAvcvUbxUGtcolnarhHQvjzE4eg2AzhH2c1YgkYaIsZ9mAolHcm86qnQ5RZu_xMcVNpDvCt1X9PjfBBSIofDQ8whPTTLZiXXsMjniag
INFO     2022-05-01 14:27:01,611 [file_box.on_download_complete:252]:Download completed
DEBUG    2022-05-01 14:27:01,611 [files_box.on_file_available:93]:goginstaller is available
INFO     2022-05-01 14:27:01,611 [files_box.on_file_available:99]:All files available
INFO     2022-05-01 14:27:01,611 [installerwindow.on_files_available:463]:All files are available, continuing install
DEBUG    2022-05-01 14:27:01,612 [interpreter._iter_commands:317]:Installer command: {'autosetup_gog_game': 'goginstaller'}
DEBUG    2022-05-01 14:27:01,631 [wine.detect_prefix_arch:81]:Prefix not found: /home/leonardo/Games/gog/nex-machina
INFO     2022-05-01 14:27:01,632 [wine.create_prefix:96]:Creating a win64 prefix in /home/leonardo/Games/gog/nex-machina
DEBUG    2022-05-01 14:27:01,632 [system.execute:56]:Executing /home/leonardo/.local/share/lutris/runners/wine/lutris-fshack-7.2-x86_64/bin/wineboot
DEBUG    2022-05-01 14:27:01,632 [system.execute:62]:WINEARCH=win64 WINEPREFIX=/home/leonardo/Games/gog/nex-machina WINEDLLOVERRIDES=winemenubuilder= WINE_MONO_CACHE_DIR=/home/leonardo/.local/share/lutris/runners/wine/lutris-fshack-7.2-x86_64/mono WINE_GECKO_CACHE_DIR=/home/leonardo/.local/share/lutris/runners/wine/lutris-fshack-7.2-x86_64/gecko
INFO     2022-05-01 14:27:12,430 [wine.create_prefix:150]:win64 Prefix created in /home/leonardo/Games/gog/nex-machina
DEBUG    2022-05-01 14:27:12,471 [wine.use_lutris_runtime:115]:/home/leonardo/.local/share/lutris/runners/wine/lutris-fshack-7.2-x86_64/bin/wine is provided by Lutris, using runtime
DEBUG    2022-05-01 14:27:12,888 [command.start:141]:__GL_SHADER_DISK_CACHE="1"
DEBUG    2022-05-01 14:27:12,888 [command.start:141]:__GL_SHADER_DISK_CACHE_PATH="/home/leonardo/.cache/lutris/shaders/wine"
DEBUG    2022-05-01 14:27:12,888 [command.start:141]:VK_ICD_FILENAMES="/usr/share/vulkan/icd.d/nvidia_icd.json"
DEBUG    2022-05-01 14:27:12,888 [command.start:141]:LD_LIBRARY_PATH="/home/leonardo/.local/share/lutris/runtime/Ubuntu-18.04-i686:/home/leonardo/.local/share/lutris/runtime/steam/i386/lib/i386-linux-gnu:/home/leonardo/.local/share/lutris/runtime/steam/i386/lib:/home/leonardo/.local/share/lutris/runtime/steam/i386/usr/lib/i386-linux-gnu:/home/leonardo/.local/share/lutris/runtime/steam/i386/usr/lib:/home/leonardo/.local/share/lutris/runtime/Ubuntu-18.04-x86_64:/home/leonardo/.local/share/lutris/runtime/steam/amd64/lib/x86_64-linux-gnu:/home/leonardo/.local/share/lutris/runtime/steam/amd64/lib:/home/leonardo/.local/share/lutris/runtime/steam/amd64/usr/lib/x86_64-linux-gnu:/home/leonardo/.local/share/lutris/runtime/steam/amd64/usr/lib"
DEBUG    2022-05-01 14:27:12,888 [command.start:141]:WINEDEBUG="-all"
DEBUG    2022-05-01 14:27:12,888 [command.start:141]:DXVK_LOG_LEVEL="none"
DEBUG    2022-05-01 14:27:12,888 [command.start:141]:WINEARCH="win64"
DEBUG    2022-05-01 14:27:12,888 [command.start:141]:WINE="/home/leonardo/.local/share/lutris/runners/wine/lutris-fshack-7.2-x86_64/bin/wine"
DEBUG    2022-05-01 14:27:12,888 [command.start:141]:WINE_MONO_CACHE_DIR="/home/leonardo/.local/share/lutris/runners/wine/lutris-fshack-7.2-x86_64/mono"
DEBUG    2022-05-01 14:27:12,888 [command.start:141]:WINE_GECKO_CACHE_DIR="/home/leonardo/.local/share/lutris/runners/wine/lutris-fshack-7.2-x86_64/gecko"
DEBUG    2022-05-01 14:27:12,889 [command.start:141]:GST_PLUGIN_SYSTEM_PATH_1_0="/home/leonardo/.local/share/lutris/runners/wine/lutris-fshack-7.2-x86_64/lib64/gstreamer-1.0/:/home/leonardo/.local/share/lutris/runners/wine/lutris-fshack-7.2-x86_64/lib/gstreamer-1.0/"
DEBUG    2022-05-01 14:27:12,889 [command.start:141]:WINEPREFIX="/home/leonardo/Games/gog/nex-machina"
DEBUG    2022-05-01 14:27:12,889 [command.start:141]:WINEESYNC="1"
DEBUG    2022-05-01 14:27:12,889 [command.start:141]:WINEFSYNC="1"
DEBUG    2022-05-01 14:27:12,889 [command.start:141]:WINE_FULLSCREEN_FSR="1"
DEBUG    2022-05-01 14:27:12,889 [command.start:141]:DXVK_NVAPIHACK="0"
DEBUG    2022-05-01 14:27:12,889 [command.start:141]:DXVK_ENABLE_NVAPI="1"
DEBUG    2022-05-01 14:27:12,889 [command.start:141]:PROTON_BATTLEYE_RUNTIME="/home/leonardo/.local/share/lutris/runtime/battleye_runtime"
DEBUG    2022-05-01 14:27:12,889 [command.start:141]:PROTON_EAC_RUNTIME="/home/leonardo/.local/share/lutris/runtime/eac_runtime"
DEBUG    2022-05-01 14:27:12,889 [command.start:141]:WINEDLLOVERRIDES="winemenubuilder="
DEBUG    2022-05-01 14:27:12,889 [command.start:141]:PYTHONPATH="/usr/lib/lutris:/usr/bin:/usr/lib/python310.zip:/usr/lib/python3.10:/usr/lib/python3.10/lib-dynload:/usr/lib/python3.10/site-packages"
DEBUG    2022-05-01 14:27:12,889 [command.start:141]:LUTRIS_GAME_UUID="df660a88-bdce-49f4-a31c-d444314c537a"
Started initial process 9436 from /home/leonardo/.local/share/lutris/runners/wine/lutris-fshack-7.2-x86_64/bin/wine /home/leonardo/.cache/lutris/installer/nex-machina/gog/setup_nex_machina_v1.06_0073_(16715).exe /SP- /NOCANCEL
Start monitoring process.
fsync: up and running.
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org

Disclaimer: when first installing everything I wasn’t sure if i installed Wine first, so i proceeded to uninstall Lutris, reinstall Wine normally and then Lutris. Didn’t work.
Uninstalled everything again, and run the suggested “dependencies hell solving” commands in the wiki.
Reinstalled everything again, still no luck.

I tried to install freetype2, but to no avail.

I’d really like not to have to nuke this install of endeavourOS, after a nightmare with Fedora (thanks nVidia) i’m really settling in. Other Windows games work too, but i’d like to avoid encountering the problem again on something I didn’t get gifted again on steam lol

Any kind soul knows the fix?

1 Like

Same problem.
Are you on Ubuntu? apparently “lib32-freetype2” needs to be installed.
I’m on Manjaro and installing lib32-freetype2 (which is the equivalent on Manjaro apparently) gets the same error.

Enable multilib, install the package for 32 bits and try again.

Also please install all the dependencies listed here: