box64 icon indicating copy to clipboard operation
box64 copied to clipboard

Application launches, is unusable due to fonts not being displayed/input not working

Open kentookura opened this issue 9 months ago • 18 comments

Thanks for the work on box64. I have manually compiled box64 for Snapdragon and am using a prebuilt wine. I am trying to run the bazaar. The installer ran fine. The application launches, but it seems that no text is able to be displayed: the login menu and text fields are all empty (images work fine). Entering text into the login menu also seems to be broken: the application logs that the password/email field is empty when attempting to log in. Attached is the full log file.

Thanks!

logs

kentookura avatar Apr 08 '25 13:04 kentookura

Maybe you need "corefonts" or something like that? try installing them with winetricks if you haven't already.

ptitSeb avatar Apr 08 '25 14:04 ptitSeb

I did try that but I am unsure if that command succeeded:

Executing cd /home/kento/.local/bin
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
------------------------------------------------------
warning: You appear to be using Wine's new wow64 mode. Note that this is EXPERIMENTAL and not yet fully supported. If reporting an issue, be sure to mention this.
------------------------------------------------------
Using winetricks 20250102-next - sha256sum: fd4f57a2b385c89ea896a3a8115003e935551e410128b2353dfebe2915d93d3f with wine_main_preload_info not found
wine-10.5 and WINEARCH=win64
installed_file1="[BOX64] Warning, Symbol wine_main_preload_info not found
------------------------------------------------------
warning: bug: w_metadata art2kmin corrupt, might need forward slashes?
------------------------------------------------------

kentookura avatar Apr 08 '25 14:04 kentookura

I will try to start the application in a fully-fledged desktop environment. The logs indicate to me that some part of dwm are struggling.

kentookura avatar Apr 08 '25 14:04 kentookura

You need to update your box64 to the latest version, that will fix the winetricks issue and then you can install corefonts...

ptitSeb avatar Apr 08 '25 15:04 ptitSeb

This worked: I was able to start the launcher and log in. After successfully downloading the game I tried starting it. This caused the machine to freeze. I was not able to enter a tty and forced a shutdown. After rebooting, I had to run fsck to fix the filesystem. Now starting the launcher does not work anymore:

[BOX64] Box64 with Dynarec v0.3.5 8b3d4404 built on Apr  8 2025 17:11:01
[BOX64] Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT AFP RNDR
[BOX64] Running on - with 12 cores, pagesize: 4096
[BOX64] Will use hardware counter measured at 19.2 MHz emulating 2.4 GHz
[BOX64] Wine64 detected, WINEPRELOADRESERVE=""
[BOX64] Detected 48bits at least of address space
[BOX64] WINE prereserve of 0x10000:0x8000 done
[BOX64] WINE prereserve of 0x110000:0x30000000 done
[BOX64] WINE prereserve of 0x7f000000:0x3000000 done
[BOX64] Detected running wine with "tempo-launcher.exe"
[BOX64] Counted 67 Env var
[BOX64] Library search path:
[BOX64] Binary search path: ./:bin/:/nix/var/nix/profiles/default/bin/:/home/kento/.nix-profile/bin/:/nix/var/nix/profiles/default/bin/:/home/kento/.nix-profile/bin/:/home/kento/.nix-profile/bin/:/nix/var/nix/profiles/default/bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/games/:/usr/local/games/:/snap/bin/:/snap/bin/
[BOX64] Looking for /home/kento/Downloads/wine-10.5-amd64/bin/./wine
[BOX64] BOX64ENV: Variables overridden via env and/or RC file:
        BOX64_MAXCPU=64
[BOX64] argv[1]="/home/kento/bazaar/Tempo Launcher - Beta/tempo-launcher.exe"
[BOX64] Rename process to "wine"
[BOX64] Using native(wrapped) libdl.so.2
[BOX64] Using native(wrapped) libc.so.6
[BOX64] Using native(wrapped) ld-linux-x86-64.so.2
[BOX64] Using native(wrapped) libpthread.so.0
[BOX64] Using native(wrapped) libutil.so.1
[BOX64] Using native(wrapped) librt.so.1
[BOX64] Using native(wrapped) libbsd.so.0
[BOX64] Using emulated /home/kento/Downloads/wine-10.5-amd64/bin/../lib/wine/x86_64-unix/ntdll.so
[BOX64] Using emulated /usr/lib/box64-x86_64-linux-gnu/libgcc_s.so.1
[BOX64] Box64 with Dynarec v0.3.5 8b3d4404 built on Apr  8 2025 17:11:01
[BOX64] Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT AFP RNDR
[BOX64] Running on - with 12 cores, pagesize: 4096
[BOX64] Will use hardware counter measured at 19.2 MHz emulating 2.4 GHz
[BOX64] Wine preloader detected, loading "/home/kento/Downloads/wine-10.5-amd64/lib/wine/x86_64-unix/wine" directly
[BOX64] Wine64 detected, WINEPRELOADRESERVE=""
[BOX64] Detected 48bits at least of address space
[BOX64] WINE prereserve of 0x10000:0x8000 done
[BOX64] WINE prereserve of 0x110000:0x30000000 done
[BOX64] WINE prereserve of 0x7f000000:0x3000000 done
[BOX64] Detected running wine with "tempo-launcher.exe"
[BOX64] Counted 69 Env var
[BOX64] Library search path:
[BOX64] Binary search path: ./:bin/:/nix/var/nix/profiles/default/bin/:/home/kento/.nix-profile/bin/:/nix/var/nix/profiles/default/bin/:/home/kento/.nix-profile/bin/:/home/kento/.nix-profile/bin/:/nix/var/nix/profiles/default/bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/games/:/usr/local/games/:/snap/bin/:/snap/bin/
[BOX64] Looking for /home/kento/Downloads/wine-10.5-amd64/lib/wine/x86_64-unix/wine
[BOX64] BOX64ENV: Variables overridden via env and/or RC file:
        BOX64_MAXCPU=64
