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

[Feature Support] Venus for GUI; Keyboard, & Mouse Emulation #23

Open
schiffy91 opened this issue Jan 3, 2025 · 4 comments
Open

[Feature Support] Venus for GUI; Keyboard, & Mouse Emulation #23

schiffy91 opened this issue Jan 3, 2025 · 4 comments

Comments

@schiffy91
Copy link

With CPU virtualization and GPU paravirtualization, krunkit lays a foundation not just for hardware accelerated workloads – but also hardware accelerated desktop environments via podman.

@tylerfanelli
Copy link
Collaborator

tylerfanelli commented Jan 5, 2025

Indeed it does. virtio-input devices have been on our roadmap for a bit, but other features have taken precedence.

@slp We've been asked about GPU acceleration for graphics workloads before. WDYT?

@slp
Copy link
Collaborator

slp commented Jan 8, 2025

@slp We've been asked about GPU acceleration for graphics workloads before. WDYT?

libkrun does support GPU acceleration for graphics workloads with Linux as the host (muvm uses it for Asahi Linux's game running toolkit). When both Linux are running in the host and in the guest, we can export a dmabuf from the first and expose it to the latter for using it as output surface.

With macOS as a host this isn't as straightforward. We would need to investigate how to obtain some kind of surface in the desktop, with a color format that has been negotiated with the guest, and either be able to share it directly with the guest or have some efficient way of transferring the info between the surfaces. This requires a significant amount of work just to find what's possible and how.

@tylerfanelli
Copy link
Collaborator

@schiffy91 I assumed you were referring to macOS hosts. Is this true?

@schiffy91
Copy link
Author

Yes, that is what I was referring to!

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