So after my last message about random fiddling getting X to display
correctly on my PVR 350, naturally some more random fiddling managed to
break it and shows no sign of fixing itself.

So with ivtv 0.4.0 and ivtv_xdriver_0.10.6 with xorg configured for 720x480
on an NTSC TV, I get X telling me that the framebuffer size is 800x600.  I
can twiddle the osdlines/osdstride settings with ivtvfbctl, but a) ivtvfbctl
reports the resolution as 720x480 *before* making any changes, and b) this
seems to give me a choice between a completely scrambled image and a double
image, neither of which is what I'm looking for. ;)

Xorg config:

Section "Module"
        Load    "bitmap"
        Load    "dbe"
        Load    "ddc"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "record"
        Load    "speedo"
        Load    "type1"
        Load    "vbe"
        Load    "v4l"
EndSection

Section "Device"
        Identifier      "Hauppauge PVR-350"
        BusID           "PCI:0:9:0"
        Driver          "ivtvdev"
        Option          "fbdev" "/dev/fb1"
EndSection

Section "Monitor"
        Identifier "Toshiba TV"
        HorizSync 30-68
        VertRefresh 50-120
        Mode "720x480"
          DotClock 36.0
          HTimings 800 824 896 1024
          VTimings 600 601 603 625
          Flags    "-HSync" "-VSync"
        EndMode
        Option "DPMS"
EndSection

Section "Screen"
        Identifier      "Media Screen"
        Device          "Hauppauge PVR-350"
        Monitor         "Toshiba TV"
        DefaultDepth    24
        DefaultFbbpp    32
        SubSection "Display"
                Depth           24
                FbBpp           32
                Modes           "720x480"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Media Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Generic Mouse"
EndSection

Section "DRI"
        Mode    0666
EndSection

Section "ServerFlags"
        Option "Xinerama" "true"
EndSection


lspci info:

0000:00:09.0 Multimedia video controller: Internext Compression Inc iTVC15 
MPEG-2 Encoder (rev 01)
0000:00:0b.0 Multimedia video controller: Brooktree Corporation Bt878 Video 
Capture (rev 02)
0000:00:0b.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture 
(rev 02)


/etc/modprobe.d/ivtv:

options ivtv ivtv_debug=1
options tuner type=47
options msp3400 once=1 simple=1
install ivtv modprobe --ignore-install ivtv; /usr/local/bin/ivtvctl -d 
/dev/video0 -u 0x3000 -p 4; modprobe ivtv-fb; ivtvfbctl /dev/fb1 -nolocalalpha 
-globalalpha -alpha 400
blacklist bttv


lsmod:

