[mythtv-users] X Freezes blank on 'watch tv'

Kevin Clayton kevin.clayton at gmail.com
Fri Oct 8 13:09:42 UTC 2004


On Fri, 8 Oct 2004 09:01:24 -0400, Kevin Clayton <kevin.clayton AT
gmail.com> wrote:
> I'm manually starting mythfrontend at the moment, so message are output
> to the shell window, but once X pegs the CPU I can't switch to that
> shell to see the output. Later I'll try to redirect to a file or something.
> 
> Here's my backend log entries when trying to watch LiveTV:
> 
> 2004-10-08 08:29:41 MainServer::HandleAnnounce Playback
> 2004-10-08 08:29:41 adding: zion as a client (events: 0)
> 2004-10-08 08:29:41 MainServer::HandleAnnounce Playback
> 2004-10-08 08:29:41 adding: zion as a client (events: 1)
> 2004-10-08 08:29:41 MainServer::HandleAnnounce Playback
> 2004-10-08 08:29:41 adding: zion as a client (events: 0)
> 2004-10-08 08:29:41 MainServer::HandleAnnounce Playback
> 2004-10-08 08:29:41 adding: zion as a client (events: 0)
> 2004-10-08 08:29:41 adding: zion as a remote ringbuffer
> 2004-10-08 08:29:41 Changing from None to WatchingLiveTV
> 2004-10-08 08:35:45 Changing from WatchingLiveTV to None
> 
> I think the "Changing from WatchingLiveTV to None" is when I ssh'd in
> and kill -9'd X

Here's the mythfrontend output when I tried watching a recorded program:
2004-10-08 09:02:28 mythfrontend version: 0.16.20040906-1 www.mythtv.org
2004-10-08 09:02:28 Enabled verbose msgs : important general
2004-10-08 09:02:29 Registering Internal as a media playback plugin.
2004-10-08 09:02:29 Registering MythDVD DVD Media Handler as a media handler
2004-10-08 09:02:29 Registering MythDVD VCD Media Handler as a media handler
2004-10-08 09:02:29 Registering MythMusic Media Handler as a media handler
SIP listening on IP Address 192.168.1.223:5060 NAT address 192.168.1.223
SIP: Cannot register; proxy, username or password not set
2004-10-08 09:02:47 All Programs
2004-10-08 09:02:49 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2004-10-08 09:02:49 Using protocol version 13
2004-10-08 09:02:51 Using protocol version 13
2004-10-08 09:02:59 All Programs
2004-10-08 09:03:14 Opening OSS audio device '/dev/dsp'.
2004-10-08 09:03:14 Audio fragment size: 4096
2004-10-08 09:03:14 Using XV port 53
2004-10-08 09:03:14 Changing from None to WatchingPreRecorded
pthread_setschedparam: Operation not permitted
2004-10-08 09:03:15 Running as SUID root would allow some threads to
run with realtime priority, improving video smoothness.
waiting for free video buffers timed out
waiting for free video buffers timed out
waiting for free video buffers timed out


The pthread_setschedparam seems to be the place to investigate.
In addition, on this attempt I had attempted via Myth's Setup Screens to
set xine as the program to use instead of mplayer. I'll reset it to mplayer
as it was and see if the frontend logs are the same.


> Currently X will go to 98+% of the CPU if I try to watch LiveTV or
> a recorded program.
> 
> I'm out of ideas -- any suggestions ?
>


More information about the mythtv-users mailing list