Re: [mythtv-users] Live & Recorded TV hangs & failures on amd64

2005-07-23 Thread Peter Buelow

Todd Ignasiak wrote:

There is a known problem with pthreads in Debian based AMD64 systems. 
I have installed the patch, and I no longer get the black screen /

failed live-tv viewing.   Here is a link with some more info, and a
MythTV patch to work around it:

http://lists.debian.org/debian-amd64/2005/03/msg00940.html


Based on all the search hits I got on this issue, I know it has
frustrated others, and I certainly spent a lot of time diagnosing it. 
 It would be nice to have some sort of method to help people with

these, and other, known issues.   Such as:  a support
document/database listing issues per platform;  A check in 'configure'
that does a "if arch=athlon64 and distro=debian then warn user about
problem he will definitely have but is hard to solve"; or some
#ifdef's in the code to incorporate the workaround for the problem
cases.


 

Is this something that anyone has seen on AMD64 and FC3? I've got .18.1 
up and running (sort of) on FC3. Records and such just fine, but live TV 
playback gives me the color key error, then the following, and craps 
out. It might play about 1 or 2 seconds of video prior to dying. I've 
tried XvMC, libmpeg, OpenGL sync, video sync (experimental) to see if it 
was some combo of options. Another thing I'm noticing is that there are 
a lot of QT errors after the latest update I did. Finally, this is the 
latest 2.6.12 kernel from fedora. Is this the same issue or am I seeing 
something else?


2005-07-23 14:22:55.947 Using XV port 241
2005-07-23 14:22:55.952 Couldn't get the color key color, and we need it.
You likely won't get any video.
2005-07-23 14:22:56.382 Realtime priority would require SUID as root.
2005-07-23 14:22:56.413 Changing from None to WatchingLiveTV
2005-07-23 14:22:56.513 Video timing method: USleep with busy wait
2005-07-23 14:22:56.547 prebuffering pause

Video hangs here and 10 or 15 seconds go buy and then I see this

2005-07-23 14:23:16.413 ReadStringList timeout (quick).
Remote encoder not responding.
2005-07-23 14:23:16.413 WriteStringList: Bad socket
2005-07-23 14:23:16.413 ReadStringList: Bad socket
Remote encoder not responding.
2005-07-23 14:23:16.414 WriteStringList: Bad socket
2005-07-23 14:23:16.414 ReadStringList: Bad socket
Remote encoder not responding.
ASSERT: "i <= nodes" in /usr/lib64/qt-3.3/include/qvaluelist.h (373)
2005-07-23 14:23:16.417 WriteStringList: Bad socket
2005-07-23 14:23:16.417 ReadStringList: Bad socket
Remote encoder not responding.
2005-07-23 14:23:16.528 Couldn't get the color key color, and we need it.
You likely won't get any video.
QObject::disconnect: Unexpected null parameter
2005-07-23 14:23:16.545 Changing from WatchingLiveTV to None
2005-07-23 14:23:16.551 Changing from None to None



___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Live & Recorded TV hangs & failures on amd64

2005-07-19 Thread Isaac Richards
On Tuesday 19 July 2005 03:59 pm, Adam Egger wrote:
> We just have to wait until the new glibc 2.3.5 officially gets into
> debian64/ubuntu. It took ages until I've found out the reason for the
> hanging frontend.

It's been fixed in Breezy for a while now.

Isaac
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Live & Recorded TV hangs & failures on amd64

2005-07-19 Thread Adam Egger
We just have to wait until the new glibc 2.3.5 officially gets into
debian64/ubuntu. It took ages until I've found out the reason for the
hanging frontend.
We just have to live with the pthread patch or hope that this bug gets
fixed soon:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=314408
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Live & Recorded TV hangs & failures on amd64

2005-07-18 Thread Todd Ignasiak
There is a known problem with pthreads in Debian based AMD64 systems. 
I have installed the patch, and I no longer get the black screen /
failed live-tv viewing.   Here is a link with some more info, and a
MythTV patch to work around it:

http://lists.debian.org/debian-amd64/2005/03/msg00940.html


Based on all the search hits I got on this issue, I know it has
frustrated others, and I certainly spent a lot of time diagnosing it. 
  It would be nice to have some sort of method to help people with
