为什么 mangohud 不能与 wine 一起使用?

为什么 mangohud 不能与 wine 一起使用?

我无法让 mangohud 运行我通过 wine 运行的游戏

这是我使用的命令:

mangohud wine <.exe_file>

我也尝试过:

mangohud --dlsym wine deadcells

这是它向我抛出的输出:

ERROR: ld.so: object 'libMangoHud_dlsym.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libMangoHud.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libMangoHud_dlsym.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libMangoHud.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
002c:fixme:winediag:LdrInitializeThunk wine-staging 6.12 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
006c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
006c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0074:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0074:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
INTEL-MESA: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

006c:fixme:seh:virtual_unwind calling personality routine in system library not supported yet
006c:fixme:seh:virtual_unwind calling personality routine in system library not supported yet
006c:fixme:seh:virtual_unwind calling personality routine in system library not supported yet
006c:fixme:seh:virtual_unwind calling personality routine in system library not supported yet
006c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
006c:err:winediag:nodrv_CreateWindow Unknown error (998).
006c:err:systray:initialize_systray Could not create tray window
0094:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0094:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:err:environ:run_wineboot boot event wait timed out
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00f0:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00f0:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
^C0104:err:sync:RtlpWaitForCriticalSection section 7BC69360 "dlls/ntdll/loader.c: loader_section" wait timed out in thread 0104, blocked by 0024, retrying (60 sec)
00f8:err:sync:RtlpWaitForCriticalSection section 000000007BC6B540 "dlls/ntdll/loader.c: loader_section" wait timed out in thread 00f8, blocked by 0034, retrying (60 sec)
0100:err:sync:RtlpWaitForCriticalSection section 000000007BC6B540 "dlls/ntdll/loader.c: loader_section" wait timed out in thread 0100, blocked by 002c, retrying (60 sec)

答案1

对我来说,这正是问题所在。

sudo pacman -S lib32-mangohud

在 Ubuntu 中一定有一个这样的包,也许是同名的包。

针对 Ubuntu 进行了更新:

查看 MangoHUD 文档,最好像这样安装:

sudo apt install mangohud mangohud:i386

相关内容