Page 1 of 1

Distorted image...

Posted: Mon Dec 15, 2008 10:09 am
by chenko
I have a bt848 card, known to be working as card=77 on the site I purchased it from.

# lspci
01:06.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
01:06.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)


Image
But I am getting this image...

I have tried it in both Gentoo 2.6 with the driver compiled into the Kernel, and in Ubuntu Server 8.10 which I assume its default install uses a module. Same image for both, camera works fine when plugged directly into a monitor.

I have searched around here, and the resolution I am running at is 320x240, I have played around with others. Higher resolutions 640 etc the image just "breaks" in the control panel.

I have put my options line (as above), in /etc/modprobe.d/bttv etc (and its copied into /etc/modprobe.conf automatically at boot).

Camera is PAL, tested set to PAL, NTSC and Auto.

I have no X setup so I cannot test in some graphical interface. I tested with camsource previously and it has the same image (also it doesn't select the channels properly).


Suggestions?

Re: Distorted image...

Posted: Mon Dec 15, 2008 9:46 pm
by cordel
chenko wrote:Camera is PAL, tested set to PAL, NTSC and Auto.

I have no X setup so I cannot test in some graphical interface. I tested with camsource previously and it has the same image (also it doesn't select the channels properly).
From that I would think that the card is not a type 77 and as you describe strongly suggests it is not.
Where did you get the card from and do they have a picture of the card on their site?

Posted: Tue Dec 16, 2008 9:25 am
by chenko
The card is the one in the image below. It has been posted (the image) on this site before and users in them threads also suggest card=77, including a thread on the site I purchased it from.

This card...
http://www.dealextreme.com/details.dx/sku.15758


This is what they said on DX
need to correct what i stated earlier about how to get it working.... you need to add the following to your '/etc/modules.conf'
options bttv card=77 tuner=-1

#lspci
01:06.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
01:06.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
lspci shows the same for me.


Same card as these...
http://www.zoneminder.com/forums/viewto ... light=card
Lee Sharp wrote:By the way, I have found that card to work best with this in the options file.

Code: Select all

options bttv gbuffers=32 card=77 tuner=4 radio=0 coring=1 full_luma_range=1 chroma_agc=1 combfilter=1 autoload=0 triton1=0 vsfx=0
Tried using that options string also (I restarted the machine instead of just reloading the driver). I followed the link on that page, regarding memory issues and it didn't help either.

Posted: Tue Dec 16, 2008 10:38 am
by cordel
Okay, sorry but better to be sure that it's the right card ;)

Check your monitor settings and make sure the image size's, palette, and Format's all match. BT878 does not handle having any of those different at all on the same device, this includes if you have a monitor defined on this device and it's not enabled. They must all be set exactly the same.

lspci does not really tell us anything as any capture card with a BT878 chip will return the same. lspci -vn would return something useful as the numeric ID of the card.

Posted: Tue Dec 16, 2008 3:59 pm
by chenko
Np.

I started off using 320x240 for the resolution, and also tried 640x480 (image wouldn't display on the admin page), and the 388 resolution which is often mentioned. The card is supposed to do 640 apparently. I also used the default RGB24 and Greyscale.

I tried it first with adding just a single monitor, and then with all 4 video0 channel 0-3 (just to say im not using video0-3).

Just to note, the image is the same on the live image, and the zones editing image.


I will try it again fresh later using an Ubuntu livecd to test it fresh without having to install server. I'd rather use Gentoo, should I leave the bttv driver as a module instead of trying to compile it into the kernel?

I will reply back with the -vn also.

Posted: Tue Dec 23, 2008 11:49 pm
by chenko
lspci -v
00:09.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
Flags: bus master, medium devsel, latency 32, IRQ 17
Memory at f8120000 (32-bit, prefetchable)
Capabilities: [44] Vital Product Data <?>
Capabilities: [4c] Power Management version 2
Kernel driver in use: bttv
Kernel modules: bttv

00:09.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
Flags: bus master, medium devsel, latency 32, IRQ 11
Memory at f8121000 (32-bit, prefetchable)
Capabilities: [44] Vital Product Data <?>


lspci -vn

00:09.0 0400: 109e:036e (rev 11)
Flags: bus master, medium devsel, latency 32, IRQ 17
Memory at f8120000 (32-bit, prefetchable)
Capabilities: [44] Vital Product Data <?>
Capabilities: [4c] Power Management version 2
Kernel driver in use: bttv
Kernel modules: bttv


Just currently setting up in Ubuntu 8.10 live cd, wanted to paste the lines for now.

Posted: Wed Dec 24, 2008 9:00 pm
by Lee Sharp
Try Gutsy. I have seen some reports of 8.10 not actually reading the options file, and the other bits make a difference. Also shut off everything you don't need and the BIOS and reset ESCD is you can to clear up IRQs.

Posted: Thu Dec 25, 2008 4:11 pm
by chenko
Thanks, will do. I actually didn't get anything working in tvtime when I tested it. It insisted to only go through video options as Composite, Tuner, SVideo, Composite 3... :/ (obviously with none of them showing anything).