eswincomputing / u-boot

2 stars 4 forks source link

HDMI output seems to be left shifted #7

Open xypron opened 3 months ago

xypron commented 3 months ago

The HDMI output seems to be left shifted. The leftmost pixel is not displayed on my screen:

20240806_105638

xypron commented 3 months ago

My monitor indicates running at 1920x1080x60Hz.

lifeiabc commented 3 months ago

Hi xypron, This problem is caused by the resolution scaling which makes the resolution from 540p to 1080p. We have some imporvements which are under testing. If you want to have a try, you can change there files:

  1. Change the header file: 'include/video_eswin.h'

    define DRM_ESWIN_FB_WIDTH 1920

    define DRM_ESWIN_FB_HEIGHT 1080

  2. drivers/video/vidconsole-uclass.c, in function vidconsole_putc(), add below code before video_sync().

    ifdef CONFIG_EIC7700_RISCV

    return;

    endif