Incorrect operation with a monitor with vesa resolution 1280x800p60hz

Which system do you use? Android, Ubuntu, OOWOW or others?

VIM4-Android-11-64bit-V231120 Rom Release

Which version of system do you use? Khadas official images, self built images, or others?

Khadas official images

Please describe your issue below:

Incorrect operation with a monitor with vesa resolution 1280x800p60hz. In the settings one resolution is displayed, but in reality it is another. Accordingly, the screen proportions are incorrect.Where there should be a circle it turns out to be an oval.



3840x2160 is 4k with an aspect ratio of 16:9 and should be 16:10 (1280x800)
I’ll answer right away that I rebooted the PC, nothing changed.

@antigua The issue you reported should be that the system UI does not have a corresponding screen UI. You can try the following command to see.

VIM4:/ # wm size
Physical size: 3840x2160
VIM4:/ # wm size 1280x800
VIM4:/ # wm size
Physical size: 3840x2160
Override size: 1280x800

Perhaps the following command is better. The default system UI resolution is 4K, and modifying it to be similar would be better. 1280*2x800*2 = 2560x1600

VIM4:/ # wm size 2560x1600

The changes were applied, but inaccessible fields appeared at the edges of the screen (black area), and accordingly the entire interface seems elongated.
2023-12-13_13-25-51


Butanimation has become like this.

The display definitely works with this resolution, it has been tested more than once.

Is your screen itself 4K? If yes, if the resolution is switched to 1280x800, the edges will be black and cannot be displayed. This itself is normal. Because the screen itself is 4K.

No . The screen definitely has a native resolution of 1280 x 800 7". I used it many times with custom firmware for the Vim2 PC. I also tried another display, also with a resolution of 1280 x 800 8.9", it defines it as 1080p but the image looks absolutely the same. Also black stripes when setting the resolution to 2560x1600, and distortion of proportions.

Moreover, on a 7" display with a resolution of 1080p there is no image at all, and it appears only when the PC settings are set to 1280x800, but the same stripes are present along the edges and the image is deformed.

It’s 7 inches.
The choice of such a strange resolution, because this is an IPS in this size, they have an aspect ratio of 16:10 and a corresponding resolution of 1280x800, 1920x1200 (this is not available now)

@antigua I guess you connected to the TS050 mipi screen at that time. So the system will use the TS050 mipi screen as the main screen. So your 1280x800 HDMI screen display will be stretched or compressed.


TS050 was connected only to switch the resolution because… there was no image on the 7" 1280x800 display at a different resolution. And yes, that first picture was taken with it available, but after that I turned it off and tested without it.

@antigua I don’t quite understand the problem you’re talking about, there are too many problems, it’s too confusing. It is best not to associate problems with unrelated things. So your fundamental problem is that the 1280x800 resolution HDMI screen cannot display?

When I first turned it on, there was no image on the 7" display, I connected the ts050 and was able to go into the settings, there I switched the resolution to 1280x800. The image appeared, the image was not displayed correctly on it, and I turned off the ts050 display, but I still can’t get a non-deformed image it worked. I also connected another 8.9" display with the same resolution, the problem is the same, the proportions are wrong.

Hello,
Use the following adb command to send me the EDID of the monitor

cat /sys/class/amhdmitx/amhdmitx0/rawedid

This is for a 7" 1280x800 monitor
I don’t know, is this what I need?

VIM4:/ $ cat /sys/class/amhdmitx/amhdmitx0/rawedid
00ffffffffffff0026cde446502d31011e11010381211b78eaaea5a6544c9926145054bfef00818001010101010101010101010101019e20009051201f3048803600510e1100001c000000fc0048444d490a0a0a0a0a0a0a0a0a000000fd00374c1d520e000a202020202020000000ff003538363637333030303030310a01d600ffffffffffff0012e51018502d310115120103812213782ab370a255489827155054bfee005940614c81c001010101010101010101662156aa51001e30468f330029170000001e000000ff00300a0a0a0a0a0a0a0a0a0a0a0a000000fd00374b1e3c08000a202020202020000000fc0048444d490a0a0a0a0a0a0a0a0a0146

P.S.
And just in case, lvds controller PCB800099-v.9

This is already an 8.9" monitor with the same resolution, the matrix controller is different.

VIM4:/ $ cat /sys/class/amhdmitx/amhdmitx0/rawedid
00ffffffffffff0035ee503101010101141a010380462778ea1ec5ae4f34b1260e5054210800818081c08140a940a9c07140b30001c1283c80a070b0234030203600132b2100001e5e1f561851002d30582c4500132b2100001e000000fc0044463332340a20202020202020000000fd00383d1e5111000a20202020202001ed020329f15090050403020716011f121314201511062309870767030c001000382d83010000e3050301023a801871382d40582c450006442100001e662150b051001b30704036006d552100009e0000001000d01e206e28550006442100001e0000001000e02d10103e9600064421000018000000000000000000000000000030
VIM4:/ $ wm size
Physical size: 3840x2160
Override size: 2560x1600
VIM4:/ $

I don’t know if I need to create a separate post for this, but the list of available resolutions is very incomplete. I know for sure that if the PC has a 1080p resolution, there will be an image on the display, albeit with incorrect proportions, and it will be possible to select its native resolution. In my version, it is possible to set it only through adb, or using another monitor.

Hello, I would like to confirm that you use an HDMI cable to connect a 1280x800 resolution monitor, but there is no display when you turn on the computer, right?

If the resolution differs from those in the picture, then the image is missing.

Okay, that is, there is no display on the boot, right? If the trouble will be connected to the serial port log to get and get to the cloud, I need to see if the resolution does not recognize that it has not been displayed.

After the hardreset, only the logo is displayed on the display, but the PC boots, adb works, the shell also starts. Setting the required resolution through the console did not turn on the image on the display (only the logo). Next, I connect the second monitor Ts050 and turn on the required resolution in the menu - an image appears on the monitor. Then it works without a second display.
When loading the PC, everything goes as it should, the logo and bootanimation and, accordingly, the android itself.

For the Serial Debug, I need to prepare a little and read how to do it.

This is of course not ttyUSB, but this is the log from the debug port when working with the display

and after a hard reset when the monitor is not detected.

If you cannot access the files, please provide a link to the server where they should be downloaded, or I can send them directly by email.

The part of the file on the left is when there is an image on the monitor. The right side is after a hard reset and there is no image on the monitor (only the logo).

Hello, we are already working with the original manufacturer to assist with this issue. Please pay attention to this post for the latest news. Thank you.