On Mon April 8 2013 14:42:32 Michal Lazo wrote: > Hi > 720x576 RGB 25, 30 fps and it take > > 25% cpu load on raspberry pi(ARM 700Mhz linux 3.6.11) or 8% on x86(AMD > 2GHz linux 3.2.0-39) > > it is simply too much No, that's what I would expect. Note that vivi was substantially improved recently when it comes to the image generation. That will be in the upcoming 3.9 kernel. This should reduce CPU load by quite a bit if memory serves. Regards, Hans > > > > > On Mon, Apr 8, 2013 at 9:42 AM, Peter Senna Tschudin > <peter.senna@xxxxxxxxx> wrote: > > Dear Michal, > > > > The CPU intensive part of the vivi driver is the image generation. > > This is not an issue for real drivers. > > > > Regards, > > > > Peter > > > > On Sun, Apr 7, 2013 at 9:32 PM, Michal Lazo <michal.lazo@xxxxxxxxxxx> wrote: > >> Hi > >> V4L2 driver vivi > >> generate 25% cpu load on raspberry pi(linux 3.6.11) or 8% on x86(linux 3.2.0-39) > >> > >> player > >> GST_DEBUG="*:3,v4l2src:3,v4l2:3" gst-launch-0.10 v4l2src > >> device="/dev/video0" norm=255 ! video/x-raw-rgb, width=720, > >> height=576, framerate=30000/1001 ! fakesink sync=false > >> > >> Anybody can answer me why? > >> And how can I do it better ? > >> > >> I use vivi as base example for my driver > >> -- > >> To unsubscribe from this list: send the line "unsubscribe linux-media" in > >> the body of a message to majordomo@xxxxxxxxxxxxxxx > >> More majordomo info at http://vger.kernel.org/majordomo-info.html > > > > > > > > -- > > Peter > > > > -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html