VIM3 Android Pie HDMI resolution testing

Hi, Folks:
We are working for more HDMI output resolutions supporting, but we need monitors for the testing. So if you happen to own a thus monitor and willing the assistant us for the testing, please download this rom and have a test.

HDMI Vesa resolution list

  • 1024x768p60hz
  • 1440x900p60hz
  • 640x480p60hz
  • 1280x1024p60hz
  • 800x600p60hz
  • 1680x1050p60hz
  • 1024x600p60hz
  • 2560x1600p60hz
  • 2560x1440p60hz
  • 2560x1080p60hz
  • 1920x1200p60hz
  • 1600x1200p60hz
  • 1600x900p60hz
  • 1360x768p60hz
  • 1280x800p60hz
  • 480x320p60hz

Please give me some feedback on your tests.
Thanks very much!

5 Likes

@davemf please test it for us. Thanks!

1 Like

@jasonl
I can not open this archive. May be is it damage? I downloaded it twice.
Please upload ROM again.

Привет ,там всё в порядке

Please check resolutions too.

sorry, I’m not at home at the moment, but I checked the archive for you, it’s ok

@Terry
I check resolutions. Yes, I can see many VESA resolutions.
As you said early in this topic, this resolutions are not native. Displays see right resolutions, but UI still works on 1920*1080.
Good work! It remains to make native display resolutions :slight_smile:

Maybe, need to show full resolution list always, not support resolutions only.

1 Like

