[fixed] - Pictures : 1st transition sometimes buggy

Discussion in 'Older releases' started by Smeulf, December 7, 2010.

  1. Smeulf
    • Team MediaPortal

    Smeulf Test Group

    Joined:
    October 27, 2010
    Messages:
    672
    Likes Received:
    227
    Location:
    France
    Ratings:
    +228 / 0
    Home Country:
    France France
    Show System Specs
    Hi,

    Very nice transitions between pictures.

    But I notice sometime the 1st transition does not complete and is replace by another one (or by the same with does complete at the second time).

    Joined logs, I saw the last transition buging.

    Smeulf.



    [Edit] From rev. 3537 : Start playing an image can cause the client to crash in my system. Will try tomorow on an another one.
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Albert
    • Premium Supporter

    Albert MP2 Developer

    Joined:
    February 18, 2008
    Messages:
    1,297
    Likes Received:
    1,125
    Gender:
    Male
    Occupation:
    Dipl.-Inform.
    Location:
    Freiburg im Breisgau, Germany
    Ratings:
    +1,130 / 1
    Home Country:
    Germany Germany
    AW: Pictures : 1st transition sometimes buggy

    Baboonanza?
     
  4. Albert
    • Premium Supporter

    Albert MP2 Developer

    Joined:
    February 18, 2008
    Messages:
    1,297
    Likes Received:
    1,125
    Gender:
    Male
    Occupation:
    Dipl.-Inform.
    Location:
    Freiburg im Breisgau, Germany
    Ratings:
    +1,130 / 1
    Home Country:
    Germany Germany
    AW: Pictures : 1st transition sometimes buggy

    I had a short talk with Baboonanza; he says the bug could already have been gone by a bugfix he did.
    I didn't notify that bug so could you please check it again, Smeulf? Thx.
     
  5. Smeulf
    • Team MediaPortal

    Smeulf Test Group

    Joined:
    October 27, 2010
    Messages:
    672
    Likes Received:
    227
    Location:
    France
    Ratings:
    +228 / 0
    Home Country:
    France France
    Show System Specs
    Hi,

    Hard to say, as the pictureplayer crash many times. Errors fond in debug mode, no logs generated, so hard here to tell more :

    TextureAssetCore.cs, line 286 : AccessViolationExeption Not Managed

    I hope the joined files can help.
     

    Attached Files:

  6. tourettes
    • Premium Supporter

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    I managed to reproduce that issue once - but not anymore (and there was no code changes at all between the tries).
     
  7. Smeulf
    • Team MediaPortal

    Smeulf Test Group

    Joined:
    October 27, 2010
    Messages:
    672
    Likes Received:
    227
    Location:
    France
    Ratings:
    +228 / 0
    Home Country:
    France France
    Show System Specs
    This does not appears all the time, but very often in my case.

    Most of the time, it appears at the 2nd of 3rd try.

    Sometime, I can play the picture 10 times right, and the 11 one, on the same picture, the error appears.

    Sometime it appears at the 1st try. Pretty strange.

    My graphics drivers are up to date, and my DirectX is the last one...
     
  8. Baboonanza
    • Premium Supporter

    Baboonanza Retired Team Member

    Joined:
    February 5, 2010
    Messages:
    143
    Likes Received:
    57
    Occupation:
    Software developer
    Location:
    North London
    Ratings:
    +57 / 0
    Home Country:
    United Kingdom United Kingdom
    I still can't reproduce the problem even with DirectX full debug validation enabled. My best guess is that the DataStream is corrupt for some reason, perhaps related to me changing file access to asyncronous mode. I have attached a patch that should make the texture loading code more fault tolerant, could you please test it and see if improves the situation?

    I would really like to know what the cause of the problem is though, and why you get it more than us. Are these pictures located on a network drive?

    It appear there has been a miscommunication. In my testing branch I fixed the problem in a way that broke something else. Albert said he had fixed the problem in a better way but it appear that his fix does not work (I think my explanation of the problem was inadequate).

    The problem is actually an artifact of the asyncronous messaging queues used to show screens, but there is also a deeper problem that some screen transitions seem to trigger screen reloads when they (ideally) shouldn't. You can see this when closing the context menu in the picture player and I think it is also the cause of the dropped video frames that tourrettes mentions in another post. We will work on it.
     
  9. Baboonanza
    • Premium Supporter

    Baboonanza Retired Team Member

    Joined:
    February 5, 2010
    Messages:
    143
    Likes Received:
    57
    Occupation:
    Software developer
    Location:
    North London
    Ratings:
    +57 / 0
    Home Country:
    United Kingdom United Kingdom
    Forgot the patch :)
     

    Attached Files:

  10. morpheus_xx
    • Team MediaPortal

    morpheus_xx Lead Dev MP2

    Joined:
    March 24, 2007
    Messages:
    11,024
    Likes Received:
    4,751
    Ratings:
    +6,798 / 11
    Home Country:
    Germany Germany
    Show System Specs
    AW: Pictures : 1st transition sometimes buggy

    Do I interpret the patch correctly, that you allow 3 retries for the action?
     
  11. Baboonanza
    • Premium Supporter

    Baboonanza Retired Team Member

    Joined:
    February 5, 2010
    Messages:
    143
    Likes Received:
    57
    Occupation:
    Software developer
    Location:
    North London
    Ratings:
    +57 / 0
    Home Country:
    United Kingdom United Kingdom
    Re: AW: Pictures : 1st transition sometimes buggy

    Yes. Although come to think of it I'll remove the 3 re-tries for syncronous texture loads since that could give a noticable delay. For asyncronous loads it should be fine.

    Whether or not it works is another question.
     
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!