Thank you for your reply .
If I use SPICE - Streaming Agent, how do I transfer the captured guest desktop image to the client through SPICE sever's display channel? Can my mouse clicks or keyboard input from the client side to the guest side operate normally through the SPICE - Streaming Agent?
Additionally, if using the SPICE - Streaming Agent, will there be two screens displayed on the client side? (Streaming Agent and QXL display one each) If so, can we only display one screen and use it normally like a remote desktop?
Finally, is there a detailed Technical documentation of the source code of the QXL driver? There are few comments in the source code. I can't understand the specific meaning
I hope you can give me some help. Thank you very much.
------------------ 原始邮件 ------------------
发件人: "Frediano Ziglio"<freddy77@xxxxxxxxx>;
发送时间: 2023年7月8日(星期六) 下午5:35
主题: Re: [Spice-devel] How does SPICE display the desktop data processed by Nvidia vGPU?
Il giorno sab 8 lug 2023 alle ore 10:21 人宗道首 <928003896@xxxxxx> ha scritto:
> Hi :
> I am a graduate student of Dalian University of Technology
> We have a project to accomplish a remote-desk solution with Nvidia vgpu.
> I want to know how SPICE can display virtual desktop with vGPU.
> Do you need to modify the QXL driver and device? The open source code of QXL is hard to understand. Is there a detailed Technical documentation?
> Or can SPICE - Streaming Agent be used to replace the functionality of QXL? Do we need to make any changes?
> I hope you can give me some help. Thank you very much.
the question about QXL means that there's a bit of confusion about
the technology used.
Nvidia vGPU allows you to give a part of the card to the guest that
will see this "part" as a graphic card.
QXL is a virtual implementation of a different graphic card (yes, it
can be confusing that the graphic APIs of SPICE are prefixed
So, nothing forbids that on the guest you can have 2 graphic cards
(one Nvidia vGPU and another QXL) and this is usually useful during
the setup of pass-through cards but working on QXL card won't improve
Nvidia vGPU support.
The streaming agent was designed for such cases, to allow the SPICE
server to "see" the guest GPU. This as the GPU control is mainly (if
not completely) delegated to the guest and Qemu/SPICE has not much
control on it (like getting frames or even less encode them).