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

muvm hangs on exit when not attached to a tty #123

Open
chadmed opened this issue Dec 10, 2024 · 2 comments
Open

muvm hangs on exit when not attached to a tty #123

chadmed opened this issue Dec 10, 2024 · 2 comments

Comments

@chadmed
Copy link

chadmed commented Dec 10, 2024

When not attached to a TTY, muvm seems to hang on exit and spin up its threads. A simple repro:

  1. Create a desktop entry that calls this script:
#!/bin/bash
exec muvm glxgears

and reload the XDG desktop database
2. Run the desktop entry
3. Observe that glxgears eventually starts
4. Close the glxgears window
5. Observe using a system monitor (top, htop, etc) that muvm hangs on exit and spins on all bound cores

This only occurs when launching muvm without a tty. Setting Terminal=true in the desktop entry fixes this behaviour, however has the downside of spawning a terminal emulator on every open.

Tested on a base M2 with muvm 0.1.4 and 0.2.0.

@chadmed
Copy link
Author

chadmed commented Dec 14, 2024

Using muvm -t does not help

@Nyaacinth
Copy link

I can confirm the same issue. Adding Terminal=true to desktop file did solve the issue, but is not convenient.

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