Hi!
Recently I upgraded the kernel from linux-odroid-c2-3.14.79-3 to linux-odroid-c2-3.14.79-7. After reboot the screen showed "unsupported resolution". I tried different combination of resolutions and bpp in the boot.ini but that doesn't help. I also reinstalled the system several times but each time when I reboot after upgrading the kernel I get that "unsupported resolution" on screen.
The TV which I use as monitor supports 1360x768 well but not 1080p.
I also managed to get the dmesg and after reading through both of them I noticed some difference.
output of $this->bbcode_second_pass_code('', 'dmesg | grep -E 'hdmi|vout|DVI'') on 3.14.79-3 (older kernel, HDMI working) :
$this->bbcode_second_pass_code('', '
[ 0.000000] Kernel command line: root=/dev/mmcblk0p1 rootwait rw console=ttyS0,115200n8 console=tty0 no_console_suspend hdmimode=1360x768p60hz m_bpp=32 vout=dvi fsck.repair=yes net.ifnames=0 elevator=noop disablehpd=true max_freq=1536 maxcpus=4 monitor_onoff=false
[ 0.000000] logo: get hdmimode: 1360x768p60hz
[ 0.516738] hdmitx: system: amhdmitx_init
[ 0.516746] hdmitx: system: Ver: 2014May6
[ 0.516776] tv_vout: tv_init_module
[ 0.516787] tv_vout: major number 254 for disp
[ 0.516794] vout_notify: vout_register_server
[ 0.516802] tv_vout: register tv module server ok
[ 0.521089] hdmitx: system: amhdmitx_probe
[ 0.521300] hdmitx hpd irq = 89
[ 0.521486] hdmitx20: Mapped PHY: 0xc0800000
[ 0.521498] hdmitx20: Mapped PHY: 0xc1104400
[ 0.521519] hdmitx20: Mapped PHY: 0xc8100000
[ 0.521528] hdmitx20: Mapped PHY: 0xc8834000
[ 0.521536] hdmitx20: Mapped PHY: 0xc883a000
[ 0.521544] hdmitx20: Mapped PHY: 0xc883c000
[ 0.521557] hdmitx20: Mapped PHY: 0xd0100000
[ 0.521566] hdmitx20: Mapped PHY: 0xda83a000
[ 0.521580] hdmitx: alread display in uboot 0x10
[ 0.537690] hdmitx: system: irq 2
[ 1.060080] hdmitx: plugin
[ 1.061292] hdmitx: system: irq 80000001
[ 1.241016] hdmitx: edid: find IEEEOUT
[ 1.241059] hdmitx: video: get current mode: null
[ 1.241079] hdmitx tx_aud_src = 0
[ 1.241108] hdmitx aud_n_para = 24576
[ 1.241128] hdmitx set channel status
[ 1.529390] hdmitx: system: irq 80000004
[ 4.506026] tv_vout: tv_set_current_vmode[696]fps_target_mode=12
[ 4.506031] tv_vout: mode is 12,sync_duration_den=1,sync_duration_num=60
[ 4.506047] tv_vout: TV mode 1080p60hz selected.
[ 4.506057] tv_vout: new mode =1080p60hz set ok
[ 4.506058] vout_serve: vinfo mode is: 1080p60hz
[ 4.743860] vout_serve: vout_init_module
[ 4.744942] vout_serve: meson_vout_probe
[ 4.748772] vout_serve: create vout attribute OK
[ 5.340658] cectx c810023c.aocec: aml_cec_probe(): can't find hdmirx
[ 5.410857] odroid_hdmi_snd odroid_hdmi: dit-hifi <-> I2S mapping ok
[ 8.520093] vout_serve: vmode set to 1360x768p60hz
[ 8.530419] vout_serve: disable HDMI PHY as soon as possible
[ 8.535805] tv_vout: tv_set_current_vmode[696]fps_target_mode=42
[ 8.541735] tv_vout: mode is 42,sync_duration_den=1,sync_duration_num=60
[ 8.553304] tv_vout: TV mode 1360x768p60hz selected.
[ 8.558095] tv_vout: new mode =1360x768p60hz set ok
[ 8.562855] vout_serve: vinfo mode is: 1360x768p60hz
[ 8.567606] vout_serve: new mode 1360x768p60hz set ok
[ 8.572335] hdmitx: video: get current mode: 1360x768p60hz
[ 8.577603] hdmitx: video: get current mode: 1360x768p60hz
[ 8.583101] hdmitx: system: already init VIC = 0 Now VIC = 775
[ 8.588892] hdmitx: rx no SCDC present indicator
[ 8.595523] hdmitx: ddc rd8b error 0x54 0x01
[ 8.602105] hdmitx: ddc rd8b error 0x54 0x01
[ 8.606641] hdmirx version is 1.4 or below
[ 8.611129] hdmitx: system: set pll
[ 8.615879] hdmitx: system: param->VIC:775
[ 8.630337] hdmitx: set clk of VIC = 775 done
[ 8.634721] hdmitx: set enc for VIC: 775
[ 8.639019] hdmitx_set_hw[4507] set VIC = 775
[ 8.774150] hdmitx: system: phy setting done
[ 8.803157] Sink is DVI device
[ 8.835946] hdmitx tx_aud_src = 0
[ 8.839622] hdmitx: system: irq 80000001
[ 8.843363] hdmitx aud_n_para = 24576
[ 8.846997] hdmitx set channel status
[ 8.914072] vout_serve: vmode set to 1360x768p60hz
[ 8.919667] vout_serve: don't set the same mode as current.
[ 11.160414] hdmitx: system: irq 80000002
')
output of $this->bbcode_second_pass_code('', 'dmesg | grep -E 'vout|hdmi|DVI'') on 3.14.79-7 (newer kernel, HDMI not working) :
$this->bbcode_second_pass_code('', '
[ 0.000000] Kernel command line: root=/dev/mmcblk0p1 rootwait rw console=ttyS0,115200n8 console=tty0 no_console_suspend hdmimode=1360x768p60hz m_bpp=32 vout=dvi fsck.repair=yes net.ifnames=0 elevator=noop disablehpd=true max_freq=1536 maxcpus=4 monitor_onoff=false
[ 0.000000] logo: get hdmimode: 1360x768p60hz
[ 0.516735] hdmitx: system: amhdmitx_init
[ 0.516743] hdmitx: system: Ver: 2014May6
[ 0.516774] tv_vout: tv_init_module
[ 0.516785] tv_vout: major number 254 for disp
[ 0.516793] vout_notify: vout_register_server
[ 0.516800] tv_vout: register tv module server ok
[ 0.521095] hdmitx: system: amhdmitx_probe
[ 0.521308] hdmitx hpd irq = 89
[ 0.521495] hdmitx20: Mapped PHY: 0xc0800000
[ 0.521507] hdmitx20: Mapped PHY: 0xc1104400
[ 0.521528] hdmitx20: Mapped PHY: 0xc8100000
[ 0.521537] hdmitx20: Mapped PHY: 0xc8834000
[ 0.521545] hdmitx20: Mapped PHY: 0xc883a000
[ 0.521553] hdmitx20: Mapped PHY: 0xc883c000
[ 0.521565] hdmitx20: Mapped PHY: 0xd0100000
[ 0.521574] hdmitx20: Mapped PHY: 0xda83a000
[ 0.521587] hdmitx: alread display in uboot 0x10
[ 0.537691] hdmitx: system: irq 80000002
[ 1.060104] hdmitx: plugin
[ 1.241013] hdmitx: edid: find IEEEOUT
[ 1.241055] hdmitx: video: get current mode: null
[ 1.241075] hdmitx tx_aud_src = 0
[ 1.241103] hdmitx aud_n_para = 24576
[ 1.241123] hdmitx set channel status
[ 1.911059] tv_vout: tv_set_current_vmode[696]fps_target_mode=42
[ 1.911070] tv_vout: mode is 42,sync_duration_den=1,sync_duration_num=60
[ 1.911092] tv_vout: TV mode 1360x768p60hz selected.
[ 1.911100] tv_vout: already display in uboot
[ 1.911108] tv_vout: new mode =1360x768p60hz set ok
[ 1.911116] vout_serve: vinfo mode is: 1360x768p60hz
[ 4.699161] vout_serve: vout_init_module
[ 4.703016] vout_serve: meson_vout_probe
[ 4.706831] vout_serve: create vout attribute OK
[ 5.200340] cectx c810023c.aocec: aml_cec_probe(): can't find hdmirx
[ 5.264289] odroid_hdmi_snd odroid_hdmi: dit-hifi <-> I2S mapping ok
[ 8.357582] vout_serve: vmode set to 1360x768p60hz
[ 8.357595] vout_serve: don't set the same mode as current.
[ 8.394307] vout_serve: vmode set to 1360x768p60hz
[ 8.394318] vout_serve: don't set the same mode as current.
')
It seems that on the new kernel vout_serve refuses to change resolution because it thinks that the resolution is already 1360x768p60hz. Am I right and is it a bug in the kernel?
I've been working on this for days and the only workaround I found is to ignore kernel upgrade . Any advice is appreciated!