[mythtv-users] Issues with HVR 1600 and mythtv-setup

Mike Perkins mikep at randomtraveller.org.uk
Sun Mar 10 15:35:01 UTC 2013


On 10/03/13 15:17, Dewey Smolka wrote:
> Hi all,
>
> So I recently upgraded my master backend and replaced my venerable and
> overworked PVR-250, may she rest in peace, with an HVR 1600.
>
> I'm using the analog side of this card to capture output from a Directv box
> using S-video. This is a fresh install of Mythbuntu 12.04. All other
> hardware is working.
>
>>From a fresh boot, the card seems to be working. I get both picture and
> audio from vlc using /dev/video32, hw:2,0 (sound card), and input 1. No
> problems there.
>
> But mythtv-setup seems to break it entirely. Whether I set the card up as
> an MPEG or a V4L card, when I put in /dev/video32 as the device, the card
> and the cx18 driver are  recognized . I'm using my Directv lineup as the
> channel source and setting up the S-video-1 connection. Everything
> recognized and looking good.
>
> Now if I start the frontend and Watch TV, I get nothing. This also has the
> unfortunate side effect of making the card inaccessible from vlc as well,
> at least until a reboot reloads the cx18 driver.
>
> Is there some arcane secret to this card? It seemed like it ought to be a
> drop-in replacement for the PVR-250, but I've been having a devil of a time
> with it.
>
> Thanks in advance if anyone has any ideas.
>
> There is nothing particularly helpful to my eyes in the log output, just
> that there are errors. Here is the relevant part from mythbackend:
>
>
>
> 2013-03-10 10:03:46.239850 I  adding: mytherv as a client (events: 0)
> 2013-03-10 10:03:46.240085 I  MainServer::ANN Monitor
> 2013-03-10 10:03:46.240090 I  adding: mytherv as a client (events: 1)
> 2013-03-10 10:03:47.576220 I  MainServer::ANN Playback
> 2013-03-10 10:03:47.576229 I  adding: mytherv as a client (events: 0)
> 2013-03-10 10:03:47.580057 I  TVRec(1): Changing from None to WatchingLiveTV
> 2013-03-10 10:03:47.581906 I  TVRec(1): HW Tuner: 1->1
> 2013-03-10 10:03:47.588360 I  V4LChannel(/dev/video32):
> SetInputAndFormat(1, NTSC) (v4l v2) input_switch: 0 mode_switch: 0
> 2013-03-10 10:03:47.589773 W  DTVChan(/dev/video32): SetChannelByString(2):
> You have not set an external channel changing
> script for a composite or s-video input. Channel changing will do nothing.
> 2013-03-10 10:03:47.593921 N  AutoExpire: CalcParams(): Max required Free
> Space: 2.0 GB w/freq: 15 min
> 2013-03-10 10:03:47.680934 N  AutoExpire: CalcParams(): Max required Free
> Space: 2.0 GB w/freq: 15 min
> 2013-03-10 10:03:47.682627 E
>   RecordingInfo::InsertProgram(ProgramInfo(2002_20130310100347.mpg):
> channame(WBBM) startts(Sun Mar 10 09:30:00 2013) endts(Sun Mar 10 10:30:00
> 2013)
>               recstartts(Sun Mar 10 10:03:47 2013) recendts(Sun Mar 10
> 10:30:00 2013)
>               title(Face the Nation)): recording already exists...
> 2013-03-10 10:03:51.484009 E  DevRdB(/dev/video32): Poll giving up 2
> 2013-03-10 10:03:51.484062 E  MPEGRec(/dev/video32): Device error detected
> 2013-03-10 10:03:51.648670 I  JobQueue: Metadata Lookup Starting for "Face
> the Nation" recorded from channel 2002 at 2013-03-10T10:02:53
> 2013-03-10 10:03:52.595563 I  MainServer::ANN Monitor
> 2013-03-10 10:03:52.595576 I  adding: mytherv as a client (events: 0)
> 2013-03-10 10:03:52.595874 I  MainServer::ANN Monitor
> 2013-03-10 10:03:52.595887 I  adding: mytherv as a client (events: 1)
> 2013-03-10 10:03:55.183513 E  DevRdB(/dev/video32): Poll giving up 2
> 2013-03-10 10:03:55.183643 E  MPEGRec(/dev/video32): Device error detected
> 2013-03-10 10:03:56.655140 I  JobQueue: Metadata Lookup Starting for "Face
> the Nation" recorded from channel 2002 at 2013-03-10T10:02:54
> 2013-03-10 10:03:57.329778 I  MainServer::ANN Monitor
> 2013-03-10 10:03:57.329784 I  adding: mytherv as a client (events: 0)
> 2013-03-10 10:03:57.329936 I  MainServer::ANN Monitor
> 2013-03-10 10:03:57.329943 I  adding: mytherv as a client (events: 1)
> 2013-03-10 10:03:58.883993 E  DevRdB(/dev/video32): Poll giving up 2
> 2013-03-10 10:03:58.884054 E  MPEGRec(/dev/video32): Device error detected
> 2013-03-10 10:04:00.684113 N  Expiring 0 MB for 2002 at 2013-03-10T10:02:53
> => "Face the Nation"
> 2013-03-10 10:04:01.661298 I  JobQueue: Metadata Lookup Starting for "Face
> the Nation" recorded from channel 2002 at 2013-03-10T10:03:47
> 2013-03-10 10:04:02.288307 I  MainServer::ANN Monitor
> 2013-03-10 10:04:02.288316 I  adding: mytherv as a client (events: 0)
> 2013-03-10 10:04:02.288644 I  MainServer::ANN Monitor
> 2013-03-10 10:04:02.288655 I  adding: mytherv as a client (events: 1)
> 2013-03-10 10:04:02.587199 E  DevRdB(/dev/video32): Poll giving up 2
> 2013-03-10 10:04:02.587310 E  MPEGRec(/dev/video32): Device error detected
> 2013-03-10 10:04:06.291981 E  DevRdB(/dev/video32): Poll giving up 2
> 2013-03-10 10:04:06.292022 E  MPEGRec(/dev/video32): Device error detected
> 2013-03-10 10:04:08.037972 I  TVRec(1): Changing from WatchingLiveTV to None
> 2013-03-10 10:04:09.261340 E  MPEGRec(/dev/video32): Device EOF detected
> 2013-03-10 10:04:09.871999 I  MainServer::ANN Playback
> 2013-03-10 10:04:09.872008 I  adding: mytherv as a client (events: 0)
>
>
> Here is the bit from mythfrontend:
>
> 2013-03-10 10:03:46.239781 I  Using protocol version 72
> 2013-03-10 10:03:46.576394 I  Bonjour: Service registration complete: name
> 'Mythfrontend on mytherv' type '_mythfrontend._tcp.' domain: 'local.'
> 2013-03-10 10:03:47.547097 I  TV: Creating TV object
> 2013-03-10 10:03:47.556934 N  Resuming idle timer
> 2013-03-10 10:03:47.556993 N  Suspending idle timer
> 2013-03-10 10:03:47.560016 I  TV: Created TvPlayWindow.
> 2013-03-10 10:03:47.575762 I  TV: Attempting to change from None to
> WatchingLiveTV
> 2013-03-10 10:03:47.575793 I  MythCoreContext: Connecting to backend
> server: 192.168.2.220:6543 (try 1 of 1)
> 2013-03-10 10:03:47.576099 I  Using protocol version 72
> 2013-03-10 10:03:47.579189 N  TV: Spawning LiveTV Recorder -- begin
> 2013-03-10 10:03:47.703452 N  TV: Spawning LiveTV Recorder -- end
> 2013-03-10 10:03:47.707656 I  TV:
> playbackURL(/var/lib/mythtv/livetv/2002_20130310100348.mpg) cardtype(MPEG)
> 2013-03-10 10:03:57.712313 E
>   FileRingBuf(/var/lib/mythtv/livetv/2002_20130310100348.mpg): OpenFile():
> File too small (0B).
> 2013-03-10 10:03:57.813857 E  ALSA: snd_pcm_info_get_card: Operation not
> permitted
> 2013-03-10 10:03:57.826385 N  AudioPlayer: Enabling Audio
> 2013-03-10 10:03:57.834568 I  VideoOutputXv: XVideo Adaptor Name: 'NV17
> Video Texture'
> greedyhdeint: size changed from 0 x 0 -> 720 x 576
> 2013-03-10 10:03:57.852133 I  OSD: Base theme size: 1280x720
> 2013-03-10 10:03:57.852144 I  OSD: Scaling factors: 0.5625x0.8
> 2013-03-10 10:03:57.887667 I  OSD: Base theme size: 1280x720
> 2013-03-10 10:03:57.887680 I  OSD: Scaling factors: 0.5625x0.8
> 2013-03-10 10:03:57.890743 I  Player(0): Video timing method: USleep with
> busy wait
> 2013-03-10 10:03:57.891576 I  TV: Created player.
> 2013-03-10 10:03:57.891593 I  TV: Changing from None to WatchingLiveTV
> 2013-03-10 10:03:57.891597 I  TV: State is LiveTV & mctx == ctx
> 2013-03-10 10:03:57.892506 I  TV: UpdateOSDInput done
> 2013-03-10 10:03:57.892518 I  TV: UpdateLCD done
> 2013-03-10 10:03:57.892759 I  TV: ITVRestart done
> 2013-03-10 10:03:57.932202 I  TV: Main UI disabled.
> 2013-03-10 10:03:57.932588 I  TV: Entering main playback loop.
> 2013-03-10 10:03:57.955548 I  ScreenSaverX11Private: DPMS Deactivated 1
> 2013-03-10 10:04:07.979661 E
>   FileRingBuf(/var/lib/mythtv/livetv/2002_20130310100348.mpg): OpenFile():
> File too small (0B).
> 2013-03-10 10:04:07.979692 E  Player(0): JumpToProgram's OpenFile failed
> (card type: MPEG).
> 2013-03-10 10:04:07.979736 E  LiveTVChain has 2 entries
>     DUMMY: 2002 (10:03:47 to 10:03:47)
> *   MPEG: 2002 (10:03:48 to 10:30:00) discontinuous
>
> 2013-03-10 10:04:07.979760 E  Player(0): Unknown recorder error, exiting
> decoder
> 2013-03-10 10:04:08.026147 I  VideoOutput: Created YV12 OSD.
> 2013-03-10 10:04:08.034152 I  TV: Attempting to change from WatchingLiveTV
> to None
> 2013-03-10 10:04:09.867705 I  TV: Changing from WatchingLiveTV to None
> 2013-03-10 10:04:09.867920 I  TV: Exiting main playback loop.
> 2013-03-10 10:04:09.871397 I  TV: Attempting to change from None to
> WatchingLiveTV
> 2013-03-10 10:04:09.871463 I  MythCoreContext: Connecting to backend
> server: 192.168.2.220:6543 (try 1 of 1)
> 2013-03-10 10:04:09.871856 I  Using protocol version 72
> 2013-03-10 10:04:09.874954 N  TV: Spawning LiveTV Recorder -- begin
> 2013-03-10 10:04:10.002283 N  TV: Spawning LiveTV Recorder -- end
> 2013-03-10 10:04:10.005764 I  TV:
> playbackURL(/var/lib/mythtv/livetv/2002_20130310100410.mpg) cardtype(MPEG)
> 2013-03-10 10:04:20.011634 E
>   FileRingBuf(/var/lib/mythtv/livetv/2002_20130310100410.mpg): OpenFile():
> File too small (0B).
> 2013-03-10 10:04:20.012130 E  TV: LiveTV not successfully started
> 2013-03-10 10:04:20.012212 I  TV: Main UI disabled.
> 2013-03-10 10:04:20.012220 I  TV: Entering main playback loop.
> 2013-03-10 10:04:20.012639 I  ScreenSaverX11Private: DPMS Reactivated 1
> 2013-03-10 10:04:20.013376 I  ScreenSaverX11Private: DPMS Deactivated 1
> 2013-03-10 10:04:20.013787 I  TV: Exiting main playback loop.
>
Two points: there is an error message which implies the backend isn't picking up 
your channel change script. Did this get blown away when you reinstalled?

Secondly, I notice that the front end is attempting to use xv. I thought that 
method was deprecated and no longer available.

-- 

Mike Perkins



More information about the mythtv-users mailing list