> -----原始邮件-----
> 发件人: "Frediano Ziglio" <freddy77@xxxxxxxxx>
> 发送时间: 2023-07-29 00:36:58 (星期六)
> 收件人: "霍金鹏" <32217118@xxxxxxxxxxxxxxxx>
> 抄送: "spice-devel@xxxxxxxxxxxxxxxxxxxxx" <spice-devel@xxxxxxxxxxxxxxxxxxxxx>
> 主题: Re: [Spice-devel] [spice-streaming-agent]spice-streaming-agent warning
>
> Il giorno ven 28 lug 2023 alle ore 03:10 霍金鹏
> <32217118@xxxxxxxxxxxxxxxx> ha scritto:
> >
> > Hello dear devs,
> >
> > spice[Spice-devel] spice-streaming-agent display problem (lists.freedesktop.org)-streaming-agent create a new display window but all black on client , and a message in guest's terminal:
> >
> > 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.
> >
> >
> > what should I do to solve this prooblem?
> >
> > Thanks in advance !
>
> Hi,
> I don't remember how the check is exactly done but basically the
> agent is complaining that you have more than 1 cards.
> How many Gpu cards did you assign to the guest and with which types?
> Looking at the code the error string is in
> src/spice-streaming-agent.cpp checking the response of
> get_device_display_info call to the plugin.
> The agent can load multiple plugins and choose the best one based on
> client codecs and other information. By default there's a mjpeg plugin
> (mainly for fallback) and installed a GStreamer plugin. If I remember
> (but maybe I'm wrong) they use Xorg/X11.
>
> Frediano
Hi Frediano,
Thanks for your advise !
There is only one Gpu cards on the guest , it is the QXL paravirtual graphic card , not the physical graphic card . In this post, there is a more detailed introduction to my configuration environment : [Spice-devel] spice-streaming-agent display problem (lists.freedesktop.org)
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 ?
Waiting for your reply !
Really thanks and best wishes !