Author |
Message |
bekker
|
Posted: Tue Aug 02, 2005 11:57 am |
|
Joined: Sun Jul 31, 2005 8:02 am
Posts: 9
Location:
The Netherlands
|
Hi forum,
When I try to watch TV with mythtv I get the dreaded black screen and get dumped back into the menu after about 30s.
I have ivtv working cause I can switch channels with ptune-ui.pl and watch tv using mplayer /dev/video
When I run mythfrontend in an xterm I get the following output:
Code: 2005-08-02 18:54:51.830 New DB connection, total: 1 Total desktop width=1024, height=768, numscreens=1 2005-08-02 18:54:51.845 Using screen 0, 1024x768 at 0,0 2005-08-02 18:54:51.857 mythfrontend version: 0.18.1.20050510-1 www.mythtv.org sh-3.00$ mythfrontend 2005-08-02 18:57:08.872 New DB connection, total: 1 Total desktop width=1024, height=768, numscreens=1 2005-08-02 18:57:08.886 Using screen 0, 1024x768 at 0,0 2005-08-02 18:57:08.896 mythfrontend version: 0.18.1.20050510-1 www.mythtv.org 2005-08-02 18:57:08.898 Enabled verbose msgs : important general Total desktop width=1024, height=768, numscreens=1 2005-08-02 18:57:09.653 Using screen 0, 1024x768 at 0,0 2005-08-02 18:57:09.657 Switching to square mode (G.A.N.T.) mythtv: could not connect to socket mythtv: Connection refused lirc_init failed for mythtv, see preceding messages 2005-08-02 18:57:11.487 Joystick disabled. 2005-08-02 18:57:11.853 Registering Internal as a media playback plugin. 2005-08-02 18:57:11.909 Registering MythDVD DVD Media Handler as a media handler2005-08-02 18:57:11.911 Registering MythDVD VCD Media Handler as a media handler2005-08-02 18:57:15.020 Registering MythMusic Media Handler as a media handler SIP listening on IP Address 192.168.1.251:5060 NAT address 192.168.1.251 SIP: Cannot register; proxy, username or password not set 2005-08-02 18:57:45.961 New DB connection, total: 2 2005-08-02 18:57:46.032 Connecting to backend server: 192.168.1.251:6543 (try 1 of 5) 2005-08-02 18:57:46.042 Using protocol version 15 2005-08-02 18:57:46.093 Using protocol version 15 2005-08-02 18:57:51.410 taking too long to be allowed to read.. 2005-08-02 18:57:56.412 taking too long to be allowed to read.. 2005-08-02 18:58:01.414 taking too long to be allowed to read.. 2005-08-02 18:58:01.415 Took more than 10 seconds to be allowed to read, aborting. Couldn't read file: rbuf://192.168.1.251:6543/cache/cache/ringbuf1.nuv 2005-08-02 18:58:01.440 Changing from None to WatchingLiveTV 2005-08-02 18:58:01.440 Decoder not alive, and trying to play.. 2005-08-02 18:58:21.442 ReadStringList timeout (quick). Remote encoder not responding. 2005-08-02 18:58:21.455 Changing from None to None 2005-08-02 18:58:31.627 ReadStringList timeout (quick). 2005-08-02 18:58:31.627 RemoteFile::Read(): No response from control socket. 2005-08-02 18:58:31.628 RemoteFile::Read() failed in RingBuffer::safe_read(). 2005-08-02 18:58:31.630 WriteStringList: Bad socket 2005-08-02 18:58:31.631 ReadStringList: Bad socket 2005-08-02 18:58:31.631 Remote file timeout.
the backend is running. But somehow it doesn't fill the ringbuf1.nuv file. And the frontend is not allowed to read the file.
Anyone a clue?
Chera
|
|
Top |
|
|
cesman
|
Posted: Tue Aug 02, 2005 1:26 pm |
|
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location:
Fontana, Ca
|
Perhaps checking the backend log.
_________________ cesman
When the source is open, the possibilities are endless!
|
|
Top |
|
|
bekker
|
Posted: Wed Aug 03, 2005 1:05 pm |
|
Joined: Sun Jul 31, 2005 8:02 am
Posts: 9
Location:
The Netherlands
|
this is what /var/log/myth/backend.log says after a failed attempt to watch tv with mythtv
Code: Starting up as the master server. 2005-08-03 20:38:12.510 New DB connection, total: 2 2005-08-03 20:38:13.108 New DB connection, total: 3 2005-08-03 20:38:13.470 New DB scheduler connection 2005-08-03 20:38:13.496 mythbackend version: 0.18.1.20050510-1 www.mythtv.org 2005-08-03 20:38:13.503 Enabled verbose msgs : important general 2005-08-03 20:38:15.495 Reschedule requested for id -1. 2005-08-03 20:38:15.830 Scheduled 0 items in 0.3 = 0.32 match + 0.01 place 2005-08-03 20:38:15.844 Seem to be woken up by USER 2005-08-03 20:39:22.091 MainServer::HandleAnnounce Playback 2005-08-03 20:39:22.098 adding: mythtv as a client (events: 0) 2005-08-03 20:39:22.149 MainServer::HandleAnnounce Playback 2005-08-03 20:39:22.155 adding: mythtv as a client (events: 1) 2005-08-03 20:39:22.162 MainServer::HandleAnnounce Playback 2005-08-03 20:39:22.164 adding: mythtv as a client (events: 0) 2005-08-03 20:39:22.232 MainServer::HandleAnnounce Playback 2005-08-03 20:39:22.236 adding: mythtv as a client (events: 0) 2005-08-03 20:39:22.246 adding: mythtv as a remote ringbuffer 2005-08-03 20:39:22.262 Changing from None to WatchingLiveTV 2005-08-03 20:39:37.682 Couldn't read data from the capture card in 15 seconds. Stopping. 2005-08-03 20:39:37.726 Changing from WatchingLiveTV to None QSettings: error creating /.qt
It can't read from the card. But mplayer /dev/video works
I'm stumped.
Chera
|
|
Top |
|
|
cesman
|
Posted: Wed Aug 03, 2005 1:20 pm |
|
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location:
Fontana, Ca
|
You got your clue, now run with it... The backend is telling you want the problem is (Couldn't read data...). What kind of tuner card do you have? Have you specified a card and tuner type (if need be)? Is the card conflicting w/ another device? Is the card properly seated? Is the card properly configured? Is the feed active?
_________________ cesman
When the source is open, the possibilities are endless!
|
|
Top |
|
|
mjl
|
Posted: Thu Aug 04, 2005 12:21 am |
|
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location:
Warwick, RI
|
Hi,
Errors to knoppmyth are like a wife, you don't want them unhappy If it complains about the /.qt then fix it. As root
#<code>
ln -s /home/mythtv/.qt /.qt # watch the space seperation between t /
#<end code>
I don't know if it is needed but it makes it happy and doesn't complain.
Also for the ringbuffer, try
#<code>
chown mythtv:mythtv /cache
chown mythtv:mythtv /cache/*
#<end code>
No promises, but no harm either.
Mike
|
|
Top |
|
|
bekker
|
Posted: Thu Aug 04, 2005 12:29 am |
|
Joined: Sun Jul 31, 2005 8:02 am
Posts: 9
Location:
The Netherlands
|
cesman
I have a PVR 150 with ivtv-0.3.6x and the problem is not with ivtv. I can watch tv and change channels using mplayer & ptune-ui. The problem lies iwth the backend.
I already did chown -R a+rwx /cachc but that did not help. Besides the backend is running as root.
Chera
Last edited by bekker on Thu Aug 04, 2005 1:30 am, edited 1 time in total.
|
|
Top |
|
|
mjl
|
Posted: Thu Aug 04, 2005 1:01 am |
|
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location:
Warwick, RI
|
Hi,
Please don't confuse me with cesman, he's a nice gentleman and I don't want him unhappy with me!
The ringbuf is stored in the /cache/cache. Maybe the backend runs as root but if mythtv needs to write the buffer, it needs permission. If mythtv owns it it then has permission. Root always has permission.
As I said earlier, it won't cause harm and may actually help. I don't really know what the -R a+rwx does but sounds painful.
Mike
|
|
Top |
|
|
bekker
|
Posted: Thu Aug 04, 2005 1:30 am |
|
Joined: Sun Jul 31, 2005 8:02 am
Posts: 9
Location:
The Netherlands
|
Hi MIke,
Don't worry I was trying to reply to both you and Cesman.
chmod a+rwx gives read write and execute permissions to everybody and the kitchen sink. So the ringbuffer file is accessible for everyone. The problem is that the backend somehow can't read from the PVR 150 card so it doesn't fill the ringbuffer
I've had this card on my main system running gentoo and mythtv 0.18.1-r1 with ivtv-0.3.6x and there it runs just fine.
Still stumped.
Chera
|
|
Top |
|
|
mjl
|
Posted: Thu Aug 04, 2005 4:40 am |
|
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location:
Warwick, RI
|
Hi,
I only saw the one level for the cache and I know that area can cause issues.
You seem to have a better knowledge than I, so can only suggest that maybe if you gave the usual hardware details that maybe the guru's can pick up something more specific and gave the needed clue.
Best of luck.
Mike
|
|
Top |
|
|