-
Notifications
You must be signed in to change notification settings - Fork 25
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
Move in x112virtgpu as muvm-x11bridge #97
Conversation
Acked-by: Sasha Finkelstein fnkl.kernel@gmail.com |
c8f2239
to
a0d1c2e
Compare
cb1442d
to
fcf006d
Compare
Do we want to publish |
If it's moved into the same crate, I think it'd make sense to have a |
This is based on x112virtgpu commit bd78728493d8f19: WhatAmISupposedToPutHere/x112virtgpu@bd78728 With the following changes: - Replaced util::create_shm_file() with nix::unistd::mkstemp() - Replaced clap with bpaf (so we don't have two cmdline parsing crates) - Fixed the clippy warnings - Dropped the other targets (preload, wrapper) Co-developed-by: Sasha Finkelstein <fnkl.kernel@gmail.com> Signed-off-by: Sasha Finkelstein <fnkl.kernel@gmail.com> Acked-by: Sasha Finkelstein <fnkl.kernel@gmail.com> Signed-off-by: Asahi Lina <lina@asahilina.net>
Signed-off-by: Asahi Lina <lina@asahilina.net>
Moved it into the same crate and gated it behind a feature. I can't make the |
Signed-off-by: Asahi Lina <lina@asahilina.net>
Without the patched libxshmfence, a failed ptrace replacement due to e.g. `strace glxgears` would leak the shm file. Fix this and the slightly racy shm data copy in one go, by moving it into replace_futex_storage() and removing the file before checking for errors. Signed-off-by: Asahi Lina <lina@asahilina.net>
Signed-off-by: Asahi Lina <lina@asahilina.net>
Signed-off-by: Asahi Lina <lina@asahilina.net>
FWIW I also prototyped optionally dropping in sommelier for pure Wayland forwarding, but it's quite broken. It seems So I suggest we just leave Wayland out of muvm for now until we have a sommelier alternative. People who want to try the fd-based mode can just launch it explicitly with an app. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Per discussion with @WhatAmISupposedToPutHere and @slp, let's move x112virtgpu development here since muvm is the only consumer.