[mythtv-users] Unable to get video playback in MythTV

Brian Matthew Sperlongano zelonewolf at gmail.com
Wed Oct 13 01:31:03 UTC 2004


Hi Yan,

Point taken on the RAM.  I'll plan on getting some more to throw in
there for responsiveness.  The capture card is an on-board deal (it's
an Asus digimatrix set-top box form-factor PC, so a lot of stuff is
based on "built-on-the-motherboard" sort of chipsets).  The capture
card uses the saa7133/saa7134 module.  It runs both mythfrontend and
mythbackend.

Alsasound start looks good:

[root at localhost root]# service alsasound start
ALSA driver is already running.

I had followed the instructions over at alsa-project, and made a
simple ~/.asoundrc.  Didn't say anything about /etc/asound.conf, so I
just now copied the .asoundrc to /etc/asound.conf

I installed mythv from rpm using apt-get from ATrpms.net.  Do I need
to compile from source to get it working properly?  Should I get the
CVS copy?

I just ran dmesg -c, rebooted, and tried to play live TV.  Attached is
the output of the 3 commands listed.  There's a line with an ALSA
error in dmesg, maybe that's part of the problem?  Of course, I still
get perfect audio from tvtime, so I'm not sure what the deal would be
with that.

On Tue, 12 Oct 2004 17:15:00 -0700, Yan-Fa Li <yanfali at best.com> wrote:
> Hi Brian,
> 
> a few more questions.  So if I understand this right you have a 2.4
> Celeron running Mythfrontend and Mythbackend, using what to capture ?
> A PVR 250 or some other capture card.  I just realized we have no idea
> what you're using or doing :D  BTW, 256MB is a bit low for running X, I
> know it's embarrasing.  You might want to upgrade to 512 to get a
> slightly more responsive system.
> 
> You said in your previous mail you are using tvtime with no problems.
> Did you compile mythtv with ALSA support ?  You have to uncomment it in
> the settings.pro file.  Then you have to go to the settings, I think
> it's under general and point your audio from /dev/dsp to ALSA:default
> 
> Don't forget to create the alsa device files and a simple
> /etc/asound.conf file.  You can find instructions on how to do that on
> the alsa-project.org website under the card database for snd-intel8x0
> 
> If you are running redhat you can start alsa automagically using:
> 
> chkconfig --add alsasound on
> service alsasound start
> 
> Also really dumb question.  What exactly is your source of video ?
> PVR250 ?  Can you dump the following:
> 
> cat /proc/interrupts > /tmp/hardware_log
> lspci -v >> /tmp/hardware_log
> dmesg >> /tmp/hardware_log
> 
> and attach that to a mail to the list so we can see what your system
> thinks it's doing :D
> 
> Thanks
> 
> Yan
> 
> Brian Matthew Sperlongano wrote:
> 
> > Hi Yan,
> 
> 
> >
> > Yes, I'm using an intel8x0 card.  I'm running kernel 2.6.7 (had to do
> > that to get my wireless card to work).  I just compiled and installed
> > all the latest alsa drivers, and the message that I'm getting now from
> > mythtv when trying to watch live TV is:
> >
> >  2004-10-12 19:37:15 taking too long to be allowed to read.. (repeated
> > several times)
> >
> > followed by
> >
> > 2004-10-12 19:37:17 Waited 2 seconds for data to become available,
> > waiting again... (repeated several times
> >
> > followed by
> >
> > 2004-10-12 19:37:31 Waited 14 seconds for data to become available, aborting
> > Couldn't read file: rbuf://127.0.0.1:6543/home/myth/buffer/ringbuf1.nuv
> > 2004-10-12 19:37:31 Changing from None to WatchingLiveTV
> > 2004-10-12 19:37:31 Decoder not alive, and trying to play..
> > 2004-10-12 19:37:33 Changing from None to None
> >
> > Any clues?
> >
> > Thanks,
> >  Brian
> 
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 
> 
>
-------------- next part --------------
           CPU0       
  0:     271858          XT-PIC  timer
  1:         26          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  4:       2527          XT-PIC  ra0
  8:          1          XT-PIC  rtc
  9:          0          XT-PIC  acpi
 10:       1947          XT-PIC  saa7133[0]
 12:          0          XT-PIC  SiS SI7012
 14:      12533          XT-PIC  ide0
NMI:          0 
ERR:          0
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 651 Host (rev 02)
	Subsystem: Asustek Computer, Inc.: Unknown device 8081
	Flags: bus master, medium devsel, latency 32
	Memory at e8000000 (32-bit, non-prefetchable)
	Capabilities: [c0] AGP version 2.0

00:01.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 0000d000-0000dfff
	Memory behind bridge: e7800000-e7ffffff
	Prefetchable memory behind bridge: f0000000-febfffff
	Expansion ROM at 0000d000 [disabled] [size=4K]

00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS962 [MuTIOL Media IO] (rev 25)
	Flags: bus master, medium devsel, latency 0

00:02.1 SMBus: Silicon Integrated Systems [SiS]: Unknown device 0016
	Flags: medium devsel, IRQ 10
	I/O ports at e600 [size=32]

00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (prog-if 80 [Master])
	Subsystem: Asustek Computer, Inc.: Unknown device 807a
	Flags: bus master, medium devsel, latency 128, IRQ 11
	I/O ports at a400 [size=16]

00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] Sound Controller (rev a0)
	Subsystem: Asustek Computer, Inc.: Unknown device 80b0
	Flags: bus master, medium devsel, latency 32, IRQ 12
	I/O ports at 9400
	I/O ports at 9000 [size=128]
	Capabilities: [48] Power Management version 2

00:0e.0 Multimedia controller: Philips Semiconductors SAA7133 Audio+video broadcast decoder (rev 10)
	Subsystem: Asustek Computer, Inc.: Unknown device 0210
	Flags: bus master, medium devsel, latency 32, IRQ 10
	Memory at e5000000 (32-bit, non-prefetchable)
	Capabilities: [40] Power Management version 2

00:0f.0 Network controller: RaLink Wireless PCI Adpator RT2400 / RT2460
	Subsystem: Asustek Computer, Inc.: Unknown device 0127
	Flags: bus master, slow devsel, latency 32, IRQ 4
	Memory at e4800000 (32-bit, non-prefetchable)
	Capabilities: [40] Power Management version 2

01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 65x/M650/740 PCI/AGP VGA Display Adapter (prog-if 00 [VGA])
	Subsystem: Asustek Computer, Inc.: Unknown device 8081
	Flags: 66Mhz, medium devsel, IRQ 11
	BIST result: 00
	Memory at f0000000 (32-bit, prefetchable)
	Memory at e7800000 (32-bit, non-prefetchable) [size=128K]
	I/O ports at d800 [size=128]
	Capabilities: [40] Power Management version 2
	Capabilities: [50] AGP version 2.0

Linux version 2.6.7-1.494_6.rhfc2.at (bachbuilder at heretic.physik.fu-berlin.de) (gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)) #1 Sun Jul 25 06:27:36 EDT 2004
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000dffc000 (usable)
 BIOS-e820: 000000000dffc000 - 000000000dfff000 (ACPI data)
 BIOS-e820: 000000000dfff000 - 000000000e000000 (ACPI NVS)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
223MB LOWMEM available.
zapping low mappings.
On node 0 totalpages: 57340
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 53244 pages, LIFO batch:12
  HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
ACPI: RSDP (v000 ASUS                                      ) @ 0x000f5b10
ACPI: RSDT (v001 ASUS   P4SQ     0x42302e31 MSFT 0x31313031) @ 0x0dffc000
ACPI: FADT (v001 ASUS   P4SQ     0x42302e31 MSFT 0x31313031) @ 0x0dffc0c0
ACPI: BOOT (v001 ASUS   P4SQ     0x42302e31 MSFT 0x31313031) @ 0x0dffc030
ACPI: MADT (v001 ASUS   P4SQ     0x42302e31 MSFT 0x31313031) @ 0x0dffc058
ACPI: DSDT (v001   ASUS P4SQ     0x00001000 MSFT 0x0100000b) @ 0x00000000
ACPI: PM-Timer IO Port: 0xe408
Built 1 zonelists
Kernel command line: ro root=LABEL=/ rhgb quiet
mapped 4G/4G trampoline to ffff3000.
Initializing CPU#0
PID hash table entries: 1024 (order 10: 8192 bytes)
Detected 2400.556 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 223108k/229360k available (2016k kernel code, 5592k reserved, 655k data, 140k init, 0k highmem)
Calibrating delay loop... 4734.97 BogoMIPS
Security Scaffold v1.0.0 initialized
SELinux:  Initializing.
SELinux:  Starting in permissive mode
There is already a security framework initialized, register_security failed.
selinux_register_security:  Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000
CPU: After vendor identify, caps:  bfebfbff 00000000 00000000 00000000
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 128K
CPU: After all inits, caps:        bfebf3ff 00000000 00000000 00000080
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
CPU: Intel(R) Celeron(R) CPU 2.40GHz stepping 09
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 394k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xf1160, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040326
ACPI: IRQ9 SCI: Edge set to Level Trigger.
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10 11 *12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 *4 5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs *3 4 5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 *7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
Enabling SiS 96x SMBus.
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
Linux Plug and Play Support v0.97 (c) Adam Belay
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
ACPI: PCI interrupt 0000:00:02.1[B] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
ACPI: PCI interrupt 0000:00:02.5[A] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 12
ACPI: PCI interrupt 0000:00:02.7[C] -> GSI 12 (level, low) -> IRQ 12
ACPI: PCI interrupt 0000:00:0e.0[A] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 4
ACPI: PCI interrupt 0000:00:0f.0[A] -> GSI 4 (level, low) -> IRQ 4
ACPI: PCI interrupt 0000:01:00.0[A] -> GSI 11 (level, low) -> IRQ 11
TC classifier action (bugs to netdev at oss.sgi.com cc hadi at cyberus.ca)
vesafb: probe of vesafb0 failed with error -6
Simple Boot Flag at 0x3a set to 0x1
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
apm: overridden by ACPI.
audit: initializing netlink socket (disabled)
audit(1097616217.731:0): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
SELinux:  Registering netfilter hooks
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key 9DE041C77A738348
- User ID: Red Hat, Inc. (Kernel Module GPG key)
ksign: invalid packet (ctb=00)
Unable to load default keyring: error=74
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
ACPI: Processor [CPU0] (supports C1)
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected SiS 651 chipset
agpgart: Maximum main memory to use for agp memory: 176M
agpgart: AGP aperture is 64M @ 0xe8000000
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing enabled
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
divert: not allocating divert_blk for non-ethernet device lo
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SIS5513: IDE controller at PCI slot 0000:00:02.5
ACPI: PCI interrupt 0000:00:02.5[A] -> GSI 11 (level, low) -> IRQ 11
SIS5513: chipset revision 0
SIS5513: not 100% native mode: will probe irqs later
SIS5513: SiS 962/963 MuTIOL IDE UDMA133 controller
    ide0: BM-DMA at 0xa400-0xa407, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xa408-0xa40f, BIOS settings: hdc:pio, hdd:pio
hda: Maxtor 98196H8, ATA DISK drive
hdb: ASUS SCB-2408, ATAPI CD/DVD-ROM drive
Using cfq io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 128KiB
hda: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
 hda: hda1 hda2 hda3
hdb: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 4681)
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
ACPI: (supports S0 S1 S3 S4 S5)
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 140k freed
SELinux:  Disabled at runtime.
SELinux:  Unregistering netfilter hooks
NET: Registered protocol family 10
Disabled Privacy Extensions on device 0235e1a0(lo)
IPv6 over IPv4 tunneling driver
divert: not allocating divert_blk for non-ethernet device sit0
ACPI: Power Button (FF) [PWRF]
USB Universal Host Controller Interface driver v2.2
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd: block sizes: ed 64 td 64
EXT3 FS on hda2, internal journal
device-mapper: 4.1.0-ioctl (2003-12-10) initialised: dm at uk.sistina.com
cdrom: open failed.
Adding 458632k swap on /dev/hda3.  Priority:-1 extents:1
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
IA-32 Microcode Update Driver: v1.14 <tigran at veritas.com>
microcode: No new microdata for cpu 0
SCSI subsystem initialized
inserting floppy driver for 2.6.7-1.494_6.rhfc2.at
floppy0: no floppy controllers found
ACPI: PCI interrupt 0000:00:0f.0[A] -> GSI 4 (level, low) -> IRQ 4
rt2400 1.2.0 2004/06/20  http://rt2400.sourceforge.net
divert: allocating divert_blk for ra0
rt2400: ra0 at 0xe4800000, VA 0x10839000, IRQ 4.
divert: freeing divert_blk for ra0
ip_tables: (C) 2000-2002 Netfilter core team
Linux video capture interface: v1.00
saa7130/34: v4l2 driver version 0.2.12 loaded
ACPI: PCI interrupt 0000:00:0e.0[A] -> GSI 10 (level, low) -> IRQ 10
saa7133[0]: found at 0000:00:0e.0, rev: 16, irq: 10, latency: 32, mmio: 0xe5000000
saa7133[0]: subsystem: 1043:0210, board: LifeView FlyVIDEO3000 [card=2,insmod option]
saa7133[0]: board init: gpio is 10700
saa7133[0]: registered input device for IR
saa7133[0]: dsp access wait timeout [bit=WRR]
saa7133[0]: dsp access wait timeout [bit=WRR]
saa7133[0]: i2c eeprom 00: 43 10 10 02 10 28 ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
tuner: chip found at addr 0xc0 i2c-bus saa7133[0]
tuner: type set to 39 (LG NTSC (newer TAPC series)) by saa7133[0]
saa7133[0]: registered device video0 [v4l2]
saa7133[0]: registered device vbi0
saa7133[0]: registered device radio0
lp: driver loaded but no devices found
ACPI: PCI interrupt 0000:00:0f.0[A] -> GSI 4 (level, low) -> IRQ 4
rt2400 1.2.0 2004/06/20  http://rt2400.sourceforge.net
divert: allocating divert_blk for ra0
rt2400: ra0 at 0xe4800000, VA 0x1095b000, IRQ 4.
ip_tables: (C) 2000-2002 Netfilter core team
ACPI: PCI interrupt 0000:00:02.7[C] -> GSI 12 (level, low) -> IRQ 12
ALSA /root/alsa-driver-1.0.6a/alsa-kernel/pci/ac97/ac97_codec.c:1966: AC'97 0 analog subsections not ready
intel8x0_measure_ac97_clock: measured 49325 usecs
intel8x0: clocking to 48000
ra0: no IPv6 routers present


More information about the mythtv-users mailing list