Scrolling (patch included in MediaPortal RC2) | Page 3

Discussion in 'Moving Pictures' started by leftfield, February 15, 2010.

  1. Pog
    • Premium Supporter

    Pog Retired Team Member

    Joined:
    September 7, 2009
    Messages:
    401
    Likes Received:
    220
    Location:
    Wicklow
    Ratings:
    +315 / 1
    Home Country:
    Ireland Ireland
    Show System Specs
    Re: Scrolling



    Scrolling can be a bit "lumpy" alright. Looks like the fps drops between 10 and 20 frames, eg runs around 50 fps and goes to 40 or 30 fps if I jump between 2 films. It's silky smooth in TvSeries.

    mardup I use a setting of 350 for both loading delays and continuous scrolling is smooth after a slightly lumpy start. Scrolling is poor if I'm just going from one film to the next in single clicks.
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. sclaws
    • Premium Supporter

    sclaws MP Donator

    Joined:
    February 7, 2009
    Messages:
    63
    Likes Received:
    4
    Location:
    Chicago western suburbs
    Ratings:
    +4 / 0
    Home Country:
    United States of America United States of America
    Re: Scrolling

    +100 this is exactly the right way to describe the issue!
     
  4. armandp
    • Premium Supporter

    armandp Retired Team Member

    Joined:
    April 6, 2008
    Messages:
    990
    Likes Received:
    584
    Gender:
    Male
    Occupation:
    Application Designer
    Location:
    Zoetermeer
    Ratings:
    +616 / 0
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Re: Scrolling

    @ everyone: we just found out that some skins using skin functions (like streamed mp) cause high cpu usage i'm just wondering if the slow scrolling is also prsent when using blue3wide (it does not have these functions).. there's still some more tweaking that can be done form our side but currently the high cpu usage caused by skins controls might interfere with the results.
     
  5. Pog
    • Premium Supporter

    Pog Retired Team Member

    Joined:
    September 7, 2009
    Messages:
    401
    Likes Received:
    220
    Location:
    Wicklow
    Ratings:
    +315 / 1
    Home Country:
    Ireland Ireland
    Show System Specs
    Re: Scrolling

    Yes StreamedMP has exposed an issue with skin control visibility settings, using string.equals(#MovingPictures.LocalMedia.xxxxx,yyyyyy). These particular controls cause high cpu usage, once removed high cpu usage drops significantly.

    This may be a cause for some peoples problems in relation to StreamedMP but there is still a problem when using the default skins like Blue. Here cpu usage is normal but when going from one film to the next there is a small fps drop that makes the scroll a little lumpy.

    I've also switched off backdrops within the skin to see if there was any effect but the fps drop was still the same... maybe database access is involved with the problem and seems related to the StreamedMP issue.
     
  6. sclaws
    • Premium Supporter

    sclaws MP Donator

    Joined:
    February 7, 2009
    Messages:
    63
    Likes Received:
    4
    Location:
    Chicago western suburbs
    Ratings:
    +4 / 0
    Home Country:
    United States of America United States of America
    Re: Scrolling

    Hi,
    Just reporting as requested...I tried Blue3wide and had the same stuttering issue with MovingPictures.
     
  7. DieBagger
    • Premium Supporter

    DieBagger Retired Team Member

    Joined:
    September 11, 2007
    Messages:
    2,516
    Likes Received:
    1,257
    Gender:
    Male
    Occupation:
    Android Developer
    Location:
    Austria
    Ratings:
    +1,302 / 0
    Home Country:
    Austria Austria
    Show System Specs
    Re: Scrolling

    Iirc a new thread is opened for every item that is selected while scrolling?

    So it might help to:
    a) use thread pooling
    b) use one worker thread and wait for a small time (e.g. 5 ms) before the thread to load the image is even created.
     
  8. sclaws
    • Premium Supporter

    sclaws MP Donator

    Joined:
    February 7, 2009
    Messages:
    63
    Likes Received:
    4
    Location:
    Chicago western suburbs
    Ratings:
    +4 / 0
    Home Country:
    United States of America United States of America
    Re: Scrolling

    Hi,
    I'm willing to try, but I'll admit I have no idea how to accomplish this--I'm a semi-proficient end user who can follow directions well ;)
     
  9. armandp
    • Premium Supporter

    armandp Retired Team Member

    Joined:
    April 6, 2008
    Messages:
    990
    Likes Received:
    584
    Gender:
    Male
    Occupation:
    Application Designer
    Location:
    Zoetermeer
    Ratings:
    +616 / 0
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Re: Scrolling

    it looks like the image loading is NOT the problem.. i disabled the image loading and it still showed the same laggy response. Also TVSeries is using the same class to load the images and that was, as reported by others, silky smooth. Details are currently loaded in the same thread so i've implemented asynchronous updating now but the results are minimal (i haven't tested without the string functions in the skin however so i might try that next).
     
  10. TheBiGW

    TheBiGW Portal Member

    Joined:
    October 1, 2009
    Messages:
    43
    Likes Received:
    5
    Ratings:
    +5 / 0
    Home Country:
    United Kingdom United Kingdom
    Re: Scrolling

    Did this get any closer to being solved? It's an intriguing problem
     
  11. Jeditrav

    Jeditrav Portal Pro

    Joined:
    May 17, 2007
    Messages:
    319
    Likes Received:
    20
    Ratings:
    +20 / 0
    Home Country:
    New Zealand New Zealand
    Re: Scrolling

    Just chiming in that I'm suffering the same problem....
     
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!