mirror of https://lore.kernel.org/linux-amlogic/
 help / color / mirror / Atom feed
* OdroidN2/N2+ HDMI Green Line
@ 2022-05-15 16:50 Jefferson Gonzalez
  2022-05-16  7:30 ` Neil Armstrong
  0 siblings, 1 reply; 3+ messages in thread
From: Jefferson Gonzalez @ 2022-05-15 16:50 UTC (permalink / raw)
  To: linux-amlogic

[-- Attachment #1: Type: text/plain, Size: 631 bytes --]

Hi,

Writing to report an old issue about a green line on the left side of the
screen with some files hoping that it helps troubleshoot the cause. The 
issue
happens when connecting the HDMI cable directly to the hdmi input port 
of the
display, when using an HDMI to VGA converter and connecting it to the 
display
VGA input port the issue doesn't happen.

In this message I attach the output of "cat 
/sys/kernel/debug/dri/*/state" for
both hdmi and vga, also both edid files when connected to hdmi and vga. The
files were retrieved using kernel 5.18rc4 and happens on mainline uboot,
the tow-boot distribution or upstream uboot.

[-- Attachment #2: hdmi_dri_state.txt --]
[-- Type: text/plain, Size: 1102 bytes --]

plane[34]: meson_primary_plane
	crtc=meson_crtc
	fb=43
		allocated by = wayfire
		refcount=2
		format=AR24 little-endian (0x34325241)
		modifier=0x0
		size=1600x900
		layers:
			size[0]=1600x900
			pitch[0]=6400
			offset[0]=0
			obj[0]:
				name=0
				refcount=3
				start=00100afe
				size=5763072
				imported=no
				paddr=0x00000000e5f00000
				vaddr=0000000035388fa8
	crtc-pos=1600x900+0+0
	src-pos=1600.000000x900.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=1
	color-encoding=ITU-R BT.601 YCbCr
	color-range=YCbCr limited range
plane[37]: meson_overlay_plane
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=0
	color-encoding=ITU-R BT.601 YCbCr
	color-range=YCbCr limited range
crtc[40]: meson_crtc
	enable=1
	active=1
	self_refresh_active=0
	planes_changed=1
	mode_changed=0
	active_changed=0
	connectors_changed=0
	color_mgmt_changed=0
	plane_mask=1
	connector_mask=1
	encoder_mask=1
	mode: "1600x900": 60 108000 1600 1624 1704 1800 900 901 904 1000 0x60 0x5
connector[32]: HDMI-A-1
	crtc=meson_crtc
	self_refresh_aware=0

[-- Attachment #3: vga_dri_state.txt --]
[-- Type: text/plain, Size: 1102 bytes --]

plane[34]: meson_primary_plane
	crtc=meson_crtc
	fb=42
		allocated by = wayfire
		refcount=2
		format=AR24 little-endian (0x34325241)
		modifier=0x0
		size=1600x900
		layers:
			size[0]=1600x900
			pitch[0]=6400
			offset[0]=0
			obj[0]:
				name=0
				refcount=3
				start=0010057f
				size=5763072
				imported=no
				paddr=0x00000000e5900000
				vaddr=000000003fa0ba74
	crtc-pos=1600x900+0+0
	src-pos=1600.000000x900.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=1
	color-encoding=ITU-R BT.601 YCbCr
	color-range=YCbCr limited range
plane[37]: meson_overlay_plane
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=0
	color-encoding=ITU-R BT.601 YCbCr
	color-range=YCbCr limited range
crtc[40]: meson_crtc
	enable=1
	active=1
	self_refresh_active=0
	planes_changed=1
	mode_changed=0
	active_changed=0
	connectors_changed=0
	color_mgmt_changed=0
	plane_mask=1
	connector_mask=1
	encoder_mask=1
	mode: "1600x900": 60 108000 1600 1624 1704 1800 900 901 904 1000 0x60 0x5
connector[32]: HDMI-A-1
	crtc=meson_crtc
	self_refresh_aware=0

[-- Attachment #4: hdmi_edid --]
[-- Type: application/octet-stream, Size: 256 bytes --]

[-- Attachment #5: vga_edid --]
[-- Type: application/octet-stream, Size: 256 bytes --]

[-- Attachment #6: Type: text/plain, Size: 167 bytes --]

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: OdroidN2/N2+ HDMI Green Line
  2022-05-15 16:50 OdroidN2/N2+ HDMI Green Line Jefferson Gonzalez
@ 2022-05-16  7:30 ` Neil Armstrong
  2022-05-16 14:20   ` Jefferson Gonzalez
  0 siblings, 1 reply; 3+ messages in thread
From: Neil Armstrong @ 2022-05-16  7:30 UTC (permalink / raw)
  To: Jefferson Gonzalez, linux-amlogic

Hi,

On 15/05/2022 18:50, Jefferson Gonzalez wrote:
> Hi,
> 
> Writing to report an old issue about a green line on the left side of the
> screen with some files hoping that it helps troubleshoot the cause. The issue
> happens when connecting the HDMI cable directly to the hdmi input port of the
> display, when using an HDMI to VGA converter and connecting it to the display
> VGA input port the issue doesn't happen.
> 
> In this message I attach the output of "cat /sys/kernel/debug/dri/*/state" for
> both hdmi and vga, also both edid files when connected to hdmi and vga. The
> files were retrieved using kernel 5.18rc4 and happens on mainline uboot,
> the tow-boot distribution or upstream uboot.

Please check & test the following fix:
https://lore.kernel.org/r/20220516072245.10745-1-christianshewitt@gmail.com

Thanks,
Neil

> 
> _______________________________________________
> linux-amlogic mailing list
> linux-amlogic@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-amlogic


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: OdroidN2/N2+ HDMI Green Line
  2022-05-16  7:30 ` Neil Armstrong
@ 2022-05-16 14:20   ` Jefferson Gonzalez
  0 siblings, 0 replies; 3+ messages in thread
From: Jefferson Gonzalez @ 2022-05-16 14:20 UTC (permalink / raw)
  To: Neil Armstrong, linux-amlogic

> Hi,
>
> Please check & test the following fix:
> https://lore.kernel.org/r/20220516072245.10745-1-christianshewitt@gmail.com 
>
>
> Thanks,
> Neil

I confirm that those changes fix the green line issue.

Thanks!


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-16 14:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-15 16:50 OdroidN2/N2+ HDMI Green Line Jefferson Gonzalez
2022-05-16  7:30 ` Neil Armstrong
2022-05-16 14:20   ` Jefferson Gonzalez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®