Re: [mythtv-users] LiveTV bails out after two seconds [solved]
On Sunday 31 July 2005 02:45, Leif B. Kristensen wrote: > Now, mythbackend doesn't report any failures at all. But it still > won't show anything but a blank screen, while the CPU goes full > throttle. As a collateral damage, it now also borks the access to the > video card so I can't watch TV with Mplayer without rebooting. I've finally solved it. The last step was simple; I had misconfigured the card's default input, which should be set to "Tuner 0" instead of "Composite 0". A google search on "mythsetup capture card pvr-350" gave me excellent advice from this page: http://mythtv.son.org/tiki-pagehistory.php?page=Applications&diff=28 Now, I only have to get the zapper working :) -- Leif Biberg Kristensen http://solumslekt.org/ ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] LiveTV bails out after two seconds
On Friday 29 July 2005 17:13, James Stembridge wrote: > On 7/29/05, Leif B. Kristensen <[EMAIL PROTECTED]> wrote: > > 2005-07-29 16:41:00.897 Channel(/dev/v4l/video0): CheckChannel > > failed. Please verify channel "3" in the "setup" Channel Editor. > > Have you actually tried following this advice? Does channel 3 exist? I found a page at http://mythtv.info/moin.cgi/XmlTv/MythChannelSetup that got me thinking. In mythsetup I opened the Channel editor, and changed the freqid field to the frequency numbers instead of the short PAL europe-west aliases. In MySQL, it now looks like this: mysql> select chanid,channum,freqid,name from channel order by chanid; ++-++---+ | chanid | channum | freqid | name | ++-++---+ | 1 | 1 | 287250 | NRK 1 | | 2 | 2 | 196250 | NRK 2 | | 3 | 3 | 210250 | TV 2 | | 4 | 4 | 231250 | TVNorge | | 6 | 6 | 259250 | TV 3 | | 7 | 7 | 266250 | TV4 | | 8 | 8 | 189250 | SVT 1 | | 9 | 9 | 217250 | SVT 2 | | 10 | 10 | 154250 | Discovery Channel | | 14 | 14 | 252250 | Disney| | 15 | 15 | 294250 | BBC World | | 17 | 17 | 280250 | Eurosport | | 18 | 18 | 161250 | Animal Planet | ++-++---+ 13 rows in set (0.00 sec) Now, mythbackend doesn't report any failures at all. But it still won't show anything but a blank screen, while the CPU goes full throttle. As a collateral damage, it now also borks the access to the video card so I can't watch TV with Mplayer without rebooting. -- Leif Biberg Kristensen http://solumslekt.org/ ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] LiveTV bails out after two seconds
It still seems like mythtvsetup isn't setup properly, and I keep wanting to come back to it. I too had a similar problem with this because of how MythTVSetup works. The tuner must first be setup in the Input settings Second, your cable type must be setup in the Video Sources screen Finally, you have to link the two settings together in the Input Settings. In the input settings, you can select the input type (Cable, Antenna, DVB, etc) and then when you link the settings together in the Input Settings, you should select the same type. If you aren't able to figure it out, I should be able to help you further when I get home from work... most of this is coming off the top of my head ATM. More information can be found here regarding this. http://www.mythtv.org/docs/mythtv-HOWTO-9.html You can also check your channel settings there. Let me know! Good luck! -James -- James D. Fryman A+, Security+, MCSA, MCSE E-Mail: [EMAIL PROTECTED] GnuPG: 0x4222017D Leif B. Kristensen wrote: On Friday 29 July 2005 17:21, James Fryman wrote: This error looks like your tuner may not have the channels setup > 2005-07-29 16:41:00.897 Channel(/dev/v4l/video0): CheckChannel > failed. Please verify channel "3" in the "setup" Channel Editor. Try populating the database with Channel Information. I have already done that. The documentation is not entirely clear on how to set the channel information, but I used ptune.pl to first dump a list of PAL europe-west channels, and then using it to set each and every channel and test them with mplayer /dev/video0. I arrived at this list, which works well with mplayer: SE19NRK 1 E8 NRK 2 E10 TV 2 SE11TV Norge E5 TV Budstikka (ABTV) SE15TV 3 SE16TV 4 E7 SVT 1 E11 SVT 2 SE8 Discovery SE7 Cartoon Network SE17Star / Showtime SE10Info SE14Disney Channel SE20BBC World SE13The Voice SE18Eurosport SE9 Animal Planet This is part of what mythfilldatabase has entered into mysql: mysql> select chanid,channum,name,xmltvid from channel order by chanid; ++-+---++ | chanid | channum | name | xmltvid| ++-+---++ | 1 | SE19| NRK 1 | 1.fredag.dagbladet.no | | 2 | E8 | NRK 2 | 2.fredag.dagbladet.no | | 3 | E10 | TV 2 | 3.fredag.dagbladet.no | | 4 | SE11| TVNorge | 5.fredag.dagbladet.no | | 6 | SE15| TV 3 | 4.fredag.dagbladet.no | | 7 | SE16| TV 4 | 37.fredag.dagbladet.no | | 8 | E7 | SVT 1 | 6.fredag.dagbladet.no | | 9 | E11 | SVT 2 | 7.fredag.dagbladet.no | | 10 | SE8 | Discovery Channel | 44.fredag.dagbladet.no | | 11 | SE7 | Cartoon | 41.fredag.dagbladet.no | | 14 | SE14| Disney| 67.fredag.dagbladet.no | | 15 | SE20| BBC World | 38.fredag.dagbladet.no | | 17 | SE18| Eurosport | 15.fredag.dagbladet.no | | 18 | SE9 | Animal Planet | 10.fredag.dagbladet.no | ++-+---++ 14 rows in set (0.00 sec) Now, is there something wrong here? WAF was low until I got my box up as well. It'll be worth it once you get it going. Nice to hear :) I can of course get away with one shell script for each channel, like this: #! /bin/bash # BBC World ptune.pl SE20 mplayer -fs /dev/video0 but I figure that Myth will get a better WAF rating. ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] LiveTV bails out after two seconds
On Friday 29 July 2005 17:21, James Fryman wrote: > This error looks like your tuner may not have the channels setup > > > 2005-07-29 16:41:00.897 Channel(/dev/v4l/video0): CheckChannel > > failed. Please verify channel "3" in the "setup" Channel Editor. > > Try populating the database with Channel Information. I have already done that. The documentation is not entirely clear on how to set the channel information, but I used ptune.pl to first dump a list of PAL europe-west channels, and then using it to set each and every channel and test them with mplayer /dev/video0. I arrived at this list, which works well with mplayer: SE19NRK 1 E8 NRK 2 E10 TV 2 SE11TV Norge E5 TV Budstikka (ABTV) SE15TV 3 SE16TV 4 E7 SVT 1 E11 SVT 2 SE8 Discovery SE7 Cartoon Network SE17Star / Showtime SE10Info SE14Disney Channel SE20BBC World SE13The Voice SE18Eurosport SE9 Animal Planet This is part of what mythfilldatabase has entered into mysql: mysql> select chanid,channum,name,xmltvid from channel order by chanid; ++-+---++ | chanid | channum | name | xmltvid| ++-+---++ | 1 | SE19| NRK 1 | 1.fredag.dagbladet.no | | 2 | E8 | NRK 2 | 2.fredag.dagbladet.no | | 3 | E10 | TV 2 | 3.fredag.dagbladet.no | | 4 | SE11| TVNorge | 5.fredag.dagbladet.no | | 6 | SE15| TV 3 | 4.fredag.dagbladet.no | | 7 | SE16| TV 4 | 37.fredag.dagbladet.no | | 8 | E7 | SVT 1 | 6.fredag.dagbladet.no | | 9 | E11 | SVT 2 | 7.fredag.dagbladet.no | | 10 | SE8 | Discovery Channel | 44.fredag.dagbladet.no | | 11 | SE7 | Cartoon | 41.fredag.dagbladet.no | | 14 | SE14| Disney| 67.fredag.dagbladet.no | | 15 | SE20| BBC World | 38.fredag.dagbladet.no | | 17 | SE18| Eurosport | 15.fredag.dagbladet.no | | 18 | SE9 | Animal Planet | 10.fredag.dagbladet.no | ++-+---++ 14 rows in set (0.00 sec) Now, is there something wrong here? > WAF was low until I got my box up as well. It'll be worth it once you > get it going. Nice to hear :) I can of course get away with one shell script for each channel, like this: #! /bin/bash # BBC World ptune.pl SE20 mplayer -fs /dev/video0 but I figure that Myth will get a better WAF rating. -- Leif Biberg Kristensen http://solumslekt.org/ ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] LiveTV bails out after two seconds
This error looks like your tuner may not have the channels setup > 2005-07-29 16:41:00.897 Channel(/dev/v4l/video0): CheckChannel failed. > Please verify channel "3" in the "setup" Channel Editor. Try populating the database with Channel Information. WAF was low until I got my box up as well. It'll be worth it once you get it going. -- James D. Fryman A+, Security+, MCSA, MCSE E-Mail: [EMAIL PROTECTED] GnuPG: 0x4222017D Leif B. Kristensen wrote: On Friday 29 July 2005 16:30, James Fryman wrote: It looks like you ran mythsetup as root, you'll need to rerun it as your myth user. Setup your tuner settings for your input card. Also, I would try setting it so that your video directory (I'm guessing /var/video) has read/write access for your user. Give that a shot. Actually, I ran it with my ordinary account. But I started mythsetup again, and in the Input connection I changed all the Video sources from (None) to "cable", which is the name I have used for my .mythtv/xmltv settings. After restarting the mythbackend, I still get the same black screen with "1: composite 0". Don't worry about the hair, I'm the president of Hair-Regrow, Inc as well as a client! :) At the age of 52, my hair is still thick, albeit rather grey. However, if I don't get MythTV up and running soon, my wife will probably start tearing it out as I've raised rather high expectations about the super multimedia box on which I've been spending quite a lot of money lately. Here is the latest output from both ends: [EMAIL PROTECTED] ~ $ mythbackend 2005-07-29 16:41:00.886 New DB connection, total: 1 Starting up as the master server. 2005-07-29 16:41:00.893 New DB connection, total: 2 2005-07-29 16:41:00.897 Channel(/dev/v4l/video0): CheckChannel failed. Please verify channel "3" in the "setup" Channel Editor. 2005-07-29 16:41:00.900 New DB scheduler connection 2005-07-29 16:41:00.904 mythbackend version: 0.18.1.20050510-1 www.mythtv.org 2005-07-29 16:41:00.904 Enabled verbose msgs : important general 2005-07-29 16:41:02.904 Reschedule requested for id -1. 2005-07-29 16:41:02.913 Scheduled 0 items in 0.0 = 0.01 match + 0.00 place 2005-07-29 16:41:02.915 Seem to be woken up by USER 2005-07-29 16:41:10.905 New DB connection, total: 3 2005-07-29 16:41:28.377 MainServer::HandleAnnounce Playback 2005-07-29 16:41:28.377 adding: bellevue as a client (events: 0) 2005-07-29 16:41:28.395 MainServer::HandleAnnounce Playback 2005-07-29 16:41:28.395 adding: bellevue as a client (events: 1) 2005-07-29 16:41:28.407 MainServer::HandleAnnounce Playback 2005-07-29 16:41:28.407 adding: bellevue as a client (events: 0) 2005-07-29 16:41:28.425 MainServer::HandleAnnounce Playback 2005-07-29 16:41:28.425 adding: bellevue as a client (events: 0) 2005-07-29 16:41:28.433 adding: bellevue as a remote ringbuffer 2005-07-29 16:41:28.442 Changing from None to WatchingLiveTV 2005-07-29 16:41:44.587 Changing from WatchingLiveTV to None [EMAIL PROTECTED] ~ $ mythfrontend 2005-07-29 16:41:23.065 New DB connection, total: 1 Total desktop width=1280, height=1024, numscreens=1 2005-07-29 16:41:23.068 Using screen 0, 1280x1024 at 0,0 2005-07-29 16:41:23.070 mythfrontend version: 0.18.1.20050510-1 www.mythtv.org 2005-07-29 16:41:23.070 Enabled verbose msgs : important general 2005-07-29 16:41:23.197 Switching to square mode (blue) 2005-07-29 16:41:23.640 Registering Internal as a media playback plugin. 2005-07-29 16:41:23.646 Registering MythDVD DVD Media Handler as a media handler 2005-07-29 16:41:23.646 Registering MythDVD VCD Media Handler as a media handler mythtv: could not connect to socket mythtv: Connection refused lirc_init failed for mythtv, see preceding messages 2005-07-29 16:41:23.718 Registering MythMusic Media Handler as a media handler 2005-07-29 16:41:28.335 New DB connection, total: 2 2005-07-29 16:41:28.363 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5) 2005-07-29 16:41:28.371 Using protocol version 15 2005-07-29 16:41:28.401 Using protocol version 15 2005-07-29 16:41:31.261 Opening audio device 'default'. 2005-07-29 16:41:31.276 Using XV port 69 2005-07-29 16:41:31.496 The realtime priority setting is not enabled. 2005-07-29 16:41:31.517 Changing from None to WatchingLiveTV 2005-07-29 16:41:31.527 Video timing method: DRM 2005-07-29 16:41:44.653 Changing from WatchingLiveTV to None 2005-07-29 16:41:44.665 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] LiveTV bails out after two seconds
On 7/29/05, Leif B. Kristensen <[EMAIL PROTECTED]> wrote: > 2005-07-29 16:41:00.897 Channel(/dev/v4l/video0): CheckChannel failed. > Please verify channel "3" in the "setup" Channel Editor. Have you actually tried following this advice? Does channel 3 exist? ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] LiveTV bails out after two seconds
On Friday 29 July 2005 16:30, James Fryman wrote: > It looks like you ran mythsetup as root, you'll need to rerun it as > your myth user. Setup your tuner settings for your input card. Also, > I would try setting it so that your video directory (I'm guessing > /var/video) has read/write access for your user. Give that a shot. Actually, I ran it with my ordinary account. But I started mythsetup again, and in the Input connection I changed all the Video sources from (None) to "cable", which is the name I have used for my .mythtv/xmltv settings. After restarting the mythbackend, I still get the same black screen with "1: composite 0". > Don't worry about the hair, I'm the president of Hair-Regrow, Inc as > well as a client! :) At the age of 52, my hair is still thick, albeit rather grey. However, if I don't get MythTV up and running soon, my wife will probably start tearing it out as I've raised rather high expectations about the super multimedia box on which I've been spending quite a lot of money lately. Here is the latest output from both ends: [EMAIL PROTECTED] ~ $ mythbackend 2005-07-29 16:41:00.886 New DB connection, total: 1 Starting up as the master server. 2005-07-29 16:41:00.893 New DB connection, total: 2 2005-07-29 16:41:00.897 Channel(/dev/v4l/video0): CheckChannel failed. Please verify channel "3" in the "setup" Channel Editor. 2005-07-29 16:41:00.900 New DB scheduler connection 2005-07-29 16:41:00.904 mythbackend version: 0.18.1.20050510-1 www.mythtv.org 2005-07-29 16:41:00.904 Enabled verbose msgs : important general 2005-07-29 16:41:02.904 Reschedule requested for id -1. 2005-07-29 16:41:02.913 Scheduled 0 items in 0.0 = 0.01 match + 0.00 place 2005-07-29 16:41:02.915 Seem to be woken up by USER 2005-07-29 16:41:10.905 New DB connection, total: 3 2005-07-29 16:41:28.377 MainServer::HandleAnnounce Playback 2005-07-29 16:41:28.377 adding: bellevue as a client (events: 0) 2005-07-29 16:41:28.395 MainServer::HandleAnnounce Playback 2005-07-29 16:41:28.395 adding: bellevue as a client (events: 1) 2005-07-29 16:41:28.407 MainServer::HandleAnnounce Playback 2005-07-29 16:41:28.407 adding: bellevue as a client (events: 0) 2005-07-29 16:41:28.425 MainServer::HandleAnnounce Playback 2005-07-29 16:41:28.425 adding: bellevue as a client (events: 0) 2005-07-29 16:41:28.433 adding: bellevue as a remote ringbuffer 2005-07-29 16:41:28.442 Changing from None to WatchingLiveTV 2005-07-29 16:41:44.587 Changing from WatchingLiveTV to None [EMAIL PROTECTED] ~ $ mythfrontend 2005-07-29 16:41:23.065 New DB connection, total: 1 Total desktop width=1280, height=1024, numscreens=1 2005-07-29 16:41:23.068 Using screen 0, 1280x1024 at 0,0 2005-07-29 16:41:23.070 mythfrontend version: 0.18.1.20050510-1 www.mythtv.org 2005-07-29 16:41:23.070 Enabled verbose msgs : important general 2005-07-29 16:41:23.197 Switching to square mode (blue) 2005-07-29 16:41:23.640 Registering Internal as a media playback plugin. 2005-07-29 16:41:23.646 Registering MythDVD DVD Media Handler as a media handler 2005-07-29 16:41:23.646 Registering MythDVD VCD Media Handler as a media handler mythtv: could not connect to socket mythtv: Connection refused lirc_init failed for mythtv, see preceding messages 2005-07-29 16:41:23.718 Registering MythMusic Media Handler as a media handler 2005-07-29 16:41:28.335 New DB connection, total: 2 2005-07-29 16:41:28.363 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5) 2005-07-29 16:41:28.371 Using protocol version 15 2005-07-29 16:41:28.401 Using protocol version 15 2005-07-29 16:41:31.261 Opening audio device 'default'. 2005-07-29 16:41:31.276 Using XV port 69 2005-07-29 16:41:31.496 The realtime priority setting is not enabled. 2005-07-29 16:41:31.517 Changing from None to WatchingLiveTV 2005-07-29 16:41:31.527 Video timing method: DRM 2005-07-29 16:41:44.653 Changing from WatchingLiveTV to None 2005-07-29 16:41:44.665 Changing from None to None -- Leif Biberg Kristensen http://solumslekt.org/ ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] LiveTV bails out after two seconds
It looks like you ran mythsetup as root, you'll need to rerun it as your myth user. Setup your tuner settings for your input card. Also, I would try setting it so that your video directory (I'm guessing /var/video) has read/write access for your user. Give that a shot. Don't worry about the hair, I'm the president of Hair-Regrow, Inc as well as a client! :) Good luck! -- James D. Fryman A+, Security+, MCSA, MCSE E-Mail: [EMAIL PROTECTED] GnuPG: 0x4222017D Leif B. Kristensen wrote: On Friday 29 July 2005 15:55, James Fryman wrote: Tore my hair out... and so two things have come out of it. 1) I'm bald. 2) Even better, I found a solution. What I ended up doing was actually starting mythbackend and mythfrontend as the user who was going to access the system (mythuser in my case), and I no longer loss LiveTV ability. The socket problem *I believe* is related to the fact that the system is attempting to access the capture device and does not have accesss to it. As far as I know, solutions to this would be to run mythfrontend as SUID root or to run the frontend/backed as the user. I don't know if this is a catchall, but try it out and let me know if it works for you. Good luck! Sorry 'bout your hair :) I'm trying your tip right now. I first got a message about mythbackend being unable to access the file /var/video/nfslockfile.lock. That one was trivial, I just did a chmod a+w on that file. Now, when I start mythbackend from Konsole, I get this message: [EMAIL PROTECTED] ~ $ mythbackend 2005-07-29 16:09:21.776 New DB connection, total: 1 Starting up as the master server. 2005-07-29 16:09:21.782 New DB connection, total: 2 Error getting inputs for the capturecard. Perhaps you have forgotten to bind video sources to your card's inputs? 2005-07-29 16:09:21.789 Channel(/dev/v4l/video0): CheckChannel failed. Please verify channel "3" in the "setup" Channel Editor. Starting mythfrontend and try to watch TV now, I get a black screen with the message "1: composite 0" appearing briefly in the upper left corner in large letters. I guess that binding video sources to my card's inputs is easy when you know how to do it, but could you please give me a hint on that one too? ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] LiveTV bails out after two seconds
On Friday 29 July 2005 15:55, James Fryman wrote: > Tore my hair out... and so two things have come out of it. > 1) I'm bald. > 2) Even better, I found a solution. > > What I ended up doing was actually starting mythbackend and > mythfrontend as the user who was going to access the system (mythuser > in my case), and I no longer loss LiveTV ability. > > The socket problem *I believe* is related to the fact that the system > is attempting to access the capture device and does not have accesss > to it. As far as I know, solutions to this would be to run > mythfrontend as SUID root or to run the frontend/backed as the user. > I don't know if this is a catchall, but try it out and let me know if > it works for you. Good luck! Sorry 'bout your hair :) I'm trying your tip right now. I first got a message about mythbackend being unable to access the file /var/video/nfslockfile.lock. That one was trivial, I just did a chmod a+w on that file. Now, when I start mythbackend from Konsole, I get this message: [EMAIL PROTECTED] ~ $ mythbackend 2005-07-29 16:09:21.776 New DB connection, total: 1 Starting up as the master server. 2005-07-29 16:09:21.782 New DB connection, total: 2 Error getting inputs for the capturecard. Perhaps you have forgotten to bind video sources to your card's inputs? 2005-07-29 16:09:21.789 Channel(/dev/v4l/video0): CheckChannel failed. Please verify channel "3" in the "setup" Channel Editor. Starting mythfrontend and try to watch TV now, I get a black screen with the message "1: composite 0" appearing briefly in the upper left corner in large letters. I guess that binding video sources to my card's inputs is easy when you know how to do it, but could you please give me a hint on that one too? -- Leif Biberg Kristensen http://solumslekt.org/ ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] LiveTV bails out after two seconds
I had a similar problem with my MythBox... however I don't know if the situation is similar. My box was able to view live TV after doing the initial run of mythbackend and frontend run as the *user*, however when I set everything up to startup automatically, I would get the same two-second error with LiveTV. Tore my hair out... and so two things have come out of it. 1) I'm bald. 2) Even better, I found a solution. What I ended up doing was actually starting mythbackend and mythfrontend as the user who was going to access the system (mythuser in my case), and I no longer loss LiveTV ability. The socket problem *I believe* is related to the fact that the system is attempting to access the capture device and does not have accesss to it. As far as I know, solutions to this would be to run mythfrontend as SUID root or to run the frontend/backed as the user. I don't know if this is a catchall, but try it out and let me know if it works for you. Good luck! -James -- James D. Fryman A+, Security+, MCSA, MCSE E-Mail: [EMAIL PROTECTED] GnuPG: 0x4222017D Leif B. Kristensen wrote: Hello, I feel that I'm almost there. I have finally got a live TV picture on the screen. Alas, it only lasts for a couple of seconds, then it freezes and after a while I'm back in the main menu. I'm running MythTV on an AMD64 configured as an Athlon-XP. However, I have configured the kernel to use frequency stepping with the new 'conservative' driver, in the Power Management Options -> CPU Frequency Scaling. Here's an excerpt from the kernel documentation (v2.6.12-gentoo-r6): # 'conservative' - this driver is rather similar to the 'ondemand' # governor both in its source code and its purpose, the difference is # its optimisation for better suitability in a battery powered # environment. The frequency is gracefully increased and decreased # rather than jumping to 100% when speed is required. # If you have a desktop machine then you should really be considering # the 'ondemand' governor instead, however if you are using a laptop, # PDA or even an AMD64 based computer (due to the unacceptable # step-by-step latency issues between the minimum and maximum frequency # transitions in the CPU) you will probably want to use this governor. The beauty of this driver approach is of course that the box is _very_ quiet when not working. I'm not quite sure if this is directly related to my problem, because I can force the CPU to spin up with another program, like setting mencoder to transcode a file for about a minute, press Ctrl-C, and immediately start "Watch TV" in Myth. This makes no difference at all. Below is a terminal dump from mythfrontend. I haven't bothered getting LIRC to work yet: [EMAIL PROTECTED] ~ $ mythfrontend 2005-07-29 12:01:20.028 New DB connection, total: 1 Total desktop width=1280, height=1024, numscreens=1 2005-07-29 12:01:20.032 Using screen 0, 1280x1024 at 0,0 2005-07-29 12:01:20.034 mythfrontend version: 0.18.1.20050510-1 www.mythtv.org 2005-07-29 12:01:20.034 Enabled verbose msgs : important general 2005-07-29 12:01:20.165 Switching to square mode (blue) 2005-07-29 12:01:20.610 Registering Internal as a media playback plugin. 2005-07-29 12:01:20.616 Registering MythDVD DVD Media Handler as a media handler 2005-07-29 12:01:20.617 Registering MythDVD VCD Media Handler as a media handler mythtv: could not connect to socket mythtv: Connection refused lirc_init failed for mythtv, see preceding messages 2005-07-29 12:01:20.691 Registering MythMusic Media Handler as a media handler 2005-07-29 12:01:26.024 New DB connection, total: 2 2005-07-29 12:01:26.052 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5) 2005-07-29 12:01:26.060 Using protocol version 15 2005-07-29 12:01:26.087 Using protocol version 15 2005-07-29 12:01:28.472 Opening audio device 'default'. 2005-07-29 12:01:28.487 Using XV port 69 2005-07-29 12:01:28.711 Realtime priority would require SUID as root. 2005-07-29 12:01:28.731 Changing from None to WatchingLiveTV libGL error: open DRM failed (Operation not permitted) libGL error: reverting to (slow) indirect rendering 2005-07-29 12:01:28.734 Video timing method: USleep with busy wait 2005-07-29 12:01:29.504 prebuffering pause 2005-07-29 12:01:48.732 ReadStringList timeout (quick). Remote encoder not responding. 2005-07-29 12:01:48.732 WriteStringList: Bad socket 2005-07-29 12:01:48.732 ReadStringList: Bad socket Remote encoder not responding. 2005-07-29 12:01:48.732 WriteStringList: Bad socket 2005-07-29 12:01:48.732 ReadStringList: Bad socket Remote encoder not responding. ASSERT: "i <= nodes" in /usr/qt/3/include/qvaluelist.h (373) 2005-07-29 12:01:48.737 WriteStringList: Bad socket 2005-07-29 12:01:48.737 ReadStringList: Bad socket Remote encoder not responding. 2005-07-29 12:01:48.802 Changing from WatchingLiveTV to None 2005-07-29 12:01:48.808 Changing from None to None I live in Norway, a PAL country, and
Re: [mythtv-users] LiveTV bails out after two seconds
I have eliminated a couple of problems: > 2005-07-29 12:01:28.711 Realtime priority would require SUID as root. I disabled the "Realtime priority" option in Myth, as suggested in the setup help message, and this error disappeared. > 2005-07-29 12:01:28.731 Changing from None to WatchingLiveTV > libGL error: open DRM failed (Operation not permitted) > libGL error: reverting to (slow) indirect rendering Those two lines reeks of a video driver problem. I tried glxgears, and lo and behold, it displayed exactly the same error. After some googling on my video card, a recycled Matrox G400 and the libgl message, I found an excellent hint here: http://lists.freebsd.org/pipermail/freebsd-stable/2005-January/011157.html After adding the lines Section "DRI" Mode0666 EndSection to my xorg.conf, the libGL error disappeared, and glxgears jumped from 125 to 366 fps. However, I still have no luck with Myth: 2005-07-29 14:22:44.255 New DB connection, total: 1 Total desktop width=1280, height=1024, numscreens=1 2005-07-29 14:22:44.258 Using screen 0, 1280x1024 at 0,0 2005-07-29 14:22:44.260 mythfrontend version: 0.18.1.20050510-1 www.mythtv.org 2005-07-29 14:22:44.260 Enabled verbose msgs : important general 2005-07-29 14:22:44.377 Switching to square mode (blue) mythtv: could not connect to socket mythtv: Connection refused lirc_init failed for mythtv, see preceding messages 2005-07-29 14:22:44.830 Registering Internal as a media playback plugin. 2005-07-29 14:22:44.835 Registering MythDVD DVD Media Handler as a media handler 2005-07-29 14:22:44.836 Registering MythDVD VCD Media Handler as a media handler 2005-07-29 14:22:44.904 Registering MythMusic Media Handler as a media handler 2005-07-29 14:22:50.889 New DB connection, total: 2 2005-07-29 14:22:50.915 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5) 2005-07-29 14:22:50.923 Using protocol version 15 2005-07-29 14:22:50.950 Using protocol version 15 2005-07-29 14:22:51.046 Disable DPMS 2005-07-29 14:22:53.247 Opening audio device 'default'. 2005-07-29 14:22:53.260 Using XV port 69 2005-07-29 14:22:53.499 The realtime priority setting is not enabled. 2005-07-29 14:22:53.507 Changing from None to WatchingLiveTV 2005-07-29 14:22:53.561 Video timing method: DRM 2005-07-29 14:22:54.351 prebuffering pause 2005-07-29 14:23:13.508 ReadStringList timeout (quick). Remote encoder not responding. 2005-07-29 14:23:13.508 WriteStringList: Bad socket 2005-07-29 14:23:13.508 ReadStringList: Bad socket Remote encoder not responding. 2005-07-29 14:23:13.509 WriteStringList: Bad socket 2005-07-29 14:23:13.509 ReadStringList: Bad socket Remote encoder not responding. ASSERT: "i <= nodes" in /usr/qt/3/include/qvaluelist.h (373) 2005-07-29 14:23:13.513 WriteStringList: Bad socket 2005-07-29 14:23:13.513 ReadStringList: Bad socket Remote encoder not responding. 2005-07-29 14:23:13.605 Changing from WatchingLiveTV to None 2005-07-29 14:23:13.617 Changing from None to None 2005-07-29 14:23:13.618 Enable DPMS -- Leif Biberg Kristensen http://solumslekt.org/ ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
[mythtv-users] LiveTV bails out after two seconds
Hello, I feel that I'm almost there. I have finally got a live TV picture on the screen. Alas, it only lasts for a couple of seconds, then it freezes and after a while I'm back in the main menu. I'm running MythTV on an AMD64 configured as an Athlon-XP. However, I have configured the kernel to use frequency stepping with the new 'conservative' driver, in the Power Management Options -> CPU Frequency Scaling. Here's an excerpt from the kernel documentation (v2.6.12-gentoo-r6): # 'conservative' - this driver is rather similar to the 'ondemand' # governor both in its source code and its purpose, the difference is # its optimisation for better suitability in a battery powered # environment. The frequency is gracefully increased and decreased # rather than jumping to 100% when speed is required. # If you have a desktop machine then you should really be considering # the 'ondemand' governor instead, however if you are using a laptop, # PDA or even an AMD64 based computer (due to the unacceptable # step-by-step latency issues between the minimum and maximum frequency # transitions in the CPU) you will probably want to use this governor. The beauty of this driver approach is of course that the box is _very_ quiet when not working. I'm not quite sure if this is directly related to my problem, because I can force the CPU to spin up with another program, like setting mencoder to transcode a file for about a minute, press Ctrl-C, and immediately start "Watch TV" in Myth. This makes no difference at all. Below is a terminal dump from mythfrontend. I haven't bothered getting LIRC to work yet: [EMAIL PROTECTED] ~ $ mythfrontend 2005-07-29 12:01:20.028 New DB connection, total: 1 Total desktop width=1280, height=1024, numscreens=1 2005-07-29 12:01:20.032 Using screen 0, 1280x1024 at 0,0 2005-07-29 12:01:20.034 mythfrontend version: 0.18.1.20050510-1 www.mythtv.org 2005-07-29 12:01:20.034 Enabled verbose msgs : important general 2005-07-29 12:01:20.165 Switching to square mode (blue) 2005-07-29 12:01:20.610 Registering Internal as a media playback plugin. 2005-07-29 12:01:20.616 Registering MythDVD DVD Media Handler as a media handler 2005-07-29 12:01:20.617 Registering MythDVD VCD Media Handler as a media handler mythtv: could not connect to socket mythtv: Connection refused lirc_init failed for mythtv, see preceding messages 2005-07-29 12:01:20.691 Registering MythMusic Media Handler as a media handler 2005-07-29 12:01:26.024 New DB connection, total: 2 2005-07-29 12:01:26.052 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5) 2005-07-29 12:01:26.060 Using protocol version 15 2005-07-29 12:01:26.087 Using protocol version 15 2005-07-29 12:01:28.472 Opening audio device 'default'. 2005-07-29 12:01:28.487 Using XV port 69 2005-07-29 12:01:28.711 Realtime priority would require SUID as root. 2005-07-29 12:01:28.731 Changing from None to WatchingLiveTV libGL error: open DRM failed (Operation not permitted) libGL error: reverting to (slow) indirect rendering 2005-07-29 12:01:28.734 Video timing method: USleep with busy wait 2005-07-29 12:01:29.504 prebuffering pause 2005-07-29 12:01:48.732 ReadStringList timeout (quick). Remote encoder not responding. 2005-07-29 12:01:48.732 WriteStringList: Bad socket 2005-07-29 12:01:48.732 ReadStringList: Bad socket Remote encoder not responding. 2005-07-29 12:01:48.732 WriteStringList: Bad socket 2005-07-29 12:01:48.732 ReadStringList: Bad socket Remote encoder not responding. ASSERT: "i <= nodes" in /usr/qt/3/include/qvaluelist.h (373) 2005-07-29 12:01:48.737 WriteStringList: Bad socket 2005-07-29 12:01:48.737 ReadStringList: Bad socket Remote encoder not responding. 2005-07-29 12:01:48.802 Changing from WatchingLiveTV to None 2005-07-29 12:01:48.808 Changing from None to None I live in Norway, a PAL country, and have altered the Live TV output format to 720x576 per the instructions at http://gentoo-wiki.com/HOWTO_Setup_MythTV>. That doesn't help either. Any hints? -- Leif Biberg Kristensen http://solumslekt.org/ ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users