Call for tester for 1.4.0 features and fixes (4 Viewers)

Status
Not open for further replies.

edterbak

Portal Pro
March 4, 2008
2,114
1,176
Home Country
Netherlands Netherlands
I edited my post above. To be sure you dont miss this info, here it is again.

As to the 1920x1080 thingy. I might have been messing around a bit with the fallback resolutions in the registry... Still the remains of my tinkering I guess. Dont remember exactly how to undo this right now. Need to search for that, if you need me to.

When I start MP, its fine. I turn off Yama. I see a black screen... Gheheh.. kiddin
When turning yama back on, it is black as you describe. Mouse is working.
Upon hitting windows key I return to the desktop. In the tray, I see only the Watchdog icon. Not doubled by a mediaportal.exe icon. I do however see the proces in the taskmanager. Upon killing that one, the logs are created. I do not know how to switch back to the non-trayed-MP-application. It wont go there. Ill test again to be sure and edit this post with the results.

[edit]
I tested again. Indeed what I say above is true. Black screen with operational mousepointer. Tray icon is gone.
Maybe this helps. When I kill the Mediaportal.exe in the taskmanager, The screen "blinks". A short screen off-on (~0,5 seconds) is visible. Would this suggest the D3D is killed at that moment?

Q1 : Do you want me to go to different fallback resolutions? What resolution?
Q2: Can I just delete all the entries (00 + 01) and reboot to let windows create fresh ones?
 
Last edited:

Scythe42

