Dshowhelper don't use the good screen to compute freqs (1 Viewer)


Documentation Group
  • Team MediaPortal
  • August 5, 2006
    Sweden Sweden
    Country flag
    • Thread starter
    • Moderator
    • #1
    Since the original thread is now locked I'd like to restart it here.

    Here's the issue if you didn't read the original thread:
    - I'm using the primary monitor at 60 Hz since it doesn't allow any other refresh rate in its native resolution.
    - The projector is connected as secondary monitor and set to 50 Hz to play 25 fps PAL TV smooth.

    Using MP 1.1.0 on secondary monitor, shift+1 says 60 Hz and there's lots of stuttering.
    After applying Scythe42's patch, shift+1 says 50 Hz but the video is playing at 40-50 Hz with lots of stuttering.
    If I change the primary monitor to 50 Hz the video is perfectly smooth (but main monitor looks horrible since it's now using a non-native resolution).
    For convenience I've now set both monitors to 60 Hz. TV isn't smooth but at least it's not stuttering as much as in the case of mixed refresh rates.

    I'd be happy to help testing any future patches :D


    Development Group
  • Team MediaPortal
  • November 12, 2007
    France France
    Country flag
    There's already a Mantis for it: 0002951: dshowhelper.dll uses first monitor to calculate freqs instead of the active one - MediaPortal Bugtracker

    I expanded the dshelper to get the current monitor from the C# side, but there are more bugs going deeper on the the C# part. When I have time I'll revisit them and try to provide a complete fix.

    I'm trying to look in this part and did you keep some code from it ? (to see how you do and to try to understand and test here locally) :)
    Talking with Tony and from my own debugging, the current screen is detected corretly now (1.4.0 based on your rework) and D3DDevice is send to dshowhelper but for some reason, the code seems to use drr from screen1 and not screen2 even if w7refresh C++ detect correct drr from screen2 etc.

    I notice on C# that refreshrate command is not correct (but i 'didn't use it for now will see @ later stage)

    So what i mean, is for testing/debugging, i force screen2 on C# and evrinit get correct d3d device from it but still not work.
    I would like to try to understand :)

    Thanks :)

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    J Blue Screen Error Submit: Bug Reports 0
    azzuro [fixed] 5011: Version label in Splash screen - pos, size from skin MediaPortal 1 61
    G [solved] Black Screen on all videos after upgrading to either 1.23 or 1.24 from 1.22 General Support 4
    F After resume, TV Server connection screen is shown General Support 4
    H random black screen live tv and videos (amended) General Support 0
    M [Duplicate] Always enter full screen when entering TV from main Menu Feature Requests 1
    M Change size of the splash screen Skins and Plugins Installer (MPEI) 2
    T Animated circular icon persists in centre of screen. General 10
    G Occasional Black screen on Live TV and Recorded TV Watch / Listen Media 5
    P MP2 Client Screen Flickering on Resume General 2
    Rob Hexenmeister Work arounds for an alternative home screen General Support 3
    lisag Can I get MP1 to open in the Recorded TV screen? MediaPortal 1 Talk 2
    R Media portal resumes with wrong screen resolution General Support 3
    N [Finished] [MP2-806] Playing a recorded radio program does not show screen to allow skipping forward, etc MediaPortal 2 141
    N [Finished] MP2-803 - Delete full series doesn't work when viewing a program in the extended schedule screen MediaPortal 2 12
    morpheus_xx [Finished] [MP2-802] TV-Settings availability in all TV screens MediaPortal 2 12
    G How to access Scheduled Recordings without going through TV Home screen General Support 3
    Rob Hexenmeister Radio Guide descriptions in myradio.xml (screen 30) MediaPortal 1 Skins 3
    L MP Playback Freezes When Unpausing from Minimized Screen General Support 6
    doskabouter Black screen while watching some iptv streams General Support 2
    ge2301 [Finished] [MP2-776] Improve busy screen appearance MediaPortal 2 14
    T Screen surface adjustment Feature Requests 1
    T frequent black screen no audio on playback NOT from beginning Watch / Listen Media 0
    Collective on screen stats not working 1.20 Pre Release 4
    O Want to move 21:9 video down to the screen bottom Watch / Listen Media 1
    Similar threads

    Top Bottom