[Solved] Dragon Age Veilguard fails to launch with Mangohud

Hello World,

Like the title says, if I try to launch it without the mangohud option it takes a minute but it eventually works. However if I enable the mangohud option this is as far as I get, then I have to ctrl+alt+del and terminate the process…

I tried to remove lib32-mangohud and only leave the x64 one, I tried running the game with wine-ge-8-26-x86_64 and lutris-GE-Proton8-26-x86_64, nothing. :sob:

Here are all the relevant logs and stuff, let me know if you need anything else.

Suggestions please how I can get it working, at least for 5-10 mins so I can dial in my settings…? :face_with_diagonal_mouth:

Thank you.

Sooo, nothing? Do those logs give no clues at all…? :frowning:

How about doing it this way?

I tried what it suggested and created a file with the following contents

#!/bin/sh
Dragon\ Age\ The\ Veilguard.exe&
mangoapp

but then when I cd to that dir in the console and run the file a working mangoapp overlay window appears, but the game doesn’t even attempt to start. So I eventually just close the window.
What exactly am I doing wrong?

The console ouput looks like this:

[vikings@VIKINGSKINGDOM ~]$ cd "/mnt/Games/dragon-age-veilguard/drive_c/Games/Dragon Age Veilguard/"
[vikings@VIKINGSKINGDOM Dragon Age Veilguard]$ gamescope ./RunVeilguardWithMangohud.sh
[gamescope] [Info]  console: gamescope version 3.15.14 (gcc 14.2.1)
No CAP_SYS_NICE, falling back to regular-priority compute and threads.
Performance will be affected.
ATTENTION: default value of option vk_khr_present_wait overridden by environment.
[gamescope] [Info]  vulkan: selecting physical device 'AMD Radeon RX 7900 XT (RADV NAVI31)': queue family 1 (general queue family 0)
[gamescope] [Info]  vulkan: physical device supports DRM format modifiers
[gamescope] [Info]  wlserver: [backend/headless/backend.c:67] Creating headless backend
[gamescope] [Info]  xdg_backend: Seat name: seat0
[gamescope] [Info]  vulkan: supported DRM formats for sampling usage:
[gamescope] [Info]  vulkan:   AR24 (0x34325241)
[gamescope] [Info]  vulkan:   XR24 (0x34325258)
[gamescope] [Info]  vulkan:   AB24 (0x34324241)
[gamescope] [Info]  vulkan:   XB24 (0x34324258)
[gamescope] [Info]  vulkan:   RG16 (0x36314752)
[gamescope] [Info]  vulkan:   NV12 (0x3231564E)
[gamescope] [Info]  vulkan:   AB4H (0x48344241)
[gamescope] [Info]  vulkan:   XB4H (0x48344258)
[gamescope] [Info]  vulkan:   AB48 (0x38344241)
[gamescope] [Info]  vulkan:   XB48 (0x38344258)
[gamescope] [Info]  vulkan:   AB30 (0x30334241)
[gamescope] [Info]  vulkan:   XB30 (0x30334258)
[gamescope] [Info]  vulkan:   AR30 (0x30335241)
[gamescope] [Info]  vulkan:   XR30 (0x30335258)
[gamescope] [Info]  wlserver: Using explicit sync when available
[gamescope] [Info]  wlserver: Running compositor on wayland display 'gamescope-0'
[gamescope] [Info]  wlserver: [backend/headless/backend.c:17] Starting headless backend
[gamescope] [Info]  wlserver: Successfully initialized libei for input emulation!
[gamescope] [Error] wlserver: [xwayland/sockets.c:64] Failed to bind socket @/tmp/.X11-unix/X0: Address already in use
[gamescope] [Info]  wlserver: [xwayland/server.c:107] Starting Xwayland on :2
[gamescope] [Info]  pipewire: stream state changed: connecting
[gamescope] [Info]  pipewire: stream state changed: paused
[gamescope] [Info]  pipewire: stream available on node ID: 87
[gamescope] [Info]  xwm: Embedded, no cursor set. Using left_ptr by default.
[gamescope] [Info]  vblank: Using timerfd.
[gamescope] [Error] xdg_backend: Failed to map keymap fd.
[gamescope] [Info]  xdg_backend: PreferredMetadata: Red: 0.64 0.33, Green: 0.3 0.6, Blue: 0.15 0.06, White: 0.3127 0.329, Max Luminance: 200 nits, Min Luminance: 0.05 nits, Max Full Frame Luminance: 200 nits
[gamescope] [Info]  edid: Patching res 800x1280 -> 1280x720
./RunVeilguardWithMangohud.sh: line 2: Dragon Age The Veilguard.exe: command not found
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported maximum keycode 708, clipping.
>                   X11 cannot support keycodes above 255.
> Warning:          Could not resolve keysym XF86KbdInputAssistPrevgrou
> Warning:          Could not resolve keysym XF86KbdInputAssistNextgrou
Errors from xkbcomp are not fatal to the X server
[2024-12-25 13:57:09.631] [MANGOHUD] [error] [overlay_params.cpp:647] Unknown option 'io_stats'
[gamescope] [Info]  xdg_backend: Changed refresh to: 165.000hz
[2024-12-25 13:57:09.683] [MANGOHUD] [error] [battery.cpp:29] No battery found
(EE) failed to read Wayland events: Connection reset by peer
[gamescopereaper] [Info]  reaper: Parent of gamescopereaper was killed. Killing children.
[gamescope] [Info]  launch: Primary child shut down!
[vikings@VIKINGSKINGDOM Dragon Age Veilguard]$ 

LE: I also tried to add GALLIUM_HUD=GPU-load+cpu+fps and DXVK_HUD=1 in the Game Options>Arguments field(after unckecking the mangohud option of course), and while the game launched just fine no overlay appeared in either case. :sob: Again I don’t understand what I am doing wrong, but I’ll keep googling…
Any suggestions/hints would be greatly appreciated.

Well people seem to have no issues running it, and it is stable under Proton as long as Ray Tracing etc is disabled. Works fine under the latest GE Proton for me.
What did you change the steam command to exactly?

Edit2: MANGOHUD=1 gamemoderun %command% typically works for most things.

I’ve never used a command before with Mangohud as I didn’t need to, just toggling the setting to on from the system settings page is enough for it to work properly from every other game I have tried so far.

But indeed if I toggle it on and also add your argument makes it work for Veilguard too, yaaaaaaay!!! :grin: :partying_face: :partying_face: :grin:

No idea why this game needs me to add it, but thank you so very much, now I can finally play it!!! :hugs: :hugs: :smiling_face_with_three_hearts: :kissing_heart: