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

Kevin Clayton kevin.clayton at gmail.com
Fri Oct 8 22:21:38 UTC 2004


On Fri, 08 Oct 2004 10:02:10 -0400, Doug Larrick <doug AT ties.org> wrote:
> Kevin Clayton wrote:
> > 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.
> 
> Nope, not a problem.  It's attempting and failing to set realtime
> scheduling priority for the video output thread.  It's happy to continue
> without it.

Thanks, I want worry about it then.

> You might try running 'mythfrontend --verbose playback' and see if that
> gives you any more useful data.
> 
> Only additional thing I can suggest is to make sure you installed the
> nVidia packages after the xorg packages.  Some people have reported that
> the latter like to overwrite some files in the former, causing trouble.

I used synaptic and had it 'reinstall' my nvidia related packages.
That did not solve it.

Here is output of mythfrontend with --verbose playback

2004-10-08 16:45:39 mythfrontend version: 0.16.20040906-1 www.mythtv.org
2004-10-08 16:45:39 Enabled verbose msgs : important general playback
2004-10-08 16:45:40 Registering Internal as a media playback plugin.
2004-10-08 16:45:40 Registering MythDVD DVD Media Handler as a media handler
2004-10-08 16:45:40 Registering MythDVD VCD Media Handler as a media handler
2004-10-08 16:45:41 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 16:45:51 All Programs
2004-10-08 16:45:52 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2004-10-08 16:45:52 Using protocol version 13
2004-10-08 16:45:54 Using protocol version 13
2004-10-08 16:45:55 detectInterlace(Detect Scan, Detect Scan, 29.97,
480) ->Interlaced Scan
2004-10-08 16:45:55 Interlaced: Interlaced Scan  video_height: 480  fps: 29.97
2004-10-08 16:45:55 Estimated bitrate = 192000
2004-10-08 16:45:55 Image size. dispxoff 0, dispyoff: 0, dispwoff: 0,
disphoff: 0
2004-10-08 16:45:55 Image size. imgx 0, imgy: 0, imgw: 480, imgh: 480
2004-10-08 16:45:55 waiting for prebuffer...
2004-10-08 16:45:55 positionMap[ 0 ] == 38.
2004-10-08 16:45:55 positionMap[ 1 ] == 114726.
2004-10-08 16:45:55 HandleGopStart: gopset not set, syncing positionMap
2004-10-08 16:45:55 SyncPositionMap prerecorded, from DB: 2 entries
2004-10-08 16:45:56 Stream initial keyframedist: 15.
2004-10-08 16:45:56 detectInterlace(Ignore Scan, Interlaced Scan,
29.97, 480) ->Interlaced Scan
2004-10-08 16:45:56 Interlaced: Interlaced Scan  video_height: 480  fps: -1
2004-10-08 16:45:56 positionMap[ 2 ] == 233510.
2004-10-08 16:45:56 positionMap[ 3 ] == 350246.
2004-10-08 16:45:56 positionMap[ 4 ] == 477222.
2004-10-08 16:45:57 positionMap[ 5 ] == 606246.
2004-10-08 16:45:57 positionMap[ 6 ] == 735270.
2004-10-08 16:45:58 detectInterlace(Detect Scan, Detect Scan, 29.97,
480) ->Interlaced Scan
2004-10-08 16:45:58 Interlaced: Interlaced Scan  video_height: 480  fps: 29.97
2004-10-08 16:45:58 Estimated bitrate = 192000
2004-10-08 16:45:58 Image size. dispxoff 0, dispyoff: 0, dispwoff: 0,
disphoff: 0
2004-10-08 16:45:58 Image size. imgx 0, imgy: 0, imgw: 480, imgh: 480
2004-10-08 16:45:58 waiting for prebuffer...
2004-10-08 16:45:58 positionMap[ 0 ] == 38.
2004-10-08 16:45:58 positionMap[ 1 ] == 114726.
2004-10-08 16:45:58 HandleGopStart: gopset not set, syncing positionMap
2004-10-08 16:45:58 SyncPositionMap prerecorded, from DB: 2 entries
2004-10-08 16:45:58 Stream initial keyframedist: 15.
2004-10-08 16:45:58 detectInterlace(Ignore Scan, Interlaced Scan,
29.97, 480) ->Interlaced Scan
2004-10-08 16:45:58 Interlaced: Interlaced Scan  video_height: 480  fps: -1
2004-10-08 16:45:58 positionMap[ 2 ] == 233510.
2004-10-08 16:45:59 positionMap[ 3 ] == 350246.
2004-10-08 16:45:59 positionMap[ 4 ] == 477222.
2004-10-08 16:46:00 positionMap[ 5 ] == 606246.
2004-10-08 16:46:00 positionMap[ 6 ] == 735270.
2004-10-08 16:46:01 positionMap[ 7 ] == 872486.
2004-10-08 16:46:01 detectInterlace(Detect Scan, Detect Scan, 29.97,
480) ->Interlaced Scan
2004-10-08 16:46:01 Interlaced: Interlaced Scan  video_height: 480  fps: 29.97
2004-10-08 16:46:01 Estimated bitrate = 192000
2004-10-08 16:46:02 Position map filled from DB to: 7183
2004-10-08 16:46:02 SyncPositionMap prerecorded, from DB: 7184 entries
2004-10-08 16:46:02 detectInterlace(Ignore Scan, Interlaced Scan,
29.97, 480) ->Interlaced Scan
2004-10-08 16:46:02 Interlaced: Interlaced Scan  video_height: 480  fps: -1
2004-10-08 16:46:02 Position map found
2004-10-08 16:46:02 Opening OSS audio device '/dev/dsp'.
2004-10-08 16:46:02 WARNING: something is currently using: /dev/dsp, retrying.
2004-10-08 16:46:09 Over/underscan. V: 0, H: 0, XOff: 0, YOff: 0
2004-10-08 16:46:09 Using XV port 53
2004-10-08 16:46:09 Image size. dispxoff 0, dispyoff: 0, dispwoff:
1280, disphoff: 1023
2004-10-08 16:46:09 Image size. imgx 0, imgy: 0, imgw: 480, imgh: 480
2004-10-08 16:46:09 Changing from None to WatchingPreRecorded
pthread_setschedparam: Operation not permitted
2004-10-08 16:46:09 Running as SUID root would allow some threads to
run with realtime priority, improving video smoothness.
2004-10-08 16:46:09 Using deinterlace method linearblend
2004-10-08 16:46:10 nVidiaVideoSync: VBlank ioctl did not work,
unimplemented in this driver?
2004-10-08 16:46:10 DRMVideoSync: Could not open device
/dev/dri/card0, Permission denied
2004-10-08 16:46:10 RTCVideoSync: Could not set RTC frequency,
Permission denied.
2004-10-08 16:46:10 Using audio as timebase
2004-10-08 16:46:10 Video timing method: USleep with busy wait
2004-10-08 16:46:10 Refresh rate: 11761, frame interval: 33366
waiting for free video buffers timed out
waiting for free video buffers timed out
waiting for free video buffers timed out  <----- this message
continues to be repeated

I did get a myth display about /dev/dsp being busy. I sometimes get that and
sometimes don't. I'm more concerned with the X freeze -- cpu usage issue
at the moment.


Others had noted I didn't describe my system, so here it is:
   Intel P4 2.4MHz
   1 Gig RAM
   FC2
   Chaintec GeForce4 MX 440
   PVR-250
   screen resolution 1280x1024

>Have you tried going in to the taskbar settings in KDE and making sure
>that it does have the "always on top" setting selected.
Not sure where this setting would be found.
I have it set so that the taskbar lowers when not in use.
I have it set so that windows need to be clicked for focus.


More information about the mythtv-users mailing list