adjust refreshrate not working

Hello,

I have some problems with the automatically refresh rate adjustment with stable Kodi 16.1
I have a custom modeline for 23.976 playback in my xorg.conf with my nvidia card:

ModeLine “1920x1080_23.976” 74.11 1920 2557 2602 2750 1080 1084 1089 1124 +hsync +vsync

At default I have set the refresh rate to 50hz in Kodi. I have set the option “adjust refresh rate” to “at start/stop”.
This was working fine in the past (I had a linux installation about a year ago where it was working without problems).
In generell kodi is finiding my custom resolution (see ID:0x1e9 ) and when starting a file with 23.976 kodi is trying to set the refresh rate but seems to fail.
The refresh rate is still 50hz.
If I manually change the refreshrate to “23.98” (It´s the entry name in kodi) in kodi the resolution is changing without any problems and my TV tells me that he has a 24p source.

In the debug logfile I can see the following error:

22:51:24 T:139827020606272 DEBUG: Selected UDev as storage provider
22:51:24 T:139827020606272 NOTICE: Setup SDL
22:51:24 T:139827020606272 INFO: Available videomodes (xrandr):
22:51:24 T:139827020606272 INFO: Output ‘HDMI-0’ has 61 modes
22:51:24 T:139827020606272 INFO: ID:0x1e8 Name:1920×1080 Refresh:60.000000 Width:1920 Height:1080
22:51:24 T:139827020606272 INFO: Pixel Ratio: 1.007056
22:51:24 T:139827020606272 INFO: ID:0x1e9 Name:1920×1080 Refresh:23.976061 Width:1920 Height:1080
22:51:24 T:139827020606272 INFO: Pixel Ratio: 1.007056
22:51:24 T:139827020606272 INFO: ID:0x1ea Name:1920×1080 Refresh:59.939388 Width:1920 Height:1080
22:51:24 T:139827020606272 INFO: Pixel Ratio: 1.007056
22:51:24 T:139827020606272 INFO: ID:0x1eb Name:1920×1080 Refresh:59.933880 Width:1920 Height:1080
22:51:24 T:139827020606272 INFO: Pixel Ratio: 1.007056
22:51:24 T:139827020606272 INFO: ID:0x1ec Name:1920×1080 Refresh:50.000000 Width:1920 Height:1080
……
22:52:23 T:139825848067840 NOTICE: fps: 23,976024, pwidth: 1920, pheight: 1080, dwidth: 1920, dheight: 1080
22:52:23 T:139825848067840 DEBUG: OutputPicture – change configuration. 1920×1080. framerate: 23,98. format: VDPAU
22:52:23 T:139825848067840 NOTICE: Display resolution ADJUST : 1920×1080@ 23.98 – Full Screen (16) (weight: 0,000)
22:52:23 T:139825848067840 DEBUG: CXBMCRenderManager::Configure – 5
22:52:23 T:139825021687552 NOTICE: VDPAU::COutput registered output surfaces
22:52:23 T:139827020606272 NOTICE: Previous line repeats 1 times.
22:52:23 T:139827020606272 DEBUG: Activating window ID: 12005
22:52:23 T:139827020606272 DEBUG: —— Window Deinit (MyVideoNav.xml) ——
22:52:23 T:139827020606272 NOTICE: CWinSystemX11::SetFullScreen – calling xrandr
22:52:23 T:139827020606272 DEBUG: OnLostDevice – notify display change event
22:52:23 T:139827020606272 DEBUG: Flush – flushing renderer
22:52:23 T:139827020606272 NOTICE: CVDPAU::OnLostDevice event
22:52:23 T:139827020606272 NOTICE: (VDPAU) FiniVDPAUOutput
22:52:23 T:139824740693760 NOTICE: CMixer::OnExit: Output Thread terminated
22:52:23 T:139824740693760 DEBUG: Thread Vdpau Mixer 139824740693760 terminating
22:52:23 T:139825021687552 NOTICE: VDPAU::COutput: vdpau gl interop finished
22:52:24 T:139825021687552 NOTICE: COutput::OnExit: Output Thread terminated
22:52:24 T:139825021687552 DEBUG: Thread Vdpau Output 139825021687552 terminating
22:52:24 T:139827020606272 DEBUG: CVDPAU::FiniVDPAUOutput destroying 5 video surfaces
22:52:24 T:139827020606272 NOTICE: VDPAU::Close – closing decoder context
22:52:24 T:139827020606272 ERROR: CXRandR::SetMode: asked to change resolution for mode that exists but with different w/h/hz: HDMI-0 mode: 0x1e9. Searching for similar modes…
22:52:24 T:139827020606272 WARNING: CXRandR::SetMode: found alternative mode (different hz): HDMI-0 mode: 0x1e8.
22:52:24 T:139827020606272 WARNING: CXRandR::SetMode: found alternative mode (different hz): HDMI-0 mode: 0x1e9.
22:52:24 T:139827020606272 WARNING: CXRandR::SetMode: found alternative mode (different hz): HDMI-0 mode: 0x1ea.
22:52:24 T:139827020606272 WARNING: CXRandR::SetMode: found alternative mode (different hz): HDMI-0 mode: 0x1eb.
22:52:24 T:139827020606272 WARNING: CXRandR::SetMode: found alternative mode (different hz): HDMI-0 mode: 0x1ec.
22:52:24 T:139827020606272 WARNING: CXRandR::SetMode: found alternative mode (different hz): HDMI-0 mode: 0x1ed.
22:52:24 T:139827020606272 WARNING: CXRandR::SetMode: found alternative mode (different hz): HDMI-0 mode: 0x1ee.
22:52:24 T:139827020606272 WARNING: CXRandR::SetMode: found alternative mode (different hz): HDMI-0 mode: 0x1ef.
22:52:24 T:139827020606272 WARNING: CXRandR::SetMode: found alternative mode (different hz): HDMI-0 mode: 0x1f0.
22:52:24 T:139827020606272 WARNING: CXRandR::SetMode: found alternative mode (different hz): HDMI-0 mode: 0x1f1.
22:52:24 T:139827020606272 WARNING: CXRandR::SetMode: found alternative mode (different hz): HDMI-0 mode: 0x1f2.
22:52:24 T:139827020606272 INFO: XRANDR: /usr/lib/x86_64-linux-gnu/kodi/kodi-xrandr –screen 0 –output HDMI-0 –mode 0x1f2