2018-06-16, 01:03
@fritsch, @lrusak, @FernetMenta,
i want to continue the discussion which i have started here: https://github.com/xbmc/xbmc/pull/13274
after debug logging and code review i came to the conclusion that interlaced output is not feeded in Kodi anymore in the internal resolution list. I have an override rule in advancedsetting which is also not working anymore. Here a debug log from start: http://ix.io/1dut
kodi-xrandr is working like before and has my interlace resolution included.
<mode id="0x49" name="1920x1080i" w="1920" h="1080" hz="30.00000" current="false" preferred="true"/>
<mode id="0x4d" name="1920x1080i" w="1920" h="1080" hz="25.00000" current="true" preferred="false"/>
<mode id="0x4e" name="1920x1080i" w="1920" h="1080" hz="29.97010" current="false" preferred="false"/>
As i understood, RES_DESKTOP is always included which made me possible to get any picture to my tv. But as mentioned already, when i select from Resolution dialog 1080i kodi switched to an unsupported resolution for my tv(60p). i could only get select 25p after i have connected to systemc via vnc. when i have switched to 30p via kodi-xrandr i could only select 30p. 25p dissapear.
when i start a 23.97 movie i have following output with 25p:
23:10:36.761 T:139730418378880 DEBUG: ------ Window Init (VideoFullScreen.xml) ------
23:10:36.761 T:139730418378880 INFO: Loading skin file: VideoFullScreen.xml, load type: KEEP_IN_MEMORY
23:10:36.765 T:139730418378880 DEBUG: Found Resolution 1920x1080@ 25.00 - Full Screen (16) from fallback (refreshmin:24.990 refreshmax:25.010)
23:10:36.765 T:139730418378880 NOTICE: Display resolution ADJUST : 1920x1080@ 25.00 - Full Screen (16) (weight: 0.043)
same video with 30p via xrandr:
23:12:22.309 T:139730418378880 DEBUG: ------ Window Init (VideoFullScreen.xml) ------
23:12:22.311 T:139730418378880 DEBUG: Trying to find exact refresh rate
23:12:22.311 T:139730418378880 DEBUG: No exact whitelisted resolution matched, trying double refresh rate
23:12:22.311 T:139730418378880 DEBUG: No double refresh rate whitelisted resolution matched, trying current resolution
23:12:22.311 T:139730418378880 DEBUG: No larger whitelisted resolution matched, trying current resolution with double refreshrate
23:12:22.311 T:139730418378880 DEBUG: No whitelisted resolution matched
23:12:22.311 T:139730418378880 NOTICE: Display resolution ADJUST : 1920x1080@ 30.00 - Full Screen (16) (weight: -28558484583144905327075535595264540672.000)
I have nothing selected in whitelist. Also Whitelist has no interlaced frequencies. I tried to find the issue in code but have not found it yet. If you need more information, please let me know.
System: x86_64/libreelec build from master on 9 june
i want to continue the discussion which i have started here: https://github.com/xbmc/xbmc/pull/13274
after debug logging and code review i came to the conclusion that interlaced output is not feeded in Kodi anymore in the internal resolution list. I have an override rule in advancedsetting which is also not working anymore. Here a debug log from start: http://ix.io/1dut
kodi-xrandr is working like before and has my interlace resolution included.
<mode id="0x49" name="1920x1080i" w="1920" h="1080" hz="30.00000" current="false" preferred="true"/>
<mode id="0x4d" name="1920x1080i" w="1920" h="1080" hz="25.00000" current="true" preferred="false"/>
<mode id="0x4e" name="1920x1080i" w="1920" h="1080" hz="29.97010" current="false" preferred="false"/>
As i understood, RES_DESKTOP is always included which made me possible to get any picture to my tv. But as mentioned already, when i select from Resolution dialog 1080i kodi switched to an unsupported resolution for my tv(60p). i could only get select 25p after i have connected to systemc via vnc. when i have switched to 30p via kodi-xrandr i could only select 30p. 25p dissapear.
when i start a 23.97 movie i have following output with 25p:
23:10:36.761 T:139730418378880 DEBUG: ------ Window Init (VideoFullScreen.xml) ------
23:10:36.761 T:139730418378880 INFO: Loading skin file: VideoFullScreen.xml, load type: KEEP_IN_MEMORY
23:10:36.765 T:139730418378880 DEBUG: Found Resolution 1920x1080@ 25.00 - Full Screen (16) from fallback (refreshmin:24.990 refreshmax:25.010)
23:10:36.765 T:139730418378880 NOTICE: Display resolution ADJUST : 1920x1080@ 25.00 - Full Screen (16) (weight: 0.043)
same video with 30p via xrandr:
23:12:22.309 T:139730418378880 DEBUG: ------ Window Init (VideoFullScreen.xml) ------
23:12:22.311 T:139730418378880 DEBUG: Trying to find exact refresh rate
23:12:22.311 T:139730418378880 DEBUG: No exact whitelisted resolution matched, trying double refresh rate
23:12:22.311 T:139730418378880 DEBUG: No double refresh rate whitelisted resolution matched, trying current resolution
23:12:22.311 T:139730418378880 DEBUG: No larger whitelisted resolution matched, trying current resolution with double refreshrate
23:12:22.311 T:139730418378880 DEBUG: No whitelisted resolution matched
23:12:22.311 T:139730418378880 NOTICE: Display resolution ADJUST : 1920x1080@ 30.00 - Full Screen (16) (weight: -28558484583144905327075535595264540672.000)
I have nothing selected in whitelist. Also Whitelist has no interlaced frequencies. I tried to find the issue in code but have not found it yet. If you need more information, please let me know.
System: x86_64/libreelec build from master on 9 june