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

Add virtio-gpu #2

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Add virtio-gpu #2

wants to merge 2 commits into from

Conversation

Matrix89
Copy link

@Matrix89 Matrix89 commented Jan 17, 2021

Please don't look at it yet.
The gpu works but I need to tidy up the code and squash the commits since at first I didn't even intent to make it public but after commiting on twitter I feel obliged to and it's a lot of fun.
I was a bit short on time and motivation recently, but now that I have a lot more time I'll finish it.

What's done:

  • 2D gpu mode(xorg works)
  • A basic swing GUI for it, probably should be move to sedna-cli, there also was a LWJGL GUI.

To do:

  • Tidy up commits(at first this wasn't even a fork, just another project which I then rebased onto sedna)
  • Tidy up the code(there's a lot of unused stuff, and I've just noticed that at one point IntellIj replace the gpu device name LOL)
  • Add a mechanism to restrict the GPU memory(currently the guest can just create a lot of big resources)
  • Error handling

I think 3D mode could be achieved using virgl3d but let's just put that for another time

@fnuecke
Copy link
Owner

fnuecke commented Jan 17, 2021

Super cool! Gave it a quick spin, and it gets to a black screen after the login prompt, which I presume is Xorg?
And I agree, long-term would be good to have the runner in sedna-cli. Though the name of that repo would be questionable at that point, hah. Would probably also make sense to create a branch/fork of the buildroot repo that provides the GPU/Xorg aware binaries. When/if you'd like to make a PR with your configs, let me know, and I'll set that up!

@Matrix89
Copy link
Author

Oh forgot to mention, I have a working buildroot config, I just need to clean it up a bit as well

@kristibektashi
Copy link

Any news in this?

@kristibektashi
Copy link

Still no news?

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

Successfully merging this pull request may close these issues.

3 participants