[no Bug] Gui low FPS with no focus and no running video (1 Viewer)

dedi

Portal Pro
January 27, 2010
118
22
Home Country
Switzerland Switzerland
It's pretty easy explained: When MediaPortal has no window focus, it has about 9fps. When a Video or TV is running, its fine again, even without focus.

logs are attached but maybe useless.
 

tourettes

Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    It is done on purpose, works as designed. This is to give more CPU / GPU time for other applications that might have been launched from MP. I know it is not the best way, the correct way would be to have plugins to be able to disable the rendering completely.
     

    .dcp

    Portal Member
    May 3, 2007
    15
    1
    45
    Home Country
    Germany Germany
    AW: Gui low FPS with no focus and no running video

    ive noticed exactly the same behavior. i tried upping the priority of mp to no effect. any ideas on how to workaround this?
     

    elliottmc

    Retired Team Member
  • Premium Supporter
  • August 7, 2005
    14,927
    6,061
    Cardiff, UK
    Home Country
    United Kingdom United Kingdom
    Re: AW: Gui low FPS with no focus and no running video

    ive noticed exactly the same behavior. i tried upping the priority of mp to no effect. any ideas on how to workaround this?

    No. As tourettes says, this is done by design.

    Mark
     

    dedi

    Portal Pro
    January 27, 2010
    118
    22
    Home Country
    Switzerland Switzerland
    "always on top" is a workaround, if you have a dedicated htpc, as it gets the focus always.

    I hope MP2 will take a little more care for systems which are not only running Media Portal, since this one here isn't the only problem for a "second display htpc" (speaking from dynamic refresh rates and remote controls).
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    "always on top" is a workaround, if you have a dedicated htpc, as it gets the focus always.

    Better workaround would be to build own MP version. It s just few lines of code that needs to be commented out to remove that restriction. I can find those if someone is interested in building a own version.

    I hope MP2 will take a little more care for systems which are not only running Media Portal, since this one here isn't the only problem for a "second display htpc" (speaking from dynamic refresh rates and remote controls).

    I hope too since lot of users are asking for those :) But the fact is that it is not always up to the application, also GPU drivers play big role in multi display setups and cause gray hairs (especially for the developers). Also handling things like moving DirectX application between different displays are going to complicate the code a lot in several places. But lets see what MP2 has to offer for multi display users (I personally use only one display since I know that the GPU drivers have been really problematic in the past with the DirectX and video playback, so it supporting such wont be on my TODO list).
     

    Users who are viewing this thread

    Similar threads

    Fixed, I think. Certainly the vintage MP2 installer that I was using no longer installs the LAV filters. I can only assume that these were never part of the install package itself, but rather downloaded during the install, and that link no longer exists. Shame that the installer doesn't indicate this. Last time when I installed the...
    Fixed, I think. Certainly the vintage MP2 installer that I was using no longer installs the LAV filters. I can only assume that...
    Hi all, I've recently retired my MP2 setup for my main HTPC and gone back to separates, but I wanted to retain the ability to play...
    Replies
    4
    Views
    394
    Reading through your code, I can see it's more than a couple steps above my paygrade. :cry:
    Reading through your code, I can see it's more than a couple steps above my paygrade. :cry:
    I used to run the TVService under the "NT Service\TVService" account to follow least privileges principal (not exposing my whole...
    Replies
    3
    Views
    2K
    I noticed there's an updated Visual C++ Runtime (14.50.35710), maybe try to reinstall the runtimes? That's what fixed the issue when I tried 1.38.1
    I noticed there's an updated Visual C++ Runtime (14.50.35710), maybe try to reinstall the runtimes? That's what fixed the issue...
    I just updated from 1.37 to 1.38. MediaPortal 1.38 exits abruptly when stopping video playback. I did three tests; Debug with...
    Replies
    38
    Views
    11K
    To other people reading about this 'issue', Doskabouter provided me with a fix/patch. It is a modified version of tswriter.ax which solved the problem with dolby digital plus audio. I want to thank Doskabouter for all his time and energy he put into resolving this!!
    To other people reading about this 'issue', Doskabouter provided me with a fix/patch. It is a modified version of tswriter.ax which...
    Hi all, I could use some help with the following; OS: Win11 24H2 TV server: 1.37.000.0|x64 (working with Mediaportal for maybe 20...
    Replies
    4
    Views
    3K
    I used to use the grabber but a few years back it disappeared on FreeSat DVBS. That is when I changed to EPG Collector. The extra benefit is that it collects from the Sky platform so it will give EPG for all the FreeSat channels plus the unencrypted movie channels on the Sky platform. It also allows me to pick the channels dedicated...
    I used to use the grabber but a few years back it disappeared on FreeSat DVBS. That is when I changed to EPG Collector. The extra...
    Hi everyone, I hope you are all well My Mum's Mediaportal lost it's marbles thanks to Microsoft update, (even though I had update...
    Replies
    2
    Views
    2K
    Top Bottom