Closed msm-code closed 1 year ago
I've only used it with crosvm. In particular, I use --gpu=context-types=cross-domain:virgl2
: https://gitlab.com/talex5/qubes-lite/-/blob/873e2f3630247809fbde894817f2c918ed089b57/default.nix#L185
(see https://github.com/talex5/wayland-proxy-virtwl#crosvm-setup)
Thanks. For some reason I've assumed qemu is also supported (my fault, nothing in the documentation suggests that). I've tried to run this project with libvirt + qemu + virtio-gpu, with no success so far (my understanding is that context_init is not yet supported by mainline qemu).
I'll investigate a bit more, but I'll probably migrate to crossvm then. Thanks again.
For some reason I've assumed qemu is also supported
FWIW, this may change later this year. I came across this project via link while reading this, which itself was from a link discussing Mesa PR for AMD native context and related work to support that. A couple months ago a Collabora blogpost comment section on QEMU + Venus support also had a comment added that work towards upstreaming that was under way as well.
The 2nd link there (Gitlab) does talk about cross-domain
and changes needed to virglrenderer
/ virtio-gpu
IIRC, so I'm pretty sure QEMU will be more compatible once all of that lands :)
Hi,
Very interesting project, thanks for sharing. And I understand this is not a support forum. Nevertheless I'm trying to use this project[^1], and I can't for the life of me figure out how to get it to run.
Problem symptoms: when I run the binary in the VM, i get a scary looking exception with EINVAL:
relevant strace:
I'm suspect the root cause is that I don't have
context_init
enabled in my VM:Docs say that I need virtio_gpu, but it can't be just it - I have it installed in my VM:
I use libvirt, and this is my graphic device configuration:
I have two GPUs and use a nouveau driver on the host (and in the VM):
I have also asked my friend to test this project (he has a similar setup to mine), and he encountered the same problem.
So basically my question is: is there any obvious step that we've missed? Or are there any requirements for the host GPU (or host drivers) for the project to work? What can I do to debug it better?
Hope you don't mind me asking. Feel free to close otherwise.
Thanks for help.
[^1]: actually, I'm trying to integrate it with my project.