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

MangoHud doesn't work on Kubuntu 19.10 #5

Closed
Ahmed-E-86 opened this issue Feb 2, 2020 · 28 comments
Closed

MangoHud doesn't work on Kubuntu 19.10 #5

Ahmed-E-86 opened this issue Feb 2, 2020 · 28 comments

Comments

@Ahmed-E-86
Copy link

Ahmed-E-86 commented Feb 2, 2020

I installed MangoHud on Kubuntu 19.10, and I checked to see if it is installed successfully, and I found these files:
~/.local/share/MangoHud/libMangoHud.so
~/.local/share/vulkan/implicit_layer.d/mangohud32.json
~/.local/share/vulkan/implicit_layer.d/mangohud64.json

but I can't find the file libMangoHud32.so, I don't know if this is related to Ubuntu dropping the support for 32bit packages from Ubuntu starting from version 19.10, or not.

Anyway, trying to run any 64bit game with MANGOHUD=1 freeze the game during loading, and I had to kill the game, otherwise, it will load forever.

@Ahmed-E-86
Copy link
Author

Ahmed-E-86 commented Feb 2, 2020

Here is the terminal output of Darksiders Genesis GOG before killing it
Darksiders Genesis.log

@telans
Copy link
Collaborator

telans commented Feb 2, 2020

The only reason I could imagine it not copying that file is if it didn't build. Does you notice any errors when it builds? Assuming you have vulkan-tools installed, could you please run MANGOHUD=1 vkcube. Does the hud show?

@Ahmed-E-86
Copy link
Author

Ahmed-E-86 commented Feb 2, 2020

I didn't get any errors during building, after installing all the required dependencies.

Running MANGOHUD=1 vkcube end up with this error:
Segmentation fault (core dumped)

@flightlessmango
Copy link
Owner

What graphic card are you using?

@Ahmed-E-86
Copy link
Author

What graphic card are you using?

AMD Radeon HD 8750M

@flightlessmango
Copy link
Owner

flightlessmango commented Feb 2, 2020

are you sure it's the vkcube from vulkan-tools? because other versions are known to crash

@Ahmed-E-86
Copy link
Author

Ahmed-E-86 commented Feb 2, 2020

vulkan-tools is installed from universe (Ubuntu), and there is no other versions to install.

Screenshot_20200203_011900

@Ahmed-E-86
Copy link
Author

Ahmed-E-86 commented Feb 2, 2020

I don't think AMD Radeon HD 8750M has vulkan support if it uses radeon module. It seems it's actually even GCN 1.0. Google how to enable amdgpu.si_support if you haven't already.

I already did that long time ago. Here is Life Is Strange 2 (native/vulkan) running on my my machine:

Life Is Strange 2

@jackun
Copy link
Collaborator

jackun commented Feb 3, 2020

@ahmed-elsayed2017 try now.

@Ahmed-E-86
Copy link
Author

Ahmed-E-86 commented Feb 3, 2020

@ahmed-elsayed2017 try now.

I removed MangoHud, then build it again. It gives me these error messages, before the game crashes during loading:

ls: cannot access '/sys/class/drm/card0/device/hwmon/': No such file or directory
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
003b:fixme:seh:dwarf_get_ptr unsupported encoding 9b
003b:fixme:seh:dwarf_get_ptr unsupported encoding 48
003b:fixme:seh:dwarf_get_ptr unsupported encoding 08
003b:fixme:seh:dwarf_get_ptr unsupported encoding cd
003b:fixme:seh:dwarf_get_ptr unsupported encoding 9b
003b:fixme:seh:dwarf_get_ptr unsupported encoding 48
003b:fixme:seh:dwarf_get_ptr unsupported encoding 08
003b:fixme:seh:dwarf_get_ptr unsupported encoding cd
003b:fixme:seh:dwarf_get_ptr unsupported encoding 9b
003b:fixme:seh:dwarf_get_ptr unsupported encoding f0
003b:fixme:seh:dwarf_get_ptr unsupported encoding 79
wine: Assertion failed at address 00007F5C66D413EB (thread 003b), starting debugger...
Unhandled exception: assertion failed in 64-bit code (0x00007f5c66d413eb).

