@ozolli
I guess you are having more luck than we did, on what kind of hardware you have LibreELEC installed on?Here is intel 4690s + Nvidia GTX 1070
Intel N3150.
@ozolli
I guess you are having more luck than we did, on what kind of hardware you have LibreELEC installed on?Here is intel 4690s + Nvidia GTX 1070
Intel N3150.
It's already set to 1.000000 everywhere here...
Upgrade or Clean install? Because LE 7.0.3 didn't have this issue. I suppose that all the settings preserved during the upgrade procedure. This can be verified by doing full config reset on LE 8.0.1.
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
Upgrade or Clean install? Because LE 7.0.3 didn't have this issue. I suppose that all the settings preserved during the upgrade procedure. This can be verified by doing full config reset on LE 8.0.1.
Clean install on 7.90.x then upgrade since then.
Display More
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,
TeppEdit:
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 kodi2. edit the guisettings.xml file, then start the Kodi again so it will read the configuration:
# systemctl start kodi3. verify if the file changes preserved after restart:
# systemctl restart kodiIt worked for me, even after several reboots the aspect is still correct: 1.000000
Thank you for this! While my LE installation works (and looks) just great, I was always slightly annoyed that after a fresh install I had to go into the Video Calibration section and tweek my pixel ratios to get them to 1.000 and it would often jump from .998 to 1.001 or something like that while using the left/right buttons on my remote. It took several attempts to hit 1.000. Now I can just edit the guisettings.xml file.
Gratitude!
Display More
Today I realized that my aspect settings also reverted to original wrong valuesEdit:
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 kodi2. edit the guisettings.xml file, then start the Kodi again so it will read the configuration:
# systemctl start kodi3. verify if the file changes preserved after restart:
# systemctl restart kodiIt worked for me, even after several reboots the aspect is still correct: 1.000000
Stopping Kodi before making these changes worked here also.
Again Thank you
LibreELEC version 8.2.4 - the problem persists ! No one noticed? Everyone is using plain 60Hz?
O, come on guys!!! Versions come and go, LE v9.0.2 - still the same problem with default aspect ratios. Again! (see the solution above)
Thanks for this, I noticed the little black bars left and right on 25fps material and managed to fix this using this.