Automatic Refreshrate Changer (1 Viewer)

FantaXP7

Portal Pro
February 3, 2009
204
1
have you enabled "use default refreshrate" with "cinema_hz", "ntsc_hz" or "pal_hz"?

edterbak,

Thank you for the reply. I should have looked around this thread before posting as it was on the first page. Lazy of me. I am not 100% sure as of right now that the settings are sticking but I will play around some more. The reason why I am posting before I am sure it worked is because on one of my systems I am getting the blue screen just like sphinx. After I watch something or stop something, I get the blue screen. Note though that this is on my test setup that has an old ati x1600 pro within windows 7, with generic windows drivers. I guess they stopped supporting the card. Also note that I watched an entire movie on my htpc which has windows 7, ati 4550 and real ati drivers and it did not crash.

Anyways, this is a possible problem to the situation as my card is old and has the generic drivers. I will look into it further when I am home from work, but if you find anything please share sphinx.
 

chimbochoc

Portal Member
July 11, 2008
37
1
Switching to 24hz but immediately switches back

Hi all,

just tried out MP 1.0.2 with the dynamic refresh rate option (using 12noon dc, force=on, device reset=off, default=pal_hz).

What I was noticing was strange: when I opened a 24hz .mkv file it switched to 24hz as desired, but then it always switches back to 50hz before the movie starts playing.

I have also played around with wait (5 seconds), but that didn't help either :-/

Any ideas?

Thanks and best regards,
chimbo
 

edterbak

Portal Pro
March 4, 2008
2,114
1,176
Home Country
Netherlands Netherlands
what OS are you on? Do you use evr or vmr9? (I use xp+sp3 with vrm9 and its OK)

might I suggest you fill in your system specs. This would help.
 

Vimes

