LinuxMCE Forums

Archive => Archive => MythTV Player Users => Topic started by: archived on November 08, 2005, 03:12:58 am

Title: MythTv - Front end cannot see the Backend !!
Post by: archived on November 08, 2005, 03:12:58 am
Hi,

I have the version 30 of the distro (though I believe auto updates now made it 32 - still not sure how, perhaps apt-get?)

I plugged in the network activated and the scripts I was told to run gave an error (Initial_Setup.sh or something like that), it said the was an error by the ">" in the command......I ran the _REAL.sh version of this install script and it gave many apt-get errors, I ran apt-get update and all was cleaned....

Next I got the DCERouter running and the pluto UI displayed.....

I setup the IP (Hybrid/core combination) in the pluto_Admin to be the ip address of the local DCERouter (for any devicde I could see!!)

Issue is when I choose MythTV "watch TV" it tells me that the
backend server cannot be reaced.

I tried to run mythtv-setup (which sounded promising, but required some Xindows or something (and says unable to load XWindows) or something similar....but if I run startx the pluto interface continues to sent things to us...

Can you please help......I beieve I am not setup correctly - I run the mythtvfilldatabase command (as a last resort) just to be told I dont have any cards confgure and "have I read the docs..."

help...as I donlt know if V32 off the kickstart has a more reliable script or not....

Thanks
Title: MythTv - Front end cannot see the Backend !!
Post by: archived on November 08, 2005, 11:54:39 am
Please note that the installation scripts are bash scripts and sh will give you a bunch of syntax errors.

I'll try to play with MythTV today and see what I can find out.
Title: MythTv - Front end cannot see the Backend !!
Post by: archived on November 09, 2005, 08:01:41 am
OK My Bad, Linux inexperience I guess....ok I reran using "/bin/bash" and the script seemed to run fine.....asked me for the username and password and asked if I wanted hybrid (I said yes)....It then asked if I wanted DHCP..I said yes.....consequentially I went back and changed ny Interfaces file to be a dhcp setup (manually).

The script does not reboot automatically and post reboot I get DHCP errors and then the DCERouter process "Not responding on socket. Probably dead" on restart.

XWindows tries to kick off but just sits there and does not load the Pluto UI.

It's a general mess now and I am not sure If I shold not just reinstall....any ideas ?

Thanks
Title: MythTv - Front end cannot see the Backend !!
Post by: archived on November 09, 2005, 10:50:36 am
I tried to set the IP address for all DECRouter items to a static IP address as the DHCP does not seem to want to come up, then I rebooted and now get a hang on the "Restarting OpenBSD Secure Shell server: sshd." that seems to be part of tht /usr/pluto/bin/SSH_Keys.sh script

Now I am completely lost on this and thinking about a rebuild...no issues but for the fact that my NVidia Card 6600 XT is not found by initial Pluto install and I am using the Nvidia linux drivers to get LAN working.....

Anyhow, let me know if I can save this install or if it;s best to rebuild.

Thanks
Title: MythTv - Front end cannot see the Backend !!
Post by: archived on November 09, 2005, 12:14:34 pm
There's always a way to save anything, but it may take a lot of time if you go that path. The reinstall is the easiest way out. The 2.0.0.32 CD should actually see your nVidia LAN card, although for the GeForce you'll have to tell it manually about it after you install.
Title: MythTv - Front end cannot see the Backend !!
Post by: archived on November 10, 2005, 01:14:05 am
Quote from: "radu.c"
There's always a way to save anything, but it may take a lot of time if you go that path. The reinstall is the easiest way out. The 2.0.0.32 CD should actually see your nVidia LAN card, although for the GeForce you'll have to tell it manually about it after you install.


I reinstalled with the 32 distribution and sure enough it picks up the Network card. Unfortunately the setup query for the DHCP (y/n) does not work....

The initial config in my case gets stopped because I have a firewirecard defaulting to eth0 and your scripts are also eth0 for the normal net card interface.....

I tried settng this to be the ip address in the interface file but could only manage to get static IP working......for some reason some part of the script sets the IP for lota of initial config to be the 192.168.80.1 (which looks like a DHCP generated address, but I;m not sure how)

Anyhow I brought the net up under a static address 192.168.0.40 and can ping external ips and the router.....I ran Myth setup (a new optionin the \computer section of the setup I never had before and changed this to be the static ip) - I then ran the tv and still get the same "Can't" connect to backend server error" - I even changed the IP on all of the devices in pluto admin...but still no go....

Then I tried to set the Interface back to use dhcp but got the failure attempts to "DHCPDISCOVER" on eth1 to 255.255.255.255 port 67 interval 11 - No DHCP Offers received- No working leases in persistent database - Exiting - Failed to bring up et1:

So I guess this is another cry for help to anyone who can help ne get the Myth Frontend to talk to the backend.

Thanks
Title: MythTv - Front end cannot see the Backend !!
Post by: archived on November 10, 2005, 05:50:24 am
I was also posting here, http://plutohome.com/support/phpbb2/viewtopic.php?t=437, I've been having trouble with the internal network and MythTV.  I finally figured out the network problem with the VIA chip (on an ABIT KV-80 motherboard).

When the system boots, it shows eth0 as my external network, Firewire as eth1, and my GbE port as Eth2.  Between /usr/pluto/bin/Network_Parameters.sh and /usr/pluto/bin/Network_Setup.sh, the startup scripts simply count the number of network interfaces and assumes they are numbered sequentially rather than parsing out the actual interface numbers.  The script then overwrites /etc/network/interfaces with the incorrect setup, and the internal network fails because it is assigned to eth1.  As a quick but very dirty fix, I just edited Network_Setup.sh for IntIf=2 just prior to writing /etc/network/interfaces and everything now works.  I would guess this would be the same reason the quickstart CD failed on network autoconfig for me.

Now that I'm up and running, MythTV still reports no backend.

-TM
Title: MythTv - Front end cannot see the Backend !!
Post by: archived on November 10, 2005, 12:34:33 pm
Quote from: "flowflow2"
I reinstalled with the 32 distribution and sure enough it picks up the Network card. Unfortunately the setup query for the DHCP (y/n) does not work....
Please describe this "does not work" idea.

Quote from: "flowflow2"
The initial config in my case gets stopped because I have a firewirecard defaulting to eth0 and your scripts are also eth0 for the normal net card interface.....
Argh! I hate when firewire gets eth0 after reboot. It always seems to happen like this for any add-on cards, not just firewire: add-on cards get detected 1st and they mess up the whole thing.

Quote from: "flowflow2"
I tried settng this to be the ip address in the interface file but could only manage to get static IP working......for some reason some part of the script sets the IP for lota of initial config to be the 192.168.80.1 (which looks like a DHCP generated address, but I;m not sure how)
This is the scenario on what I think happened:

The CD installer detected the network cards, but didn't care about the firewire card, so your network cards got named eth0 and eth1. After reboot, the firewire card's drivers got loaded 1st, making it eth0, and the network cards got named eth1 and eth2. There's also a possibility that the installer saw your firewire as eth2, but I don't think this is the case (at least I don't understand that to be the case from what you're saying).

192.168.80.1 is the IP given to the internal network adapter.

Quote from: "flowflow2"
Anyhow I brought the net up under a static address 192.168.0.40 and can ping external ips and the router.....


Quote from: "flowflow2"
I ran Myth setup (a new optionin the \computer section of the setup I never had before and changed this to be the static ip) - I then ran the tv and still get the same "Can't" connect to backend server error" - I even changed the IP on all of the devices in pluto admin...but still no go....
Again, MythTV is not my field of expertise. I'm as puzzled about this as you are.

Quote from: "flowflow2"
Then I tried to set the Interface back to use dhcp but got the failure attempts to "DHCPDISCOVER" on eth1 to 255.255.255.255 port 67 interval 11 - No DHCP Offers received- No working leases in persistent database - Exiting - Failed to bring up et1:
This means you don't have a DHCP server (outside your core) to give your Core an IP address. Assign 192.168.80.1 to eth2 (which seems to be the other network card now).

Quote from: "flowflow2"
So I guess this is another cry for help to anyone who can help ne get the Myth Frontend to talk to the backend.
Title: MythTv - Front end cannot see the Backend !!
Post by: archived on November 14, 2005, 02:54:25 am
Quote from: "radu.c"
Quote from: "flowflow2"
I reinstalled with the 32 distribution and sure enough it picks up the Network card. Unfortunately the setup query for the DHCP (y/n) does not work....
Please describe this "does not work" idea.

Quote from: "flowflow2"
The initial config in my case gets stopped because I have a firewirecard defaulting to eth0 and your scripts are also eth0 for the normal net card interface.....
Argh! I hate when firewire gets eth0 after reboot. It always seems to happen like this for any add-on cards, not just firewire: add-on cards get detected 1st and they mess up the whole thing.

ok Firewire is getting eth0:0.....not sure wy but even a swap to have the myth setup use the eth1=192.168.0.40 does not cut it.....I changed in the myt0setup and on the client setup for reference....though it appears that these setting s get refreshed upon reboot back to the 192.168.80.1 I believe.....This is a seperate subnet to my router from what I believe and so cant talk ..... does this make sense ?

Quote from: "flowflow2"
I tried settng this to be the ip address in the interface file but could only manage to get static IP working......for some reason some part of the script sets the IP for lota of initial config to be the 192.168.80.1 (which looks like a DHCP generated address, but I;m not sure how)
This is the scenario on what I think happened:

I remember being warned that if I did not select DHCP I would regret it ;)
So I did but went back to sttic IP - 192.168.0.40 ;)

The CD installer detected the network cards, but didn't care about the firewire card, so your network cards got named eth0 and eth1. After reboot, the firewire card's drivers got loaded 1st, making it eth0, and the network cards got named eth1 and eth2. There's also a possibility that the installer saw your firewire as eth2, but I don't think this is the case (at least I don't understand that to be the case from what you're saying).

I have no eth2 - the main network is eth1

192.168.80.1 is the IP given to the internal network adapter.

Quote from: "flowflow2"
Anyhow I brought the net up under a static address 192.168.0.40 and can ping external ips and the router.....


Quote from: "flowflow2"
I ran Myth setup (a new optionin the \computer section of the setup I never had before and changed this to be the static ip) - I then ran the tv and still get the same "Can't" connect to backend server error" - I even changed the IP on all of the devices in pluto admin...but still no go....
Again, MythTV is not my field of expertise. I'm as puzzled about this as you are.

Quote from: "flowflow2"
Then I tried to set the Interface back to use dhcp but got the failure attempts to "DHCPDISCOVER" on eth1 to 255.255.255.255 port 67 interval 11 - No DHCP Offers received- No working leases in persistent database - Exiting - Failed to bring up et1:
This means you don't have a DHCP server (outside your core) to give your Core an IP address. Assign 192.168.80.1 to eth2 (which seems to be the other network card now).

Quote from: "flowflow2"
So I guess this is another cry for help to anyone who can help ne get the Myth Frontend to talk to the backend.


Any other luck on this ...are any other users having this issue ?

FWIW I got Audio CD working on Pluto (via Play Disc) - small mercies, but on a dvd insert the play disc went black on screen and then back to the Pluto Main screen ;( ... any hints here ?
Title: MythTv - Front end cannot see the Backend !!
Post by: archived on November 14, 2005, 10:39:33 am
Quote
FWIW I got Audio CD working on Pluto (via Play Disc) - small mercies, but on a dvd insert the play disc went black on screen and then back to the Pluto Main screen ;( ... any hints here ?


i think you need to install libdvdcss package.
see http://www.geocities.com/medencid/ for more info

Dan
Title: mythtv backend server connection
Post by: archived on November 20, 2005, 04:40:50 pm
OK, now I am at least getting somewhere....

I have audio (CDs and disk files) and DVD (from a physical DVD) working with Name recognition etc.....but have 2 issues...

(1) The same IP issue where when I choose to watch TV I get the error that backend cannot be found and to check if it is running....

"Could not connect to the Master Backend Server..Is it running...Is the Ip address set for it in the setup program correct"

I tried to pull any code youhave relaed to mythtv from the SVN TRUNK folder but this just looks like you are wrapping Myth.....I need to get the code to see where this infinately boring error is comming from......I have run out of options here...currently I have changed all settings to "localhost", "127.0.0.1", my IP address of "192.168.0.40", "dcerouter" etc..etc..etc...but I still get the same errors.......I tried the hack mentioned onthe web bysetting the hostbname to be "null" in the mysql settings table but this also did not work.....

One thing I did see in the Pluto Admin Network settings is that DHCP is checked and everytime I uncheck it seems to reconfigure itself to be on again....also what is the "Internal Network Card....I only have one configured in my "Interfaces" file...or so I believe??

I have both external and internal set to be the static 192.168.0.40 IP address as I know my card takes this address...and I can get to this from Mysql from a seperate laptop etc...

So the only thing for it is to rip open the code and see what the hell this is trying to do....

not being up on mysql, is there a tool that I can profile what MythTV is trying to do to the database, so I can see what the player is trying to connect to ?

OK then the other issue is images...I placed some .jps files in the pictures folder and they appear but when I select one from the pluto interface I get am error message:

"I cannot play this media. Perhaps there is not a valid device in this entertainment area capable of playing it." ??
Title: MythTv - Front end cannot see the Backend !!
Post by: archived on November 21, 2005, 12:07:03 pm
regarding pictures ... we don't have a handler for pictures, so they appear on pictures filelist but you can't see them in bigger format. it's not complicated to do that, but we have a big list with todo's.

Quote
One thing I did see in the Pluto Admin Network settings is that DHCP is checked and everytime I uncheck it seems to reconfigure itself to be on again

i've ask someone to look at this
Title: Re: mythtv backend server connection
Post by: archived on November 21, 2005, 01:13:00 pm
Quote from: "flowflow2"

One thing I did see in the Pluto Admin Network settings is that DHCP is checked and everytime I uncheck it seems to reconfigure itself to be on again....also what is the "Internal Network Card....I only have one configured in my "Interfaces" file...or so I believe??

We had a bug in Device Data management who display DHCP checked, although the records was empty, it's fixed now.
Title: MythTv - Front end cannot see the Backend !!
Post by: archived on November 27, 2005, 10:11:51 pm
Quote from: "dan.g"
regarding pictures ... we don't have a handler for pictures, so they appear on pictures filelist but you can't see them in bigger format. it's not complicated to do that, but we have a big list with todo's.


This may sound silly, but why have an interface for images if you cannot show them .... ?

I also tried some .mpeg types and was successful to some extent.....what are there a supported set of media files pluto support ? I'm actually amazed that images is not one of the first things on your list given the popularity of digital cameras.......

But at least I got my dvd drive to list at last via manual mounting (took me a bit to find the device!) though the FSTAB entry for cdrom and even my own entry for "/dev/dvdrw /media/dvdrw" won't stick following a reboot......

I am willing to put effort into this as I see some results, but wow it's eating my time and I srill have to crack this MythTv foolishness.....I presume its a front end myth issues as it cannot find the backend..but I have no front end log file showing and when I try and run it manually I get a "mythfrontend: cannot connect to xserver" error message....same for all other apps I try and run....whats the secret to getting another gui to run on xserver under pluto (well I'm new to linux but would love to see how I should be doing this)....all the forums that say how to debug mythtv use these methods to kisk off the mythtvfrontend...any help ?


Quote
One thing I did see in the Pluto Admin Network settings is that DHCP is checked and everytime I uncheck it seems to reconfigure itself to be on again

Quote
i've ask someone to look at this


I'll try the 33 version as soon as I can to see if this gets fixed...Thanks
Title: Re: mythtv backend server connection
Post by: archived on November 28, 2005, 07:35:23 am
Quote from: "flowflow2"
....

(1) The same IP issue where when I choose to watch TV I get the error that backend cannot be found and to check if it is running....

"Could not connect to the Master Backend Server..Is it running...Is the Ip address set for it in the setup program correct"

I tried to pull any code youhave relaed to mythtv from the SVN TRUNK folder but this just looks like you are wrapping Myth.....I need to get the code to see where this infinately boring error is comming from......I have run out of options here...currently I have changed all settings to "localhost", "127.0.0.1", my IP address of "192.168.0.40", "dcerouter" etc..etc..etc...but I still get the same errors.......I tried the hack mentioned onthe web bysetting the hostbname to be "null" in the mysql settings table but this also did not work.....

.....


Hi,

after some time I'm trying to get mythtv to work, but I'm seeing similar problems as you do. My mythtv setup used to work, but on last few upgrades I quit maintaining it, cause eacg upgrade erased my cards and other settings... I also added diskless MD on Asus Digimatrix, that I couldn't figure right settings for tuner, so didn't know what was cause of my non working mythtv setup.

Now I'm trying to get back into working state, but see similar problems... I've erased all settings on Digimatrix, and tried to setup core for scratch, but now I'm seeing same error. Now I don't know if there is something I fixed in my previous setups...

Anyone with working Mythtv setup? Please give us more info about settings ?

BTW,

one little step further in debugging could be killing mythbackend instances and run your own, with verbose options - in this way you could see what's going on in backend.... Another possibility is to run mythfrontend manually (you have to export DISPLAY variable to bind to X)... I'll try to do the same when I'll have time...

I still like mythtv very much - I've used it in non-Pluto setup for over a year without single problem (although I didn't used it for Live TV - I just recently found a lot of discussion on PVRs, mythtv and their use. One user said :
Quote
...if I need to watch live TV over PVR device, then something is wrong with my improper use of PVR. My real duty is just to review/delet recordings that are being made automatically. Who has time to sit bored in front of TV and surf channels ?


I agree with that - my experience showed just that. Also, with Live TV, switching channels looses your timeshift buffer...

HTH,

regards,

Rob.
Title: Re: mythtv backend server connection
Post by: archived on November 29, 2005, 02:41:08 am
Quote from: "tinia"
Quote from: "flowflow2"
....

(1) The same IP issue where when I choose to watch TV I get the error that backend cannot be found and to check if it is running....

"Could not connect to the Master Backend Server..Is it running...Is the Ip address set for it in the setup program correct"

I tried to pull any code youhave relaed to mythtv from the SVN TRUNK folder but this just looks like you are wrapping Myth.....I need to get the code to see where this infinately boring error is comming from......I have run out of options here...currently I have changed all settings to "localhost", "127.0.0.1", my IP address of "192.168.0.40", "dcerouter" etc..etc..etc...but I still get the same errors.......I tried the hack mentioned onthe web bysetting the hostbname to be "null" in the mysql settings table but this also did not work.....

.....


Hi,

after some time I'm trying to get mythtv to work, but I'm seeing similar problems as you do. My mythtv setup used to work, but on last few upgrades I quit maintaining it, cause eacg upgrade erased my cards and other settings... I also added diskless MD on Asus Digimatrix, that I couldn't figure right settings for tuner, so didn't know what was cause of my non working mythtv setup.

Now I'm trying to get back into working state, but see similar problems... I've erased all settings on Digimatrix, and tried to setup core for scratch, but now I'm seeing same error. Now I don't know if there is something I fixed in my previous setups...

Anyone with working Mythtv setup? Please give us more info about settings ?

BTW,

one little step further in debugging could be killing mythbackend instances and run your own, with verbose options - in this way you could see what's going on in backend.... Another possibility is to run mythfrontend manually (you have to export DISPLAY variable to bind to X)... I'll try to do the same when I'll have time...

I still like mythtv very much - I've used it in non-Pluto setup for over a year without single problem (although I didn't used it for Live TV - I just recently found a lot of discussion on PVRs, mythtv and their use. One user said :
Quote
...if I need to watch live TV over PVR device, then something is wrong with my improper use of PVR. My real duty is just to review/delet recordings that are being made automatically. Who has time to sit bored in front of TV and surf channels ?


I agree with that - my experience showed just that. Also, with Live TV, switching channels looses your timeshift buffer...

HTH,

regards,

Rob.


ok to continue the saga.....some updates and wild attempts.....

(1) Installed KDE on the hybrid/core so I did not have to constantly watch the script overtake my cmd line session (i.e. I have to keep terminating xwindows with Ctrl + Alt + Backspace to return for 5 mins before pluto kicks off some shell to throw me back again.....(can I temp suspend this?)

(2) KDE Installed and I messed with resolutions as the initial install for pluto seemed to leave quiet a lot of refresh flicker......I believe 640X40 (61 hrz refresh did it) - also allowed me to have a browser I can swap to and from (unlike the Pluto Admin page)

(3) I tried MythBackend in verbose mode - made no difference.....still gets to "housekeeping thread..." and sits tere....

(4) Noticed that "ps-ef|grep Myth" brought me back a "MythTV_Player" daemon running from a pluto script set to 127.0.0.1 - I have no idea where it gets this as I have all MythTV setup to be 192.168.x.x addresses.

(5) Running "TV" option from Pluto now (post KDE install) leave just the background image from the FrontEnd and no Initial buttons for selection !! - Bummer, just as I thought it could not get worse! ;-(

Also I got the code forthis error and the SQL is looking for :

    QString server = gContext->GetSetting("MasterServerIP", "localhost");
    int port = gContext->GetNumSetting("MasterServerPort", 6543);

The second params being the defaults if none found for params sent in....I checked the logs in the /home/log/pluto and the frontend server gives a xmltv error "SkyTV.xmltv not found" (or something simular) and then a "socket error" but I did se a log beore showing it using the correct "192" address....and the backend server still shows nothing unusual...

for those who are curious the "NULL" hostname fix for the hostname in the setting table in the mythconverg database is coded into the IP address selection (i.e. if sql call cant find the hostname you set (in params) it looks for any hostname set to null and uses this one from the settings table in the mythconverg database where the required value is "MasterServerIP" (just for those on a wild goose chace like me and don't want to get bogged down loking into code!)

ok enough ramblings....anyone ideas..please let me know...againexcuse the lack of Linux experience (or pluto for that matter)....

one thought is that when I tried Xine in KDE it looks nothing like the music player in Pluto....have I missed configuring this in pluto somewhere ?
(pluto interface is minimal to say the least)

Thanks again and Pluto guys - keep up the good work...I might yet get this all working ;-)
Title: MythTv - Front end cannot see the Backend !!
Post by: archived on December 05, 2005, 09:50:58 am
OK, following days of messing with every IP Setting this post:

http://plutohome.com/support/phpbb2/viewtopic.php?t=490&highlight=backend

finally got an answer for me...the ports are setup incorrectly......I just made both the same on the second page of the myth server setup (The higher number) and the system seems to talk to each other.......

No all I have to do is get the Capture card to work now...seems the 15 second timeout for a response exdpires for me .....

"Cannot enable VBI Recording vbi: Invalid Arguement"

Now the chase begins again.......

Any help would be great..

John.
Title: MythTv - Front end cannot see the Backend !!
Post by: archived on December 05, 2005, 02:50:51 pm
Quote from: "flowflow2"
OK, following days of messing with every IP Setting this post:

http://plutohome.com/support/phpbb2/viewtopic.php?t=490&highlight=backend

finally got an answer for me...the ports are setup incorrectly......I just made both the same on the second page of the myth server setup (The higher number) and the system seems to talk to each other.......

...

John.

Hi, could you please give more info on how to setup myth frontend backend combo  properly ?

I also have slave backend on MD and it doesn't work... Anyone with such experience ?

Thanks in advance,

regards,

Rob.
Title: MythTv - Front end cannot see the Backend !!
Post by: archived on December 07, 2005, 01:58:18 pm
Quote from: "tinia"
Quote from: "flowflow2"
OK, following days of messing with every IP Setting this post:

http://plutohome.com/support/phpbb2/viewtopic.php?t=490&highlight=backend

finally got an answer for me...the ports are setup incorrectly......I just made both the same on the second page of the myth server setup (The higher number) and the system seems to talk to each other.......

...

John.

Hi, could you please give more info on how to setup myth frontend backend combo  properly ?

I also have slave backend on MD and it doesn't work... Anyone with such experience ?

Thanks in advance,

regards,

Rob.


All I did was make sure the 2 IP ports referenced in the second screen of the Server side config were the same.....not sure if it matters which one you synch to (5432) or something....

Again I only got rid of the "Cannot connect to backend" error..but now I need to fix my Tuner card....my bootup shows the PVR 500 being initialized and also being recognized (both tuners) but yet the error I describe above then occurs - which seems to be a Capture card error (it says "cannot talk to capture card after 15 seconds" or something like that in the server logs....

Any help on this would be great if you ever got this working....thing is I am not sure if I can actually test the card outside of mythtv/pluto to see if it is working ?
Title: MythTv - Front end cannot see the Backend !!
Post by: archived on December 09, 2005, 09:49:51 am
Quote from: "anonymous"
Quote from: "tinia"
Quote from: "flowflow2"
OK, following days of messing with every IP Setting this post:

http://plutohome.com/support/phpbb2/viewtopic.php?t=490&highlight=backend

finally got an answer for me...the ports are setup incorrectly......I just made both the same on the second page of the myth server setup (The higher number) and the system seems to talk to each other.......

...

John.

Hi, could you please give more info on how to setup myth frontend backend combo  properly ?

I also have slave backend on MD and it doesn't work... Anyone with such experience ?

Thanks in advance,

regards,

Rob.


All I did was make sure the 2 IP ports referenced in the second screen of the Server side config were the same.....not sure if it matters which one you synch to (5432) or something....

Again I only got rid of the "Cannot connect to backend" error..but now I need to fix my Tuner card....my bootup shows the PVR 500 being initialized and also being recognized (both tuners) but yet the error I describe above then occurs - which seems to be a Capture card error (it says "cannot talk to capture card after 15 seconds" or something like that in the server logs....

Any help on this would be great if you ever got this working....thing is I am not sure if I can actually test the card outside of mythtv/pluto to see if it is working ?



OK the VBI error was due to my having PAL + Teletext setup, I changed to just PAL and that error went away ... now it just says that the capture card could not be contacted within 15 seconds....

Pluto guys, Can you give me some details about the ivtv drivers that come with version xxx34. I want to know how I can test if I have the right version etc....(I have seen posts about duplicate eeprom drivers, duplicate ivtv drivers etc....what files (sizes and dates should we have in the /lib/modules folder and what should be retyrned when I do a "lsmod |grep tv" (or similar). My DMegs shows the PVR500 I have initializing fine....but what version of the firmware does pluto install if any ?

Thanks guys.
Title: Firmware location
Post by: archived on December 09, 2005, 04:37:49 pm
Hello,

I do not have the PVR500 but according to the offical website the firmware is different for the PVR500.  

http://ivtvdriver.org/index.php/Firmware


Quote
The recommended firmware versions are:
[edit]
0.3.9+ drivers

    Encoder: 0x02050032, md5sum d85cb08382395390dc95ac6ebc2205f9
    Decoder: 0x02020023, md5sum 305dba74bbe5905447add8883f3ecb68
    Available from: ftp://ftp.shspvr.com/download/wintv-pvr_250-350/inf/pvr_1.18.21.22254_inf.zip
    Encoder: 0x02050032, md5sum 5f5fa240ada73c3565f5f7de4c7b5138
    Audio: md5sum 3a4803384f749d644ee1f1ca9dcb12fa
    Available from: ftp://ftp.shspvr.com/download/wintv-pvr_150-500/inf/pvr_2.0.24.23035.zip

Note that both Encoder firmware files contain exactly the same firmware. The encoder firmware from pvr_2.0.24.23035.zip is larger, but the extra size is zeropadding and is ignored by the ivtv driver.


You can try to verify that your card is actually supported here.
http://ivtvdriver.org/index.php/Supported_hardware

I would also try the following to actually confirm that the card is capturing video


Code: [Select]
cat /dev/video0 > test.mpg
cat /dev/video1 > test1.mpg

Then try and play the files in mplayer or xine

Try this and see

Rob
Title: MythTv - Front end cannot see the Backend !!
Post by: archived on December 19, 2005, 12:43:09 am
OK the saga continues......

I finally got the MythFrontend to talk to the MythBackend and got the MythFrontend to be able to display what looks like an untuned TV screen on my tV. I can choose vewing options, pause and even use the browse program option which shows the osd for what is on the channels.....BUT....

...still no picture......When I try to choose the program guide I get a segmentation fault and the folowing error list from the MythFrontend:

Code: [Select]
2005-12-19 00:28:33.415 New DB connection, total: 1
Total desktop width=800, height=600, numscreens=1
2005-12-19 00:28:33.439 Using screen 0, 800x600 at 0,0
2005-12-19 00:28:33.462 mythfrontend version: 0.18.20050409-1 www.mythtv.org
2005-12-19 00:28:33.462 Enabled verbose msgs : important general
2005-12-19 00:28:33.711 Switching to square mode (G.A.N.T.)
mythtv: could not connect to socket
mythtv: No such file or directory
lirc_init failed for mythtv, see preceding messages
2005-12-19 00:28:33.860 Joystick disabled.
2005-12-19 00:28:33.908 Registering Internal as a media playback plugin.
2005-12-19 00:28:33.917 Mediamonitor: Adding /dev/hda
2005-12-19 00:28:33.934 Mediamonitor: Adding /dev/dvdrw
2005-12-19 00:28:33.951 Starting media monitor.
2005-12-19 00:28:34.049 Media status changed...  New status is: MEDIASTAT_OPEN old status was MEDIASTAT_NOTMOUNTED
2005-12-19 00:28:34.218 Media status changed...  New status is: MEDIASTAT_OPEN old status was MEDIASTAT_NOTMOUNTED
2005-12-19 00:28:36.121 New DB connection, total: 2
2005-12-19 00:28:36.144 Connecting to backend server: 192.168.0.40:6143 (try 1 of 5)
2005-12-19 00:28:36.159 Using protocol version 15
2005-12-19 00:28:36.223 Using protocol version 15
2005-12-19 00:28:38.164 Opening audio device '/dev/dsp'.
2005-12-19 00:28:38.164 Opening OSS audio device '/dev/dsp'.
***
* Couldn't find Xv support, falling back to non-Xv mode.
* MythTV performance will be much slower since color
* conversion and scaling will be done in software.
* Consider upgrading your video card or X server if
* you would like better performance.
X Error: XvBadPort 153
  Major opcode:  142
  Minor opcode:  15
  Resource id:  0xffffffff
X Error: XvBadPort 153
  Major opcode:  142
  Minor opcode:  14
  Resource id:  0xffffffff
2005-12-19 00:28:38.187 Couldn't get the color key color, and we need it.
You likely won't get any video.
2005-12-19 00:28:38.343 Using realtime priority.
2005-12-19 00:28:38.366 Video timing method: RTC
2005-12-19 00:28:38.379 Changing from None to WatchingLiveTV
Segmentation fault (core dumped)


I did a lot of digging to see what the Xv support meant and saw something about the 6600 NVidia card not having overlay on the chip anymore, I also  saw the NV driver (installed by Pluto) won't support Xv !! I also saw that then when I tried to install the nvidia linux display driver that it could not install due to :

Code: [Select]
Your kernel was configured to include rivafb support!

The rivafb driver conflicts with the NVIDIA driver, please
reconfigure your kernel and *disable* rivafb support, then
try installing the NVIDIA kernel module again.

*** Failed rivafb sanity check. Bailing out! ***


OK so now I am really at the end of my rope with this installation.......I see so many posts on simple installs for Knopix Myth and others (Even Pluto).... Have I really just purchased the hardware from hell ? Can it really be this difficult ?

- Again running off the linux box under firefox and so no login for thes group and seen as Guest!

Help - and Thanks

<FlowFlow2>
Title: MythTv - Front end cannot see the Backend !!
Post by: archived on March 05, 2006, 03:16:11 pm
Quote from: "anonymous"
OK the saga continues......

I finally got the MythFrontend to talk to the MythBackend and got the MythFrontend to be able to display what looks like an untuned TV screen on my tV. I can choose vewing options, pause and even use the browse program option which shows the osd for what is on the channels.....BUT....

...still no picture......When I try to choose the program guide I get a segmentation fault and the folowing error list from the MythFrontend:

Code: [Select]
2005-12-19 00:28:33.415 New DB connection, total: 1
Total desktop width=800, height=600, numscreens=1
2005-12-19 00:28:33.439 Using screen 0, 800x600 at 0,0
2005-12-19 00:28:33.462 mythfrontend version: 0.18.20050409-1 www.mythtv.org
2005-12-19 00:28:33.462 Enabled verbose msgs : important general
2005-12-19 00:28:33.711 Switching to square mode (G.A.N.T.)
mythtv: could not connect to socket
mythtv: No such file or directory
lirc_init failed for mythtv, see preceding messages
2005-12-19 00:28:33.860 Joystick disabled.
2005-12-19 00:28:33.908 Registering Internal as a media playback plugin.
2005-12-19 00:28:33.917 Mediamonitor: Adding /dev/hda
2005-12-19 00:28:33.934 Mediamonitor: Adding /dev/dvdrw
2005-12-19 00:28:33.951 Starting media monitor.
2005-12-19 00:28:34.049 Media status changed...  New status is: MEDIASTAT_OPEN old status was MEDIASTAT_NOTMOUNTED
2005-12-19 00:28:34.218 Media status changed...  New status is: MEDIASTAT_OPEN old status was MEDIASTAT_NOTMOUNTED
2005-12-19 00:28:36.121 New DB connection, total: 2
2005-12-19 00:28:36.144 Connecting to backend server: 192.168.0.40:6143 (try 1 of 5)
2005-12-19 00:28:36.159 Using protocol version 15
2005-12-19 00:28:36.223 Using protocol version 15
2005-12-19 00:28:38.164 Opening audio device '/dev/dsp'.
2005-12-19 00:28:38.164 Opening OSS audio device '/dev/dsp'.
***
* Couldn't find Xv support, falling back to non-Xv mode.
* MythTV performance will be much slower since color
* conversion and scaling will be done in software.
* Consider upgrading your video card or X server if
* you would like better performance.
X Error: XvBadPort 153
  Major opcode:  142
  Minor opcode:  15
  Resource id:  0xffffffff
X Error: XvBadPort 153
  Major opcode:  142
  Minor opcode:  14
  Resource id:  0xffffffff
2005-12-19 00:28:38.187 Couldn't get the color key color, and we need it.
You likely won't get any video.
2005-12-19 00:28:38.343 Using realtime priority.
2005-12-19 00:28:38.366 Video timing method: RTC
2005-12-19 00:28:38.379 Changing from None to WatchingLiveTV
Segmentation fault (core dumped)


I did a lot of digging to see what the Xv support meant and saw something about the 6600 NVidia card not having overlay on the chip anymore, I also  saw the NV driver (installed by Pluto) won't support Xv !! I also saw that then when I tried to install the nvidia linux display driver that it could not install due to :

Code: [Select]
Your kernel was configured to include rivafb support!

The rivafb driver conflicts with the NVIDIA driver, please
reconfigure your kernel and *disable* rivafb support, then
try installing the NVIDIA kernel module again.

*** Failed rivafb sanity check. Bailing out! ***


OK so now I am really at the end of my rope with this installation.......I see so many posts on simple installs for Knopix Myth and others (Even Pluto).... Have I really just purchased the hardware from hell ? Can it really be this difficult ?

- Again running off the linux box under firefox and so no login for thes group and seen as Guest!

Help - and Thanks

<FlowFlow2>




OK...after months of tinkering, I finally now have MythTv working .... what a chore...... Nice job Pluto guys with the include of the IVTV drivers, that did help somewhat in getting the final picture working......After many other issues the  final issue was actually hardware - a loose PVR500 card (who would have though!! - Was easy to find in the end ... "dmesg" showed the IVTV start and end comments right after each other with no content in between...........must have come loose during my attempts to tune with different sources....

Thanks again for all the help guys.....

Some notes to help others.....

I was scheduling and no recordings were working and thus the entry would go into the Record database but no video could be found when I went to play it....I believe this was due to the incorrect PAL version set on the cards, or the fact that I had not chosen the DVD-2 format....once I chose the DVD-2 format and chose PAL-I (for Ireland) then the scheduler all worked like a treat.....it really is great (even working from a Rabitt ears antenna!!)

The wrong recording formats cause the video entries in the "recorder media" menu option to work really slow when you try and access the bad recordings.......My guess is it is a timeout trying to find the media....my solution was a direct delete of all from the "recorded" and "recordedprogram" table entries...then you need to clean up the actual files/bad files if any in your shows folder........once I did that the "media recorded" menus were back to fast response for all "correct format recorded" media....

hope this is useful to someone.... ;-) Great community the pluto has here...keep it up and I will surely help those that need it...

Now on to Asterix!! ;-O

FlowFlow2