these, and other, known issues.   Such as:  a support
document/database listing issues per platform;  A check in 'configure'
that does a "if arch=athlon64 and distro=debian then warn user about
problem he will definitely have but is hard to solve"; or some
#ifdef's in the code to incorporate the workaround for the problem
cases.


On 7/16/05, Todd Ignasiak <[EMAIL PROTECTED]> wrote:
> I am seeing very similar behavior on my Ubuntu x86-64 box (I sent a
> message about it yesterday).
> 
> I have around a 20% success rate for getting video when starting the
> front end and going to live tv.  Most of the time it just hangs in
> black screen.   The backend appears to be working, as I can view the
> video in the ringbuf using vlc or mplayer.   It's just the connection
> to the frontend that appears to be messed up.
> 
> I also googled a couple more reports of behavior like this with x86-64 boxes..
> 
> Other than this, MythTV has been excellent for me.
> 
> -Todd
> 
> On 7/15/05, jgmtfia Mr <[EMAIL PROTECTED]> wrote:
> > I have setup a new amd64 3200+ with debian etch (testing) as a remote
> > frontend.  I am using the subversion trunk.  In general I am getting
> > very strange things happening.  I am using a 2.6.12 kernel.
> >
> > Some of the problems include, when selecting to watch live tv, myth
> > will hang on a black screen, and stay hung.  No verbose output, just
> > hangs.  Same problem with watching recordings.
> >
> > Some times it does produce verbose output:
> >
> > mythtv$ mythfrontend
> > 2005-07-16 00:25:20.326 New DB connection, total: 1
> > Total desktop width=1600, height=1200, numscreens=1
> > 2005-07-16 00:25:20.338 Running in a window
> > 2005-07-16 00:25:20.347 Using screen 0, 1600x1146 at 0,27
> > 2005-07-16 00:25:20.360 mythfrontend version: 0.19.20050712-1 www.mythtv.org
> > 2005-07-16 00:25:20.360 Enabled verbose msgs : important general
> > Total desktop width=1600, height=1200, numscreens=1
> > 2005-07-16 00:25:20.511 Running in a window
> > 2005-07-16 00:25:20.511 Using screen 0, 1600x1146 at 0,27
> > 2005-07-16 00:25:20.522 Switching to square mode (Iulius)
> > 2005-07-16 00:25:20.693 Joystick disabled.
> > 2005-07-16 00:25:20.750 Registering Internal as a media playback plugin.
> > 2005-07-16 00:25:22.166 New DB connection, total: 2
> > 2005-07-16 00:25:22.203 Connecting to backend server:
> > 192.168.2.24:6543 (try 1 of 5)
> > 2005-07-16 00:25:22.228 Attempting to change from None to WatchingLiveTV
> > 2005-07-16 00:25:22.239 Using protocol version 17
> > 2005-07-16 00:25:23.370 taking too long to be allowed to read..
> > 2005-07-16 00:25:42.367 StartPlayer() -- error
> > 2005-07-16 00:25:42.425 LiveTV not successfully started
> >
> > and then hangs on the black output screen.
> >
> > And some times it works:
> >
> > mythtv$ mythfrontend
> > 2005-07-16 00:26:42.489 New DB connection, total: 1
> > Total desktop width=1600, height=1200, numscreens=1
> > 2005-07-16 00:26:42.502 Running in a window
> > 2005-07-16 00:26:42.511 Using screen 0, 1600x1146 at 0,27
> > 2005-07-16 00:26:42.525 mythfrontend version: 0.19.20050712-1 www.mythtv.org
> > 2005-07-16 00:26:42.525 Enabled verbose msgs : important general
> > Total desktop width=1600, height=1200, numscreens=1
> > 2005-07-16 00:26:42.672 Running in a window
> > 2005-07-16 00:26:42.672 Using screen 0, 1600x1146 at 0,27
> > 2005-07-16 00:26:42.673 Switching to square mode (Iulius)
> > 2005-07-16 00:26:42.859 Joystick disabled.
> > 2005-07-16 00:26:42.907 Registering Internal as a media playback plugin.
> > 2005-07-16 00:26:44.016 New DB connection, total: 2
> > 2005-07-16 00:26:44.052 Connecting to backend server:
> > 192.168.2.24:6543 (try 1 of 5)
> > 2005-07-16 00:26:44.076 Attempting to change from None to WatchingLiveTV
> > 2005-07-16 00:26:44.087 Using protocol version 17
> > 2005-07-16 00:26:45.235 taking too long to be allowed to read..
> > 2005-07-16 00:26:47.278 Opening audio device 'default'.
> > X Error: BadMatch (invalid parameter attributes) 8
> >   Major opcode:  142
> >   Minor opcode:  14
> >   Resource id:  0x1cb
> > 2005-07-16 00:26:47.316 Couldn't get the color key color, and we need it.
> > You likely won't select(17, [3 4 5 10 16], [], [], {0, 0}) = 1 (in
> > [5], left {0, 0})
> > read(5, "\0", 1)= 1
> > ioctl(3, FIONREAD, [0]) = 0
> > select(17, [3 4 5 10 16], [], [], {0, 0}) = 0 (Timeout)
> > nanosleep({0, 1}, NULL) = 0
> > ioctl(5, FIONREAD, [0]) = 