Hi, thanks for the image. I tried with my 1024x600 LCD (Waveshare 7inch Capacitive Touch Screen LCD ©, 1024×600, HDMI, IPS, https://www.waveshare.com/7inch-hdmi-lcd-c.htm)
Unfortunatelly it doesn’t work :frowning:
According to logs it still tries to run as 1920x1080.
https://drive.google.com/file/d/1JU7DdNyF7I_xHXP_d_m_Y4CXdtvOURS0/view?usp=sharing
Screens shows only some lines and nothing more.
After logging with scrcpy via adb I don’t see other resolutions than 720p and 1080p. Any way to set resolution manually? I can also reprogram EEPROM with EDID on LCD, but I don’t know what parameters are missing.

I’ve tried this below. After this - screen shows more lines - just a mess:

  1. Modify /vendor/etc/mesondisplay.cfg:
MID g12b 1024 600 32 1 1024 600 32 1
fbset -g 1024 600 1024 600 32
  1. echo 1024x600p60hz > /sys/class/amhdmitx/amhdmitx0/disp_mode
[  460.747119@0] hdmitx: video: already init VIC = 4  Now VIC = 773
[  460.747503@0] hdmitx: video: rx edid only support RGB format
[  460.753595@0] hdmitx: hdmitx: VESA only support RGB format
[  460.758907@0] hdmitx_set_dispmode jason
[  460.762885@0] hdmitx: hw: div40: 0
[  460.792585@0] hdmitx: ddc w1b error 0x54 0x20 0x00
[  460.792625@0] hdmitx: frac_rate = 1
[  460.795495@0] hdmitx: config HPLL = 504000 frac_rate = 1
[  460.800690@0] hdmitx: HPLL: 0xdb0004a7
[  460.804430@0] hdmitx: config HPLL done
[  460.808315@0] hdmitx: set_hpll_od3_clk_div[643] div = 6
[  460.813428@0] hdmitx: j = 16  vid_clk_div = 2
[  460.817678@0] hdmitx: set enc for VIC: 773
[  460.821654@0] hdmi_tvenc_vesa_set enter
[  460.825533@0] jason 11 hdmi_tvenc_vesa_set param->VIC:305
[  460.870607@0] hdmitx: hw:  config hdmitx IP vic = 773 cd:4 cs: 0
[  460.871069@0] hdmitx: system: irq 80000001 0
[  460.885295@0] hdmitx: video: Sink is DVI device
console:/sys/devices/virtual/amhdmitx/amhdmitx0 # [  460.978646@0] hdmitx: [0x10000103]: 0x00000008
[  460.978700@0] hdmitx: [0x10000104]: 0x00000001
[  460.981889@0] hdmitx: [0x10000170]: 0x00000010
[  460.986419@0] hdmitx: [0x10000180]: 0x000000ff
[  460.991013@0] hdmitx: [0x10000181]: 0x000000ff
[  460.995325@0] hdmitx: [0x10000182]: 0x00000003
[  460.999652@0] hdmitx: [0x10000183]: 0x00000007
[  461.004076@0] hdmitx: [0x10000184]: 0x0000003f
[  461.008539@0] hdmitx: [0x10000185]: 0x00000002
[  461.012865@0] hdmitx: [0x10000187]: 0x000000ff
[  461.017332@0] hdmitx: [0x10000188]: 0x00000003
  1. echo 1024x600p60hz > mode
console:/sys/class/display # echo 1024x600p60hz > mode
[  611.899037@0] jason vout_server.c vout_mode_store:1024x600p60hz
[  611.899037@0]
[  611.901077@0] vout: jason vmode set to 1024x600p60hz
[  611.901077@0]
[  611.907905@0] vout: vmode set to 1024x600p60hz
[  611.912126@0] nulldisp_validate_vmode jason name:1024x600p60hz
[  611.918313@0] jason hdmi_get_valid_vinfo 1024x600p60hz
[  611.929278@0] fb: current vmode=1024x600p60hz, cmd: 0x10000
[  611.929324@0] vlock: event MODE_CHANGE_PRE 0
[  611.934347@0] vout: vout_func_update_viu: before: 0x271a=0x0000000a, 0x2785=0x00000000
[  611.941676@0] hdmitx: hdmitx_set_current_vmode[4740]
[  611.946377@0] hdmitx: system: recalc before 1024x600p60hz 60 1
[  611.952317@0] hdmitx: system: recalc after 1024x600p60hz 2997 50
[  611.958154@0] hdmitx: system: get current mode: 1024x600p60hz
[  611.963946@0] hdmitx: system: update physcial size: 150 100
[  611.969444@0] hdmitx: video: already init VIC = 0  Now VIC = 773
[  611.975402@4] hdmitx: video: rx edid only support RGB format
[  611.981047@4] hdmitx: hdmitx: VESA only support RGB format
[  611.986600@4] hdmitx_set_dispmode jason
[  611.990316@4] hdmitx: hw: div40: 0
[  612.020582@0] hdmitx: ddc w1b error 0x54 0x20 0x00
[  612.020615@0] hdmitx: frac_rate = 1
[  612.023355@0] hdmitx: config HPLL = 504000 frac_rate = 1
[  612.028615@0] hdmitx: HPLL: 0xdb0004a7
[  612.032359@0] hdmitx: config HPLL done
[  612.036075@0] hdmitx: set_hpll_od3_clk_div[643] div = 6
[  612.041249@0] hdmitx: j = 16  vid_clk_div = 2
[  612.045562@0] hdmitx: set enc for VIC: 773
[  612.049664@0] hdmi_tvenc_vesa_set enter
[  612.053531@3] jason 11 hdmi_tvenc_vesa_set param->VIC:305
[  612.098591@0] hdmitx: hw:  config hdmitx IP vic = 773 cd:4 cs: 0
[  612.109100@3] hdmitx: video: Sink is DVI device
[  612.109177@3] hdmitx: hw: set audio
[  612.111554@3] hdmitx: hw: hdmitx tx_aud_src = 0
[  612.112106@0] hdmitx: system: irq 80000001 0
[  612.120303@3] hdmitx: fs = 3, cd = 4, tmds_clk = 50400
[  612.125425@3] hdmitx: hw: aud_n_para = 6144
[  612.129565@3] hdmitx: hw: set channel status
[  612.133900@3] hdmitx: audio: Audio Type: PCM
[  612.138053@3] hdmitx: system: update rx hdr info 0
[  612.142836@3] vout: new mode 1024x600p60hz set ok
[  612.147538@3] fb: current vmode=1024x600p60hz, cmd: 0x20000
[  612.153040@3] DOLBY: vout_notify_callback: VOUT_EVENT_MODE_CHANGE
[  612.159165@3] vlock: event MODE_CHANGE
[  612.163558@3] vout: vout_io_open
[  612.166069@3] vout: vout_ioctl: cmd_dir = 0x2, cmd_nr = 0x0
[  612.171917@3] vout: vout_io_release
console:/sys/class/display # [  612.214555@3] hdmitx: [0x10000103]: 0x00000008
[  612.214580@3] hdmitx: [0x10000104]: 0x00000001
[  612.217798@3] hdmitx: [0x10000170]: 0x00000010
[  612.222222@3] hdmitx: [0x10000180]: 0x000000ff
[  612.226626@3] hdmitx: [0x10000181]: 0x000000ff
[  612.231093@3] hdmitx: [0x10000182]: 0x00000003
[  612.235470@3] hdmitx: [0x10000183]: 0x00000007
[  612.239901@3] hdmitx: [0x10000184]: 0x0000003f
[  612.244312@3] hdmitx: [0x10000185]: 0x00000002
[  612.248774@3] hdmitx: [0x10000187]: 0x000000ff
[  612.253155@3] hdmitx: [0x10000188]: 0x00000003

BTW: In the meantime I found that 720p resolution works pretty nice - image is displayed, but of course it is too big.

This display is very bad. It support 1024x600 43Hz ONLY!!! It can not work on 50 or 60 Hz.

Is that a display interface bottleneck ? or some limitation of the onboard controller ?

I think it is some limitation of the onboard display controller. It works on Raspberry on 1024x600x43Hz

Where did you find this information? I was using it with Raspberry 3B+ at 1024x600 at 60Hz - even configuration says about:
hdmi_cvt 1024 600 60 6 0 0 0.
It was also working properly at 1024x600 at 60Hz with Khadas VIM3 with Ubuntu 4.9 (SD/USB version only) and Ubuntu 5.8. Also after connecting to my laptop it NVIDIA driver says it is 1024x600 at 60Hz.
And last thing as mentioned before - 720p 60Hz runs ok even with earlier Android images - the only thing is that image doesn’t fit the screen
Display controller is TI TFP401APZP (up to 1080p at 60Hz).

I told about this display with odroid board developer. He added support this display in odroid ROMs. https://forum.odroid.com/viewtopic.php?t=18054

Also, I tested this display with native 1024x600x60 on VIM1 board. It did not work.

we had another user, @ClownMik, who has the same display with his VIM, and he was asking about the capacitive USB touch-panel support (it was solved by Archangel124),

and he had it work…
maybe we can verify with him …

well, firstly, here we are talking about vim3, and secondly Android

Are you sure you don’t have a fake one? There are a lot of them on the market and there are some problems with fake one?

Just to be clear…
This LCD which I have:

  1. It is WORKING with Raspberry at 1024x600 60Hz
  2. It is WORKING with Khadas VIM3 with Ubuntu with kernel 4.9 (SD/USB only) and Ubuntu with kernel 5.8
  3. It is WORKING with only Uboot mainline
  4. It is WORKING with Laptop with Windows 10 and NVIDIA graphics card
  5. It is NOT WORKING with Khadas VIM3 with Android 9 Pie…
  6. It is NOT WORKING with Uboot 2015

Systems from points 1 to 4 says it is 1024x600p60hz.

And YES it is the same LCD. It is even lying in almost the same place on the desk :smiley:

Photo and video proofs for point 4:





And YES - I’ve checked multiple power supplies, multiple images, multiple HDMI cables, USB cables. Still ONLY Khadas VIM3 with Android 9 Pie is not working.
I’ve even make a long-shot try and coppied Odroid N2 Uboot 2015 drivers (hdmitx, vout, vpu, osd, edid_parsing) to Khadas Uboot 2015 and it shows something - by manipulating with HDMITX, OSD and UI commands I can draw rectangle and write a text and it seems to be ok.

Do I really have to bring photos and videos from RPI and VIM3 with Ubuntu or can you just believe that it is a problem ONLY with VIM3 Android? :slight_smile:

Moreover I even don’t know it is really still a problem… Mainly, with this new image, Android doesn’t recognize LCD due to some EDID problems, so it doesn’t set resolution.
So it is why I’ve asked is there a possibility to force resolution on Android through serial console or adb?

I use the best LCD - n070icg-ld1, not this one.

This isn’t mine, it is another person’s display…
I am not sure it is verified original or not,

Oh, yeah just forgot you are asking about Android and not Linux, sry…

legacy kernel is a real pain, I just learned about it yesterday…
it is not only just resolution problem, but also screen rotation, as we have been facing it in linux 4.9 (not related to HDMI, but it shows the problems related to the BSP)

But this is only the panel… Car with best engine is just a punk of metal without good driver :smiley:

1 Like

also will become a punk of metal without any brakes… just saying :sweat_smile:

Of course it is just an LCD panel, you need to get your own driver board for it…

2 Likes