isofs                  37304  1 
nfsd                  225760  8 
binfmt_misc            11880  1 
autofs4                18596  0 
lirc_i2c                8772  1 
lirc_dev               13988  1 lirc_i2c
ipv6                  261984  24 
iptable_nat            23092  1 
ip_conntrack           44536  1 iptable_nat
ip_tables              20128  1 iptable_nat
nfs                   217544  1 
lockd                  64968  3 nfsd,nfs
sunrpc                142180  4 nfsd,nfs,lockd
xfs                   634232  0 
exportfs                5792  2 nfsd,xfs
video_buf              21828  0 
firmware_class         10112  0 
v4l2_common             5696  0 
btcx_risc               4968  0 
ivtv_fb                39752  1 
prism2_usb             79652  0 
p80211                 32816  1 prism2_usb
tda9887                14744  0 
snd_cmipci             33824  0 
snd_bt87x              14536  0 
gameport               15208  1 snd_cmipci
snd_opl3_lib           10784  1 snd_cmipci
snd_pcm_oss            54848  0 
snd_hwdep               9120  1 snd_opl3_lib
snd_mpu401_uart         7200  1 snd_cmipci
snd_mixer_oss          19968  1 snd_pcm_oss
snd_rawmidi            24896  1 snd_mpu401_uart
snd_seq_device          8684  2 snd_opl3_lib,snd_rawmidi
snd_pcm                93416  3 snd_cmipci,snd_bt87x,snd_pcm_oss
snd_timer              24644  2 snd_opl3_lib,snd_pcm
msp3400                29400  0 
snd                    56260  11 
snd_cmipci,snd_bt87x,snd_opl3_lib,snd_pcm_oss,snd_hwdep,snd_mpu401_uart,snd_mixer_oss,snd_rawmidi,snd_seq_device,snd_pcm,snd_timer
saa7127                13852  0 
soundcore               9696  1 snd
saa7115                15768  0 
tuner                  25064  0 
snd_page_alloc          9860  2 snd_bt87x,snd_pcm
tveeprom               14580  0 
i2c_sis630              7596  0 
ivtv                  220148  3 ivtv_fb
sis900                 22336  0 
mii                     5696  1 sis900
sis_agp                 8644  1 
agpgart                35560  1 sis_agp
pci_hotplug            28468  0 
i2c_algo_bit            9576  1 ivtv
i2c_core               21776  9 
lirc_i2c,tda9887,msp3400,saa7127,saa7115,tuner,tveeprom,i2c_sis630,i2c_algo_bit
videodev                9568  1 ivtv
ohci_hcd               21348  0 
ide_cd                 43140  1 
usbcore               122300  3 prism2_usb,ohci_hcd
pcspkr                  3332  0 
cdrom                  40640  1 ide_cd
parport_pc             36708  0 
parport                36936  1 parport_pc
psmouse                31236  0 
rtc                    12376  0 
serio_raw               7108  0 
floppy                 60180  0 
evdev                   9728  0 
mousedev               11776  3 
ext3                  141736  5 
jbd                    56760  1 ext3
mbcache                 9252  1 ext3
dm_mod                 60540  6 
ide_disk               18688  5 
ide_generic             1152  0 [permanent]
via82cxxx              13820  0 [permanent]
trm290                  4196  0 [permanent]
triflex                 3680  0 [permanent]
slc90e66                5664  0 [permanent]
sis5513                16488  0 [permanent]
siimage                12448  0 [permanent]
serverworks             9032  0 [permanent]
sc1200                  7296  0 [permanent]
rz1000                  2400  0 [permanent]
piix                   10340  0 [permanent]
pdc202xx_old           11168  0 [permanent]
opti621                 4324  0 [permanent]
ns87415                 4264  0 [permanent]
hpt366                 20384  0 [permanent]
hpt34x                  5152  0 [permanent]
generic                 3808  0 [permanent]
cy82c693                4676  0 [permanent]
cs5530                  5312  0 [permanent]
cs5520                  4544  0 [permanent]
cmd64x                 12028  0 [permanent]
atiixp                  5904  0 [permanent]
amd74xx                14396  0 [permanent]
alim15x3               12268  0 [permanent]
aec62xx                 7360  0 [permanent]
pdc202xx_new            9248  0 [permanent]
ide_core              130388  28
ide_cd,ide_disk,ide_generic,via82cxxx,trm290,triflex,slc90e66,sis5513,siimage,serverworks,sc1200,rz1000,piix,pdc202xx_old,opti621,ns87415,hpt366,hpt34x,generic,cy82c693,cs5530,cs5520,cmd64x,atiixp,amd74xx,alim15x3,aec62xx,pdc202xx_new
sd_mod                 19664  0 
ata_piix                9636  0 
libata                 49604  1 ata_piix
scsi_mod              138472  2 sd_mod,libata
unix                   27888  304 
fbcon                  39936  71 
tileblit                2240  1 fbcon
font                    8096  1 fbcon
bitblit                 5920  1 fbcon
vesafb                  7992  1 
cfbcopyarea             3872  1 vesafb
cfbimgblt               2816  1 vesafb
cfbfillrect             4128  1 vesafb
softcursor              2176  1 vesafb
capability              4584  0 
commoncap               6912  1 capability


IVTV kernel log info:

