sedna icon indicating copy to clipboard operation
sedna copied to clipboard

Add virtio-gpu

Open Matrix89 opened this issue 4 years ago • 4 comments

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:

  • [x] 2D gpu mode(xorg works)
  • [x] 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

Matrix89 avatar Jan 17 '21 01:01 Matrix89

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!

fnuecke avatar Jan 17 '21 12:01 fnuecke

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

Matrix89 avatar Jan 17 '21 16:01 Matrix89

Any news in this?

kristibektashi avatar Jan 16 '23 13:01 kristibektashi

Still no news?

kristibektashi avatar Aug 14 '23 18:08 kristibektashi