Hi folks!
For about 1y my Mythtv-Box runned nearly flawlessly... on monday I
decided to upgrade to 0.3.8 via svn along with an update of xorg coming
out of gentoo-portage.
So far i got my system always up to date, weekly doing "emerge --update
--deep world" and "etc-update" to keep everything clean and smooth.
At the point I installed the 0.3.8-build the TV-Pic became strange (see
URL at the end of mail), but YUV decoding works great still.
I think it has to do sth. with the following messages coming up in my
dmesg:
saa7115: decoder enable output
saa7115: decoder set picture bright=-182026112 contrast=63
saturation=-536905984 hue=-1069805324
saa7115: invalid brightness setting -182026112<6>saa7115: decoder set
picture bright=-182026112 contrast=1 saturation=63 hue=-1069805324
saa7115: invalid brightness setting -182026112<6>saa7115: decoder set
picture bright=127 contrast=1 saturation=-536905984 hue=-1069805324
saa7115: invalid saturation setting -536905984<6>saa7115: decoder set
picture bright=-182026112 contrast=1 saturation=-536905984 hue=0
saa7115: invalid brightness setting -182026112<6>saa7115: decoder
disable output
saa7115: decoder enable output
It seems to me the brightness/saturation settings are set in a wrong way.
I'm posting this to ivtv-devel, because i do not think it is myth's
fault, because I didnt change anything in myth's config.
Stepping back to 3.7k (lying around in Chris' dir on dl.ivtvdriver.org)
gives same Picture with different numbers for brightness-settings.
saturation stays the same
-182026112 in 0.3.8 and -149321856 in 0.3.7k
Can anyone give me a hint on my problem?
thx for any suggestions you will make.
Jan
below my configs/logs/specs:
Hardware:
P4 on Asus P4P800, HT disabled due to DMA issues encountered with the 2
PVR350's
2*512 MB Kingston Value-Ram in "Dual-Channel"-Mode
ATI Radeon 9200, unused
2 Hauppauge PVR350s, using TV-Out with John's X-Driver on 1st Card
Allnet 0271 54Mbit Wireless-Lan (prism54 driver)
3 * Samsung Spinpoint 160G Harddisks in follwing config:
---each disk 3 Partitions: 50MB, 340MB, 159,5G
---Linux Software-Raid:
--- --- /dev/md0 Raid1 over hda1, hdb1 + hdc1 as spare, formatted with
ext2 as /boot
--- --- /dev/md1 Raid5 oder hda3, hdb2, hdc3 formatted with ext3 as /
(system root)
hdX2 as 3 independent swap partitions
The System is running Gentoo:
Linux mythbox 2.6.11-gentoo-r9 #1 Sun May 22 12:45:05 CEST 2005 i686
Intel(R) Pentium(R) 4 CPU 3.20GHz GenuineIntel GNU/Linux
Kernel is selfmade with default genkernel settings except i disabled
drivers for hardware/network-features I do not need.
/etc/modules.d/ivtv:
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias char-major-81-1 ivtv
alias char-major-61 lirc_i2c
options ivtv ivtv-std=2 ivtv-debug=1 tda9887=0
add below ivtv msp3400 saa7115 tuner saa7127
add above ivtv lirc_dev lirc_i2c ivtv-fb
(even leaving the tda9887 options does not change anything after cold
reboot)
dmesg-part:
saa7127: Ignoring new-style parameters in presence of obsolete ones
saa7127: video encoder driver version V 0.3 loaded
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.3.8 (tagged release) loading
ivtv: Linux version: 2.6.11-gentoo-r9 preempt PENTIUM4 gcc-3.3
ivtv: In case of problems please include the debug info
ivtv: between the START INIT IVTV and END INIT IVTV lines when
ivtv: mailing the ivtv-devel mailinglist.
ivtv: Autodetected WinTV PVR 350 card (iTVC15 based)
ACPI: PCI interrupt 0000:02:09.0[A] -> GSI 5 (level, low) -> IRQ 5
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
msp34xx: ivtv version
msp34xx: init: chip=MSP3418W-B3, has NICAM support, simple (D) mode,
simpler (G)
no-thread mode
msp34xx: $Id$ compiled on: May 22 2005 16:49:31
ivtv: i2c attach to card #0 ok [client=MSP3418W-B3, addr=40]
saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005)
saa7115: detecting saa7115 client on address 0x42
saa7115: writing init values
ivtv: i2c attach to card #0 ok [client=saa7115[0], addr=21]
saa7115: status: (1E) 0x00, (1F) 0x40
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv: i2c attach to card #0 ok [client=(tuner unset), addr=61]
saa7127: detecting saa7127 client on address 0x88
saa7127: Selecting NTSC video Standard
saa7127: Selecting S-Video+Composite
saa7127: Turn WSS off
saa7127: Widescreen Mode 4:3 Full Format
saa7127: Selecting Normal Encoder Input
saa7127: Enable Video Output
ivtv: i2c attach to card #0 ok [client=saa7127[0], addr=44]
tveeprom: Hauppauge: model = 48139, rev = K257, serial# = 7671668
tveeprom: tuner = Philips FM1216 ME MK3 (idx = 57, type = 38)
tveeprom: tuner fmt = PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
tveeprom: audio_processor = CS5331 (type = 9)
ivtv: i2c attach to card #0 ok [client=tveeprom[0], addr=50]
tda9885/6/7: chip found @ 0x86
ivtv: i2c attach to card #0 ok [client=tda9887, addr=43]
ivtv: loading /lib/modules/ivtv-fw-enc.bin
ivtv: loading /lib/modules/ivtv-fw-dec.bin
ivtv: Encoder revision: 0x02040011
ivtv: Decoder revision: 0x02020023
ivtv: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB total)
ivtv: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB total)
ivtv: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB
total)
ivtv: Create encoder radio stream
ivtv: Allocate DMA decoder MPEG stream: 16 x 65536 buffers (1024KB total)
ivtv: Allocate DMA decoder VBI stream: 512 x 2048 buffers (1024KB total)
ivtv: Create decoder VOUT stream
ivtv: Allocate DMA decoder YUV stream: 20 x 51840 buffers (1024KB total)
tuner: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3)) by ivtv
i2c drive
r #0
saa7115: decoder set norm PAL
spurious 8259A interrupt: IRQ7.
saa7115: set audio: 0x01
saa7115: decoder set input (4)
saa7115: now setting Composite input
saa7115: decoder set norm PAL
saa7115: set audio: 0x01
saa7127: Setting Encoder Video Standard
saa7127: Set PAL Video Mode
saa7127: Selecting PAL video Standard
saa7115: decoder disable output
saa7115: decoder enable output
ivtv: Initialized WinTV PVR 350, card #0
ivtv: ====================== NEXT CARD ======================
ivtv: Autodetected WinTV PVR 350 card (iTVC15 based)
ACPI: PCI interrupt 0000:02:0b.0[A] -> GSI 11 (level, low) -> IRQ 11
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
msp34xx: ivtv version
msp34xx: init: chip=MSP3418W-B3, has NICAM support, simple (D) mode,
simpler (G)
no-thread mode
msp34xx: $Id$ compiled on: May 22 2005 16:49:31
ivtv: i2c attach to card #1 ok [client=MSP3418W-B3, addr=40]
saa7115: starting probe for adapter ivtv i2c driver #1 (0x10005)
saa7115: detecting saa7115 client on address 0x42
saa7115: writing init values
ivtv: i2c attach to card #1 ok [client=saa7115[1], addr=21]
saa7115: status: (1E) 0x00, (1F) 0xc0
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #1
ivtv: i2c attach to card #1 ok [client=(tuner unset), addr=61]
saa7127: detecting saa7127 client on address 0x88
saa7127: Selecting NTSC video Standard
saa7127: Selecting S-Video+Composite
saa7127: Turn WSS off
saa7127: Widescreen Mode 4:3 Full Format
saa7127: Selecting Normal Encoder Input
saa7127: Enable Video Output
ivtv: i2c attach to card #1 ok [client=saa7127[1], addr=44]
tveeprom: Hauppauge: model = 48139, rev = K257, serial# = 7671673
tveeprom: tuner = Philips FM1216 ME MK3 (idx = 57, type = 38)
tveeprom: tuner fmt = PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
tveeprom: audio_processor = CS5331 (type = 9)
ivtv: i2c attach to card #1 ok [client=tveeprom[1], addr=50]
tda9885/6/7: chip found @ 0x86
ivtv: i2c attach to card #1 ok [client=tda9887, addr=43]
ivtv: loading /lib/modules/ivtv-fw-enc.bin
ivtv: loading /lib/modules/ivtv-fw-dec.bin
ivtv: Encoder revision: 0x02040011
ivtv: Decoder revision: 0x02020023
ivtv: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB total)
ivtv: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB total)
ivtv: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB
total)
ivtv: Create encoder radio stream
ivtv: Allocate DMA decoder MPEG stream: 16 x 65536 buffers (1024KB total)
ivtv: Allocate DMA decoder VBI stream: 512 x 2048 buffers (1024KB total)
ivtv: Create decoder VOUT stream
ivtv: Allocate DMA decoder YUV stream: 20 x 51840 buffers (1024KB total)
tuner: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3)) by ivtv
i2c drive
r #1
saa7115: decoder set norm PAL
saa7115: set audio: 0x01
saa7115: decoder set input (4)
saa7115: now setting Composite input
saa7115: decoder set norm PAL
saa7115: set audio: 0x01
saa7127: Setting Encoder Video Standard
saa7127: Set PAL Video Mode
saa7127: Selecting PAL video Standard
saa7115: decoder disable output
saa7115: decoder enable output
ivtv: Initialized WinTV PVR 350, card #1
ivtv: ==================== END INIT IVTV ====================
lirc_dev: IR Remote Control driver registered, at major 61
bttv: Unknown symbol tveeprom_read
bttv: Unknown symbol tveeprom_hauppauge_analog
cx2388x v4l2 driver version 0.0.4 loaded
lirc_i2c: chip found @ 0x18 (Hauppauge IR)
ivtv: i2c attach to card #0 ok [client=Hauppauge IR, addr=18]
lirc_dev: lirc_register_plugin: sample_rate: 10
lirc_i2c: chip found @ 0x18 (Hauppauge IR)
ivtv: i2c attach to card #1 ok [client=Hauppauge IR, addr=18]
lirc_dev: lirc_register_plugin: sample_rate: 10
ivtv-osd: Framebuffer module loaded (attached to ivtv card id 0)
ivtv-osd warning: Framebuffer is at decoder-relative address 0x00510000
and has
1704960 bytes.
ivtv-osd: screen coords: [0 0] -> [720 576]
ivtv-osd: original global alpha = 208
ivtv-osd: current OSD state = 39
ivtv-osd: new global alpha = 208 (1 255 0)
ivtv-osd: framebuffer at 0xf1510000, mapped to 0xf9e10000, size 1620k
ivtv-osd: mode is 720x576x32, linelength=2880
ivtv-osd: fb1: iTVC15 TV out frame buffer device
ivtv: Allocate DMA decoder OSD stream: 16 x 65536 buffers (1024KB total)
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel 865 Chipset.
agpgart: Maximum main memory to use for agp memory: 941M
agpgart: AGP aperture is 64M @ 0xf8000000
saa7115: starting probe for adapter SMBus I801 adapter at 0400 (0x0)
saa7127: detecting saa7127 client on address 0x88
saa7127: Selecting NTSC video Standard
saa7127: Selecting S-Video+Composite
saa7127: Turn WSS off
saa7127: Widescreen Mode 4:3 Full Format
saa7127: Selecting Normal Encoder Input
saa7127: Enable Video Output
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
ACPI: PCI interrupt 0000:00:1f.5[B] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1f.5 to 64
intel8x0_measure_ac97_clock: measured 49843 usecs
intel8x0: clocking to 48000
ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 11
ACPI: PCI interrupt 0000:02:05.0[A] -> GSI 11 (level, low) -> IRQ 11
skge addr 0xfeafc000 irq 11 chip Yukon-Lite rev 7
skge eth1: addr 00:11:2f:f5:af:96
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE,EPP]
=========== Comment inserted by hand:
eth0 is prism54 wlan, eth1 is gigabit onboard controller
=========== End of Comment
eth0: resetting device...
eth0: uploading firmware...
eth0: firmware version: 1.0.4.3
eth0: firmware upload complete
eth0: interface reset complete
eth0: prism54_set_txpower() auto power will be implemented later.
skge eth1: enabling interface
skge eth1: disabling interface
skge eth1: enabling interface
skge eth1: disabling interface
cdrom: open failed.
ivtv: Tried to open YUV output device but need to send data to mpeg
decoder before it can be used
=========== Comment inserted by hand:
above: I know that i could send a previous made mpg to /dev/video16 (or
32), but found no time to setup this ;)
below: This is the point where X and mythbackend starts up, Mythfrontend
is started automatically after login.
guess the entries come up twice, because backend initializes both cards...
=========== End of Comment
saa7115: decoder set picture bright=-1072680128 contrast=63
saturation=64 hue=0
saa7115: invalid brightness setting -1072680128<6>saa7115: decoder set
picture b
right=-182613632 contrast=1 saturation=63 hue=-1069805324
saa7115: invalid brightness setting -182613632<6>saa7115: decoder set
picture br
ight=127 contrast=1 saturation=-536905984 hue=-1069805324
saa7115: invalid saturation setting -536905984<6>saa7115: decoder set
picture br
ight=-182613632 contrast=1 saturation=-536905984 hue=0
saa7115: invalid brightness setting -182613632<6>saa7115: decoder
disable output
saa7115: decoder enable output
saa7115: decoder set picture bright=-182613632 contrast=63
saturation=-536905984
hue=-1069805324
saa7115: invalid brightness setting -182613632<6>saa7115: decoder set
picture br
ight=-182613632 contrast=1 saturation=63 hue=-1069805324
saa7115: invalid brightness setting -182613632<6>saa7115: decoder set
picture br
ight=127 contrast=1 saturation=-536905984 hue=-1069805324
saa7115: invalid saturation setting -536905984<6>saa7115: decoder set
picture br
ight=-182613632 contrast=1 saturation=-536905984 hue=0
saa7115: invalid brightness setting -182613632<6>saa7115: decoder
disable output
saa7115: decoder enable output
saa7115: decoder disable output
saa7115: decoder enable output
url with video-example:
http://orpheus.ram.rwth-aachen.de/test.mpg (6MB)
As this is lying on my private Box connected through the university it
should download fast . BUT ;) I have traffic limit. Pleas only download
this, if you think you can help me. ;)
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
ivtv-devel mailing list
ivtv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ivtv-devel