Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Europa Universalis 4 does not run with Mangohud enabled #1303

Open
RaduAvramescu opened this issue Apr 21, 2024 · 7 comments
Open

Europa Universalis 4 does not run with Mangohud enabled #1303

RaduAvramescu opened this issue Apr 21, 2024 · 7 comments

Comments

@RaduAvramescu
Copy link

RaduAvramescu commented Apr 21, 2024

Describe the bug
After pressing "Play" on Steam, Europa Universalis 4's launcher appears. When pressing "Play" in the game's launcher, an error window appears and the game does not run.

List relevant hardware/software information

  • Linux Distribution: Fedora 40 Beta (KDE spin)
  • Kernel: 6.8.7-300.fc40.x86_64
  • Mesa: 24.1.0
  • MangoHud version: mangohud-0.7.1-3.fc40.x86_64
  • Steam: rpm
  • KDE Plasma Version: 6.0.3
  • KDE Frameworks Version: 6.0.0
  • Qt Version: 6.6.2
  • Graphics Platform: Wayland
  • GPU: AMD RX 7900 XTX

To Reproduce
Steps to reproduce the behavior:

  1. Launch the application
  2. In the launcher, press "Play"
  3. Observe the error window

Expected behavior
The game should launch after pressing "Play" in the game's launcher, without producing an error.

Screenshots
Screenshot_20240421_115930

Additional context
If I press the "Show details" button from the error window, this is the output:

ERROR: ld.so: object '/home/REDACTED/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/REDACTED/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
gamemodeauto: 
[2024-04-21 11:33:02.482] [MANGOHUD] [error] [overlay_params.cpp:1003] Failed to read presets file: '/home/REDACTED/.config/MangoHud/presets.conf'
@flightlessmango
Copy link
Owner

Works fine on my end. It's possible it's been fixed in recent versions
image

@RaduAvramescu
Copy link
Author

I've tried a few things but I didn't really get anywhere. Added --dlsym as a launch parameter, and that exhibited the same issue.

Running with MANGOHUD_LOG_LEVEL=DEBUG as well didn't output anything that could be interesting, from what I could tell.

@flightlessmango I ran the game with its native Linux build - haven't tried Proton and I'm not interested in trying it out yet. Based on your screenshot, you also ran native?

@flightlessmango
Copy link
Owner

Yes I also used the native Linux build

@fallenexistence0
Copy link

Run steam from the terminal then run your game, when you get the error exit steam, the terminal might give us an exact error, or at least where the problem is happening.

Try disabling the steam overlay for europa and then launching the game, that might solve the issue for you.

You can also try using another launcher such as heroic or lutris, and adding the game to those launchers, you'll have the option of using different wine versions (as well as proton-ge). Experiment with different versions and show us the results.

@mentaldust
Copy link

I've told you about a similar error before, If you can remember. It was happening on the Stellaris launcher too on Fedora 39 KDE. Now that I am on a fresh install of Fedora 40 KDE, it is still happening.

@RaduAvramescu
Copy link
Author

@fallenexistence0 I've already tried disabling the Steam overlay for EU4, which unfortunately didn't work.

As for running Steam from the terminal, there is no terminal output when that error in the game's launcher appears. The launcher can still be interacted with as well (I can press "Play" again, and the same error pops up, for example, but nothing new in the terminal).

Running the game with both Sway and Hyprland produces the same issue (this is from the same KDE install though, so it's not the Sway spin of Fedora nor a minimal install with Hyprland).

I'll wipe my install and try out Fedora 40 Workstation. I'll come back with an update regarding whether or not MangoHud worked for EU4 there.

@RaduAvramescu
Copy link
Author

I'm experiencing the same issue after a fresh install of Fedora Workstation 40 (so, this is Gnome), with fully up to date packages, and just mangohud and Steam installed (both from rpms). The Mangohud version is still v0.7.1, kernel is 6.8.8, and Mesa 24.0.6. Again, this is the native Linux build of EU4 (maybe the Proton version works but I'd rather not resort to that).

It looks like it's not DE specific, but maybe Fedora specific? Or perhaps a newer version fixed the issue, as @flightlessmango noted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants