LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-11-2002, 03:39 AM   #1
SticklerThe1st
Member
 
Registered: Apr 2002
Location: Missouri
Distribution: Slackware 8.0
Posts: 46

Rep: Reputation: 15
New mobo - tvcard problems


Hello
I just recently upgraded my motherboard to an MSI KT4 Ultra, after that my tv card ceases to work.
I have a TV Wonder VE (bttv) tv card.
Xawtv segfaults on scanning for channels and kwintv craps out.

However I do have Sound, just no picture.
Kwintv will open with a black screen but nothing else.

The correct modules are either built into the kernel or as modules like bttv.o and tuner.o.

I also reinstalled my whole system and I used the same kernel config, except I changed the sound modules for my sound card (for the new mobo).

Heres what happens when i modprobe the bttv module. (from the system logs)

Dec 11 02:24:17 fatty kernel: bttv: driver version 0.7.96 loaded
Dec 11 02:24:17 fatty kernel: bttv: using 4 buffers with 2080k (8320k total) for capture
Dec 11 02:24:17 fatty kernel: bttv: Host bridge is PCI device 1106:3189 (VIA Technologies, Inc.)
Dec 11 02:24:17 fatty kernel: bttv: Bt8xx card found (0).
Dec 11 02:24:17 fatty kernel: bttv0: Bt878 (rev 17) at 00:08.0, irq: 10, latency: 32, mmio: 0xdddfe000
Dec 11 02:24:17 fatty kernel: bttv0: detected: ATI TV Wonder/VE [card=64], PCI subsystem ID is 1002:0003
Dec 11 02:24:17 fatty kernel: bttv0: using: BT878(ATI TV-Wonder VE) [card=64,insmod option]
Dec 11 02:24:17 fatty kernel: bttv0: i2c: checking for TDA9875 @ 0xb0... not found
Dec 11 02:24:17 fatty kernel: bttv0: i2c: checking for TDA7432 @ 0x8a... not found
Dec 11 02:24:17 fatty kernel: bttv0: registered device video0
Dec 11 02:24:17 fatty kernel: bttv0: registered device vbi0
Dec 11 02:24:17 fatty kernel: bttv0: registered device radio0
-----------------------------------------------
It finds it, ie I don't need to add modprobe bttv card=64 etc, it finds it fine as usual. It just dosen't work.

Here is what kwintv says:
stickler@fatty:~$ kwintv
save location /home/stickler/.kde/share/config/ doesn't exist
Warning: main: Can't load program-file /home/stickler/.kwintvrc/default.ch!
/dev/video0 [v4l2]: v4l2 support seems to be missing. Using v4l instead.
kwintv: winTVSCreenWidget - base constructor called
kwintv: KXv: Xv ImageMask port 54 was found. Device is: NV10 Video Overlay.
kwintv: Attributes for port 54
kwintv: -> XV_DOUBLE_BUFFER get set Range: 0 -> 1
kwintv: -> XV_COLORKEY get set Range: 0 -> 16777215
kwintv: -> XV_AUTOPAINT_COLORKEY get set Range: 0 -> 1
kwintv: -> XV_SET_DEFAULTS set Range: 0 -> 0
kwintv: -> XV_BRIGHTNESS get set Range: -512 -> 511
kwintv: -> XV_CONTRAST get set Range: 0 -> 8191
kwintv: -> XV_SATURATION get set Range: 0 -> 8191
kwintv: -> XV_HUE get set Range: 0 -> 360
kwintv: -> XV_ITURBT_709 get set Range: 0 -> 1
kwintv: Image formats for port 54
kwintv: 0x32595559 (YUY2) Packed
kwintv: 0x32315659 (YV12) Planar
kwintv: 0x59565955 (UYVY) Packed
kwintv: 0x30323449 (I420) Planar
kwintv: KXv: Xv ImageMask port 55 was found. Device is: NV05 Video Blitter.
kwintv: Attributes for port 55
kwintv: Image formats for port 55
kwintv: 0x32595559 (YUY2) Packed
kwintv: 0x32315659 (YV12) Planar
kwintv: 0x59565955 (UYVY) Packed
kwintv: 0x30323449 (I420) Planar
kwintv: 0x3 (kwintv: KXv: Xv init completed.
kwintv: KXv: Close Xv connection.
kwintv: WinTVScreen_v4l destructor called
kwintv: winTVSCreenWidget - base destructor called

----------------------
I also have DGA enabled in my XF86Config.
Anyone have any ideas?
Thanks.
 
Old 12-11-2002, 05:38 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well surely you're simply not tuning it in properly or something? there are obviously no error messages anywhere, so nothing to go on. have you tried xawtv as well? much nicer that kwintv...
 
Old 12-11-2002, 06:02 AM   #3
SticklerThe1st
Member
 
Registered: Apr 2002
Location: Missouri
Distribution: Slackware 8.0
Posts: 46

Original Poster
Rep: Reputation: 15
As I said xawtv dosen't work. Using scantv segfaults, and using a old config dosen't work.

My mobo is also new as I stated, I checked kernel.org and I seen 2.4.21pre1 and checked the change log, AGP support for my machine (I have AGP 8x)
and other fixes.

Im going for some sort of conflict with the agp, my nvidia card and the tvtuner.

I popped the tv card in another slackbox I have with the same conf and it worked fine.

By the way
I like kwintv better, it picks up color with out needing to change anything.
In xawtv I would need to mess with the hue etc.
 
Old 12-11-2002, 07:22 AM   #4
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
Hmmm interesting problem. I haven't got a solution for you but it seems kinda related to my problems.
I've got an MSI KT4 Ultra motherboard and I've been trying to get my tv-tuner card to work on it. Not really much luck so far. The card I have is a kind of unknown card though but it does have the bttv chip in it. The chip says b878a on it. It says it's from Tevion and it's just a cheap card I got to play around with. I'm pretty sure it detects the tuner properly because with scantv it does detect all the channel names properly at the right frequencies. But I just haven't managed to get any picture yet. I haven't really tried the sound yet since I wanted to see something first before I tried the sound.
I've tried all the different card types and there are several of them which I get no errors with, except that my screen stays black.

I don't know how far the AGP settings would affect the tv tuner card though. But I do have problems with the agpgart driver supplied with the kernel (2.4.20). It detects an unknown chipset, I can force it to load but then it doesn't work that well either. So right now I've set it to use the stuff from the NVidia driver which seems to be working pretty good. Still haven't tried any of those 3d games or anything like that on it yet.

But to get back to the tv card. Right now I've kinda went through all my options of different things to try, besides hacking into the bttv driver which I don't have a lot of time to get into right now. I know the card physically works, because I tried it in a windows machine (apart from the fact that it spontaneously reboots the computer when it's tuning channels). Maybe I should get linux running on the windows machine and see if it works there. That would rule out the problems with the motherboard.
 
Old 12-11-2002, 07:42 AM   #5
SticklerThe1st
Member
 
Registered: Apr 2002
Location: Missouri
Distribution: Slackware 8.0
Posts: 46

Original Poster
Rep: Reputation: 15
It seems to be the motherboard, its just too new.
I'v been googiling all night and have found some interesting things:

http://forums.viaarena.com/messagevi...threadid=26396
http://forums.viaarena.com/messagevi...threadid=23249

It seems to be the AGP.


The mobo is also brand spanking new, and I *was* having the DMA problems everyone else was.
I patched my kernel to 2.4.21pre1
I get this now:
Dec 11 04:40:41 fatty kernel: Linux video capture interface: v1.00
Dec 11 04:40:41 fatty kernel: Linux agpgart interface v0.99 (c) Jeff Hartmann
Dec 11 04:40:41 fatty kernel: agpgart: Maximum main memory to use for agp memory: 439M
Dec 11 04:40:41 fatty kernel: agpgart: Detected Via Apollo Pro KT400 chipset
Dec 11 04:40:41 fatty kernel: agpgart: AGP aperture is 128M @ 0xe0000000
Dec 11 04:40:41 fatty kernel: [drm] Initialized tdfx 1.0.0 20010216 on minor 0
Dec 11 04:40:41 fatty kernel: [drm] AGP 0.99 on VIA Apollo KT400 @ 0xe0000000 128MB
Dec 11 04:40:41 fatty kernel: [drm] Initialized mga 3.0.2 20010321 on minor 1
Dec 11 04:40:41 fatty kernel: Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4
Dec 11 04:40:41 fatty kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Dec 11 04:40:41 fatty kernel: VP_IDE: IDE controller at PCI slot 00:11.1
Dec 11 04:40:41 fatty kernel: PCI: Hardcoded IRQ 14 for device 00:11.1
Dec 11 04:40:42 fatty kernel: VP_IDE: chipset revision 6
Dec 11 04:40:42 fatty kernel: VP_IDE: not 100%% native mode: will probe irqs later
Dec 11 04:40:42 fatty kernel: VP_IDE: VIA vt8235 (rev 00) IDE UDMA133 controller on pci00:11.1
Dec 11 04:40:42 fatty kernel: ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hdaMA, hdbMA
Dec 11 04:40:42 fatty kernel: ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdcMA, hddio
Dec 11 04:40:42 fatty kernel: hda: DMA disabled
Dec 11 04:40:42 fatty kernel: hdb: DMA disabled
Dec 11 04:40:43 fatty kernel: hdc: DMA disabled
Dec 11 04:40:43 fatty kernel: hda: 20015856 sectors (10248 MB) w/512KiB Cache, CHS=1245/255/63, UDMA(66)
Dec 11 04:40:43 fatty kernel: hdb: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=4865/255/63, UDMA(100)

----
I use hdparm to turn on DMA manually in my rc.local and it seems to work fine

So far here are the problems im having
#1 Somthing is bothering my other devices like my tv card
#2 Minor DMA problem
#3 Can't play games.
Other than that everything works, I can play mp3's, general web browsing, email, etc.

Im hoping someone writes a patch for my board soon,I run straight Slackware Linux, its not a choice for me to reboot into windows like most people and continue working.

Anyone have any links or information about my board and when is it going to be supported in linux, who's working on it, when will a fix be released, etc?

Thanks
 
Old 12-11-2002, 02:41 PM   #6
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
I had some time to play around with my tv-card and actually managed to get it working. This might be specific to the card I have but I had to add the option pll=1 for the bttv option. I got it working with xawtv and had to set capture to grabdisplay to actually get picture instead of a black screen. I haven't really looked into what that setting does yet. Still get a bit of faded colours on some channels though.
I have kernel 2.4.20 and added the patches for v4l2 and the 0.9.3 bttv driver.

I haven't added any patches for DMA support but my IDE controller is properly detected and does set both harddrives and cd's in DMA mode. All I had to do was enable the option in the kernel which forces it to enable dma.

I was reading through those two links you gave but I'm only having problems with the agpgart driver. Gotten around that so far by using the AGP support in the nvidia drivers instead. No problems with sound or DMA.

This is the output of hdparm -t so I assume it's working well:
/dev/hdc: Timing buffered disk reads: 64 MB in 1.28 seconds = 50.00 MB/sec

Well I'd say keep trying I'm sure you'll get it working.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MoBo problems? Rick Harvey Linux - Hardware 5 12-06-2005 11:15 AM
graphics problems with ASrock mobo OC_eobard Slackware 3 01-07-2005 10:29 AM
problems with asus P4v800-x mobo Hano Linux - Hardware 0 08-12-2004 08:39 PM
Biostar u8668d mobo setup problems steve44224 Linux - Hardware 0 03-21-2004 06:45 PM
A7V8X mobo irq problems zoomzoom Linux - Hardware 2 09-04-2003 10:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration