[Spice-devel] Video stream low performance on raspberry pi while using h264
Snir Sheriber
ssheribe at redhat.com
Mon Feb 25 10:05:52 UTC 2019
Hi,
On 2/22/19 4:14 PM, 陈炤 wrote:
> Hi,
>
> I am testing video stream on raspberry pi. My spice-gtk version is
> 0.34 and spice server is 0.14, video encode type is h264. On raspberry
> pi I use omxh264dec as hardware accelerated decoder.
Can you shed more light on the server side configuration & encoding,
according to previous discussion I am not sure
if you are using spice-streaming-agent or just spice-server?
>
> When I play video on VM, the video looks fine if the video is set to
> default size, but if the video is set to fullscreen, the video looks
> awful, the frame rate is less than 10. I try to change gstreamer sink
> from 'appsink' to 'glimagesink', the video looks ok but a new window
> is popped up to play video, which is bad.
>
> CPU usage of spicy and xorg are not high(about 50%).
>
> I suspect that appsink would copy data from GPU to CPU, so when the
> data size is big, this operation will affect performance greatly. Is
> there anyone who can give me any suggestion?
This is indeed what happens, in some cases moving to v0.36 can bypass
some of this cpu usage.
Snir.
>
> Best Regards,
> Don
>
>
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20190225/665e6ebe/attachment.html>
More information about the Spice-devel
mailing list