Far Cry 3,4 failed to start with dxvk and mangohud
axet opened this issue · 14 comments
Hello!
Far Cry crashing on start with:
[2022-10-29 18:53:42.562] [MANGOHUD] [info] [gl_renderer.cpp:414] GL version: 4.6
../subprojects/imgui-1.81/imgui.cpp:7056: void ImGui::ErrorCheckNewFrameSanityChecks(): Assertion `g.IO.Fonts->Fonts[0]->IsLoaded() && "Font Atlas not built. Did you call io.Fonts->GetTexDataAsRGBA32() / GetTexDataAsAlpha8()?"' failed.
Happens only when dxvk installed, wined3d works fine.
Running game 50 times in a row making Far Cry 3 to start. Looks like concurrency issue. Similar error: #833
mangohud: 0.6.8-1+b1
debian booksworm
EDIT: also it crashing far cry 6 a lot, sometimes mangohud starts to blink with "0 / inf" fps and then game crashes. Without mangohud I have no crashes.
I can confirm this also affects "A Plague Tale: Requiem" and "Assassin's Creed: Odyssey" - Both spits similar errors related to imgui, but work fine without mangohud.
Include Bendy and the dark revival. If I add mangohud to the parameters on Steam it crashes when starting the game. If I leave it alone all is well in the dark worl.
Also seeing this with Assassin's Creed: Syndicate.
Same here. Tried to launch Far Cry 3 with MangoHud and it crashes.
Can someone try this patch
glxpatch.txt
How do I use the patch. Sorry.
@luisalvarado Just tested Half Life 2 and Half Life 1. No issues here.
to apply the patch put the file in the root dir of mangohud that you are building and git apply glxpatch.txt
@gort818 Followed your advice. So here is what I did:
- Followed the build steps in https://github.com/flightlessmango/MangoHud (On Ubuntu 22.10)
- Then before using meson I ran your line with the file inside the mangos folder.
Everything went perfect. Now the game loads but I do not see the mango HUD on the corner for Half-Life 2 and the episodes. Do note that the game DOES run now.
I also took the liberty of testing Bendy to see if it at least loaded and guess what:
So now it loads (Did not play it, had to sleep the kids, but I can confirm the game starts now).
For now, the mango hud not showing could be related to the 32 bit missing from Ubuntu for steam, although I followed the steps provided in the mangohud explanation, using the example:
CC="gcc -m32"
CXX="g++ -m32"
PKG_CONFIG_PATH="/usr/lib32/pkgconfig:/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig"
meson build32 --libdir lib32
ninja -C build32 install
So if I missed something for Ubuntu, that could have been but on Ubuntu 22.10 there is no mangohud:i386 nor option to install it like:
sudo apt install mangohud:i386
Just in case. Which I would think it is related to many games on Steam not showing mangohud because they are 32 bit based (I think).
Can confirm that it is working with the patch! Changed the PKGBUILD from the mangohud-git and added the patch. It passed the first loading screen!
same here on train sim world 3 crashing imgui assert . I have tried gentoo latest ebuilds 9999 and 9999-r5 but both failed.
EDIT: After applying given patch above its working now fine.
I think I have this issue too with Assassin Creed games, namely 4 Black Flag, Rogue, Unity, Syndicate and Origins. They crash when loading into the game world, usually the main menu works fine. I had to add them to the blacklist in the mangohud config to make them work.
I think mangohud works in newer DX12 AC games though.
Is there an ETA for the next release?