From owner-freebsd-multimedia@FreeBSD.ORG Thu May 15 21:15:09 2008 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4EDF61065676 for ; Thu, 15 May 2008 21:15:09 +0000 (UTC) (envelope-from danny@ricin.com) Received: from smtpq2.groni1.gr.home.nl (smtpq2.groni1.gr.home.nl [213.51.130.201]) by mx1.freebsd.org (Postfix) with ESMTP id D23268FC1B for ; Thu, 15 May 2008 21:15:08 +0000 (UTC) (envelope-from danny@ricin.com) Received: from [213.51.130.190] (port=47882 helo=smtp1.groni1.gr.home.nl) by smtpq2.groni1.gr.home.nl with esmtp (Exim 4.60) (envelope-from ) id 1Jwkn6-0000ay-0b for freebsd-multimedia@freebsd.org; Thu, 15 May 2008 23:15:08 +0200 Received: from cp1228410-a.dbsch1.nb.home.nl ([84.27.119.97]:54972 helo=desktop.homenet) by smtp1.groni1.gr.home.nl with smtp (Exim 4.60) (envelope-from ) id 1Jwkn5-0004c3-9M for freebsd-multimedia@freebsd.org; Thu, 15 May 2008 23:15:07 +0200 Received: by desktop.homenet (sSMTP sendmail emulation); Thu, 15 May 2008 23:15:06 +0200 From: "Danny Pansters" To: freebsd-multimedia@freebsd.org Date: Thu, 15 May 2008 23:15:06 +0200 User-Agent: KMail/1.9.7 References: <20080515182746.GA14203@phat.za.net> In-Reply-To: <20080515182746.GA14203@phat.za.net> X-Face: (Zs+'ncTcchkOX|~t6{?Iii=O!G#WEK!+OD0|-F=i%1pvP5V_Sz4PaJC8o)=?utf-8?q?MiSnH/JMJFy=0A=09oBN-My?=, v":S7, (=?utf-8?q?mmkPm=27U=7BMgT+eM=2EBd=5Cp/P!dr=5DhOTXqpse21O!=25Ct=60SE=2EOodq?= =?utf-8?q?=5Dry=5E=23kU=5E=0A=09-?=GT.[8D}i$6P>=" =?utf-8?q?=23=0A=09*J+4d=7E?= MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805152315.06436.danny@ricin.com> X-Spam-Score: 0.2 (/) Subject: Re: Fwd: pvr-xxx on 7.0 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2008 21:15:09 -0000 On Thursday 15 May 2008 20:27:46 Aragon Gouveia wrote: > | By Jeff > | [ 2008-05-15 19:40 +0200 ] > | > > >>the port is updated @ http://usleepless.110mb.com/pvrxxx_port.tgz > > >> > > >>- should build flawless on 7.0 > > >>- now unloads firmware-kld-modules > > >>- "make makesum" should not be necessary > > >>- should be able to switch back from svga/composite to tuner > > >>- added 3:2 pulldown control in pvr250-setchannel to see if it > > >>makes a > > >>difference for anybody 3:2 pulldown has to do with cinema 24fps that has been "upsampled" to NTSC which may cause artifacts when digitized and that's why there are 3:2 pulldown filters AFAIK. It has nothing to do with the "panning and fast movement" artifacts that occur with bktr and cxm video decoders, especially when scaled down to sizes divisable by 16. As I understand it, this is the result of a poor comb filter. Ffmpeg's deinterlace function eliminates this problem completely on my PVR-150 (using kbtv2's backend which is almost the same as ffplay). > > >> > > >>i observed something strange on 7.0 with this driver. mplayer is now > > >>able to sync a/v properly when doing "mplayer /dev/cxm0". i would > > >>like > > >>to hear from others about this. > > >> > > >>regards, > > >> > > >>usleepless > > Thanks for the update! > > The new port compiles and installs fine. The modules load with the > following logged: > > May 15 20:17:12 geek kernel: cxm0: > mem 0xf4000000-0xf7ffffff irq 10 at device 4.0 on pci5 May 15 20:17:12 > geek kernel: cxm_iic0: controller> on cxm0 May 15 20:17:12 geek kernel: iicbb0: bit-banging driver> on cxm_iic0 May 15 20:17:12 geek kernel: > iicbus0: on iicbb0 master-only May 15 20:17:12 > geek kernel: iicbus0: at addr 0 May 15 20:17:12 > geek kernel: iicbus0: at addr 0 May 15 20:17:12 > geek kernel: <2>tveeprom: ivtv version May 15 20:17:12 > geek kernel: <2>tveeprom: Hauppauge: model = 48139, rev = K2B7, > serial# = 8694227 May 15 20:17:12 geek kernel: <2>tveeprom: > tuner = Philips FM1216ME MK5 (idx = 117, type = 38) May 15 20:17:12 > geek kernel: <2>tveeprom: tuner fmt = PAL(B/G) PAL(I) > SECAM(L/L') PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17) May 15 20:17:12 Note it says PAL-I too, so your PAL-I should be supported alright I reckon. > geek kernel: <2>tveeprom: audio processor = MSP4418 (type = 19) > May 15 20:17:12 geek kernel: <2>tveeprom: decoder processor = > SAA7115 (type = 13) May 15 20:17:12 geek kernel: tuner type: 38 > May 15 20:17:12 geek kernel: cxm0: Eeprom PAL > May 15 20:17:12 geek kernel: tuner: type set to 38 (Philips > PAL/SECAM multi (FM1216ME MK3)) by cxm May 15 20:17:12 geek > kernel: tuner: switching to v4l2 > May 15 20:17:12 geek kernel: before tuner_command! > May 15 20:17:12 geek kernel: tuner: tv freq set to 55.25 > May 15 20:17:12 geek kernel: tuner: tv 0x05 0xe3 0x8e 0x01 > May 15 20:17:13 geek kernel: cxm0: SAA7115 rev 1 video decoder > May 15 20:17:13 geek kernel: cxm0: MSP4418G-B3 audio decoder > May 15 20:17:13 geek kernel: cxm0: IR Remote > May 15 20:17:13 geek kernel: cxm0: [ITHREAD] > May 15 20:17:15 geek kernel: cxm0: encoder firmware version > 0x2060039 May 15 20:17:15 geek kernel: cxm0: decoder firmware > version 0x2020023 > > > However, I'm not able to pull video off the device: > > # cat /dev/cxm0 >test.mpg > cat: /dev/cxm0: Device not configured > > and this gets logged: > > May 15 20:17:35 geek kernel: cxm0: video decoder isn't locked > May 15 20:17:35 geek kernel: Could not detect FPS > May 15 20:17:35 geek kernel: could not config dec > May 15 20:17:35 geek kernel: could not start encoder > > > Trying to select the tuner with pvr250-setchannel results in: > > # pvr250-setchannel -t > ioctl( tfd, METEORSINPUT ) failed.: Invalid argument > May 15 20:24:48 geek kernel: cxm0: video decoder failed to lock > It's clearly not a tuner problem but a problem with the video decoder. The 150 and 500 have another type of video decoder chip than the 250/350, so I can't really say much more about it. HTH, Dan