Author Topic: TV keeps crashing!  (Read 9135 times)

gazlang

  • Guru
  • ****
  • Posts: 210
    • View Profile
Re: TV keeps crashing!
« Reply #45 on: October 12, 2007, 12:25:42 pm »
I installed new modules for the card with the dvb-usb-dib0700-01.fw firmware and mythtv found the channels. Not finding channels must just be a problem with not loading the kubuntu dvb modules, not the firmware.

Anyway, whichever firmware, mythtv still crashes after a short time in livetv mode.

I think the only solution will be to either wait for a LMCE update that fixes the myth integration, or wait for totallymaxed to release a stable VDR integation.
AMD Athlon 5800+ X2
Asus M2N-SLI-Deluxe
2x Corsair XMS6400 DDR2 512mb
Samsung 400GB SATA + 500GB SATA
nVidia GeForce 7300GT
Hauppauge Nova-T 500
Hauppauge PVR-500
Thermaltake low-noise 450w PSU
Thermaltake Bach Case w/ imon vfd
Fiire Remote
UIRT

zherlock

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: TV keeps crashing!
« Reply #46 on: October 15, 2007, 06:26:10 pm »
LMCE Developer Community, I address this reply to forum post to you.

Clearly there are som issues with MythTV (lmce remote interface towards myth tv backend?).
If bugs will not be fixed, ok, fair enough. But, surely there are lots of users that run MythTV successfully. The real question is what should be disabled or removed to successfully run MythTV? Does the problems first occur if you install a IR remote? (iMon, Windows MCE Receiver and so on)

I have been hacking LMCE for 1 month now, so far I have a rather sad simple UI with no 3D due to ATI onboard graphics. I have DVD running but with audio sync issues running Sone1 DVDs, I have multipe instanses of several of my media files in the file list. I just got rid of audio overload, and just got 720p working on onboard HDMI after hacking bios.

I have some friends waiting for my conclusion on my setup so they can order same components and do the same software setup. I am still hopeing LMCE will rock, but as it is now LCDPROC is missing in package source tree of LMCE (?) and the setup wizard within LMCE did not successfully set up audio or tv. I have a iMon RFD and WHEEL on Antec Fusion, not working due to LMCE lircd interface.. I have not found a way to change the lirc0 / lirc1 device setting for each instance of lircd. so I have iMon on lirc0 but a MCE remote receiver on lirc1 and LMCE set to try both devices on same device number.

Lots of issues, but I like the project. Hope to get some conclusion on what to do to make TV functioning.

Keep up the good work and let me know if I should file some bug reports on any

Regards,
Johan

marv2097

  • Regular Poster
  • **
  • Posts: 23
    • View Profile
    • Reesmarine
Re: TV keeps crashing!
« Reply #47 on: October 16, 2007, 12:59:48 pm »
I have added the report http://mantis.linuxmce.org/view.php?id=3568 in Mantis to see if this can be resolved in a future release.
Hybrid: Shuttle P4 3Ghz - 1GB DDR RAM - 750 GB PATA HD - Nvida 7300 GT AGP (UI2alpha) - 1 NIC

gazlang

  • Guru
  • ****
  • Posts: 210
    • View Profile
Re: TV keeps crashing!
« Reply #48 on: October 22, 2007, 12:38:17 pm »
Hi,

Has anyone made any progress on vdr integration instead of using myth tv??

