How to force GUI resolution

I don’t think this is a bug, but rather I’m asking if there is a special setting I could use to sort out my problem:
Got a S912 running CE 9.0.2 through an AVR to a 1080p TV. CE GUI resolution is set at 1080p 60Hz in settings.

Sometimes, if I boot up the S912 and Avr BEFORE the TV, CE starts with a low resolution instead of the default 1080p. My guess is it doesn’t detect the TV yet, so it tries to play it safe by choosing a low resolution?

I sort my problem simply by rebooting CE (while keeping the TV on) and it restarts at 1080p. I was wondering if there an option (e.g. in config.ini) to force resolution to 1080p, or maybe to skip the TV compatibility check?

Thanks all

1 Like

My file /flash/config.ini contains:
CoreELEC starts with resolution 1280x720p50Hz

My file /storage/.kodi/userdata/disp_cap contains:
Kodi starts with only 1280x720p50Hz resolution

My file /storage/.config/ contains:

fw_setenv hdmimode 720p50hz
fw_setenv outputmode 720p50hz


I had the same issue with a S912 (Beelink GT1 Ultimate) and a Sony X900F, after a power outage the box booted quicker than the TV and was set to 480p.

I ran “cat /sys/class/amhdmitx/amhdmitx0/disp_cap > /storage/.kodi/userdata/disp_cap” and edited /storage/.kodi/userdata/disp_cap to remove the unneeded modes and put 1080p60 on first line.

I’d like to force Coreelec to always boot with GUI resolution set to 1080p (because sometimes the automatic TV check resets the resolution to 720p).

But please i need to figure out how to do that using windows PC. I do know how to access drive through samba, or ssh, bit dont know what to do after that. Is there a ini file i can modify to make 1080p resolution for gui default or “permanent”?

On which device and which CE version??
On Odroid N2 there is a “config.ini” file in uSD card’s root folder that can be edited on Windows PC. This is the part of your interest:

# HDMI custom mode
# You can use this setting to set a custom video mode
# modeline "horpixels,verpixels,pixel_clock,hor_freq,ver_freq,hdisp,hsyncstart,hsyncend,htotal,vdisp,
# vsyncstart,vsyncend,vtotal,hsync_polarity,vsync_polarity,progress_mode"
# Example for 1920x1080p@60hz
# modeline='1920,1080,148500,67500,60,1920,2008,2052,2200,1080,1084,1088,1125,1,1,1’

Remove # in front of the last line to set 1920x1080p@60Hz

Silly me, it’s GT-King Pro with 9.2.5 and installed on emmc.

Does the advice still stand?

Oh, and, if I use this method, to set to 1080p, and i have automatically switch frame rate =on start/stop and I play a movie of 24Hz, it will still switch right, it won’t get permanently stuck on 1080@60Hz

Don’t know, as I don’t have GT-King, but you can try the change, since it’s easily reverted.