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

Some apps hang with muvm-x11bridge #124

Open
whitebelyash opened this issue Dec 10, 2024 · 3 comments
Open

Some apps hang with muvm-x11bridge #124

whitebelyash opened this issue Dec 10, 2024 · 3 comments

Comments

@whitebelyash
Copy link

Some apps hang when running them in muvm with x11bridge. Does not happen with sommelier.

How to reproduce (with glxinfo for example):

  1. Run muvm with x11bridge (muvm -x before b40bf03)
  2. Run glxinfo -B
  3. Observe hang

Can also be reproduced with PrismLauncher when starting a Minecraft instance - launcher window hangs.
Running it with strace gives this:

read(32, "name of display: :1\ndisplay: :1 "..., 4096) = 4096
read(32, "GL core profile profile mask: co"..., 4096) = 4096
read(32, 

Seems like it calls glxinfo which causes a hang.

Host: MacBook Air M1
OS: Fedora 41 GNOME (Asahi)
muvm: 0.1.4 (from asahi repos)

@alyssarosenzweig
Copy link
Member

Hanging inside xshmfence

#0  0x0000fffff7c561e4 in syscall () from /lib64/libc.so.6
#1  0x0000ffffee6c0fb8 in xshmfence_await () from /lib64/libxshmfence.so.1

@kaazoo
Copy link

kaazoo commented Dec 15, 2024

same with muvm 0.2.0

@whitebelyash
Copy link
Author

Seems like hangs aren't present with zink driver (instead of native opengl).
So, doing export MESA_LOADER_DRIVER_OVERRIDE=zink should workaround this bug before it gets fixed.
Screenshot From 2024-12-21 04-42-57

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

3 participants