<br>
<br>
<br>
<span style="font-family:SimSun;">> -----原始邮件-----</span><br>
<span style="font-family:SimSun;">> 发件人: "Frediano Ziglio" <freddy77@gmail.com></span><br>
<span style="font-family:SimSun;">> 发送时间: 2023-07-29 00:36:58 (星期六)</span><br>
<span style="font-family:SimSun;">> 收件人: "霍金鹏" <32217118@mail.dlut.edu.cn></span><br>
<span style="font-family:SimSun;">> 抄送: "spice-devel@lists.freedesktop.org" <spice-devel@lists.freedesktop.org></span><br>
<span style="font-family:SimSun;">> 主题: Re: [Spice-devel] [spice-streaming-agent]spice-streaming-agent warning</span><br>
<span style="font-family:SimSun;">> </span><br>
<span style="font-family:SimSun;">> Il giorno ven 28 lug 2023 alle ore 03:10 霍金鹏</span><br>
<span style="font-family:SimSun;">> <32217118@mail.dlut.edu.cn> ha scritto:</span><br>
<span style="font-family:SimSun;">> ></span><br>
<span style="font-family:SimSun;">> > Hello dear devs,</span><br>
<span style="font-family:SimSun;">> ></span><br>
<span style="font-family:SimSun;">> > spice<a href="https://lists.freedesktop.org/archives/spice-devel/2023-July/053125.html">[Spice-devel] spice-streaming-agent display problem (lists.freedesktop.org)</a>-streaming-agent create a new display window but all black on client , and a message in guest's terminal:</span><br>
<span style="font-family:SimSun;">> ></span><br>
<span style="font-family:SimSun;">> > spice-streaming-agent[9710]: Warning: the Frame Capture plugin returned device display info for more than one display device, but we currently only support a single device. Sending information for first device to the server.</span><br>
<span style="font-family:SimSun;">> ></span><br>
<span style="font-family:SimSun;">> ></span><br>
<span style="font-family:SimSun;">> > what should I do to solve this prooblem?</span><br>
<span style="font-family:SimSun;">> ></span><br>
<span style="font-family:SimSun;">> > Thanks in advance !</span><br>
<span style="font-family:SimSun;">> </span><br>
<span style="font-family:SimSun;">> Hi,</span><br>
<span style="font-family:SimSun;">> I don't remember how the check is exactly done but basically the</span><br>
<span style="font-family:SimSun;">> agent is complaining that you have more than 1 cards.</span><br>
<span style="font-family:SimSun;">> How many Gpu cards did you assign to the guest and with which types?</span><br>
<span style="font-family:SimSun;">> Looking at the code the error string is in</span><br>
<span style="font-family:SimSun;">> src/spice-streaming-agent.cpp checking the response of</span><br>
<span style="font-family:SimSun;">> get_device_display_info call to the plugin.</span><br>
<span style="font-family:SimSun;">> The agent can load multiple plugins and choose the best one based on</span><br>
<span style="font-family:SimSun;">> client codecs and other information. By default there's a mjpeg plugin</span><br>
<span style="font-family:SimSun;">> (mainly for fallback) and installed a GStreamer plugin. If I remember</span><br>
<span style="font-family:SimSun;">> (but maybe I'm wrong) they use Xorg/X11.</span><br>
<span style="font-family:SimSun;">> </span><br>
<span style="font-family:SimSun;">> Frediano</span><br>
<br>
<span style="font-family:SimSun;">Hi Frediano,</span><br>
<span style="font-family:SimSun;">Thanks for your advise ! </span><br>
<p>
<span style="font-family:SimSun;">There is only one Gpu cards on the guest , it is the QXL paravirtual graphic card , not the physical graphic card . </span><span style="font-family:SimSun;">In this post, there is a more detailed introduction to my configuration environment : </span><span style="font-family:SimSun;"><a href="https://lists.freedesktop.org/archives/spice-devel/2023-July/053125.html">[Spice-devel] spice-streaming-agent display problem (lists.freedesktop.org)</a></span>
</p>
<p>
<span style="font-family:SimSun;"><br>
</span>
</p>
<p>
<span style="font-family:SimSun;">And do you mean spice-streaming-agent should be used with GStreamer plugin ? Should I install gst on both server and client or just on server ? Do I need to use spice's H264 encoding method ? </span>
</p>
<p>
<span style="font-family:SimSun;"><br>
</span>
</p>
<p>
<span style="font-family:SimSun;">Waiting for your reply ! </span>
</p>
<p>
<span style="font-family:SimSun;">Really thanks and best wishes ! </span>
</p>
<br>
<br>