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

Latest mangohud crashes with Wine Wayland #1258

Open
shmerl opened this issue Mar 10, 2024 · 15 comments
Open

Latest mangohud crashes with Wine Wayland #1258

shmerl opened this issue Mar 10, 2024 · 15 comments

Comments

@shmerl
Copy link

shmerl commented Mar 10, 2024

Trying to enable HUD for Wine Wayland (vkd3d-proton game run for Cyberpunk 2077) crashes like this:

0228:err:seh:call_seh_handlers invalid frame 000000010306C1D0 (00007FBA24202000-00007FBA24400000)
0228:err:seh:NtRaiseException Exception frame is not in stack limits => unable to dispatch exception.

I don't really see much of other errors.

  • Wine: 9.4 + esync (Wayland mode)
  • MangoHud: Master (git) 83af57a
@gort818
Copy link
Collaborator

gort818 commented Mar 10, 2024

Is this with a specific application or anything running wine wayland? I tested a few days ago without issue.

@shmerl
Copy link
Author

shmerl commented Mar 10, 2024

Cyberpunk 2077 running with Wine Wayland (+ vkd3d-proton + esync)

@gort818
Copy link
Collaborator

gort818 commented Mar 12, 2024

Just tested Cyberpunk 2077 seems to work fine for me with a wine build from yesterday and latest mangohud

@shmerl
Copy link
Author

shmerl commented Mar 12, 2024

Weird, I don't see code changing commits past mine.

Are you sure you are running Wine in Wayland mode? It works fine in XWayland mode just for the reference.

Also, what's your DE? May be the crash is KDE specific?

@gort818
Copy link
Collaborator

gort818 commented Mar 12, 2024

Kde here
Screenshot_20240311_175339

@shmerl
Copy link
Author

shmerl commented Mar 12, 2024

Interesting. May be some weird combination of distro libs then? I'll try rebuilding things just in case. I'm doing it on Debian testing.

May be building mangohud with debug can shed some light.

@shmerl
Copy link
Author

shmerl commented Mar 12, 2024

Oh, forgot to ask, Plasma 5 or Plasma 6? They are pretty far apart as Wayland compositors so not comparable for bugs. It's Plasma 5.27.10 for me still.

@gort818
Copy link
Collaborator

gort818 commented Mar 12, 2024

Plasma 6 here

@shmerl
Copy link
Author

shmerl commented Mar 12, 2024

That could contribute to difference. Trying to build with debug now and see what happens.

@shmerl
Copy link
Author

shmerl commented Mar 12, 2024

Hmm, with debug build of mangohud it's not crashing, but it's sitting with black window doing nothing.

@shmerl
Copy link
Author

shmerl commented Mar 12, 2024

Attaching with gdb to it - 81 threads there... 😬 I can't really make much sense from it. No symbols too (I probably need to build Wine + vkd3d-proton with debug too for it).

May be I can wait until I switch to Plasma 6 to see if this still happens. But if anyone wants to to dig into it with Plasma 5 - feel free.

@gort818
Copy link
Collaborator

gort818 commented May 8, 2024

Can you still reproduce this issue? Have you switched to Plasma 6 yet?

@shmerl
Copy link
Author

shmerl commented May 8, 2024

Not yes. Waiting for Debian maintainers to package it. There was a humongous 64-bit time_t transition which probably slowed things down a bit, but they are working on packaging needed dependencies. So hopefully it won't be too long.

It's still broken with Plasma 5 (I tested it recently). It's not crashing anymore though, just gets stuck with an empty window.

@shmerl
Copy link
Author

shmerl commented May 8, 2024

I'll update the bug once I get a chance to confirm that it's working with Plasma 6 or it's still broken.

@shmerl
Copy link
Author

shmerl commented May 8, 2024

Also for the reference, it appears to be Wine path related issue, since it's working fine for example with vkcube-wayland.

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

2 participants