Closed Kosch3y closed 3 years ago
I tried to add LD_PRELOAD=/usr/lib/libstdc++.so.6
and it makes the bug little different. Transparent space inside hud zone becomes red. The zone moves with pop-up hint like it was before. If there is no any hint, it stays static in random place of the screen.
My basic launch command: MANGOHUD_DLSYM=1 mangohud ./eu4
A new one: LD_PRELOAD=/usr/lib/libstdc++.so.6 MANGOHUD_DLSYM=1 DRI_PRIME=1 mangohud ./eu4
Output:
skipping config: /home/user/.local/share/Steam/steamapps/common/Europa Universalis IV/MangoHud.conf [ not found ]
skipping config: /home/user/.config/MangoHud/eu4.conf [ not found ]
parsing config: /home/user/.config/MangoHud/MangoHud.conf [ ok ]
MANGOHUD: Uploading is disabled (permit_upload = 0)
Version: 4.6
Setting breakpad minidump AppID = 236850
Steam_SetMinidumpSteamID: Caching Steam ID: xxx [API loaded no]
I also tried gog version of the game. Basically it said that it could not find libstdc++.so.6 library. With LD_PRELOAD=/usr/lib/libstdc++.so.6 variable it crashes:
Trying to Write minidump to dir: /home/user/.local/share/Paradox Interactive/Europa Universalis IV/crashes/eu4_xxx/
Created Minidump: /home/user/.local/share/Paradox Interactive/Europa Universalis IV/crashes/eu4_xxx_xxx//xxx.dmp
(CrashReporter:26895): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Adwaita/gtk-2.0/main.rc:733: error: unexpected identifier `direction', expected character `}'
(CrashReporter:26895): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Adwaita/gtk-2.0/hacks.rc:28: error: invalid string constant "normal_entry", expected valid string constant
Fontconfig warning: line 5: unknown element "its:rules"
Fontconfig warning: line 6: unknown element "its:translateRule"
Fontconfig warning: line 9: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 4: unknown element "description"
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 80: saw unknown, expected number
Fontconfig warning: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/45-generic.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/49-sansserif.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/51-local.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/60-generic.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/60-latin.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/65-nonlatin.conf", line 4: unknown element "description"
I changed the theme with the same resallt. There is also no difference between xfce and kde 5.
LD_PRELOAD=/usr/lib/libstdc++.so.6 MANGOHUD_DLSYM=1 mangohud DRI_PRIME=1 glxgears
works completely fine.
Qt Version: 5.15.1
Kernel Version: 5.8.14-arch1-1
Mangohud Version: 0.5.1-3
eu4 version: 1.30.3
mesa Version: 20.2.0-2
amdgpu Version: 19.1.0-2
Now it works fine. For the steam version at least.
HUD is fully attached to a pop+up hint. It's upside down. I guess it have a wrong color. it appears only when a pop-up hint appears. HUD looks ok on the very first loading screen. Then On second loading screen it disappears. To find it you need to start a game and force a pop-up hint. Starting eu4 thru steam and bash causes the same result. Also there is no difference between integrated and dedicated gpu.