[mythtv-users] OS X 10.4.8, mythTV 20.0, playback timeout problem
Asoka De Silva
desilva at shaw.ca
Mon Nov 13 19:59:01 UTC 2006
Hello,
I have encountered this "timeout" problem on OS X (10.4.8) ever since
upgrading mythTV from 19.1 to 20.0. I am using the binaries from
TheSniderpad.com but it also exists if I compile the OS X binaries.
Some background:
My primary backend/frontend is running on FC5 and when watching
recordings on this machine, it takes 1-2 seconds for the recording to
be played after selecting. My secondary frontend is on a Mac which
is connected to the Linux backend by 100 Mbps/duplex (ping times look
reasonable: round-trip min/avg/max/stddev = 0.218/0.385/3.572/0.281
ms). On this Mac, if I launch mythTV and select a recording to
watch, it goes blank and the menu returns after 25-30 s without any
playback. I attach the log file (sequence of events: start front-
end, select recording for play, quit ) below which shows the timeout
(and also an early failure message - 32bit int from number - which I
don't know yet if is benign):
Qt: QApplication: Warning argv[0] == 'mythfrontend' is relative.
In order to dispatch events correctly Mac OS X may require
applications to be run with the *full* path to the executable.
2006-11-13 11:09:17.014 Using runtime prefix = /Users/desilva/
MythFrontend.app/Contents/Resources
2006-11-13 11:09:17.115 New DB connection, total: 1
2006-11-13 11:09:17.149 Connected to database 'mythconverg' at host:
192.168.0.105
2006-11-13 11:09:17.156 Total desktop dim: 1024x768, with 1 screen[s].
2006-11-13 11:09:17.197 Using screen 0, 1024x768 at 0,0
2006-11-13 11:09:17.279 Current Schema Version: 1165
2006-11-13 11:09:17.282 Newest Schema Version : 1160
2006-11-13 11:09:17.282 New DB connection, total: 2
2006-11-13 11:09:17.305 Connected to database 'mythconverg' at host:
192.168.0.105
2006-11-13 11:09:17.307 Setting Lock for Database Schema upgrade. If
you see a long pause here it means the Schema is already locked and
is being upgraded by another Myth process.
2006-11-13 11:09:17.308 New DB connection, total: 3
2006-11-13 11:09:17.329 Connected to database 'mythconverg' at host:
192.168.0.105
2006-11-13 11:09:17.344 Database Schema upgrade complete, unlocking.
2006-11-13 11:09:17.345 mythfrontend version: 0.20.20060828-3
www.mythtv.org
2006-11-13 11:09:17.346 Enabled verbose msgs: important general
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
get_int_CF() - Failed to get 32bit int from number
2006-11-13 11:09:18.326 Total desktop dim: 1024x768, with 1 screen[s].
2006-11-13 11:09:18.330 Using screen 0, 1024x768 at 0,0
2006-11-13 11:09:18.334 Switching to square mode (Titivillus)
2006-11-13 11:09:18.378 Using the Qt painter
2006-11-13 11:09:19.406 Loading from: /Users/desilva/MythFrontend.app/
Contents/Resources/share/mythtv/themes/default/base.xml
2006-11-13 11:09:20.288 Registering Internal as a media playback plugin.
2006-11-13 11:09:21.244 Registering MythDVD DVD Media Handler as a
media handler ext()
2006-11-13 11:09:21.249 Registering MythDVD VCD Media Handler as a
media handler ext()
2006-11-13 11:09:21.845 Registering MythGallery Media Handler 1/2 as
a media handler ext()
2006-11-13 11:09:21.847 Registering MythGallery Media Handler 2/2 as
a media handler ext(gif,jpg,png)
2006-11-13 11:09:42.028 XMLParse::LoadTheme using /Users/desilva/
MythFrontend.app/Contents/Resources/share/mythtv/themes/Titivillus/
ui.xml
2006-11-13 11:09:43.099 Connecting to backend server:
192.168.0.105:6543 (try 1 of 5)
2006-11-13 11:09:43.104 Using protocol version 31
2006-11-13 11:09:51.221 TV: Attempting to change from None to
WatchingPreRecorded
2006-11-13 11:10:11.375 TV Error: StartPlayer(): NVP is not playing
after 20000msec
2006-11-13 11:10:11.377 TV: Changing from None to WatchingPreRecorded
2006-11-13 11:10:11.379 TV: Attempting to change from
WatchingPreRecorded to None
2006-11-13 11:10:20.626 Video timing method: USleep with busy wait
2006-11-13 11:10:20.863 TV: Changing from WatchingPreRecorded to None
I have hacked the code and changed the timeout to 40s and if I run
that version, playback of a recording takes 33s to begin. One
interesting thing I've noticed in the log file of this hacked
application is there is a line "Connected to database 'mythconverg'
at host: 192.168.0.105" before "TV: Attempting to change from None to
WatchingPreRecorded" - see below:
..... <snip> ....
2006-11-13 11:06:28.896 XMLParse::LoadTheme using /OtherApplications/
MythFrontend.app/Contents/Resources/share/mythtv/themes/Titivillus/
ui.xml
2006-11-13 11:06:29.650 Connecting to backend server:
192.168.0.105:6543 (try 1of 5)
2006-11-13 11:06:29.655 Using protocol version 31
2006-11-13 11:06:34.956 New DB connection, total: 2
2006-11-13 11:06:34.975 Connected to database 'mythconverg' at host:
192.168.0.105
2006-11-13 11:06:35.049 TV: Attempting to change from None to
WatchingPreRecorded
2006-11-13 11:07:08.921 TV: Changing from None to WatchingPreRecorded
2006-11-13 11:07:08.940 Video timing method: USleep with busy wait
2006-11-13 11:07:10.111 NVP: prebuffering pause
2006-11-13 11:07:11.564 TV: Attempting to change from
WatchingPreRecorded to None
2006-11-13 11:07:11.951 TV: Changing from WatchingPreRecorded to None
I have looked at the mythtv settings in mysql (browsed through those
relevant to this front-end) but do not see any settings which could
have changed (one of the things which changed in transition from 19.1
to 20.0 was the Qt Style which I reset to Windows; I was wondering if
something else had changed.) I do not know if it is a mysql problem
causing the delay (hinted by the differences between the two log
files) since it took less than 5 s to connect to the mysql database
on the backend. (mysql settings are from Jarod Wilson's helpful FC5
How-to page adding to my.cnf the following
key_buffer = 16M
table_cache = 128
sort_buffer_size = 2M
myisam_sort_buffer_size = 8M
query_cache_size = 16M
)
Does anyone have any suggestions as to what to try to fix this
timeout problem ? I've searched the mailing lists but, although
people have reported this timeout error on occasion, I did not see
how it was resolved.
Thanks in advance !
Asoka
More information about the mythtv-users
mailing list