MP Donator
  • Premium Supporter
  • January 19, 2009
    230
    33
    Earth, for now
    Home Country
    United Kingdom United Kingdom
    Hello
    I used to use the Auto refresh changer fine and it worked great when I used Vista. However I have now changed over to use Windows 7 x64 (build 7201) and there are problems.
    I am still using MP 1.02.
    It is a clean install of Windows and MP.
    I have checked the boxes applicable to ensure that the refresh rate changer should work but even though I get the popup to notify that it has changed when I check with the TV's remote I am informed that it has remained set at 50hz.
    The popup box informs me of the change to 24hz (when it isn't) and then the change to 50hz (which is correct but that is because it doesn't change in the first place to 24hz).
    I have set the default refresh rate to pal_hz and I am running known 24hz material that switched the TV fine to 24hz when using Vista. It also used to switch back to 50hz when the film had been stopped.
    My system specifications are within my sig and I am using the same revision of drivers for my NVidia 9400m graphics chip as I used previously. In fact the only change had been to using Windows 7.

    I have tried to force the change and even reset the device, neither having any effect in any combination.

    If I manually set the TV to 60hz, for example, or I could use 24hz, it will remain like that through all the testing even though I'm informed of the refresh rate changing from the popups.

    EVR is being used as a renderer, if that helps.

    Thanks for any help :)
     

    Vimes

    MP Donator
  • Premium Supporter
  • January 19, 2009
    230
    33
    Earth, for now
    Home Country
    United Kingdom United Kingdom
    I thought that I might need to give the 1.1 Alpha a go.

    So I installed the Alpha and then found that again no refresh rate changing was occurring, even though I got the popup message to confirm that it was happening before the film and then after to invoke the default hz.

    I then set it to force the refresh rate and got my very first BSOD with a fault in the CDD.dll.

    Now when I run MP 1.1 Alpha I get the following problem...



    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.InvalidOperationException: There is an error in XML document (0, 0). ---> System.Xml.XmlException: Root element is missing.
    at System.Xml.XmlTextReaderImpl.Throw(Exception e)
    at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
    at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
    at System.Xml.XmlTextReaderImpl.Read()
    at System.Xml.XmlTextReader.Read()
    at System.Xml.XmlReader.MoveToContent()
    at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSettings.Read8_Settings()
    --- End of inner exception stack trace ---
    at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
    at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader)
    at MediaPortal.Player.DSP.Settings.LoadSettings()
    at MediaPortal.Player.DSP.Settings.get_Instance()
    at MediaPortal.Configuration.Sections.MusicDSP.SaveSettings()
    at MediaPortal.Configuration.SettingsForm.SaveSectionSettings(TreeNode currentNode)
    at MediaPortal.Configuration.SettingsForm.SaveAllSettings()
    at MediaPortal.Configuration.SettingsForm.applyButton_Click(Object sender, EventArgs e)
    at MediaPortal.Configuration.SettingsForm.okButton_Click(Object sender, EventArgs e)
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4926 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    Configuration
    Assembly Version: 1.0.3.28701
    Win32 Version: 1.0.3.23090
    CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Configuration.exe
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4926 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4926 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4926 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    Core
    Assembly Version: 1.0.3.28694
    Win32 Version: 1.0.3.23090
    CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Core.DLL
    ----------------------------------------
    Utils
    Assembly Version: 2.2.7.28690
    Win32 Version: 2.2.7.23090
    CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Utils.DLL
    ----------------------------------------
    System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4926 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    System.ServiceProcess
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4926 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.ServiceProcess/2.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll
    ----------------------------------------
    System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4926 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    BassRegistration
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/BassRegistration.DLL
    ----------------------------------------
    s2iajlxv
    Assembly Version: 2.2.7.28690
    Win32 Version: 2.0.50727.4926 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    Microsoft.DirectX.Direct3D
    Assembly Version: 1.0.2902.0
    Win32 Version: 9.05.132.0000
    CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.Direct3D/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3D.dll
    ----------------------------------------
    Bass.Net
    Assembly Version: 2.4.4.3
    Win32 Version: 2.4.4.3
    CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Bass.Net.DLL
    ----------------------------------------
    Databases
    Assembly Version: 1.0.3.28696
    Win32 Version: 1.0.3.23090
    CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Databases.DLL
    ----------------------------------------
    RemotePlugins
    Assembly Version: 1.0.3.28697
    Win32 Version: 1.0.3.23090
    CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/RemotePlugins.DLL
    ----------------------------------------
    DirectShowLib
    Assembly Version: 2.0.0.23090
    Win32 Version: 2.0.0.23090
    CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/DirectShowLib.DLL
    ----------------------------------------
    MPInstaller.Library
    Assembly Version: 1.0.3.28699
    Win32 Version: 1.0.3.23090
    CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/MPInstaller.Library.DLL
    ----------------------------------------
    Microsoft.DirectX
    Assembly Version: 1.0.2902.0
    Win32 Version: 5.04.00.2904
    CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll
    ----------------------------------------
    Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4926 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    ----------------------------------------
    CSScriptLibrary
    Assembly Version: 1.9.0.0
    Win32 Version: 1.9.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/CSScriptLibrary.DLL
    ----------------------------------------
    1dcc9fd0-80fb-4d29-b04c-0e6a0d020c42
    Assembly Version: 0.0.0.0
    Win32 Version: 0.0.0.0
    CodeBase: file:///C:/Users/Dibbler/AppData/Local/Temp/1dcc9fd0-80fb-4d29-b04c-0e6a0d020c42.tmp
    ----------------------------------------
    System.Runtime.Serialization.Formatters.Soap
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4926 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Serialization.Formatters.Soap/2.0.0.0__b03f5f7f11d50a3a/System.Runtime.Serialization.Formatters.Soap.dll
    ----------------------------------------
    System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4926 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
    ----------------------------------------
    kgfofvjo
    Assembly Version: 1.0.3.28694
    Win32 Version: 2.0.50727.4926 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:

    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>

    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.





    At least I have 1.02 on my HTPC and, apart from no refresh rate changer, all is well.

    FWIW I did load the 12 noon display changer and tried to use that via a cmd window. It too went through the motions of flickering the TV screen to suggest that it was invoking the 24hz refresh rate and it DOES work. I can change rates back and forth fine.

    So when I add the following to my MediaPortal.xml file...

    <section name="general">
    <entry name="autochangerefreshrate">yes</entry>
    <entry name="cinema_ext">C:\\Program Files (x86)\\12noon Display Changer\\dccmd.exe -refresh=24 -quiet</entry>
    <entry name="pal_ext">C:\\Program Files (x86)\\12noon Display Changer\\dccmd.exe -refresh=50 -quiet</entry>
    <entry name="ntsc_ext">C:\\Program Files (x86)\\12noon Display Changer\\dccmd.exe -refresh=60 -quiet</entry>
    <entry name="tv_ext">C:\\Program Files (x86)\\12noon Display Changer\\dccmd.exe -refresh=50 -quiet</entry>
    <entry name="cinema_fps">23.976;24</entry>
    <entry name="pal_fps">25</entry>
    <entry name="ntsc_fps">29.97;30</entry>
    <entry name="tv_fps">25</entry>
    <entry name="cinema_hz">24</entry>
    <entry name="pal_hz">50</entry>
    <entry name="ntsc_hz">30</entry>
    <entry name="tv_hz">50</entry>
    <entry name="default_hz">pal_hz</entry>
    <entry name="use_default_hz">yes</entry>
    <entry name="devicereset">no</entry>
    <entry name="force_refresh_rate">no</entry>


    ... and remove what was previously there relating to the refresh rate changing it works a treat :)
     

    johan_80

    Portal Pro
    April 27, 2009
    65
    0
    I bump this one:

    Might have found another bug (this one is more serious than not deconstructing the graph....any ideas on that one?) :

    If you start playback of an album (a couple of mp3's in a folder) MediaPortal will hang when the last song ends.

    Here is my log.

    The only thing I've done is to start MediaPortal and played through a couple of song. When the last one ended so did MediaPortal (crashed).

    Im using MediaPortal 1.0.2 with the latest Automatic Refresh Changer patch from this thread.

    Without the latest patch (clean MediaPortal 1.0.2) everything is fine...

    Anyone know if this is fixed with MediaPortal 1.1a?
     

    Damandan

    Portal Pro
    May 19, 2007
    111
    12
    40
    Tegelen
    Home Country
    Netherlands Netherlands
    I thought that I might need to give the 1.1 Alpha a go.

    So I installed the Alpha and then found that again no refresh rate changing was occurring, even though I got the popup message to confirm that it was happening before the film and then after to invoke the default hz.

    I then set it to force the refresh rate and got my very first BSOD with a fault in the CDD.dll.

    Now when I run MP 1.1 Alpha I get the following problem...

    So I had exactly the same problem. Only for me Automatic Refreshrate Changer only works for series and movies, not for live tv. Any idea on how this can be? And the occasional crash with CDD.dll is still occuring which was not the case with MediaPortal 1.0.2.
     

    edterbak

    Portal Pro
    March 4, 2008
    2,114
    1,176
    Home Country
    Netherlands Netherlands
    I bump this one:

    Might have found another bug (this one is more serious than not deconstructing the graph....any ideas on that one?) :

    If you start playback of an album (a couple of mp3's in a folder) MediaPortal will hang when the last song ends.

    Here is my log.

    The only thing I've done is to start MediaPortal and played through a couple of song. When the last one ended so did MediaPortal (crashed).

    Im using MediaPortal 1.0.2 with the latest Automatic Refresh Changer patch from this thread.

    Without the latest patch (clean MediaPortal 1.0.2) everything is fine...

    Anyone know if this is fixed with MediaPortal 1.1a?

    The bug with the playback of an album: I think you posted this in the wrong forum section. This is not related to the automatic refreshrate changer.. oh.. Dynamic Refreshrate I mean. You also did not actually attach a log file.

    Just to mention it; You do not need to patch anything if you are using MP 1.02. Dynamic refreshrate is automatically build in. You only need to activate it (expert mode). This is described like that in the opening post.

    @Damandan + Vymes
    Do you think you can still get a log file of it? I think the developers would like to see more details about it. (I am not a developer though) I think a bug-report is good to make about this.
     

    Damandan

    Portal Pro
    May 19, 2007
    111
    12
    40
    Tegelen
    Home Country
    Netherlands Netherlands
    edterbak
    I could try and redo the steps that I did when mediaportal crashed. However I noticed the last time this happend that only the TsReader.log file was filled. The rest was just empty (because of the BSOD). But I will try tomorrow and post the result here and in the bugreport section for 1.1.0 Alpha.
     

    Users who are viewing this thread

    Top Bottom