#3272 BLOC Trial-3: gstreamer not getting camera data
Zarro Boogs per Child
bugtracker at laptop.org
Mon Sep 17 15:18:38 EDT 2007
#3272: gstreamer not getting camera data
------------------------------+---------------------------------------------
Reporter: erikb | Owner: dilinger
Type: defect | Status: new
Priority: blocker | Milestone: Trial-3
Component: camera-activity | Version: Development build as of this date
Resolution: | Keywords:
Verified: 0 |
------------------------------+---------------------------------------------
Comment(by dilinger):
Replying to [comment:13 corbet]:
> Replying to [comment:11 dilinger]:
>
> > Why would we be loading or enabling the driver in a memory-constrained
situation?
>
> The existence of this bug makes it clear that it's happening, no?
We're not "memory constrained". We're just being wasteful w/ memory in
userspace; the journal's eating lots of memory, for example. I consider
128MB plenty (even if gecko likes to allocate a good portion of it), and
256MB more than enough. The journal consuming most of that is about as
indicative of a memory constrained system as is my x40 swapping due to
memory leaks in firefox.
>
> > > The solution is to ensure that this parameter is set at boot time.
Probably OLPC should just carry a patch in its tree to turn on
alloc_bufs_at_load by default. That's *not* a change that I would be able
to merge upstream, but it clearly makes sense in this situation.
> >
> > Why not? Does anyone else but us use cafe_ccic?
>
> Not currently, though one assumes that controller will show up somewhere
else eventually. The V4L2 maintainer is quite clear that he thinks
buffers like this should not be dragged around by the kernel when they are
not being used; I had to do some arguing to keep the preallocation feature
in the driver at all. Feel free to send in a patch if you would like the
default changed, but I would not expect it to get very far.
Sounds like a fun challenge, will do. ;)
--
Ticket URL: <https://dev.laptop.org/ticket/3272#comment:14>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list