Posts by Teppopups

    Dear Support,

    I've seen several other threads about blank screen issues, but seems that my case is little different.

    This one is similar to mine, except the fact that my board does not support CEC and I cannot fully relate it to switching on/off the TV.
    thread-4949.html?highlight=blank

    In My case it happen occasionally, when I come home from work, I switch my TV to the LibreELEC's input (the box is running 24/7), I see the blank screen. At the same time I can access it over the network (Ping, Samba, Web, SSH), and can play the movies. When I start a movie using a Web interface, the TV switches the refresh modes as normally, there is sound, but no picture. Addons (transmission, rtorrent) are working fine. Seems that all is working except the screen, which is black. I cannot reproduce the issue intentionally.

    Kodi restart does not help,
    # systemctl restart kodi

    only reboot brings back the screen.
    # reboot

    I'm not an expert in linux and don't know where to look. I attached log files. Not sure which one is needed, so attached several. Hope this will help to find the reason.

    Best Regards,
    Tepp


    Unfortunately changing the settings directly in the guisettings.xml file did not work for me, as it won't save the values i put in there and will always revert back to the wrong settings once a video is played or after a reboot.
    Also tried overriding these values with the advancedsettings.xml file but still no luck there, it won't override the guisettings.xml in this case.

    The only way to make it work here was to play a video file of every refresh rate which gives me the wrong aspect ratio, bring the OSD, go to video settings then "video calibration".

    Today I realized that my aspect settings also reverted to original wrong values :(

    Edit:
    Seems that you need to stop the Kodi before modifying the file, otherwise it will revert back on reboot/restart:

    1. stop the Kodi, so it will write the config from memory to a file:
    # systemctl stop kodi

    2. edit the guisettings.xml file, then start the Kodi again so it will read the configuration:
    # systemctl start kodi

    3. verify if the file changes preserved after restart:
    # systemctl restart kodi

    It worked for me, even after several reboots the aspect is still correct: 1.000000

    Hi vitorp07,

    Yes you also can modify aspect ratios from the GUI: manually switch one-by-one to all resolutions and refresh rates and set a correct aspect ratio in the Video Calibration window. This method is not precise, as will set only 3 digits after comma, that's why I recommend direct file modification. But it should be OK in case if the file method does not work for some reason.

    Hi All,

    Great news! I found where is the problem.

    The issue is caused by wrong default aspect ratios in the GUI configuration file (guisettings.xml). The file is located in /storage/.kodi/userdata/ directory (also is accessible through the samba share "Userdata"). All resolutions and refresh rates are described separately in the file, so the aspect ratios can be configured differently. By default, 1920x1080@60Hz mode has correct value, but others not. That's why we have black bars on the videos and the image is squeezed horizontally.

    To correct this, you have to edit the aspect ratio values in the guisettings.xml file for all required resolutions. I changed only 1920x1080 modes as I'm using only them.

    For example, for [email protected] mode, default aspect ratio was 1.009191, which is wrong:
    ---
    <resolution>
    <description>HDMI1: 1920x1080 @ 23.98Hz</description>
    <subtitles>1042</subtitles>
                <pixelratio>1.009191</pixelratio>
    <refreshrate>23.976080</refreshrate>
    <output>HDMI1</output>
    <xrandrid>0x10f</xrandrid>
    <overscan>
    <left>0</left>
    <top>0</top>
    <right>1920</right>
    <bottom>1080</bottom>
    </overscan>
    </resolution>
    ---
    You have to change this value to: 1.000000 for all standard square-pixel resolutions and refresh rates (for example 1920x1080, 1280x720).

    Best Regards,
    Tepp

    Edit:
    Seems that you need to stop the Kodi before modifying the file, otherwise it will revert back on restart:

    1. stop the Kodi, so it will write the config from memory to a file:
    # systemctl stop kodi

    2. edit the guisettings.xml file, then start the Kodi again so it will read the configuration:
    # systemctl start kodi

    3. verify if the file changes preserved after restart:
    # systemctl restart kodi

    It worked for me, even after several reboots the aspect is still correct: 1.000000


    I don't see black bars but from the screenshots you can tell that at 24 and 50Hz the entire picture and even the TV show's posters are a bit "stretched" compared to 60Hz

    I just installed LE 8.0.1. and checked again - the problem is still there!

    As for your screenshots: the issue cannot be seen in the menu screens, only during the video or picture playback. At this time refresh rate must be anything other than 60Hz.

    To check that please do the following:
    1a. If you have enabled "Adjust display refresh rate" option in settings, just play any content with frame rate other than 60fps, the LE will switch the refresh rate automatically and the issue will appear;
    1b. If this option is disabled in your settings, you have to change the default refresh rate manually to anything other than 60Hz (for example 50Hz) and play any content, no matter of fps;
    2. During the playback, capture the screenshot (Ctrl+S);
    3. Attach it here without modifications.

    Thank you in advance!
    [hr]
    Another test with few more screenshots:




    The.Avengers.2012.BDRip.1080p.GORENOISE.sample.mediainfo.txt

    The actual content of the screenshots captured at 23.976 Hz and 24 Hz is squeezed by 16 pixels (8 pixels from each size), but the playback controls are not. So the resolution itself is OK, only the content is displayed incorrectly.

    What's strange is that info panel shows resolution of the stream as 1920x1088 (ten eighty eight) for all refresh rates, while the actual video content is standard 1920x1080 (see the mediainfo output attached).

    This is really weird! And definitely is a bug. But need confirmation from other users. Seems that no one else noticed that because the squeeze is very subtle.


    The real question here is, if it affects also playback of 24,25,30,50Hz video/movie when "adjust display refresh rate" is enabled.
    That i am interested to know.

    Yes it affects the video playback as well. At least for me. Otherwise it would not be a problem.
    But I don't see any black bars on your screenshots. You either did not switch the refresh rate at all, either you don't experience this issue.


    BTW i do see what you mean, but the GUI was meant to be displayed at 60Hz anyway and AFAIK you can't even change that on Windows at least not without modifying i think.
    Are you 100% sure it does that also while playing movies/videos, did you test?

    Thank you for your answer and the screenshots.

    On Windows - yes, you cannot change resolution of your desktop if your monitor does not support that (most of the computer monitors and notebook screens are locked to 60Hz only). But we are talking about OpenELEC (linux) connected to a TV, which supports different refresh rates, isn't it? Or you have different setup?


    Could be the NUC (latest BIOS installed?),
    could be the TV (which one?) that needs a proper PC screen setting,
    or perhaps a stubborn HDMI cable?

    Everything is OK with the setup. TV supports and switches correctly to all the modes, according to xrandr output. Screenshots are made not on TV, but directly on the openelec (Ctrl+S), so the black bars are coming from the openelec, not from TV!

    I tested this on different releases: OE 6.0.3 - is OK, LE 7.0.3 - OK, LE 8.0.0 has this issue as well as the OE 7.0.1! I suppose that most of the people just don't realize that the screen is little bit stretched or squeezed. It can be clearly seen on the screenshots or on test patterns.

    Can I ask you to capture screenshots with different refresh rates set manually?

    Dear Support,

    LibreELEC 8.0.0 Generic x86 (fresh install) does not display images/videos correctly at FullHD screen resolution and refresh rates other than 60Hz! In other words, if I change screen refresh rate from default 60Hz to any other (manually or automatically by auto-refresh feature), the image becomes distorted. With "distorted" I mean that it is not displayed pixel-to-pixel correctly. And this is the problem.

    Please find attached screenshots:


    As you can see, the image on first screenshot (50Hz) is little bit squeezed horizontally and the black bars appear at both sides. Looks like incorrect aspect ratio. At the same time the second image (60Hz) is displayed correctly.

    Best regards,
    Tepp

    P.S. My HTPC is based on ASUS N3150I-C MB.
    P.P.S. By the way, the same issue is observed in OpenELEC 7.0.1, but not in the LibreELEC 7.0.3 (!)