[BOX64] argv[1]="/home/kento/bazaar/Tempo Launcher - Beta/tempo-launcher.exe"
[BOX64] Rename process to "wine"
[BOX64] Using native(wrapped) libdl.so.2
[BOX64] Using native(wrapped) libpthread.so.0
[BOX64] Using native(wrapped) libc.so.6
[BOX64] Using native(wrapped) ld-linux-x86-64.so.2
[BOX64] Using native(wrapped) libutil.so.1
[BOX64] Using native(wrapped) librt.so.1
[BOX64] Using native(wrapped) libbsd.so.0
[BOX64] Using emulated /home/kento/Downloads/wine-10.5-amd64/lib/wine/x86_64-unix/ntdll.so
[BOX64] Using emulated /usr/lib/box64-x86_64-linux-gnu/libgcc_s.so.1
[BOX64] posix_spawn(0xffffba1fedec, "/home/kento/Downloads/wine-10.5-amd64/lib/wine/../../bin/wineserver", (nil), (nil), 0xffffba1fedf0["/home/kento/Downloads/wine-10.5-amd64/lib/wine/../../bin/wineserver", "", ...], 0xffffba1ff170), IsX64=1, IsX86=0 IsScript=0 envp is context->envv
[BOX64]  => posix_spawn(0xffffba1fedec, "/usr/local/bin/box64", (nil), (nil), 0xffffcbd7dc20 ["/usr/local/bin/box64", "/home/kento/Downloads/wine-10.5-amd64/lib/wine/../../bin/wineserver", ""...:1], 0xffffcbd7e430)
[BOX64] posix_spawn returned 0
[BOX64] Box64 with Dynarec v0.3.5 8b3d4404 built on Apr  8 2025 17:11:01
[BOX64] Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT AFP RNDR
[BOX64] Running on - with 12 cores, pagesize: 4096
[BOX64] Will use hardware counter measured at 19.2 MHz emulating 2.4 GHz
[BOX64] Detected 48bits at least of address space
[BOX64] Counted 69 Env var
[BOX64] Library search path:
[BOX64] Binary search path: ./:bin/:/nix/var/nix/profiles/default/bin/:/home/kento/.nix-profile/bin/:/nix/var/nix/profiles/default/bin/:/home/kento/.nix-profile/bin/:/home/kento/.nix-profile/bin/:/nix/var/nix/profiles/default/bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/games/:/usr/local/games/:/snap/bin/:/snap/bin/
[BOX64] Looking for /home/kento/Downloads/wine-10.5-amd64/lib/wine/../../bin/wineserver
[BOX64] Rename process to "wineserver"
[BOX64] Using native(wrapped) libdl.so.2
[BOX64] Using native(wrapped) libc.so.6
[BOX64] Using native(wrapped) ld-linux-x86-64.so.2
[BOX64] Using native(wrapped) libpthread.so.0
[BOX64] Using native(wrapped) libutil.so.1
[BOX64] Using native(wrapped) librt.so.1
[BOX64] Using native(wrapped) libbsd.so.0
002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2).
wine: failed to open "/home/kento/bazaar/Tempo Launcher - Beta/tempo-launcher.exe": c0000135

kentookura avatar Apr 08 '25 16:04 kentookura

Running the command from the location of the binary seems to have resolved this... Still trying to get into the game though

kentookura avatar Apr 08 '25 16:04 kentookura

Trying again froze the computer, needed to run fsck again...

kentookura avatar Apr 08 '25 16:04 kentookura

You might be running out of memory? maybe try to use a swapfile to see if it improve things.

You might also be triggering a bug in the graphic driver... which is probably not easy to workaround.

ptitSeb avatar Apr 08 '25 16:04 ptitSeb

Mmmm, this is an X-Elite machine right? I noticed instability with Freedreno (the OpenGL driver). Try to install dxvk to use vulkan in wine maybe?

ptitSeb avatar Apr 08 '25 16:04 ptitSeb

Yes, X-elite. I'll try this and get back to you. Thanks for your responsive help!

kentookura avatar Apr 08 '25 16:04 kentookura

No difference I'm afraid. I can't imagine that RAM is the issue, I have 32 gigs.

kentookura avatar Apr 08 '25 19:04 kentookura

yeah, not a memory issue on an X-Elite.

I still think it's probably an OpenGL/Freedreno issue.

Does this game run on OpenGL or DirectX?

ptitSeb avatar Apr 08 '25 20:04 ptitSeb

According to a dev, it runs on DirectX

kentookura avatar Apr 08 '25 20:04 kentookura

Do you see dxvk initializing on the console when launching the game? if no, then you may not have installed dxvk correctly?

ptitSeb avatar Apr 08 '25 20:04 ptitSeb

After double checking the installation instructions for DXVK, I did find a step that I missed. I fixed it and now see DXVK mentioned in the logs. My computer doesn't crash anymore, but the screen remains black, just the in-game cursor appears.

kentookura avatar Apr 08 '25 20:04 kentookura

with winetricks, it should be just winetricks dxvk to install it.

ptitSeb avatar Apr 08 '25 20:04 ptitSeb

The behavior is the same as when I installed it manually

kentookura avatar Apr 09 '25 08:04 kentookura

@kentookura If you're on Ubuntu, you can try upgrading the Mesa graphics drivers with this PPA:

https://launchpad.net/~kisak/+archive/ubuntu/kisak-mesa

Then retest with the latest Box64.

LukeShortCloud avatar Sep 25 '25 00:09 LukeShortCloud