Retired Team Member
  • Premium Supporter
  • June 20, 2009
    2,065
    2,703
    51
    Berlin
    Home Country
    Germany Germany
    Delete the Configuration Subtree in the Registry and Reboot. It should be back to default afterwards. Then reconfigure your Desktop Graphic Settings.

    Just tried it on my machine. Keep a backup of the deleted tree - just in case...
     
    Last edited:

    edterbak

    Portal Pro
    March 4, 2008
    2,114
    1,176
    Home Country
    Netherlands Netherlands
    I just deleted EVERY entry under configuration. Reboot and just 2 new items pop up. Simulated and Sony (connected after the Yama)
    In simulated, the resolution is now at 1024 x 768.

    I did 2 tests.
    1st - Turn of yama receiver only. "... 00_58"
    2nd - Turn of Sony TV only. "... 01_13"

    Here are the results.
    In both cases the same full black screen. No trayed MP icon and a kind of initialisation flicker when I kill mediaportal.exe from taskmanager. Difference between the two is the mouse is not present after turning off sony TV only.
     
    Last edited:

    Scythe42

    Retired Team Member
  • Premium Supporter
  • June 20, 2009
    2,065
    2,703
    51
    Berlin
    Home Country
    Germany Germany
    Ah looks better now. I am seeing the proper 1024x768 on a disconnected display.

    Code:
    2012-12-18 00:58:03.091222 [Debug][MediaPortal(1)]: Main: WM_DISPLAYCHANGE
    2012-12-18 00:58:03.138723 [Info.][MediaPortal(1)]: Main: Resolution changed to 1024x768x32
    2012-12-18 00:58:03.213724 [Info.][MediaPortal(1)]: Main: Resolution does not match current presentation parameters
    2012-12-18 00:58:03.262474 [Debug][MediaPortal(1)]: Main: WM_GETMINMAXINFO
    2012-12-18 00:58:03.271225 [Info.][MediaPortal(1)]: D3D: Minimizing to tray

    And we are gone. Very good.

    Code:
    2012-12-18 00:58:03.356477 [Debug][MediaPortal(1)]: Main: WM_ACTIVATE
    2012-12-18 00:58:03.361477 [Info.][MediaPortal(1)]: Main: Deactivation Request Received

    Already gone, so we don't care

    Code:
    2012-12-18 00:58:03.550230 [Debug][MediaPortal(1)]: Main: WM_DISPLAYCHANGE
    2012-12-18 00:58:03.552730 [Info.][MediaPortal(1)]: Main: Resolution changed to 1024x768x32
    2012-12-18 00:58:03.556480 [Info.][MediaPortal(1)]: Main: Resolution does not match current presentation parameters
    2012-12-18 00:58:03.595231 [Debug][MediaPortal(1)]: D3D: OnLostFocus()

    Not good, we are getting the same one again! That's not expected. Probably the receiver is sending one for the display and one for itself. OK, that would cause a to minimize again on the next WM_GETMINMAXINFO. But there is none coming. The request is still pending.

    Time to turn the display on again. We still have a minimize request pending.

    Code:
    2012-12-18 00:58:18.543966 [Debug][MediaPortal(1)]: Main: WM_DISPLAYCHANGE
    2012-12-18 00:58:18.547967 [Info.][MediaPortal(1)]: Main: Resolution changed to 1920x1080x32
    2012-12-18 00:58:18.550967 [Info.][MediaPortal(1)]: Main: Resolution restored to current presentation parameters
    2012-12-18 00:58:18.671974 [Debug][MediaPortal(1)]: Main: WM_GETMINMAXINFO
    2012-12-18 00:58:18.680974 [Info.][MediaPortal(1)]: D3D: Restoring from tray

    And we are back in business. The minimize request was not executed as we were already minimized. Good. And because we are back in the old resolution MP can restore itself. So far so good.

    Code:
    2012-12-18 00:58:18.837983 [Debug][MediaPortal(1)]: Main: WM_ACTIVATE
    2012-12-18 00:58:18.843984 [Info.][MediaPortal(1)]: Main: Activation Request Received
    2012-12-18 00:58:18.852984 [Debug][MediaPortal(1)]: D3D: OnGotFocus()

    We are already active, so we don't care.

    Code:
    2012-12-18 00:58:19.379014 [Debug][MediaPortal(1)]: Main: WM_GETMINMAXINFO
    2012-12-18 00:58:19.404016 [Debug][MediaPortal(1)]: Main: WM_DISPLAYCHANGE
    2012-12-18 00:58:19.409016 [Info.][MediaPortal(1)]: Main: Resolution changed to 1920x1080x32
    2012-12-18 00:58:19.419516 [Info.][MediaPortal(1)]: Main: Resolution restored to current presentation parameters

    And we receive a display change again. Same as before. So a request for restoring from the tray is queued. No WM_GETMINMAXINFO follows. It comes early. Damn. But again if it comes nothing bad should happen as we are already restored from the tray.

    Code:
    2012-12-18 00:58:28.463905 [Debug][MediaPortal(1)]: Main: WM_ACTIVATE
    2012-12-18 00:58:28.466405 [Info.][MediaPortal(1)]: Main: Deactivation Request Received
    2012-12-18 00:58:28.468905 [Info.][MediaPortal(1)]: D3D: Minimizing to tray
    2012-12-18 00:58:28.482655 [Debug][MediaPortal(1)]: D3D: OnLostFocus()

    And that was probably you hitting Ctrl-Alt-Del.

    What probably could be the problem that we need to restore on the 2nd WM_DISPLAYCHANGE because the system is not yet ready... Need to think a bit about it.

    Just to make sure, when you see the black screen with the mouse, hitting the Windows Key, doesn't bringt you back to the desktop and show a minimized MP tray icon? That's strange as MP clearly indicates it is minimized....

    Also can you try without the watchdog running? Maybe that one is interferring here. I never use it, so it's just a guess. But I doubt it.

    No additional logs needed for your setup at the moment.

    PS: The flickering is probably just the D3D content that gets visible for a fraction of a second. No need to worry about this one. Just a side effect of killing the task.
     
    Last edited:

    edterbak

    Portal Pro
    March 4, 2008
    2,114
    1,176
    Home Country
    Netherlands Netherlands
    ..

    Also can you try without the watchdog running? Maybe that one is interferring here. I never use it, so it's just a guess. But I doubt it.
    Ahh.. you are going to like this.
    Did what you asked.. And... not using watchdog the GUI comes up asif nothing happend. Cycled though this 4-5 times. where only the 3rd time the GUI didnt come up, 4th 5th it did again.

    Tested this again WITH watchdog, to see if just one test off/on wasnt enough but this wasnt the case. there is a difference between with/without watchdog. :(

    Just to make sure, when you see the black screen with the mouse, hitting the Windows Key, doesn't bringt you back to the desktop and show a minimized MP tray icon? That's strange as MP clearly indicates it is minimized....
    no tray icon but it is actually in the taskmanager...weird

    going off to bed now while I can still sleep 3.5 hours :)
    Ill read up during the day tomorrow whats next to do.
     
    Last edited:

    riksmith

    Portal Pro
    April 18, 2009
    1,856
    322
    Home Country
    Netherlands Netherlands
    Just to be sure (so don't take offence): Is this not a case of the MP icon in the tray being a hidden entry and you need to press the arrow to show all hidden entries?
     

    edterbak

    Portal Pro
    March 4, 2008
    2,114
    1,176
    Home Country
    Netherlands Netherlands
    That could very well be, Ill check to be sure. Dont know yet. No offence taken. None at all. :) We all have to handle the language barrier, which might lead to different interpretations. AND.. Ofcourse I dont know it all. Otherwise I could have fixed this myself ghehehe.. (I wish I was that smart) I'll check/double check to be sure Im not sending Scythe on a wild goose chase. Dont want that.
    Thanks for making where to look THAT obvious for me. Tray/taskbar... Reading back my post, I might have swopped them. I meant indeed that there is no icon present in the taskbar. The tray, lower right corner I did not think of. Guess 02:30 was just a little too late for me to stay sharp. :oops:

    [edit]
    In addition, This might explain why I couldnt find an icon to doubleclick on to re-activate MP. Read that somewhere, but could find it.
     
    Last edited:

    riksmith

    Portal Pro
    April 18, 2009
    1,856
    322
    Home Country
    Netherlands Netherlands
    Well something strange is going on with this new code :)

    I can still not start MP in windowed mode.
    I managed to start MP correctly two times in fullscreenmode and now it is failing again, with or without fullscreensplash. (Unfortunately only logs from fail).

    Somehow MP screws up my resolutions. If i look in the config tool under "General" / "Startup Resume" the wrong resolution is also reported.

    I had been hacking in the registry before where you said, that is removed.
     

    Attachments

    • logwindow.rar
      7.9 KB
    Last edited:

    riksmith

    Portal Pro
    April 18, 2009
    1,856
    322
    Home Country
    Netherlands Netherlands
    And some logs with an older build which suddenly only works right after boot :confused:
     

    Attachments

    • logoldbuildafterboot.rar
      22.5 KB
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom