Author Topic: Mythtv frontend won't load  (Read 7640 times)

ckerkhoff

  • Regular Poster
  • **
  • Posts: 34
    • View Profile
Mythtv frontend won't load
« on: July 11, 2009, 09:49:37 pm »
I'm using 810 and when I try to watch some tv through linuxmce the frontend for linuxmce doesn't load and it goes into the mythtv gant menu. After about half a minute after it reaches the gant menu it will flash a screen saying that mythtv is having problems and goes back to the flickr slideshow.

The contents of spawn_mythfrontend_23861.log are below and give some clue, but I'm having a hard time trying to figure this out.

Code: [Select]
2009-07-11 14:21:32.236 Using runtime prefix = /usr
2009-07-11 14:21:33.311 DPMS is disabled.
2009-07-11 14:21:33.312 Empty LocalHostName.
2009-07-11 14:21:33.312 Using localhost value of dcerouter
2009-07-11 14:21:33.330 New DB connection, total: 1
2009-07-11 14:21:33.340 Connected to database 'mythconverg' at host: localhost
2009-07-11 14:21:33.343 Closing DB connection named 'DBManager0'
2009-07-11 14:21:33.347 Primary screen 0.
2009-07-11 14:21:33.349 Connected to database 'mythconverg' at host: localhost
2009-07-11 14:21:33.351 Using screen 0, 1920x1080 at 0,0
2009-07-11 14:21:33.395 Overriding GUI, width=1920, height=1080 at 0,0
2009-07-11 14:21:33.395 Setting 'RunFrontendInWindow' being forced to '1'
2009-07-11 14:21:33.399 New DB connection, total: 2
2009-07-11 14:21:33.400 Connected to database 'mythconverg' at host: localhost
2009-07-11 14:21:33.403 mythfrontend version: 0.21.20080304-1 www.mythtv.org
2009-07-11 14:21:33.404 Enabled verbose msgs:  important general
2009-07-11 14:21:34.060 No theme dir: /root/.mythtv/themes/G.A.N.T
2009-07-11 14:21:34.061 No theme dir: /root/.mythtv/themes/G.A.N.T
2009-07-11 14:21:34.062 Switching to square mode (G.A.N.T)
2009-07-11 14:21:34.117 Using the Qt painter
mythtv: could not connect to socket
mythtv: No such file or directory
2009-07-11 14:21:34.118 lirc_init failed for mythtv, see preceding messages
2009-07-11 14:21:34.118 JoystickMenuClient Error: Joystick disabled - Failed to read /root/.mythtv/joystickmenurc
2009-07-11 14:21:37.372 Loading from: /usr/share/mythtv/themes/G.A.N.T/base.xml
2009-07-11 14:21:38.398 Loading from: /usr/share/mythtv/themes/default/base.xml
2009-07-11 14:21:38.452 Registering Internal as a media playback plugin.
2009-07-11 14:21:38.477 MythPlugin::init() dlerror: /usr/lib/mythtv/plugins/liblibmythfrontend.so: cannot open shared object file: No such file or directory
2009-07-11 14:21:38.477 Unable to initialize plugin 'mythfrontend'.
2009-07-11 14:21:38.477 Unable to run plugin 'mythfrontend': not initialized
2009-07-11 14:21:38.477 MythPlugin::init() dlerror: /usr/lib/mythtv/plugins/liblibmythmythfrontend.so: cannot open shared object file: No such file or directory
2009-07-11 14:21:38.477 Unable to initialize plugin 'mythmythfrontend'.
2009-07-11 14:21:38.477 Unable to run plugin 'mythmythfrontend': not initialized
2009-07-11 14:21:38.499 NetworkControl: Listening for remote connections on port 10001
2009-07-11 14:21:38.500 No theme dir: /root/.mythtv/themes/G.A.N.T
2009-07-11 14:22:07.867 NetworkControl: New connection established. (43)

I couldn't find liblibmythfrontend.so anywhere on my computer. Mythtv works just fine from KDE though. Maybe it's an installation issue? This is the second install that I've done with the same results.

ckerkhoff

  • Regular Poster
  • **
  • Posts: 34
    • View Profile
Re: Mythtv frontend won't load
« Reply #1 on: July 14, 2009, 04:40:45 am »
I did some more digging and looking into mce-installer-20090708_231420.log I found some errors, but I'm not sure if they're relevant to my problem. The lines from the mce-installer.log containing errors are listed below.

Code: [Select]
Setting up pluto-mythtv-player (2.0.0.44.0901260810) ...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
WARNING: fake invoke-rc.d called
Waiting 3 seconds so that myth backed is able to actually create the schema
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
********
There is an error in the mythtv backend setup. It looks like the database schema wasn't created properly
********

ckerkhoff

  • Regular Poster
  • **
  • Posts: 34
    • View Profile
Re: Mythtv frontend won't load
« Reply #2 on: July 22, 2009, 10:14:29 pm »
I attached a MD and everything works fine on it, but the core/hybrid still has the same issue

fastie81

  • Veteran
  • ***
  • Posts: 136
  • SSDD
    • View Profile
Re: Mythtv frontend won't load
« Reply #3 on: July 23, 2009, 01:59:27 am »
Hi

Did you manage to get this fixed?
I have the same problem now..
Chris

ckerkhoff

  • Regular Poster
  • **
  • Posts: 34
    • View Profile
Re: Mythtv frontend won't load
« Reply #4 on: July 23, 2009, 06:51:27 am »
No, the problem only presents on my core/hybrid. I'm able to watch tv using MD's, but I want to be able to use the core/hybrid, so I'm still looking for a fix. I have seen some posts where they change settings in fixmythtvsettings.sh, but this didn't work for me.

fastie81

  • Veteran
  • ***
  • Posts: 136
  • SSDD
    • View Profile
Re: Mythtv frontend won't load
« Reply #5 on: July 23, 2009, 11:21:33 pm »
Hi

So are you MD with vdpau and that work fine?
To me it looks like on my core/hybrit it still trying to load the old mythfrontend end.
Have you tried to run mythfrontend in kde and see if it works?
Chris

ckerkhoff

  • Regular Poster
  • **
  • Posts: 34
    • View Profile
Re: Mythtv frontend won't load
« Reply #6 on: July 24, 2009, 03:06:30 am »
I don't know what vdpau is, I just hook up a MD and it works for any MD I've tried so far (an old shuttle and my inspiron 1525). I tried running mythfrontend in kde a while ago. I think it had some problems, but I can't remember. I'm going to check tomorrow after I finish another reinstall. I'm reinstalling because I was trying to get hdmi audio working and updating the video driver messed something up and I find it easier to do a fresh install.

ckerkhoff

  • Regular Poster
  • **
  • Posts: 34
    • View Profile
Re: Mythtv frontend won't load
« Reply #7 on: July 24, 2009, 02:28:42 pm »
Ok, so I finished reinstalling and it works. On the first boot up I pressed the TV button and it went to the GANT menu again so I let it sit. Then it flickered a couple times and the screen saying that there's problems with myth asking if I want to reset the backend came up and didn't just go away, it stayed. This was new so I pressed yes and closed out of the GANT menu. I pressed the TV button again and like magic it works. I don't have my tuner hooked up to any cable or antenna yet so all I see is static, but it's working.

The only thing that I noticed that was different was that it looked like the IVTV drivers actually got installed this time, usually I saw something about the drivers not being found, but this time it looked like they got installed.

Viking

  • Addicted
  • *
  • Posts: 521
    • View Profile
Re: Mythtv frontend won't load
« Reply #8 on: August 04, 2009, 12:48:45 pm »
Hi,
the lines like this :

Code: [Select]
MythPlugin::init() dlerror: /usr/lib/mythtv/plugins/liblibmythfrontend.so: cannot open shared object file: No such file or directory
only comes when I start MythTV on the MD using the Orbiter. If you start it in KDE in a terminal with "mythfrontend" there is no such error - so there must be an error somewhere in the Spawn script.

Greetings
Viking

gadget

  • Veteran
  • ***
  • Posts: 136
    • View Profile
Re: Mythtv frontend won't load
« Reply #9 on: August 04, 2009, 01:48:26 pm »
You say you haven't hooked up a cable yet so have you configured Myth as per the wiki. TV wont work until the cards have been defined.
http://wiki.linuxmce.org/index.php/MythTV

gadget

ckerkhoff

  • Regular Poster
  • **
  • Posts: 34
    • View Profile
Re: Mythtv frontend won't load
« Reply #10 on: August 08, 2009, 05:15:09 am »
Without hooking up a cable to the tuner card myth will still show static. Also this issue mysteriously solved itself for me.

ckerkhoff

  • Regular Poster
  • **
  • Posts: 34
    • View Profile
Re: Mythtv frontend won't load
« Reply #11 on: August 11, 2009, 03:10:05 pm »
Updating to alpha 2.27 has killed myth again.  Now when I try to watch tv nothing happens for a minute or two and then a blue screen pops up saying, "I cannot play this media. Perhaps there is not a valid device in this entertainment area capable of playing it. Jukebox is not available"  Any ideas what's going wrong?

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Mythtv frontend won't load
« Reply #12 on: August 12, 2009, 12:16:40 am »
there was a bug that crept in at the last minute for the build, it has been resolved. Wait a few hours, and a new package will appear for the media plugin.

-Thom

ckerkhoff

  • Regular Poster
  • **
  • Posts: 34
    • View Profile
Re: Mythtv frontend won't load
« Reply #13 on: August 17, 2009, 05:05:46 am »
I was finally able to determine the initial source of the issue. It's basically a driver issue. After I have updated to the latest nvidia drivers (manually) things start to work like they should. I'm kind of kicking myself for not reading more into supported motherboards before digging in, but some of the deals on new egg are just so tempting. Just for reference I'm using a ECS GF8200A black edition motherboard.