Sporadic Black screen when playing video

Discussion in '1.18.0 Pre Release' started by SilentBob, October 10, 2017.

  1. SilentBob

    SilentBob Portal Pro

    Joined:
    January 1, 2011
    Messages:
    54
    Likes Received:
    38
    Ratings:
    +50 / 0
    Home Country:
    Germany Germany
    When playing a video it the display gets black, sound is playing and I see these Exceptions:

    Code (Text):
    1. [2017-10-10 21:48:22,993] [Error  ] [77       ] [ERROR] - RenderFrame exception Arithmetic operation resulted in an overflow. Core    
    2.    at MediaPortal.Player.PlaneScene.DrawTexture(UInt32 texAddr, Int64 lColorDiffuse)
    3.    at MediaPortal.Player.PlaneScene.RenderLayer(Single timePassed)
    4.    at MediaPortal.GUI.Library.GUILayerManager.Render(Single timePassed, GUILayers layers)
    5.    at MediaPortalApp.RenderFrame(Single timePassed, GUILayers layers, Boolean& uiVisible)



     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,499
    Likes Received:
    4,712
    Ratings:
    +8,176 / 17
    Home Country:
    New Zealand New Zealand
    Hello

    The full context is needed. Please could you collect full log files using the Watchdog option 1, then attach them in your next reply.
     
  4. SilentBob

    SilentBob Portal Pro

    Joined:
    January 1, 2011
    Messages:
    54
    Likes Received:
    38
    Ratings:
    +50 / 0
    Home Country:
    Germany Germany
    As I currently do not have a TV Card connected, I am only watching via TV Series, Moving Pictures and Online Videos therefore I now created a log with option 2
     
  5. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,499
    Likes Received:
    4,712
    Ratings:
    +8,176 / 17
    Home Country:
    New Zealand New Zealand
    Thanks for the log files. (y)

    Your FanartHandler database file is corrupted. Please fix that first because it is likely to be the cause of the problem (system out of memory):
    [2017-10-10 23:56:38,976] [Log ] [DirectoryWorker] [INFO ] - SQLiteClient: Closing database: FanartHandler.db3
    [2017-10-10 23:56:39,031] [Log ] [TvClient-TvHome: HeartBeat transmitter thread] [INFO ] - RemoteControl - Connected
    [2017-10-10 23:56:39,103] [Log ] [DirectoryWorker] [INFO ] - SQLiteClient: Closing database:
    [2017-10-10 23:56:39,165] [Log ] [DirectoryWorker] [INFO ] - SQLiteClient: Closing database:
    [2017-10-10 23:56:39,261] [Log ] [DirectoryWorker] [INFO ] - SQLiteClient: Closing database:
    [2017-10-10 23:56:39,320] [Log ] [DirectoryWorker] [INFO ] - SQLiteClient: Closing database:
    [2017-10-10 23:56:39,382] [Log ] [DirectoryWorker] [INFO ] - SQLiteClient: Closing database:
    [2017-10-10 23:56:39,455] [Log ] [DirectoryWorker] [INFO ] - SQLiteClient: Closing database:
    [2017-10-10 23:56:39,507] [Log ] [DirectoryWorker] [INFO ] - SQLiteClient: Closing database:
    ...

    Repair SQLite Database
     
  6. SilentBob

    SilentBob Portal Pro

    Joined:
    January 1, 2011
    Messages:
    54
    Likes Received:
    38
    Ratings:
    +50 / 0
    Home Country:
    Germany Germany
    Ok, normally I check this on a regular base, seems to miss that.
    nevertheless I did the described steps to repair and will continue to observe...

    although during init errors occurred
    Code (Text):
    1.  
    2. C:\ProgramData\Team MediaPortal\MediaPortal\database>sqlite3.exe FanartHandler.db3  -init FanartHandler.db3.good
    3. -- Loading resources from FanartHandler.db3.good
    4. Error: near line 3: table Version already exists
    5. Error: near line 4: PRIMARY KEY must be unique
    6. Error: near line 5: table "Image" already exists
    7. Error: near line 13661: index i_Category already exists
    8. Error: near line 13662: index i_CategoryTimeStamp already exists
    9. Error: near line 13663: index i_EnabledAvailableRandomCategory already exists
    10. Error: near line 13664: index i_Key1CategoryDummyItem already exists
    11. Error: near line 13665: index i_Key1Key2CategoryDummyItem already exists
    12. Error: near line 13666: index i_Key1Enabled already exists
    13. Error: near line 13667: index i_Key1Key2Enabled already exists
    14. Error: near line 13668: index i_Key1EnabledCategory already exists
    15. Error: near line 13669: index i_Key1Key2EnabledCategory already exists
    16. Error: near line 13670: index i_Key1Category already exists
    17. Error: near line 13671: index i_Key1Key2Category already exists
    18. Error: near line 13672: index i_MBID already exists
    19. Error: near line 13673: index i_Key1MBID already exists
    20. Error: near line 13674: index i_Key1Key2MBID already exists
    21. Error: near line 13675: index i_Key1LastAccess already exists
    22. Error: near line 13676: index i_Key1EnabledLastAccess already exists
    23. Error: near line 13677: index i_Key1CategoryLastAccess already exists
    24. Error: near line 13678: index i_Key1EnabledCategoryLastAccess already exists
    25. Error: near line 13679: index i_FullPathProtected already exists
    two remarks for the wiki? Can I Update them?

    pragma integrity_check should end with a colon
    pragma integrity_check;

    and the repair steps are stupid formatted, it should be a single line:
    Code (Text):
    1. echo .dump | sqlite3.exe bad.db > FanartHandler.db3.good
    also the init command is miss formatted andwas a little bit different for me.
    Not
    Code (Text):
    1. sqlite3.exe -init good.sql VideoDatabaseV5.db3
    But
    Code (Text):
    1. sqlite3.exe FanartHandler.db3  -init good.sql
     
  7. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,499
    Likes Received:
    4,712
    Ratings:
    +8,176 / 17
    Home Country:
    New Zealand New Zealand
    Yes, sure. Anybody can edit the wiki content. Login with your forum account and you should be able to go ahead and fix the things you noticed.

    Thanks! :)
     
  8. SilentBob

    SilentBob Portal Pro

    Joined:
    January 1, 2011
    Messages:
    54
    Likes Received:
    38
    Ratings:
    +50 / 0
    Home Country:
    Germany Germany
    Okay, will try it this evening [emoji6]
     
  9. high
    • Team MediaPortal
    • IT-Admin

    high Administrator

    Joined:
    August 31, 2004
    Messages:
    4,721
    Likes Received:
    3,077
    Gender:
    Male
    Occupation:
    Sysadmin
    Location:
    Isselburg/NRW
    Ratings:
    +4,783 / 6
    Home Country:
    Germany Germany
    Show System Specs
    @SilentBob this does not work anymore since we switched to the new wiki-system (not bridged to forum). Please create a new account: Sign Up - MediaPortal Wiki
     
    • Thank You! Thank You! x 2
  10. SilentBob

    SilentBob Portal Pro

    Joined:
    January 1, 2011
    Messages:
    54
    Likes Received:
    38
    Ratings:
    +50 / 0
    Home Country:
    Germany Germany
    wiki updated, thanks for the hint @high
     
    • Thank You! Thank You! x 2
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!