Log in Register FAQ Memberlist Search pcHDTV Forum Index
pcHDTV Forum

pcHDTV Forum Index -> mythTV wiith the HD-2000 card -> Frontend Black Screen (but I know it's working...)
Post new topic  This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic 
Frontend Black Screen (but I know it's working...)
PostPosted: Tue Feb 08, 2005 7:57 pm Reply with quote
SpikeyGG
Guest
 




Someone please help... I've been looking all around for help on this but the goog isn't doing me any good. Here's some log info:

------ backend.log ------
Code:

# mythbackend -v all
Starting up as the master server.
2005-02-08 19:46:07 Probed: /dev/video32 - Television
2005-02-08 19:46:07 Probed: /dev/video32 - Composite1
2005-02-08 19:46:07 Probed: /dev/video32 - S-Video
VIDIOC_S_STD: Invalid argument
2005-02-08 19:46:07 Probed: /dev/video32 - Television
2005-02-08 19:46:07 Probed: /dev/video32 - Composite1
2005-02-08 19:46:07 Probed: /dev/video32 - S-Video
2005-02-08 19:46:07 TuneTo(21) curList[i].freq(513250)
2005-02-08 19:46:07 TuneToFrequency(8212)
2005-02-08 19:46:07 CheckSignal(5000, 55, 0) usingv4l2(1)
2005-02-08 19:46:07 signal strength: 88
2005-02-08 19:46:07 Maximum signal strength detected: 88% after 0 msec wait
2005-02-08 19:46:07 mythbackend version: 0.16.20040906-1 www.mythtv.org
2005-02-08 19:46:07 Enabled verbose msgs :all
2005-02-08 19:46:09 Found changes in the todo list.
2005-02-08 19:46:09 PruneOldRecords...
2005-02-08 19:46:09 AddNewRecords...
Query 0: /record.search = 0 AND program.title = record.title
2005-02-08 19:46:09  |-- Start DB Query 0...
2005-02-08 19:46:09  |-- Processing 0 results...
2005-02-08 19:46:09  +-- Cleanup...
2005-02-08 19:46:09 Sort by time...
2005-02-08 19:46:09 PruneOverlaps...
2005-02-08 19:46:09 Sort by priority...
2005-02-08 19:46:09 BuildListMaps...
2005-02-08 19:46:09 SchedNewRecords...
2005-02-08 19:46:09 Scheduling:
2005-02-08 19:46:09 ClearListMaps...
2005-02-08 19:46:09 Sort by time...
2005-02-08 19:46:09 PruneRedundants...
--- print list start ---
Title - Subtitle                    Chan ChID Day Start  End   S C I  T N Pri
---  print list end  ---
2005-02-08 19:46:09 Scheduled 0 items in 0.002437 seconds.
2005-02-08 19:46:09 Seem to be woken up by USER
2005-02-08 19:46:32 13      ACCEPT[]:[]13
2005-02-08 19:46:32 MainServer::HandleAnnounce Playback
2005-02-08 19:46:32 adding: debian64 as a client (events: 0)
2005-02-08 19:46:32 2       OK
2005-02-08 19:46:32 Getting next free recorder after : -1
2005-02-08 19:46:32 Card 1 is local.
2005-02-08 19:46:32 24      1[]:[]127.0.0.1[]:[]6543
2005-02-08 19:46:32 13      ACCEPT[]:[]13
2005-02-08 19:46:32 13      ACCEPT[]:[]13
2005-02-08 19:46:32 MainServer::HandleAnnounce Playback
2005-02-08 19:46:32 adding: debian64 as a client (events: 1)
2005-02-08 19:46:32 2       OK
2005-02-08 19:46:32 MainServer::HandleAnnounce Playback
2005-02-08 19:46:32 adding: debian64 as a client (events: 0)
2005-02-08 19:46:32 2       OK
2005-02-08 19:46:32 88      rbuf://127.0.0.1:6543/store/live//ringbuf1.nuv[...
2005-02-08 19:46:32 MainServer::HandleAnnounce Playback
2005-02-08 19:46:32 adding: debian64 as a client (events: 0)
2005-02-08 19:46:32 2       OK
2005-02-08 19:46:32 adding: debian64 as a remote ringbuffer
2005-02-08 19:46:32 2       OK
2005-02-08 19:46:32 Changing from None to WatchingLiveTV
2005-02-08 19:46:32 Using profile 'Live TV' to record
2005-02-08 19:46:32 CheckSignal(5000, 55, 0) usingv4l2(1)
2005-02-08 19:46:32 signal strength: 89
2005-02-08 19:46:32 Maximum signal strength detected: 89% after 0 msec wait
2005-02-08 19:46:32 2       ok
2005-02-08 19:46:32 1       1
2005-02-08 19:46:32 2       25
2005-02-08 19:46:32 314     Nova[]:[]The Viking Deception[]:[]Some believe ...
2005-02-08 19:46:33 6       128000
2005-02-08 19:47:03 Changing from WatchingLiveTV to None
2005-02-08 19:47:03 49      BACKEND_MESSAGE[]:[]DONE_RECORDING 1 36[]:[]empty


----- frontend log ------
Code:

# mythfrontend -v all
2005-02-08 19:46:28 mythfrontend version: 0.16.20040906-1 www.mythtv.org
2005-02-08 19:46:28 Enabled verbose msgs :all
2005-02-08 19:46:29 Registering Internal as a media playback plugin.
2005-02-08 19:46:32 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2005-02-08 19:46:32 21      MYTH_PROTO_VERSION 13
2005-02-08 19:46:32 Using protocol version 13
2005-02-08 19:46:32 23      ANN Playback debian64 0
2005-02-08 19:46:32 29      GET_NEXT_FREE_RECORDER[]:[]-1
2005-02-08 19:46:32 21      MYTH_PROTO_VERSION 13
2005-02-08 19:46:32 21      MYTH_PROTO_VERSION 13
2005-02-08 19:46:32 Using protocol version 13
2005-02-08 19:46:32 23      ANN Playback debian64 1
2005-02-08 19:46:32 Using protocol version 13
2005-02-08 19:46:32 23      ANN Playback debian64 0
2005-02-08 19:46:32 44      QUERY_RECORDER 1[]:[]SETUP_RING_BUFFER[]:[]0
2005-02-08 19:46:32 23      ANN Playback debian64 0
2005-02-08 19:46:32 25      ANN RingBuffer debian64 1
2005-02-08 19:46:32 33      QUERY_RECORDER 1[]:[]SPAWN_LIVETV
2005-02-08 19:46:32 33      QUERY_RECORDER 1[]:[]IS_RECORDING
2005-02-08 19:46:32 34      QUERY_RECORDER 1[]:[]GET_FRAMERATE
2005-02-08 19:46:32 37      QUERY_RECORDER 1[]:[]GET_PROGRAM_INFO
2005-02-08 19:46:32 Output filters for this channel are: ''
2005-02-08 19:46:32 53      QUERY_RECORDER 1[]:[]REQUEST_BLOCK_RINGBUF[]:[]...
2005-02-08 19:46:33 Read(): reqd=128000, rcvd=128000, rept=128000, error=0
2005-02-08 19:46:33 66      QUERY_RECORDER 1[]:[]SEEK_RINGBUF[]:[]0[]:[]0[]...
2005-02-08 19:47:03 ReadStringList timeout.
ASSERT: "i <= nodes" in /usr/include/qt3/qvaluelist.h (372)
2005-02-08 19:47:03 RemoteFile::Read() failed in RingBuffer::safe_read().
2005-02-08 19:47:03 RemoteFile::Read() failed in RingBuffer::safe_read().
2005-02-08 19:47:03 RemoteFile::Read() failed in RingBuffer::safe_read().
2005-02-08 19:47:03 RemoteFile::Read() failed in RingBuffer::safe_read().
2005-02-08 19:47:03 RemoteFile::Read() failed in RingBuffer::safe_read().
2005-02-08 19:47:03 RemoteFile::Read() failed in RingBuffer::safe_read().
2005-02-08 19:47:03 AvFormatDecoder: avformat error (-1) on av_open_input_file call.
Couldn't open decoder for: rbuf://127.0.0.1:6543/store/live//ringbuf1.nuv
2005-02-08 19:47:03 Changing from None to WatchingLiveTV
2005-02-08 19:47:03 Decoder not alive, and trying to play..
2005-02-08 19:47:03 32      QUERY_RECORDER 1[]:[]STOP_LIVETV
2005-02-08 19:47:11 ReadStringList timeout (quick).
Remote encoder not responding.
2005-02-08 19:47:11 47      QUERY_RECORDER 1[]:[]GET_FREE_SPACE[]:[]0[]:[]0
QSocketDevice::writeBlock: Invalid socket
2005-02-08 19:47:11 Error writing stringlist
Remote encoder not responding.
ASSERT: "i <= nodes" in /usr/include/qt3/qvaluelist.h (372)
2005-02-08 19:47:11 39      QUERY_RECORDER 1[]:[]GET_FRAMES_WRITTEN
QSocketDevice::writeBlock: Invalid socket
2005-02-08 19:47:11 Error writing stringlist
Remote encoder not responding.
ASSERT: "i <= nodes" in /usr/include/qt3/qvaluelist.h (372)
2005-02-08 19:47:11 Changing from None to None
2005-02-08 19:47:11 33      QUERY_RECORDER 1[]:[]DONE_RINGBUF
QSocketDevice::writeBlock: Invalid socket
2005-02-08 19:47:11 Error writing stringlist
Remote file timeout.
2005-02-08 19:47:12 41      []:[]QUERY_IS_ACTIVE_BACKEND[]:[]debian64
2005-02-08 19:47:42 ReadStringList timeout.
Connection to backend server lost


Anyway, you can see that the pcHDTV card is working because when I connect to the backend server (which is running on the same machine) it gives me "Nova[]:[]The Viking Deception[]:[]Some believe ..." The program that is on the default channel. If I let the frontend's black screen just hang out, I can tab out to another terminal and go watch the ring buffer grow as time passes so I know it's storing off the channel and trying to stream it. It's not a permissions issue cause I'm running as root. I believe it has to do with the decoder/encoder. Anyone know what the deal is?

Thanks,

-Greg
PostPosted: Fri Feb 11, 2005 4:29 pm Reply with quote
SpikeyGG
 
Joined: 08 Feb 2005
Posts: 29




I got it to sort of work by choosing MPEG4 instead of the default RTjpeg but still most of the time it doesn't stream the video, just a black screen. It probably works about 1 in 10 times. I have to alt-tab back to my Konsole and ctrl-c it.

I've noticed when I do get it to stream, the default channel plays fine but as soon as I change channels the audio goes away and all the video gets jumpy. Like slow - fast - slow - fast - slow - fast - etc. This happens unless it's a high definition stream, then it moves in sloooow motion without sound. Anyone know how to cure this?

I looked around for RTjpeg on the net and found that Nuppelvideo thing, I downloaded it but it won't compile on my system. It seems like MythTV should come with the RTjpeg thing anyway.

I've heard of many people getting their pcHDTV cards working on systems with Athlon 2800+s, I'm using a 939 3200+. It seems that my machine should have plenty of juice to process this. I'll have to try out the version 0.17 of Myth. Anyone?

Thanks,

-Greg
View user's profile Send private message Send e-mail
PostPosted: Wed Feb 16, 2005 12:22 pm Reply with quote
Ackster
Guest
 




SpikeyGG wrote:
I got it to sort of work by choosing MPEG4 instead of the default RTjpeg but still most of the time it doesn't stream the video, just a black screen. It probably works about 1 in 10 times. I have to alt-tab back to my Konsole and ctrl-c it.

I've noticed when I do get it to stream, the default channel plays fine but as soon as I change channels the audio goes away and all the video gets jumpy. Like slow - fast - slow - fast - slow - fast - etc. This happens unless it's a high definition stream, then it moves in sloooow motion without sound. Anyone know how to cure this?

I looked around for RTjpeg on the net and found that Nuppelvideo thing, I downloaded it but it won't compile on my system. It seems like MythTV should come with the RTjpeg thing anyway.

I've heard of many people getting their pcHDTV cards working on systems with Athlon 2800+s, I'm using a 939 3200+. It seems that my machine should have plenty of juice to process this. I'll have to try out the version 0.17 of Myth. Anyone?

Thanks,

-Greg


Definitely go to the .17 version. I'm running the 939 chipset and NVIDIA 6600GT . I don't watch live TV usually. How is your playback of recorded TV ? What resolution is your X running at ?

-Ack
black screen in myth
PostPosted: Sun Feb 20, 2005 9:22 am Reply with quote
gatzke
Guest
 




I just get a black front end trying to watch live tv.

I will try recorded stuff too.

mythfrontend -l logfile gives me a lot of :

2005-02-20 11:13:07.311 RemoteFile::Read() failed in RingBuffer::safe_read().
2005-02-20 11:13:07.520 RemoteFile::Read() failed in RingBuffer::safe_read().
Couldn't read file: rbuf://127.0.0.1:6543/mythtv/live/ringbuf1.nuv
2005-02-20 11:13:07.534 LiveTV not successfully started
2005-02-20 11:13:07.542 Changing from None to WatchingLiveTV
2005-02-20 11:13:07.545 Changing from None to None
2005-02-20 11:13:07.556 Using protocol version 14
2005-02-20 11:13:07.688 Using protocol version 14
Re: black screen in myth
PostPosted: Sun Feb 20, 2005 11:32 am Reply with quote
SpikeyGG
 
Joined: 08 Feb 2005
Posts: 29




gatzke wrote:
I just get a black front end trying to watch live tv.

I will try recorded stuff too.

mythfrontend -l logfile gives me a lot of :

2005-02-20 11:13:07.311 RemoteFile::Read() failed in RingBuffer::safe_read().
2005-02-20 11:13:07.520 RemoteFile::Read() failed in RingBuffer::safe_read().
Couldn't read file: rbuf://127.0.0.1:6543/mythtv/live/ringbuf1.nuv
2005-02-20 11:13:07.534 LiveTV not successfully started
2005-02-20 11:13:07.542 Changing from None to WatchingLiveTV
2005-02-20 11:13:07.545 Changing from None to None
2005-02-20 11:13:07.556 Using protocol version 14
2005-02-20 11:13:07.688 Using protocol version 14


Okay, so I've gone with the DVB drivers instead of the pcHDTV (since the DVB is the way of the future). And I've been having the same problem with MythTV as I had with the pcHDTV drivers. In fact, I don't think it's the pcHDTV card now because I recorded a 30 minute block of TV and when I try to watch it, MythTV freezes there too. I think it has to do with just general encoding/decoding between Frontend and Backend. So, I've made a post on www.mythtvtalk.com about it and no one has responded, yet.

It's here if you want to see: http://www.mythtvtalk.com/forum/viewtopic.php?t=699

I get plenty of stuff from the logs (frontend and backend [using -v all]) but none of it looks like errors or warnings, especially when the problem happens. What I mean by that is, everything gets logged up until I'm ready to hit the "LiveTV" button or "Recorded Shows". When I go into LiveTV most of the time it'll just stay black and nothing more gets written to the logs until I CTRL-C the frontend. When I go into Recorded Shows, and it tries to play the recorded show in the corner of the screen sometimes it'll just freeze and again nothing gets written to logs until I CTRL-C the frontend.

It's a weird problem, I'm wondering if it has to do with my using a 64bit version of linux and attempting to use Myth in 64bit. I have compiled everything I'm using for Myth from source. So it should work but, I'm sure no-one's tested it.

Any ideas or suggestions?

Thanks,

-Greg
View user's profile Send private message Send e-mail
Re: black screen in myth
PostPosted: Wed Mar 02, 2005 5:52 pm Reply with quote
Guest
 




[quote="SpikeyGG"]
gatzke wrote:

It's a weird problem, I'm wondering if it has to do with my using a 64bit version of linux and attempting to use Myth in 64bit.

-Greg


I doubt it. I'm having exactly the same problem on a 32 bit p4 3Ghz system.

DJ
Re: black screen in myth
PostPosted: Fri Mar 04, 2005 12:13 am Reply with quote
SpikeyGG
 
Joined: 08 Feb 2005
Posts: 29




Anonymous wrote:
I doubt it. I'm having exactly the same problem on a 32 bit p4 3Ghz system.
DJ


Well, that is good news... at least I think it is. I was just trying to install 32bit Debian and try it out but I've run into several snags. Sad What distro are you using? I wonder if it's a Debian thing.

Thanks,
-Greg
View user's profile Send private message Send e-mail
PostPosted: Fri Mar 04, 2005 12:29 am Reply with quote
SpikeyGG
 
Joined: 08 Feb 2005
Posts: 29




Ackster wrote:

Definitely go to the .17 version. I'm running the 939 chipset and NVIDIA 6600GT . I don't watch live TV usually. How is your playback of recorded TV ? What resolution is your X running at ?


I am now running 0.17 (it is much better) but it's still doing the crappy black screen freeze. I'm actually running from cvs, it's very nice the new 0.17 version. Now that you can use DVB scan to find all the active channels... The only problem is that the zap2it thing doesn't have the same channel names as the DVB scan finds. So I have to go in manually and add the XMLTV codes to each of the channels found by the DVB scanner.

I'm running my monitor at 1024x768 (it's an old crappy Gateway Vivitron) and I have TV out hooked up to a crappy 19" TV running in 640x480. But really watching anything whether it's DTV/HDTV/recordings of futurama or the simsons looks much better than I can get with my antenna. Nvidia really did a kick ass job with the TV out. When I stream an HDTV stream it uses 60% cpu, playback is smooth.

Anyway, time for bed. Smile
-Greg
View user's profile Send private message Send e-mail
Problem Solved... (pure64 issue)
PostPosted: Sun Mar 06, 2005 7:53 am Reply with quote
SpikeyGG
 
Joined: 08 Feb 2005
Posts: 29




I took a spare drive and installed standard issue 32-bit Debian to it. Installed all the stuff just like I did on my pure64 installation and MythTV with the pcHDTV card works! I don't get any black screen freezes when going to LiveTV and going into the RecordedVideos section always works. Looks like the pure64 Debian distribution isn't quite ready for Myth. Sad

-Greg
View user's profile Send private message Send e-mail
PostPosted: Sat Jul 16, 2005 10:04 pm Reply with quote
tji
 
Joined: 09 Apr 2004
Posts: 15




Has anyone ever made progress on diagnosing this? I am seeing similar issues.. Live TV viewing fails 80-90% of the times I try. Eventually if I keep restarting the frontend and backend it will work, and I'll be able to watch live TV.

I am also using AMD64 (Ubuntu Linux 5.04, on an Athlon64 3200+). So, maybe this lends weight to the 64 bit theory. If anyone has diagnosed this, and at least has some ideas about where to look in the code to debug this, I would appreciate any suggestions..
View user's profile Send private message
PostPosted: Sun Jul 17, 2005 10:26 am Reply with quote
tji
 
Joined: 09 Apr 2004
Posts: 15




After some more digging in Google, I turned up what I think is the issue (the patch is working well for me so far). Apparently, there is a known problem with certain pthread calls in AMD64 versions of Debian & Debian-based distributions (like Ubuntu, which I am using).

There was a patch submitted to MythTV, which was rejected because he didn't want to apply a patch to solve a bug which should be fixed in Debian. The Debian people were notified, but I don't think anyone ever provided a patch to fix the problem. So, now many months later, the problem still exists, and still causes problems requiring many hours of debugging, searching, because it's not documented anywhere.

Here is an e-mail talking about the problem and patch:

http://lists.debian.org/debian-amd64/2005/03/msg00940.html
View user's profile Send private message
Frontend Black Screen (but I know it's working...)
  pcHDTV Forum Index -> mythTV wiith the HD-2000 card
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 7 Hours  
Page 1 of 1  

  
  
 Post new topic  This topic is locked: you cannot edit posts or make replies.  


Powered by phpBB © 2001-2003 phpBB Group
Theme created by Vjacheslav Trushkin