Re: [mythtv-users] Live & Recorded TV hangs & failures on amd64

2005-07-16 Thread Todd Ignasiak
I am seeing very similar behavior on my Ubuntu x86-64 box (I sent a
message about it yesterday).

I have around a 20% success rate for getting video when starting the
front end and going to live tv.  Most of the time it just hangs in
black screen.   The backend appears to be working, as I can view the
video in the ringbuf using vlc or mplayer.   It's just the connection
to the frontend that appears to be messed up.

I also googled a couple more reports of behavior like this with x86-64 boxes..

Other than this, MythTV has been excellent for me.

-Todd

On 7/15/05, jgmtfia Mr <[EMAIL PROTECTED]> wrote:
> I have setup a new amd64 3200+ with debian etch (testing) as a remote
> frontend.  I am using the subversion trunk.  In general I am getting
> very strange things happening.  I am using a 2.6.12 kernel.
> 
> Some of the problems include, when selecting to watch live tv, myth
> will hang on a black screen, and stay hung.  No verbose output, just
> hangs.  Same problem with watching recordings.
> 
> Some times it does produce verbose output:
> 
> mythtv$ mythfrontend
> 2005-07-16 00:25:20.326 New DB connection, total: 1
> Total desktop width=1600, height=1200, numscreens=1
> 2005-07-16 00:25:20.338 Running in a window
> 2005-07-16 00:25:20.347 Using screen 0, 1600x1146 at 0,27
> 2005-07-16 00:25:20.360 mythfrontend version: 0.19.20050712-1 www.mythtv.org
> 2005-07-16 00:25:20.360 Enabled verbose msgs : important general
> Total desktop width=1600, height=1200, numscreens=1
> 2005-07-16 00:25:20.511 Running in a window
> 2005-07-16 00:25:20.511 Using screen 0, 1600x1146 at 0,27
> 2005-07-16 00:25:20.522 Switching to square mode (Iulius)
> 2005-07-16 00:25:20.693 Joystick disabled.
> 2005-07-16 00:25:20.750 Registering Internal as a media playback plugin.
> 2005-07-16 00:25:22.166 New DB connection, total: 2
> 2005-07-16 00:25:22.203 Connecting to backend server:
> 192.168.2.24:6543 (try 1 of 5)
> 2005-07-16 00:25:22.228 Attempting to change from None to WatchingLiveTV
> 2005-07-16 00:25:22.239 Using protocol version 17
> 2005-07-16 00:25:23.370 taking too long to be allowed to read..
> 2005-07-16 00:25:42.367 StartPlayer() -- error
> 2005-07-16 00:25:42.425 LiveTV not successfully started
> 
> and then hangs on the black output screen.
> 
> And some times it works:
> 
> mythtv$ mythfrontend
> 2005-07-16 00:26:42.489 New DB connection, total: 1
> Total desktop width=1600, height=1200, numscreens=1
> 2005-07-16 00:26:42.502 Running in a window
> 2005-07-16 00:26:42.511 Using screen 0, 1600x1146 at 0,27
> 2005-07-16 00:26:42.525 mythfrontend version: 0.19.20050712-1 www.mythtv.org
> 2005-07-16 00:26:42.525 Enabled verbose msgs : important general
> Total desktop width=1600, height=1200, numscreens=1
> 2005-07-16 00:26:42.672 Running in a window
> 2005-07-16 00:26:42.672 Using screen 0, 1600x1146 at 0,27
> 2005-07-16 00:26:42.673 Switching to square mode (Iulius)
> 2005-07-16 00:26:42.859 Joystick disabled.
> 2005-07-16 00:26:42.907 Registering Internal as a media playback plugin.
> 2005-07-16 00:26:44.016 New DB connection, total: 2
> 2005-07-16 00:26:44.052 Connecting to backend server:
> 192.168.2.24:6543 (try 1 of 5)
> 2005-07-16 00:26:44.076 Attempting to change from None to WatchingLiveTV
> 2005-07-16 00:26:44.087 Using protocol version 17
> 2005-07-16 00:26:45.235 taking too long to be allowed to read..
> 2005-07-16 00:26:47.278 Opening audio device 'default'.
> X Error: BadMatch (invalid parameter attributes) 8
>   Major opcode:  142
>   Minor opcode:  14
>   Resource id:  0x1cb
> 2005-07-16 00:26:47.316 Couldn't get the color key color, and we need it.
> You likely won't select(17, [3 4 5 10 16], [], [], {0, 0}) = 1 (in
> [5], left {0, 0})
> read(5, "\0", 1)= 1
> ioctl(3, FIONREAD, [0]) = 0
> select(17, [3 4 5 10 16], [], [], {0, 0}) = 0 (Timeout)
> nanosleep({0, 1}, NULL) = 0
> ioctl(5, FIONREAD, [0]) = 0
> write(6, "\0", 1)   = 1
> ioctl(3, FIONREAD, [0]) = 0
> select(17, [3 4 5 10 16], [], [], {0, 0}) = 1 (in [5], left {0, 0})
> read(5, "\0", 1)= 1
> ioctl(5, FIONREAD, [0]) = 0
> write(6, "\0", 1)   = 1
> write(3, ";[EMAIL PROTECTED]@"..., 76) = 76
> ioctl(3, FIONREAD, [0]) = 0
> select(17, [3 4 5 10 16], [], [], {0, 0}) = 1 (in [5], left {0, 0})
> read(5, "\0", 1)= 1
> nanosleep({0, 1}, NULL) = 0
> ioctl(5, FIONREAD, [0]) = 0
> write(6, "\0", 1)   = 1
> ioctl(3, FIONREAD, [0]) = 0
> select(17, [3 4 5 10 16], [], [], {0, 0}) = 1 (in [5], left {0, 0})
> read(5, "\0", 1)= 1
> nanosleep({0, 1}, NULL) = 0
> ioctl(5, FIONREAD, [0]) = 0
> write(6, "\0", 1)   = 1
> ioctl(3, FIONREAD, [0]) = 0
> select(17, [3 4 5 10 16], [], [], {0, 0}) = 1 (in [5],

[mythtv-users] Live & Recorded TV hangs & failures on amd64

2005-07-15 Thread jgmtfia Mr
I have setup a new amd64 3200+ with debian etch (testing) as a remote
frontend.  I am using the subversion trunk.  In general I am getting
very strange things happening.  I am using a 2.6.12 kernel.

Some of the problems include, when selecting to watch live tv, myth
will hang on a black screen, and stay hung.  No verbose output, just
hangs.  Same problem with watching recordings.

Some times it does produce verbose output:

mythtv$ mythfrontend
2005-07-16 00:25:20.326 New DB connection, total: 1
Total desktop width=1600, height=1200, numscreens=1
2005-07-16 00:25:20.338 Running in a window
2005-07-16 00:25:20.347 Using screen 0, 1600x1146 at 0,27
2005-07-16 00:25:20.360 mythfrontend version: 0.19.20050712-1 www.mythtv.org
2005-07-16 00:25:20.360 Enabled verbose msgs : important general
Total desktop width=1600, height=1200, numscreens=1
2005-07-16 00:25:20.511 Running in a window
2005-07-16 00:25:20.511 Using screen 0, 1600x1146 at 0,27
2005-07-16 00:25:20.522 Switching to square mode (Iulius)
2005-07-16 00:25:20.693 Joystick disabled.
2005-07-16 00:25:20.750 Registering Internal as a media playback plugin.
2005-07-16 00:25:22.166 New DB connection, total: 2
2005-07-16 00:25:22.203 Connecting to backend server:
192.168.2.24:6543 (try 1 of 5)
2005-07-16 00:25:22.228 Attempting to change from None to WatchingLiveTV
2005-07-16 00:25:22.239 Using protocol version 17
2005-07-16 00:25:23.370 taking too long to be allowed to read..
2005-07-16 00:25:42.367 StartPlayer() -- error
2005-07-16 00:25:42.425 LiveTV not successfully started
 
and then hangs on the black output screen.

And some times it works:

mythtv$ mythfrontend
2005-07-16 00:26:42.489 New DB connection, total: 1
Total desktop width=1600, height=1200, numscreens=1
2005-07-16 00:26:42.502 Running in a window
2005-07-16 00:26:42.511 Using screen 0, 1600x1146 at 0,27
2005-07-16 00:26:42.525 mythfrontend version: 0.19.20050712-1 www.mythtv.org
2005-07-16 00:26:42.525 Enabled verbose msgs : important general
Total desktop width=1600, height=1200, numscreens=1
2005-07-16 00:26:42.672 Running in a window
2005-07-16 00:26:42.672 Using screen 0, 1600x1146 at 0,27
2005-07-16 00:26:42.673 Switching to square mode (Iulius)
2005-07-16 00:26:42.859 Joystick disabled.
2005-07-16 00:26:42.907 Registering Internal as a media playback plugin.
2005-07-16 00:26:44.016 New DB connection, total: 2
2005-07-16 00:26:44.052 Connecting to backend server:
192.168.2.24:6543 (try 1 of 5)
2005-07-16 00:26:44.076 Attempting to change from None to WatchingLiveTV
2005-07-16 00:26:44.087 Using protocol version 17
2005-07-16 00:26:45.235 taking too long to be allowed to read..
2005-07-16 00:26:47.278 Opening audio device 'default'.
X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  142
  Minor opcode:  14
  Resource id:  0x1cb
2005-07-16 00:26:47.316 Couldn't get the color key color, and we need it.
You likely won't select(17, [3 4 5 10 16], [], [], {0, 0}) = 1 (in
[5], left {0, 0})
read(5, "\0", 1)= 1
ioctl(3, FIONREAD, [0]) = 0
select(17, [3 4 5 10 16], [], [], {0, 0}) = 0 (Timeout)
nanosleep({0, 1}, NULL) = 0
ioctl(5, FIONREAD, [0]) = 0
write(6, "\0", 1)   = 1
ioctl(3, FIONREAD, [0]) = 0
select(17, [3 4 5 10 16], [], [], {0, 0}) = 1 (in [5], left {0, 0})
read(5, "\0", 1)= 1
ioctl(5, FIONREAD, [0]) = 0
write(6, "\0", 1)   = 1
write(3, ";[EMAIL PROTECTED]@"..., 76) = 76
ioctl(3, FIONREAD, [0]) = 0
select(17, [3 4 5 10 16], [], [], {0, 0}) = 1 (in [5], left {0, 0})
read(5, "\0", 1)= 1
nanosleep({0, 1}, NULL) = 0
ioctl(5, FIONREAD, [0]) = 0
write(6, "\0", 1)   = 1
ioctl(3, FIONREAD, [0]) = 0
select(17, [3 4 5 10 16], [], [], {0, 0}) = 1 (in [5], left {0, 0})
read(5, "\0", 1)= 1
nanosleep({0, 1}, NULL) = 0
ioctl(5, FIONREAD, [0]) = 0
write(6, "\0", 1)   = 1
ioctl(3, FIONREAD, [0]) = 0
select(17, [3 4 5 10 16], [], [], {0, 0}) = 1 (in [5], left {0, 0})
read(5, "\0", 1)= 1
nanosleep({0, 1}, NULL) = 0
ioctl(5, FIONREAD, [0]) = 0
write(6, "\0", 1)   = 1
ioctl(3, FIONREAD, [0]) = 0
select(17, [3 4 5 10 16], [], [], {0, 0}) = 1 (in [5], left {0, 0})
read(5, "\0", 1)= 1
nanosleep({0, 1}, NULL) = 0
ioctl(5, FIONREAD, [0]) = 0
write(6, "\0", 1)   = 1
ioctl(3, FIONREAD, [0]) = 0
select(17, [3 4 5 10 16], [], [], {0, 0}) = 1 (in [5], left {0, 0})
read(5, "\0", 1)get any video.
2005-07-16 00:26:47.464 Changing from None to WatchingLiveTV
2005-07-16 00:26:47.514 Realtime priority would require SUID as root.
2005-07-16 00:26:47.563 WriteA