All of lore.kernel.org
 help / color / mirror / Atom feed
* V4l2 :: Debugging an issue with cx8800 card.
@ 2008-09-04 22:14 B. Bogart
  2008-09-04 22:51 ` Andy Walls
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: B. Bogart @ 2008-09-04 22:14 UTC (permalink / raw)
  To: video4linux-list; +Cc: gem-dev

[-- Attachment #1: Type: text/plain, Size: 3433 bytes --]

Hello all,

This issue has been lagging for years and I wanted to get some expert
advice on debugging it. It seems I'm the only one with a cx8800 card
that is having problems so I hope to take the challenge up and propose a
solution to the maintainer.

So the software I'm using is GEM. It has v4l2 support, and works fine
with my bt848 card. Problem is I can't get things working properly with
my cx8800 cards.

First HW info:

lspci reports my tuner as:

00:0d.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video
and Audio Decoder (rev 05)

The card is branded as a Leadtek Winfast 2000XP Expert.

I'm sure the problem is with the v4l2 implementation in Gem as running
the following command gives me perfect video on this card at 640x480:

mplayer tv:// -tv driver=v4l2:device=/dev/video0:input=1:norm=NTSC-M

(the output follows this message).

So the card is capable of 640x480.

If I run Gem on this card as 320x240 all works fine. (pictured in
attachment 320x240.png)

As soon as I change the resolution to 640x480 I get the following errors
repeated:

VIDIOCMCAPTURE1: Invalid argument
VIDIOCMCAPTURE2: Invalid argument

And the image appears as in attachment 640x480.png

What should my steps for debugging be?

Is there dead-simple v4l2 example source (including output so I can
confirm its working) I can test with and compare with Gem sources?

Any advice appreciated.

B. Bogart


--
Here is the mplayer output:

MPlayer dev-SVN-r26940
CPU: AMD Athlon(tm) 64 Processor 3200+ (Family: 15, Model: 47, Stepping: 0)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.

Playing tv://.
TV file format detected.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
 comment: first try, more to come ;-)
Selected device: Leadtek Winfast 2000XP Expert
 Tuner cap:
 Tuner rxs:
 Capabilites:  video capture  VBI capture device  tuner  read/write
streaming
 supported norms: 0 = PAL-BG; 1 = PAL-DK; 2 = PAL-I; 3 = PAL-M; 4 =
PAL-N; 5 = PAL-Nc; 6 = PAL-60; 7 = NTSC-M; 8 = NTSC-M-JP; 9 = NTSC-443;
10 = SECAM-DK; 11 = SECAM-L;
 inputs: 0 = Television; 1 = Composite1; 2 = S-Video;
 Current input: 1
 Current format: BGR24
v4l2: current audio mode is : MONO
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] Can't open /dev/fb0: No such file or directory.
s3fb: can't open /dev/fb0: No such file or directory
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred colorspace: Packed UYVY)
VDec: using Packed UYVY as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x480 => 640x480 Packed UYVY
Selected video codec: [rawuyvy] vfm: raw (RAW UYVY)
==========================================================================
Audio: no sound
Starting playback...
v4l2: 40 frames successfully processed, -39 frames dropped.

Exiting... (Quit)


[-- Attachment #2: 320x240.png --]
[-- Type: image/png, Size: 184819 bytes --]

[-- Attachment #3: 640x480.png --]
[-- Type: image/png, Size: 134088 bytes --]

[-- Attachment #4: Type: text/plain, Size: 164 bytes --]

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Sorry!
@ 2007-07-23 13:28 Nigel Cunningham
  0 siblings, 0 replies; 12+ messages in thread
From: Nigel Cunningham @ 2007-07-23 13:28 UTC (permalink / raw)
  To: LKML

[-- Attachment #1: Type: text/plain, Size: 281 bytes --]

Hi all.

Sorry for all of the copies.

I was holding the message in the outbox, and double clicking on it, trying to 
get the encoding right in kmail. Needless to say now, it lied to me about 
whether it was keeping the previous copy of email in the outbox or not.

Nigel

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread
[parent not found: <200402271009.20894.leitzentrale@telebel.de>]
* More UDMA Troubles
@ 2002-05-13  4:23 Andre LeBlanc
  2002-05-13  5:04 ` Sorry!!! Andre LeBlanc
  0 siblings, 1 reply; 12+ messages in thread
From: Andre LeBlanc @ 2002-05-13  4:23 UTC (permalink / raw)
  To: linux-kernel

Ok, I signed up to this list from work under the name aeleblanc, now i'm at
home, so to see this history look at the other messages, anyway, i was
having alot of troubles getting DMA Working on my system, its a duron 1GHz
on an ECS Motherboard w/ an SiS Chipset. Actually, even with DMA Disabled i
was getting Hard drive errors... anyway, I tried compiling 2.5.15 because i
was told that 2.4.19-pre8 and up had better IDE Support, but during the boot
process on the new Kernel I get the following messages

hda: dma_intr: error=0x84 {DriveStatusError BadCRC }
hda: recalibrating!
{ dma_intr }
hda: dma_intr: error=0x84 {DriveStatusError BadCRC }
{ dma_intr }
hdb: DMA Disabled

then the system Locks solid.

can anyone help me with this, this is the third kernel I've tried and
they've all had very serisous problems.



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-09-12 19:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-04 22:14 V4l2 :: Debugging an issue with cx8800 card B. Bogart
2008-09-04 22:51 ` Andy Walls
2008-09-04 23:16   ` B. Bogart
2008-09-05  6:01     ` Jean-Francois Moine
2008-09-05 15:29       ` B. Bogart
2008-09-12 19:19   ` B. Bogart
2008-09-12 19:22   ` B. Bogart
2008-09-12  0:44 ` Broken gem support for UYVY V4L capture? WAS " B. Bogart
2008-09-12  0:46 ` Sorry! B. Bogart
  -- strict thread matches above, loose matches on Subject: below --
2007-07-23 13:28 Sorry! Nigel Cunningham
     [not found] <200402271009.20894.leitzentrale@telebel.de>
2004-02-27  9:15 ` sorry! Rudorff
2002-05-13  4:23 More UDMA Troubles Andre LeBlanc
2002-05-13  5:04 ` Sorry!!! Andre LeBlanc

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.