Skip site navigation (1)Skip section navigation (2)
Date:      11 Oct 1997 15:18:58 -0700
From:      Paul Traina <pst@juniper.net>
To:        luigi@labinfo.iet.unipi.it (Luigi Rizzo)
Cc:        multimedia@freebsd.org
Subject:   Re: quickcam performance...
Message-ID:  <7yzpogndt9.fsf@base.juniper.net>
In-Reply-To: luigi@labinfo.iet.unipi.it's message of 9 Oct 97 15:19:31 GMT
References:  <199710091519.QAA13337@labinfo.iet.unipi.it>

next in thread | previous in thread | raw e-mail | index | archive | help
luigi@labinfo.iet.unipi.it (Luigi Rizzo) writes:

> 
> Hi,
> 
> I am trying to use vic with the quickcam on the parallel port using
> /dev/qcam, and performance is just horrible. I don't remember it so bad
> when using the user-space library on a much slower system, so there
> must be something wrong...
> 
> Is there any known performance problem with /dev/qcam , or some
> configuration problem on my side ? I think I am using basic
> (unidirectional) parallel port to access the camera, as I was with the
> user-space library... and I am running 2.2.1

The problem is that the qcam won't generate an interrupt defining when
a start of frame is available (the hardware just isn't there, the right
pin wasn't used on the damn parallel port).  Therefore the driver spins
in the kernel.  This sucks, and is why I abandoned further development on it.

I think the only sane approach to a kernel driver is to do a timer based
wakeup.  Unfortunately, I just don't have time to mess with the thing these
days.

Sorry,

Paul



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7yzpogndt9.fsf>