ivtv:  ==================== START INIT IVTV ====================
ivtv:  version 0.4.0 (tagged release) loading
ivtv:  Linux version: 2.6.12-1-686 686 gcc-4.0
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.
ivtv0: Autodetected WinTV PVR 350 card (iTVC15 based)
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 12
PCI: setting IRQ 12 as level-triggered
ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKB] -> GSI 12 (level, low) -> 
IRQ 12
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
tveeprom: ivtv version
tveeprom: Hauppauge: model = 48132, rev = K268, serial# = 7997972
tveeprom: tuner = LG TAPE H001F MK3 (idx = 68, type = 47)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio processor = MSP4448 (type = 1b)
tveeprom: decoder processor = SAA7115 (type = 13)
ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
tuner: type set to 47 (LG NTSC (TAPE series)) by insmod option
tuner: The type=<n> insmod option will go away soon.
tuner: Please use the tuner=<n> option provided by
tuner: tv aard core driver (bttv, saa7134, ...) instead.
saa7115 0-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21]
saa7127 0-0044: saa7129 found @ 0x88 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=saa7127, addr=44]
msp34xx: ivtv version
msp34xx: init: chip=MSP3448W-A2, has NICAM support, simple (D) mode, simpler 
(G) no-thread mode
msp34xx: $Id$ compiled on: Nov 22 2005 16:25:43
ivtv0: i2c attach to card #0 ok [client=MSP3448W-A2, addr=40]
tda9885/6/7: (ivtv) chip found @ 0x86
ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43]
ivtv0: loading /lib/modules/ivtv-fw-enc.bin
ivtv0: loading /lib/modules/ivtv-fw-dec.bin
ivtv0: Encoder revision: 0x02050032
ivtv0: Decoder revision: 0x02020023
ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
ivtv0: Create encoder radio stream
ivtv0: Allocate DMA decoder MPEG stream: 16 x 65536 buffers (1024KB total)
ivtv0: Allocate DMA decoder VBI stream: 512 x 2048 buffers (1024KB total)
ivtv0: Create decoder VOUT stream
ivtv0: Allocate DMA decoder YUV stream: 24 x 43200 buffers (1024KB total)
ivtv0: loading /lib/modules/ivtv_init_mpeg.bin
ivtv0: Initialized WinTV PVR 350, card #0
ivtv:  ====================  END INIT IVTV  ====================
ivtv0-osd: Framebuffer module loaded (attached to ivtv card id 0)
ivtv0-osd warning: Framebuffer is at decoder-relative address 0x00510000 and 
has 1704960 bytes.
ivtv0-osd: screen coords: [0 0] -> [720 480]
bttv: disagrees about version of symbol tveeprom_hauppauge_analog
bttv: Unknown symbol tveeprom_hauppauge_analog
ivtv0-osd: original global alpha = 208
ivtv0-osd: current OSD state = 39
ivtv0-osd: new global alpha = 208 (1 255 0)
ivtv0-osd: framebuffer at 0xdd510000, mapped to 0xd1a90000, size 1350k
ivtv0-osd: mode is 720x480x32, linelength=2880
ivtv0-osd: fb1: iTVC15 TV out frame buffer device
ivtv0: Allocate DMA decoder OSD stream: 16 x 65536 buffers (1024KB total)
[...]
lirc_dev: IR Remote Control driver registered, at major 61 
lirc_i2c: no version for "lirc_unregister_plugin" found: kernel tainted.
lirc_i2c: chip found @ 0x18 (Hauppauge IR)
ivtv0: i2c attach to card #0 ok [client=Hauppauge IR, addr=18]
lirc_dev: lirc_register_plugin:sample_rate: 10


And when loading X, dmesg shows many, many repetitions of the following:

ivtv0-osd warning: Size is overflowing the framebuffer 1920000, only 1382400 
available


Any pointers on how to fix this?

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/

_______________________________________________
ivtv-devel mailing list
ivtv-devel@ivtvdriver.org
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to