You are not logged in.

#1 2020-10-30 11:22:41

Jonners59
Member
From: London
Registered: 2020-07-07
Posts: 118

Pi4 2k LCD image offset

Whilst I try and sort out the 4k LCD, I have reverted to the 2k LCD.  I have this almost working.  It shines an image, but it is offset.  How do I adjust it in the config, please?

This is what I get:
Photo


This is the config code:

# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment this if your display has a black border of unused pixels visible and your display can output without overscan
#disable_overscan=1

# uncomment the following to adjust overscan. Use positive numbers if console goes off screen, and negative if there is too much border
overscan_left=0
overscan_right=0
overscan_top=0
overscan_bottom=0

# uncomment to force a console size. By default it will be display's size minus overscan.
#see below

# uncomment if hdmi display is not detected and composite is being output
hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=2
hdmi_mode=87

# uncomment to force a HDMI mode rather than DVI. This can make audio work in DMT (computer monitor) modes
hdmi_drive=1
hdmi_ignore_edid=0xa5000080

# uncomment to increase signal to HDMI, if you have interference, blanking, or no display
config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi

# Additional overlays and parameters are documented /boot/overlays/README

# Enable audio (loads snd_bcm2835)
dtparam=audio=on

[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
dtoverlay=vc4-fkms-v3d
max_framebuffers=2

[all]
#dtoverlay=vc4-fkms-v3d
disable_camera_led=1
hdmi_pixel_encoding=2
#start_x=1
gpu_mem=192
enable_uart=1

#Added by Jonathan Harrison
hdmi_enable_4kp60=1

# Wanhao D7 nanodlp config

hdmi_pixel_freq_limit=500000000
hdmi_timings=1440 0 50 10 35 2560 0 4 2 2 0 0 0 50 0 198000000 0
max_framebuffer_width=1440
max_framebuffer_height=2560
framebuffer_width=1440
framebuffer_height=2560
display_rotate=0x10000
hvs_priority=0x32ff

#OR
#JDI manufacturer model: TFTMD089030
#hdmi_pixel_freq_limit=400000000
#hdmi_timings=2560 0 123 10 50 1600 0 12 4 4 0 0 0 60 0 222000000 0
#max_framebuffer_width=2560
#max_framebuffer_height=1600
#framebuffer_width=2560
#framebuffer_height=1600
#display_rotate=0


framebuffer_depth=24
framebuffer_ignore_alpha=1

Last edited by Jonners59 (2020-10-30 11:26:32)


Jonners59
:-D

Offline

#2 2020-10-30 12:42:47

Jonners59
Member
From: London
Registered: 2020-07-07
Posts: 118

Re: Pi4 2k LCD image offset

Update:
Managed to get past that, by changing my config.

# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment this if your display has a black border of unused pixels visible and your display can output without overscan
#disable_overscan=1

# uncomment the following to adjust overscan. Use positive numbers if console goes off screen, and negative if there is too much border#
#overscan_left=0
overscan_right=-20
overscan_top=-20
#overscan_bottom=0

# uncomment to force a console size. By default it will be display's size minus overscan.#
#max_framebuffer_width=1440
#max_framebuffer_height=2560
#framebuffer_width=1440
#framebuffer_height=2560

# uncomment if hdmi display is not detected and composite is being output
hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=2
hdmi_mode=87

# uncomment to force a HDMI mode rather than DVI. This can make audio work in DMT (computer monitor) modes#
#hdmi_drive=1
#hdmi_ignore_edid=0xa5000080

# uncomment to increase signal to HDMI, if you have interference, blanking, or no display
config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi

# Additional overlays and parameters are documented /boot/overlays/README

# Enable audio (loads snd_bcm2835)#
#dtparam=audio=on

[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
dtoverlay=vc4-fkms-v3d
max_framebuffers=2

[all]
#dtoverlay=vc4-fkms-v3d
disable_camera_led=1
hdmi_pixel_encoding=2
start_x=1
gpu_mem=192
enable_uart=1

#Added by Jonathan Harrison#
#hdmi_enable_4kp60=1

# Wanhao D7 nanodlp config

hdmi_pixel_freq_limit=500000000
hdmi_timings=1440 0 50 10 35 2560 0 4 2 2 0 0 0 50 0 198000000 0

display_rotate=0x10000
hvs_priority=0x32ff

#OR
#JDI manufacturer model: TFTMD089030
#hdmi_pixel_freq_limit=400000000
#hdmi_timings=2560 0 123 10 50 1600 0 12 4 4 0 0 0 60 0 222000000 0
#max_framebuffer_width=2560
#max_framebuffer_height=1600
#framebuffer_width=2560
#framebuffer_height=1600
#display_rotate=0


framebuffer_depth=24
framebuffer_ignore_alpha=1

Now I am trying to get it to fit the boundaries.  I THINK it is going Off screen to top, bottom and right.  How do i adjust these?  I tried putting -20 to the top and right but made no difference.


Jonners59
:-D

Offline

#3 2020-10-30 17:07:37

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,546

Re: Pi4 2k LCD image offset

Disable overscan see if it helps.

Offline

#4 2020-10-31 17:14:26

Jonners59
Member
From: London
Registered: 2020-07-07
Posts: 118

Re: Pi4 2k LCD image offset

OK, seems to be working better. 

But, no, it lights up and I get a full screen, BUT I do NOT get a Boarder at the top, Right or Left.  How do I adjust to get these, please?

My Settings:
Photo

Here is my config - may help others:

# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment this if your display has a black border of unused pixels visible and your display can output without overscan
disable_overscan=1

# uncomment the following to adjust overscan. Use positive numbers if console goes off-screen, and negative if there is too much border
overscan_left=0
overscan_right=0
overscan_top=0
overscan_bottom=0

# uncomment to force a console size. By default it will be display's size minus overscan.
max_framebuffer_width=1440
max_framebuffer_height=2560
framebuffer_width=1440
framebuffer_height=2560

# uncomment if hdmi display is not detected and composite is being output
hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=2
hdmi_mode=87

# uncomment to force a HDMI mode rather than DVI. This can make audio work in DMT (computer monitor) modes#
#hdmi_drive=1
#hdmi_ignore_edid=0xa5000080

# uncomment to increase the signal to HDMI if you have interference, blanking, or no display
config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi

# Additional overlays and parameters are documented /boot/overlays/README

# Enable audio (loads snd_bcm2835)#
#dtparam=audio=on

[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
dtoverlay=vc4-fkms-v3d
max_framebuffers=2

[all]
disable_camera_led=1
hdmi_pixel_encoding=2
start_x=1
gpu_mem=192
enable_uart=1

#Added by Jonathan Harrison#
#hdmi_enable_4kp60=1

# Wanhao D7 nanodlp config

hdmi_pixel_freq_limit=500000000
hdmi_timings=1440 0 50 10 35 2560 0 4 2 2 0 0 0 50 0 198000000 0

display_rotate=0x10000
hvs_priority=0x32ff

framebuffer_depth=24
framebuffer_ignore_alpha=1

Last edited by Jonners59 (2020-11-02 15:26:00)


Jonners59
:-D

Offline

Board footer

Powered by FluxBB