Scythe42's fixes for 1.4.0 (8 Viewers)

Status
Not open for further replies.

Scythe42

Retired Team Member
  • Premium Supporter
  • June 20, 2009
    2,065
    2,703
    51
    Berlin
    Home Country
    Germany Germany
    Seems to be OK. I would not call it a bug in Windows. It probably can even be avoided by tweaking MPTray or the SplashScreen a bit. I would reword it in a more neutral way. Something along the lines of "Windows default notification behavior".

    In general the the task bar flash feature (I have no clue how MS calls it) does not always place nicely with fullscreen applications launched by another application and not by user input.

    "ForegroundFlashCount defines the number of times the taskbar button flashes to notify the user that the system has activated a background window. If the time elapsed since the last user input exceds the vale of ForegroundLockTimeout, the window will automatically be brought to the foreground."
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Log attached :

    I start MP in fullscreen -> font OK
    ALT-ENTER (delay regression here) to windowed -> font OK
    ALT-ENTER (fast now) to fullscreen -> font NOK
    ALT-ENTER (fast now) to windowed -> font OK

    I have try to take photo with my phone but we can't really see the diff :(
     

    Attachments

    • MediaPortal_font.zip
      8.8 KB

    Scythe42

    Retired Team Member
  • Premium Supporter
  • June 20, 2009
    2,065
    2,703
    51
    Berlin
    Home Country
    Germany Germany
    So it appears to be doing the D3D reset on the fullscreen -> windowed transition, but not on the windowed -> fullscreen transition (and once it is in windowed aspect ratio mode, it won't switch back to fullscreen aspect ratio - you have to quit and restart MP)
    You are right. You know what: I tried to limit when the D3D backbuffer gets re-created. Obviously that did not work very well. Instead of tweaking this, I just reset it on every switch and we should be done here.

    Already in GIT, if you want to give it a try right away: https://github.com/MediaPortal/MediaPortal-1/commit/866257ba52af49c7f9f7f634e9be330f1b8dffe0

    I have try to take photo with my phone but we can't really see the diff :(
    Looks like we getting hanging here on switching fullscreen/windowed mode. I know what you are observing. No need for screenshots.

    Please try with the latest change in GIT if this sasisfies you more. Note that the quality in windowed mode is lower than the one in fullscreen mode, because of the smaller backbuffer. If I would use 4 * screen resolution they would be even more crisp.

    You probably got used too much to the large font textures :)

    Anyway, we have to draw a line some where. The font rendering gets replaced anyway.

    Did the users who reported problems with Intel graphics ever report back ?
    Initial user no. But someone made a post that it worked on another integrate GPU without hardware vertex transformation support. That's good enough for me.
     
    Last edited:

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Looks like we getting hanging here on switching fullscreen/windowed mode. I know what you are observing. No need for screenshots.

    Please try with the latest change in GIT if this sasisfies you more. Note that the quality in windowed mode is lower than the one in fullscreen mode, because of the smaller backbuffer. If I would use 4 * screen resolution they would be even more crisp.

    You probably got used too much to the large font textures :)

    Anyway, we have to draw a line some where. The font rendering gets replaced anyway.

    Thanks m8, it works :)

    I think like we always reset, we get a delay between full/windowed/full etc. that not easy to satisfied all people lol
    If there a way to speedup this delay ? it was instant few commit ago :) i will try to play video and see what happen and i will also see if the delay is there when minimize to systray / restore :)
     

    Helios61

    Retired Team Member
  • Premium Supporter
  • January 30, 2008
    4,587
    873
    62
    NRW
    Home Country
    Germany Germany
    Hi!
    Unfortunately the issue, i've reported in #92 doesn't seems to be fixed here! Log and Screenshot attached!

    - System Specs used : PC
    - How many displays : 2
    - What resolution does each display use : LG 42LM660S/1920*1080 - Samsung 226BW/1152*864
    - More than one GPU used : NO
    - How are displays connected : LG -> HDMI - Samsung -> DVI
    - How are they positioned : Screenshot
    - Which one is the primary one : Screenshot
    - On which do you start MP : On Display #2 (LG 42LM660S)
    - Where is the taskkbar positioned of Windows : On Display #1
    - Screenshot of the whole windows desktop when it is wrong. Not just MP, that does not elp me.
    - Skin Used : Default wide

    Best regards
    Helios
     

    Attachments

    • Bild_036.jpg
      Bild_036.jpg
      192.1 KB

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Hi,

    I let running MP on my DEV PC (for music to eventually spot an issue) and from work i just take control over it (Remote Desktop) and MP seems freeze.
    I attached log if @Scythe42 can spot anything :)
     

    Attachments

    • MediaPortal_freeze_RDS_connexion.rar
      22.5 KB

    elliottmc

    Retired Team Member
  • Premium Supporter
  • August 7, 2005
    14,927
    6,061
    Cardiff, UK
    Home Country
    United Kingdom United Kingdom
    Hi,

    I let running MP on my DEV PC (for music to eventually spot an issue) and from work i just take control over it (Remote Desktop) and MP seems freeze.
    I attached log if @Scythe42 can spot anything :)

    Very unusual usage case. Should be fixed if possible, but does this happen in 1.3.0 ?

    We should be careful about delaying these fixes (which will benefit most users) in order to fix a couple of unusual cases.
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom