-
Notifications
You must be signed in to change notification settings - Fork 58
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
Wayland displaying using shared memory between virtual machines #473
base: main
Are you sure you want to change the base?
Wayland displaying using shared memory between virtual machines #473
Conversation
d6017d1
to
eef36be
Compare
Are you planning to add documentation to the repository? |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
eef36be
to
6224584
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as off-topic.
This comment was marked as off-topic.
0b4c908
to
24cadf4
Compare
Updates:
|
24cadf4
to
0811965
Compare
a058a32
to
b42c14f
Compare
Signed-off-by: Jaroslaw Kurowski <[email protected]> Fixed PR problems Signed-off-by: Jaroslaw Kurowski <[email protected]>
Signed-off-by: Jaroslaw Kurowski <[email protected]>
2ac570d
to
c465fc9
Compare
Description of changes
Add memory sharing mechanism between virtual machines and use it for wayland/waypipe displaying.
Main changes:
Host
GUI and app VMs
Linux Driver for Shared Memory and Interrupts:
/dev/ivshmem
device.Memsocket Application for Inter-VM Communication:
memsocket
application to facilitate socket data forwarding between VMs.Integration with Waypipe:
memsocket
application, enabling seamless communication between VMs.Checklist for things done
x86_64
aarch64
riscv64
nix flake check --accept-flake-config
and it passesTesting
Run Chromium and other wayland enabled application. Verify that they execute and display properly.
Run performance tests described in documentation
Jira ticket:
https://ssrc.atlassian.net/browse/SP-3805
Documentation:
https://ssrc.atlassian.net/wiki/spaces/~62552e6ffdb60b006927ad98/blog/2022/09/29/612958326/Memory+sharing+between+virtual+machines
https://ssrc.atlassian.net/wiki/spaces/~62552e6ffdb60b006927ad98/pages/825720835/Wayland+displaying+with+shared+memory
Summary of performance
Playing YouTube is smooth, up to a resolution of 2160p.
CPU consumption by the memsocket application is below 5%, usually 3-6%.
iperf results are presented in documentation