HI,
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"<fredd...@gmail.com&gt;; 
????????: 2023??7??8??(??????) ????5:35
??????: "????????"<928003...@qq.com&gt;; 
????: "spice-devel"<spice-devel@lists.freedesktop.org&gt;; 
????: Re: [Spice-devel] How does SPICE display the desktop data processed by 
Nvidia vGPU?



Il giorno sab 8 lug 2023 alle ore 10:21 ???????? <928003...@qq.com&gt; ha 
scritto:
&gt;
&gt; Hi :
&gt; I am a graduate student of Dalian University of Technology
&gt;
&gt; We have a project to accomplish a remote-desk solution with Nvidia vgpu.
&gt; I want to know how SPICE can display virtual desktop with vGPU.
&gt;
&gt; 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?
&gt;
&gt; Or can SPICE - Streaming Agent be used to replace the functionality of 
QXL? Do we need to make any changes?
&gt;
&gt; I hope you can give me some help. Thank you very much.
&gt;
&gt;

Hi,
&nbsp; 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
spice_qxl_).
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).

Regards,
&nbsp; Frediano

Reply via email to