@flightlessmango
Copy link
Owner

Do you have libsensors installed?

@Ahmed-E-86
Copy link
Author

Ahmed-E-86 commented Feb 3, 2020

Do you have libsensors installed?

It is installed.

Screenshot_20200203_033628

@flightlessmango
Copy link
Owner

Put this file in $HOME/.local/share/MangoHud and see if that fixes it
https://flightlessmango.com/libMangoHud.so

@Ahmed-E-86
Copy link
Author

Put this file in $HOME/.local/share/MangoHud and see if that fixes it
https://flightlessmango.com/libMangoHud.so

It gives me now a different kind of error messages:

dbus[13906]: arguments to dbus_message_new_method_call() were incorrect, assertion "_dbus_check_is_valid_path (path)" failed in file ../../../dbus/dbus-message.c line 1366.
This is normally a bug in some application using the D-Bus library.

  D-Bus not built with -rdynamic so unable to print a backtrace
003b:fixme:seh:dwarf_get_ptr unsupported encoding 9b
003b:fixme:seh:dwarf_get_ptr unsupported encoding fe
003b:fixme:seh:dwarf_get_ptr unsupported encoding 0e
003b:fixme:seh:dwarf_get_ptr unsupported encoding bd
wine: Assertion failed at address 00007F22D59603EB (thread 003b), starting debugger...
Unhandled exception: assertion failed in 64-bit code (0x00007f22d59603eb).

@flightlessmango
Copy link
Owner

oh, I made a mistake. Download it again

@Ahmed-E-86
Copy link
Author

Ahmed-E-86 commented Feb 3, 2020

I saw MangoHud working this time for 2 seconds, and it crashed again with a different kind of messages

terminate called after throwing an instance of 'std::invalid_argument'
  what():  stoi
003b:err:seh:segv_handler Got unexpected trap 0
Segmentation fault      (core dumped)

@flightlessmango
Copy link
Owner

Small sign of progress! try once more please

@Ahmed-E-86
Copy link
Author

It worked for 2 seconds, and gave me the same error.

@flightlessmango
Copy link
Owner

Try again please

@Ahmed-E-86
Copy link
Author

Ahmed-E-86 commented Feb 3, 2020

I tried with different games to see if there any difference from this game, and I get this error message:

vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
err:   Failed to create surface

@flightlessmango
Copy link
Owner

I believe you need to do what it says, enable DRI3 in your Xorg config
here is a link to the arch wiki on how to do that
https://wiki.archlinux.org/index.php/Vulkan#Error_-_vulkan:_No_DRI3_support

@Ahmed-E-86
Copy link
Author

I believe you need to do what it says, enable DRI3 in your Xorg config
here is a link to the arch wiki on how to do that
https://wiki.archlinux.org/index.php/Vulkan#Error_-_vulkan:_No_DRI3_support

I couldn't boot to my machine at all after doing that. I had to remove it again.

I can't even run any game now with, or without MangoHud. I guess amdgpu module is turned off, or the latest mesa update caused this issue.

@flightlessmango
Copy link
Owner

are you using your intel igpu for anything, if not can you turn it off in the bios? that might help

@Ahmed-E-86
Copy link
Author

are you using your intel igpu for anything, if not can you turn it off in the bios? that might help

I can turn off dGPU from the bios if I want, but I can't turn off iGPU.

@flightlessmango
Copy link
Owner

Could you join our discord? I think this might be easier over chat

@Ahmed-E-86
Copy link
Author

Could you join our discord? I think this might be easier over chat

I am sorry, I was trying something. How can I join?

@flightlessmango
Copy link
Owner

@Ahmed-E-86
Copy link
Author

This issue is fixed.

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