Inquiry for Support on Using virglrenderer on Virtual Platform

Sami Md sami.md.ko at gmail.com
Sun Aug 6 10:42:21 UTC 2023


Dear virglrenderer developers,

I am writing to seek your guidance and support regarding the usage of
virglrenderer on a ARM A53 based virtual platform running on Linux.

Currently, I have set up a virtual machine with the following configuration:

Host OS:
------------
Ubuntu 18.04 with Integrated GPU, Intel I7.

Virtual Machine OS:
---------------------------
Yocto Linux with Linux kernel 5.15 ,Virtual GPU: VIRTIO_GPU enabled in the
Linux kernel
Graphics Stack: DRM with -virgl support

Additional Information: Weston is currently running with pixman support in
the virtual machine.

My objective is to leverage virglrenderer to utilize the GPU of the host
(Ubuntu 18.04) in running a sample OpenGL application within the virtual
machine. I have successfully installed virglrenderer in the Yocto Linux
build on the virtual machine.

However, I am facing some challenges in achieving this setup. I would
greatly appreciate it if you could kindly provide me with instructions or
guidance on how to run OpenGL applications with virglrenderer to utilize
the host PC's GPU in the virtual machine.

Specifically, I would like to know the step-by-step procedure to:

1. Run a simple opengl application on VM using Host's CPU.
2. Configure Weston to use virglrenderer.
2. Ensure that the virtual machine effectively utilizes the host PC's GPU
for running OpenGL applications.

Any insights or sample configurations would be immensely helpful in guiding
me through this process. I have been exploring various documentation and
forums, but I believe your expertise and support will be invaluable in
getting this setup to work optimally.

Thank you so much for your time and assistance. I am looking forward to
your prompt response.

Best regards,
Sami
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/virglrenderer-devel/attachments/20230806/1cefd6cd/attachment-0001.htm>


More information about the virglrenderer-devel mailing list