Help - Refresh Rate Not Adjusting
#1
I just did a reinstall on a fresh machine. I have a TV that can't handle 25hz, so I have an advanced settings file set up to revert to 60Hz for 25fps stuff. I leave my Windows desktop at 60Hz and set up XBMC to adjust refresh rate to match the video - for for 24fps movies the display switches to 24hz.

But after enabling this xml, my system is not switching to 24Hz anymore and is simply playing 23.98 fps files on a 60Hz display.

Here are the relevant sections of my log file:

19:03:02 T:3144 NOTICE: -----------------------------------------------------------------------
19:03:02 T:3144 NOTICE: load settings...
19:03:02 T:3144 NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
19:03:02 T:3144 NOTICE: Loaded settings file from special://profile/advancedsettings.xml
19:03:02 T:3144 NOTICE: Contents of special://profile/advancedsettings.xml are...
<advancedsettings>
<video>
<adjustrefreshrate>
<override>
<fps>25.0</fps>
<refresh>60.0</refresh>
</override>
<fallback>
<refresh>60.0</refresh>
</fallback>
</adjustrefreshrate>
</video>
</advancedsettings>
19:03:02 T:3144 NOTICE: Default DVD Player: dvdplayer
19:03:02 T:3144 NOTICE: Default Video Player: dvdplayer
19:03:02 T:3144 NOTICE: Default Audio Player: paplayer
------------

19:03:30 T:3144 NOTICE: DVDPlayer: Opening: U:\DRIVE1\MOVIES1\42 (2013)\42 (2013).avi
19:03:30 T:3144 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
19:03:30 T:3144 NOTICE: DXVA::CProcessorHD:TonguereInit - The Direct3d device doesn't support DXVA-HD.
19:03:30 T:3144 NOTICE: CWinRenderer:Tonguereinit - could not init DXVA-HD processor - skipping
19:03:30 T:4956 NOTICE: Thread DVDPlayer start, auto delete: false
19:03:30 T:4956 NOTICE: Creating InputStream
19:03:30 T:4956 NOTICE: Creating Demuxer
19:03:31 T:4956 NOTICE: Opening video stream: 0 source: 256
19:03:31 T:4956 NOTICE: Creating video codec with codec id: 13
19:03:31 T:4956 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-4 part 2
19:03:31 T:4956 NOTICE: Creating video thread
19:03:31 T:4956 NOTICE: Opening audio stream: 1 source: 256
19:03:31 T:4956 NOTICE: Finding audio codec for: 86019
19:03:31 T:4956 NOTICE: Creating audio thread
19:03:31 T:4876 NOTICE: Thread DVDPlayerVideo start, auto delete: false
19:03:31 T:4876 NOTICE: running thread: video_thread
19:03:31 T:4852 NOTICE: Thread DVDPlayerAudio start, auto delete: false
19:03:31 T:4852 NOTICE: running thread: CDVDPlayerAudio:Tonguerocess()
19:03:31 T:4852 NOTICE: Creating audio stream (codec id: 86019, channels: 2, sample rate: 48000, pass-through)
19:03:31 T:4876 NOTICE: fps: 23.976024, pwidth: 1280, pheight: 528, dwidth: 1280, dheight: 528
19:03:31 T:4876 NOTICE: Display resolution ADJUST : 1920x1080@ 60.00 - Full Screen (16) (weight: 0.166)
19:03:33 T:6096 NOTICE: Thread LanguageInvoker start, auto delete: false

As you can see, for this 23.976 .mkv, it is switching to 60HZ.

Any ideas? This same config with the same advanced settings file was working fine on my old install.

S
Reply
#2
Might be worth posting a full log at pastebin, xbmclogs or pastey.org
Please read the online manual (wiki) & FAQ (wiki) before posting.

Skins: Estuary | Xperience1080
Opinion: Never purchase HTC products
Reply
#3
Thanks! Here's the full log. Hopefully there's nothing sensitive in this:

http://xbmclogs.com/show.php?id=168869

I'm thinking maybe it's because I can't see a 23hz/23.98hz setting in the Catalyst control panel for my Radeon 6450.

Maybe XBMC sees the file is 23.98fps, sees that it can't set my refresh rate to 23.98hz, and uses the "fallback" value of 60.0? And ignores the 24hz available setting on my video card?

Maybe I'll try a manual entry in the advancedsettings file to force 24.0Hz for files with a FPS of 23.976024?
Reply
#4
Try this:

Code:
<advancedsettings>
   <splash>false</splash>
   <measurerefreshrate>true</measurerefreshrate>
   <useddsfanart>true</useddsfanart>
   <allowd3d9ex>true</allowd3d9ex>
  <videolibrary>
   <recentlyaddeditems>50</recentlyaddeditems>
   <cleanonupdate>true</cleanonupdate>
  </videolibrary>
      <video>
      <adjustrefreshrate>
        <override>
          <fpsmin>29.96</fpsmin>
          <fpsmax>30.01</fpsmax>
          <refresh>60</refresh>
        </override>
        <override>
          <fpsmin>23.96</fpsmin>
          <fpsmax>24.01</fpsmax>
          <refresh>24</refresh>
        </override>
        <override>
          <fpsmin>24.99</fpsmin>
          <fpsmax>25.01</fpsmax>
          <refresh>24</refresh>
        </override>
        <override>
          <fpsmin>49.99</fpsmin>
          <fpsmax>50.01</fpsmax>
          <refresh>60</refresh>
        </override>
      </adjustrefreshrate>
    </video>
</advancedsettings>
HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players iso menus
DIY HOME THEATER WIND EFFECT

W11 Pro 24H2 MPC-BE\HC madVR KODI 22 GTX960-4GB/RGB 4:4:4/Desktop 60Hz 8bit Video Matched Refresh rates 23,24,50,60Hz 8/10/12bit/Samsung 82" Q90R Denon S720W
Reply
#5
You should take out the <fallback> section.

So, it should look something like this:
Code:
<advancedsettings>
   <video>
      <adjustrefreshrate>
         <override>
            <fps>25.0</fps>
            <refresh>60.0</refresh>
         </override>
      </adjustrefreshrate>
   </video>
</advancedsettings>

I'm not near my HTPC, so the above is from memory.
HP Stream Mini w/Libreelec -> HDMI -> Toshiba 37"
Intel NUC8i3BEH w/Libreelec -> HDMI -> LG OLED55C3PUA -> S/PDIF -> Sony HT-CT80
Dell Optiplex 7050 Micro w/Libreelec -> HDMI -> Yamaha RX-V467 -> HDMI -> Toshiba 47L7200U
Reply

Logout Mark Read Team Forum Stats Members Help
Help - Refresh Rate Not Adjusting0