TV/Video stops after 10min (always)! <- PowerScheduler (1 Viewer)

OnkelChris

Retired Team Member
  • Premium Supporter
  • October 17, 2007
    764
    59
    Home Country
    Germany Germany
    TV-Server Version: 3.0
    MediaPortal Version: 1.0.2.0
    MediaPortal Skin: StreamedMP
    Windows Version: Windows Vista Business x86
    CPU Type: AMD Athlon X2 3800+ EE
    HDD: WD Green 500GB
    Memory: 1024MB DDR2 PC6400
    Motherboard: Gigabyte GA-MA78GM-S2H
    Video Card: ATI 3200HD onboard
    Video Card Driver: CCC 9.x
    Sound Card: Realtek HiDef onboard
    Sound Card AC3: optical out
    Sound Card Driver:
    1. TV Card: Hauppauge NovaT-500
    1. TV Card Type: DVB-T
    1. TV Card Driver: 4.6
    2. TV Card:
    2. TV Card Type:
    2. TV Card Driver:
    3. TV Card:
    3. TV Card Type:
    3. TV Card Driver:
    4. TV Card:
    4. TV Card Type:
    4. TV Card Driver:
    MPEG2 Video Codec: MPC
    MPEG2 Audio Codec: MPC
    h.264 Video Codec: MPC
    Satelite/CableTV Provider:
    HTPC Case: Antec Fusion Micro 350
    Cooling:
    Power Supply: Antec inbuilt
    Remote: Philips SRM5100
    TV: Samsung LE27T51B
    TV - HTPC Connection: DVI


    Hey guys,

    I really do have a BIG PROBLEM.

    My HTPC was really the perfect solution (for me) working on 100%. But then I upgraded from 1.0.1.0 to 1.0.2.0.

    The result:
    Movies stop every 10mins and LiveTV is stucking every 10mins... I tested using remote within these 10mins... but every 10mins the video stops / LiveTV stucks! HTPC stays on, it's not going into standby.

    PowerScheduler TVServer is configured to awake system for records and go to sleep after 10min idle. The ClientPlugin is configured to allow only on HomeScreen. Nothing more, nothing less.

    Attached are my last logs... PowerScheduler should awake system and send it to sleep, so it's needed... Hope someone can help me...

    Yeah, I'm "upset/sad/bored" (don't know a better word ;) ) but I also know that it's not a problem of MediaPortal itself, but as you can imagine, this is very annoying to me :(

    regards
    Chris
     

    OnkelChris

    Retired Team Member
  • Premium Supporter
  • October 17, 2007
    764
    59
    Home Country
    Germany Germany
    nobody any idea? i really need the PowerScheduler (as you can imagine)... so why is PowerScheduler stopping Video / disturbing LiveTV but doesnt' go into Standby?

    I can't imagine why the PowerScheduler makes trouble with LiveTV, when the TVservice is streaming... the logs do say, that the client plugin tries to prevent, but the server plugin ignores this after the 10 minutes I have set...

    did a bit more of testing... this is the error.log of tvserver after enabling the PowerScheduler plugin and restarting service:

    Code:
    2009-06-07 16:12:12.693780 [5]: applyProcessPriority: exception is    bei Gentle.Common.Check.FailWith(Severity severity, Error error, Exception e, String msg)
       bei Gentle.Common.Check.Fail(Exception e, Error error, Object[] args)
       bei Gentle.Provider.SQLServer.SQL92Analyzer.Analyze(String tableName)
       bei Gentle.Provider.SQLServer.SQLServerAnalyzer.Analyze(String tableName)
       bei Gentle.Framework.GentleAnalyzer.UpdateObjectMap(ObjectMap map)
       bei Gentle.Framework.ObjectFactory.ConstructMap(PersistenceBroker broker, Type type)
       bei Gentle.Framework.ObjectFactory.GetMap(PersistenceBroker broker, Type type)
       bei Gentle.Framework.SqlBuilder..ctor(IGentleProvider provider, StatementType stmtType, Type type, LogicalOperator logicalOperator)
       bei Gentle.Framework.SqlBuilder..ctor(StatementType stmtType, Type type)
       bei TvDatabase.TvBusinessLayer.GetSetting(String tagName, String defaultValue)
       bei TvService.Service1.applyProcessPriority()
    2009-06-07 16:12:12.815843 [TVService]: Exception   :Error: DatabaseUnavailableUnclassified
    Gentle.Common.GentleException: The database backend (provider SQLServer) could not be reached.
    Check the connection string: Password=***;Persist Security Info=True;User ID=sa;Initial Catalog=MpTvDb;Data Source=MediaCenter\SQLEXPRESS;Connection Timeout=300; ---> System.Data.SqlClient.SqlException: Cannot open database "MpTvDb" requested by the login. The login failed.
    Login failed for user 'sa'.
       bei System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
       bei System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
       bei System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       bei System.Data.SqlClient.SqlConnection.Open()
       bei Gentle.Provider.SQLServer.SQLServerProvider.GetConnection()
       --- Ende der internen Ausnahmestapelüberwachung ---
       bei Gentle.Common.Check.FailWith(Severity severity, Error error, Exception e, String msg)
       bei Gentle.Common.Check.Fail(Exception e, Error error, Object[] args)
       bei Gentle.Provider.SQLServer.SQL92Analyzer.Analyze(String tableName)
       bei Gentle.Provider.SQLServer.SQLServerAnalyzer.Analyze(String tableName)
       bei Gentle.Framework.GentleAnalyzer.UpdateObjectMap(ObjectMap map)
       bei Gentle.Framework.ObjectFactory.ConstructMap(PersistenceBroker broker, Type type)
       bei Gentle.Framework.ObjectFactory.GetMap(PersistenceBroker broker, Type type)
       bei Gentle.Framework.SqlBuilder..ctor(IGentleProvider provider, StatementType stmtType, Type type, LogicalOperator logicalOperator)
       bei Gentle.Framework.SqlBuilder..ctor(StatementType stmtType, Type type)
       bei TvDatabase.TvBusinessLayer.GetSetting(String tagName, String defaultValue)
       bei TvLibrary.Implementations.TvCardCollection..ctor(IEpgEvents epgEvents)
       bei TvService.TVController.InitController()System.Data.SqlClient.SqlException: Cannot open database "MpTvDb" requested by the login. The login failed.
    Login failed for user 'sa'.
       bei System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
       bei System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
       bei System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       bei System.Data.SqlClient.SqlConnection.Open()
       bei Gentle.Provider.SQLServer.SQLServerProvider.GetConnection()
    
    2009-06-07 16:12:15.832251 [TVService]: Exception   :Error: DatabaseUnavailableUnclassified
    Gentle.Common.GentleException: The database backend (provider SQLServer) could not be reached.
    Check the connection string: Password=***;Persist Security Info=True;User ID=sa;Initial Catalog=MpTvDb;Data Source=MediaCenter\SQLEXPRESS;Connection Timeout=300; ---> System.Data.SqlClient.SqlException: Cannot open database "MpTvDb" requested by the login. The login failed.
    Login failed for user 'sa'.
       bei System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
       bei System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
       bei System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       bei System.Data.SqlClient.SqlConnection.Open()
       bei Gentle.Provider.SQLServer.SQLServerProvider.GetConnection()
       --- Ende der internen Ausnahmestapelüberwachung ---
       bei Gentle.Common.Check.FailWith(Severity severity, Error error, Exception e, String msg)
       bei Gentle.Common.Check.Fail(Exception e, Error error, Object[] args)
       bei Gentle.Provider.SQLServer.SQL92Analyzer.Analyze(String tableName)
       bei Gentle.Provider.SQLServer.SQLServerAnalyzer.Analyze(String tableName)
       bei Gentle.Framework.GentleAnalyzer.UpdateObjectMap(ObjectMap map)
       bei Gentle.Framework.ObjectFactory.ConstructMap(PersistenceBroker broker, Type type)
       bei Gentle.Framework.ObjectFactory.GetMap(PersistenceBroker broker, Type type)
       bei Gentle.Framework.SqlBuilder..ctor(IGentleProvider provider, StatementType stmtType, Type type, LogicalOperator logicalOperator)
       bei Gentle.Framework.SqlBuilder..ctor(StatementType stmtType, Type type)
       bei TvDatabase.TvBusinessLayer.GetSetting(String tagName, String defaultValue)
       bei TvLibrary.Implementations.TvCardCollection..ctor(IEpgEvents epgEvents)
       bei TvService.TVController.InitController()System.Data.SqlClient.SqlException: Cannot open database "MpTvDb" requested by the login. The login failed.
    Login failed for user 'sa'.
       bei System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
       bei System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
       bei System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       bei System.Data.SqlClient.SqlConnection.Open()
       bei Gentle.Provider.SQLServer.SQLServerProvider.GetConnection()
    
    2009-06-07 16:12:54.643244 [Scheduler timer]: Exception   :Error: StatementErrorUnclassified
    Gentle.Common.GentleException: select idCanceledSchedule, idSchedule, cancelDateTime from CanceledSchedule where idSchedule = @idSchedule; ---> System.Data.SqlClient.SqlException: Timeout ist abgelaufen. Das Zeitlimit wurde vor dem Beenden des Vorgangs überschritten oder der Server reagiert nicht.
       bei System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
       bei System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
       bei System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       bei System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       bei System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
       bei System.Data.SqlClient.SqlDataReader.get_MetaData()
       bei System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
       bei System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
       bei System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
       bei System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
       bei System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
       bei System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
       bei System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader()
       bei Gentle.Framework.SqlStatement.Execute(IDbConnection conn, IDbTransaction tr)
       --- Ende der internen Ausnahmestapelüberwachung ---
       bei Gentle.Framework.SqlStatement.Execute(IDbConnection conn, IDbTransaction tr)
       bei Gentle.Framework.PersistenceBroker.Execute(SqlStatement stmt, IDbConnection dbConnection, IDbTransaction dbTransaction)
       bei Gentle.Framework.SqlStatement.Execute()
       bei TvDatabase.Schedule.ReferringCanceledSchedule()
       bei TvDatabase.Schedule.IsSerieIsCanceled(DateTime startTimeParam)
       bei TvService.Scheduler.DoSchedule()
       bei TvService.Scheduler.timer_Elapsed(Object sender, ElapsedEventArgs e)System.Data.SqlClient.SqlException: Timeout ist abgelaufen. Das Zeitlimit wurde vor dem Beenden des Vorgangs überschritten oder der Server reagiert nicht.
       bei System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
       bei System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
       bei System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       bei System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       bei System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
       bei System.Data.SqlClient.SqlDataReader.get_MetaData()
       bei System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
       bei System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
       bei System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
       bei System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
       bei System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
       bei System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
       bei System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader()
       bei Gentle.Framework.SqlStatement.Execute(IDbConnection conn, IDbTransaction tr)
     

    OnkelChris

    Retired Team Member
  • Premium Supporter
  • October 17, 2007
    764
    59
    Home Country
    Germany Germany
    it's getting weird!

    My Windows EventLog shows a problem with the atapi controller (EventID 11)... BUT: This started with the Upgrade from 1.0.1.0 to 1.0.2.0. I know that MediaPortal isn't the problem of this. The weird thing, the problem occures every 10minutes (like the PowerScheduler Standby configuration).

    I didn't change my hardware configuration. I only took a mouse in my hand and updated MediaPortal. This will not be the end. I'm going to test a bit more. I will post my results, if someone in future has a similar problem... ;)
     

    OnkelChris

    Retired Team Member
  • Premium Supporter
  • October 17, 2007
    764
    59
    Home Country
    Germany Germany
    Solved:

    Seems like a few instances of MediaPortal were written in a bad sector of my HDD. Now it runs as usual :)
     

    Paranoid Delusion

    Moderation Manager
  • Premium Supporter
  • June 13, 2005
    13,052
    2,978
    Cheshire
    Home Country
    United Kingdom United Kingdom
    Seems like a few instances of MediaPortal were written in a bad sector of my HDD. Now it runs as usual

    Glad you got it figured out, did have a look at your logs, but could not pinpoint where things were going wrong, bad sectors hey, who would of thought of that.
     

    OnkelChris

    Retired Team Member
  • Premium Supporter
  • October 17, 2007
    764
    59
    Home Country
    Germany Germany
    the main problem: it happened only in this specific period of time... every 10mins. PowerScheduler was set to 10min idle, then standby. Disabled PowerScheduler and the problem was gone! But unfortunately I tried once more with PowerScheduler -> Problem came back! Disabling PowerScheduler this time didn't solve anything.

    After looking deeper in my system, I was kind of shocked... The problem with the bad sectors started on May the 5th... The day, I plugged in the HDD ;) But nothing was written in this little sector and then there was MP 1.0.2.0 :p

    Next time I'm going to look twice before posting :D
     

    Users who are viewing this thread

    Top Bottom