sedna
sedna copied to clipboard
Add virtio-gpu
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
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!
Oh forgot to mention, I have a working buildroot config, I just need to clean it up a bit as well
Any news in this?
Still no news?