I found this in the achives (http://forum.linuxmce.org/index.php?topic=181.0) for vdr integration into pluto - don't know how well this would work in linuxmce) if it does provide working vdr integration at all)

'Hi Andre,

Yes, VDR seems very impressive.  It fell below our radar because I don't think it works in the US--our satellite is encryped and their are no PC cards.  However, I've done installs in Europe with Myth and our analog cards and it's a total nightmare.  Not only the xmltv grabber, but also controlling the satellite box with i/r since every sat box maps channels differently.  So, it sounds like VDR is perfect for Europe, and the Americans will probably stick to Myth.  Fortunately, it's easy to have both.

First, create a Device Template called 'VDR' in category DCESoftware Wrappers/Media Players.  Check that it implements DCE, and check command groups: TV commands and Smart Media Player for now.  Add the event 'Playback Info Changed'.  Add "This device is controlled via category:      Category: Standard Orbiter".  This means it's parent device (which spawns it) will be an orbiter.  The on screen orbiter will take responsibility for launching VDR in one of our ratpoison windows.

Next, create a Device Template called 'VDR Plug-in'.  This will be a plug-in in the router that runs in the same memory space, and manages all the VDR devices.  It implements DCE, and check 'Is Plugin'.  Also add "This device is controlled via:      Device:DCERouter  Category: DCE Router".    Add the command group 'PVR' plugin.

Now, for both devices run: ./DCEGen -d [DeviceTemplate] from the DCEGen directory within the source tree.  That will create the projects in ../VDRxxxx.

For VDR do a: make bin, for VDR Plugin, do a: make so

Put both the resulting binaries in /usr/pluto/bin.  In Advanced, Devices, remove teh Myth Plugin from DCE Router, and add VDR Plugin, and remove Myth Player from under OnScreen orbiter, and add VDR.

Now, when you do a 'quick reload router', next time you choose TV it will use VDR instead.  So on to the implementation:

You can copy mostly from Myth Plugin/PLayer.  Starting with the plugin.  Add MediaHandlerBase as a 2nd base class.  The Media Plugin will call methods derived in there.  Put the ! after the //<-dceag tag (means DCEAuto generated).   Otherwise next time you run DCEGen for the plugin it will overwrite your change.  ! means 'leave it alone'.  Otherwise DCEGen overwrites, because you re-run DCEGen everytime you change the command specs (choose Merge to merge in changes).

    //<-dceag-decl-b->!
    class MythTV_PlugIn : public MythTV_PlugIn_Command, public MediaHandlerBase
    {
   //<-dceag-decl-e->

Add the mandatory implementations from Media Handler Base:

      /** @brief Each Plugin will create its own instance of MediaStream, so it can create a derived version with extra information */
      virtual class MediaStream *CreateMediaStream(class MediaHandlerInfo *pMediaHandlerInfo,vector<class EntertainArea *> &vectEntertainArea,MediaDevice *pMediaDevice,int iPK_Users, deque<MediaFile *> *dequeMediaFile,int StreamID)=0;
      virtual bool StartMedia(class MediaStream *pMediaStream)=0;
      virtual bool StopMedia(class MediaStream *pMediaStream)=0;

For the moment, just make CreateMediaStream return a new, generic stream.  You will likely want to create a more specialized one, like VDR Media Stream which has VDR specific information (like channel, satellite, etc.).  That way when VDR Plugin gets a command to move tv from one room to the next you can restore all the settings.  But for now just:

    return new MediaStream(pMediaHandlerInfo, pMediaDevice, 0, st_RemovableMedia,StreamID);

Then make a simple implementation of StartMedia:

bool VDR_PlugIn::StartMedia(class MediaStream *pMediaStream)
{
DCE::CMD_Start_TV cmd(m_dwPK_Device, pMediaStream->m_pMediaDevice_Source->m_pDeviceData_Router->m_dwPK_Device);
SendCommand(cmd);

DCE:: is a namespace.  If you have auto-complete, when you type DCE:: it will give you a list of all commands with the syntax for all the parameters.

In the register function, do this.  This find the media plugin, and registers your VDR plugin with it.  Since they are both plugins running in the same memory space, they can call each other's methods directly.  Normally all pluto devices run as separate programs sending messages over sockets (it's safer).  But for media, you normally need a plug-in that will have low-level access to the same classes that media plugin uses:

   m_iPriority=DATA_Get_Priority();
    /** Get a pointer to the media plugin */
    m_pMedia_Plugin=NULL;
    ListCommand_Impl *pListCommand_Impl = m_pRouter->m_mapPlugIn_DeviceTemplate_Find(DEVICETEMPLATE_Media_Plugin_CONST);

    if( !pListCommand_Impl || pListCommand_Impl->size()!=1 )
    {
        g_pPlutoLogger->Write(LV_CRITICAL,"VDR plug in cannot find media handler %s",(pListCommand_Impl ? "There were more than 1" : ""));
        return false;
    }
    m_pMedia_Plugin=(Media_Plugin *) pListCommand_Impl->front();

    m_pMedia_Plugin->RegisterMediaPlugin(this, this, XXXXX, true);


Note that XXXXX is the device template for VDR.  Last thing, add a record to DeviceTemplate_MediaType table in pluto_main database where FK_DeviceTemplate is the VDR, and FK_MediaType is 1 (Live TV).  Compile and put your binaries in place.  The RegisterMediaPlugin tells Media Plugin that your VDR_Plugin is responsible for managing the VDR devices, which accodring to the database, can handle live tv.

Now do a quick reload DCERouter, either from an orbiter, or send it a reload message: MessageSend localhost 0 -1001 7 1

When you watch the DCERouter logs (/var/log/pluto/DCERouter.newlog) you should see that it registers your VDR Plugin.  Also, if you do a screen -ls, a copy of VDR should be running, and you should see it registered in DCERouter's log.

Now hit 'tv' from an orbiter (not the onscreen display on the m/d--use an orbiter on another PC).  You should see in the VDR logs:
Need to implement CMD_Start_TV

This means everything is working.  And, on the orbiter you should see a pvr remote control.  As you tune channels, fast forward, rewind, channel surf, etc. you should see in the VDR logs all these messages.

Eventually we can create a new remote for VDR that has extra VDR-specific buttons.  But for now it's best to use the basic one because it's important that VDR implements the same 'smart media player' commands the same way, which is what ensures all remote controls (i/r, phone, tablet, etc.) will work the same way and provide basic control.

If you get stuck, I'll be happy to login and look at the code with you and help.  When you're ready, I'll show you how to do a sqlCVS checkin.  That will checkin your database changes.  And we'll checkin your code into our SVN as well.  That way our automated build system will start building your devices.'
AMD Athlon 5800+ X2
Asus M2N-SLI-Deluxe
2x Corsair XMS6400 DDR2 512mb
Samsung 400GB SATA + 500GB SATA
nVidia GeForce 7300GT
Hauppauge Nova-T 500
Hauppauge PVR-500
Thermaltake low-noise 450w PSU
Thermaltake Bach Case w/ imon vfd
Fiire Remote
UIRT

acematti

  • Veteran
  • ***
  • Posts: 50
    • View Profile
Re: TV keeps crashing!
« Reply #49 on: October 26, 2007, 11:33:19 am »
Just thought I would add that I am also experiencing this problem.

I have a Hauppauge Nova-T single tuner card with the Connexant CX88 firmware on it.

Has a solution been found to this yet? I will gladly help with any information that I can. The recording still works when it crashes like other people have reported. I am running it on the medium graphics settigns.

I have the following system:

CPU: P4 3.0ghz
Ram: 1gig
GFX: Nvidia GeforceFX 5200

Just wondering if there is an update to this problem. Please msg me or email me if you want to know more details I will gladly supply to the best of my know how.

Keep up the great work

Matt




trisc

  • Regular Poster
  • **
  • Posts: 22
    • View Profile
Re: TV keeps crashing!
« Reply #50 on: October 26, 2007, 06:58:04 pm »
I am also experiencing freezes in Myth under LMCE using a Nova-T 500. This card works perfectly in Myth from KDE desktop.

Gazlang, have you managed to get VDR working with this hardware in LMCE - if so, is it stable?
« Last Edit: October 26, 2007, 07:00:14 pm by trisc »
Asus P5PL2-E ATX
Gigabit Ethernet port
Pentium Dual Core2 1.8GHz
1GB Kingston DDR RAM
Asus EN6200 PCI-E Graphics card
Philips DVD-RW
10/100 NIC WinTV Nova-T500

acematti

  • Veteran
  • ***
  • Posts: 50
    • View Profile
Re: TV keeps crashing!
« Reply #51 on: October 27, 2007, 11:32:01 am »
Just wondering if anything is happening with regard to this. I will willingly contribute to help sort this problem out. I feel that it is a big problem that currently doesn't seem to be getting addressed by the LinuxMCE community.

Could anyone advise where I start debugging this problem such as log files etc.

Any starter advice would be greatly received.

If not can anyone recommned a DVB-T card that doesn't crash when watching Live TV on the core?


fibres

  • Guru
  • ****
  • Posts: 306
    • View Profile
    • LinuxMCE 08.10 RC Mirror.
Re: TV keeps crashing!
« Reply #52 on: October 27, 2007, 11:38:39 pm »
Hi Acematti

If you read this whole post you will see that it seems to be a problem relating to the mythtv-plugin. I would guess that mythtv works fine if you launch it from the kde desktop. I also seem to not have the problem when running on a remote media director. HoweverI have not had much chance to confirm this properlt.

Regards

gazlang

  • Guru
  • ****
  • Posts: 210
    • View Profile
Re: TV keeps crashing!
« Reply #53 on: October 28, 2007, 10:52:35 am »
trisc, I have not tried integrating VDR myself, I just thought my previous post may be useful to those who are working on it.
I'm not sure what setup / hardware allows mythtv to work fine in LMCE - many users must have success using mythtv, particularly the developers, or else LMCE would not have been released as is.

It may be useful if those who do not see this problem with mythtv post their setup information.

Cheers
AMD Athlon 5800+ X2
Asus M2N-SLI-Deluxe
2x Corsair XMS6400 DDR2 512mb
Samsung 400GB SATA + 500GB SATA
nVidia GeForce 7300GT
Hauppauge Nova-T 500
Hauppauge PVR-500
Thermaltake low-noise 450w PSU
Thermaltake Bach Case w/ imon vfd
Fiire Remote
UIRT

acematti

  • Veteran
  • ***
  • Posts: 50
    • View Profile
Re: TV keeps crashing!
« Reply #54 on: October 28, 2007, 03:12:02 pm »
Yeah most definitely,

I would really like to see if anyone has actually got a DVB-T card working correctly in LinuxMCE.

I posted mine as not currently working on the wiki but I dont think that many people even look at that. It seems a bit all over the shop on the Wiki so it may be putting people off on how to find out what hardware is working etc. If anyone needs a hand making the Hardware Compatability Page any better I would love to help.

Keep up the good work everyone

Matt

gazlang

  • Guru
  • ****
  • Posts: 210
    • View Profile
Re: TV keeps crashing!
« Reply #55 on: October 31, 2007, 12:22:16 pm »
Well it appears that LMCE have recruited a developer of mythtv for improving myth integration:

'daniel's first short-term goal is to improve the integration of LinuxMCE and MythTV for the 0710 release.'
(see LMCE news page)

Also, there will be a vdr option in the 7.10 release due by the end of november.

Hopefully that will be the end of the mythtv woes :-)
AMD Athlon 5800+ X2
Asus M2N-SLI-Deluxe
2x Corsair XMS6400 DDR2 512mb
Samsung 400GB SATA + 500GB SATA
nVidia GeForce 7300GT
Hauppauge Nova-T 500
Hauppauge PVR-500
Thermaltake low-noise 450w PSU
Thermaltake Bach Case w/ imon vfd
Fiire Remote
UIRT

fearingsept

  • Guru
  • ****
  • Posts: 369
    • View Profile
Re: TV keeps crashing!
« Reply #56 on: November 05, 2007, 03:19:10 pm »
Quote
Does MythTV work under KDE, but not in LMCE?
Is there anybody that sees this problem on media directors as well?
Has anybody got the capture card in a media director?

Ok, from what I gather everyone is waiting for the next release of LMCE for this problem to go away. I finally hooked up my cable this weekend to my core and found out that I am also having the same problem. I found no help thus far from this thread other then seeing that a lot of people are having the same problem.
I saw that no one seemed to answer these questions straight out so I figured I would.

1. Yes Myth TV works fine under KDE. It only freezes up under LMCE
2. I am unsure being that I have yet to connect my media directors
3. Not Yet

Has anyone come up with a working solution for Myth that doesn't require us to wait for the next release?

-Dustin
Core: Broken :(

acematti

  • Veteran
  • ***
  • Posts: 50
    • View Profile
Re: TV keeps crashing!
« Reply #57 on: November 05, 2007, 04:38:24 pm »
I think it seems that people are just resigned to the fact that it will be fixed in the future updates. However nobody as far as I am aware has confirmed that it even will be fixed so I would like to try and find a fix for it for myself.

I would be very willing to help mine also works in KDE fine just not in LinuxMCE.

If you want any help with the trying to fix this then please email me or msg me. I hang around too in the IRC room so i maybe there my name in IRC is matt1982.

Hopefully maybe together we could come up with a fix instead of waiting a month or more.

Matt

marv2097

  • Regular Poster
  • **
  • Posts: 23
    • View Profile
    • Reesmarine
Re: TV keeps crashing!
« Reply #58 on: November 05, 2007, 04:44:24 pm »
acematti,

This issue has been logged in Mantis and has been assigned to webpaul. I am hoping this means it is on its way to being resolved. If you have any extra input then it would be worth adding it to the mantis issue.

Code: [Select]
http://mantis.linuxmce.com/view.php?id=3568
In the meantime I am just rewinding the live tv by a couple of seconds to get round this. Not very elegent tho...
Hybrid: Shuttle P4 3Ghz - 1GB DDR RAM - 750 GB PATA HD - Nvida 7300 GT AGP (UI2alpha) - 1 NIC

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4360
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: TV keeps crashing!
« Reply #59 on: November 05, 2007, 06:34:55 pm »
Yeah most definitely,

I would really like to see if anyone has actually got a DVB-T card working correctly in LinuxMCE.

I posted mine as not currently working on the wiki but I dont think that many people even look at that. It seems a bit all over the shop on the Wiki so it may be putting people off on how to find out what hardware is working etc. If anyone needs a hand making the Hardware Compatability Page any better I would love to help.

Keep up the good work everyone

Matt

We have them working fine here but we don't use MythTV. We are using VDR. The issue with TV freezing is one that is being addressed now, and is for the moth part MythTV related, and is explained clearly in this posting to another thread;

http://forum.linuxmce.org/index.php?topic=2954.msg14952#msg14952

Andrew
Andy Herron,
Convergent Home Technologies Ltd
United Kingdom

Read My Blog; http://ellipticalcurve.com

Contact me for Smart Home consulting advice here;
@herron on Twitter, totallymaxed+consulting@gmail.com via email or PM me here.

Get a Dianemo S License: http://forum.linuxmce.org/index.php?topic=8880.0
iOS Orbiter: http://wiki.linuxmce.org/index.php/Dianemo_iOS_Orbiter
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

Sales & Info:
http://www.dianemo.co.uk