Skip to contentSkip to conversation

OdroidN2/N2+ HDMI Green Line

DISCUSSION Jefferson Gonzalez 2 participants 3 messages May 15, 2022 – May 16, 2022 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

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.

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

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

_______________________________________________
linux-amlogic mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-amlogic

#1 lore raw

Hi,

Quoted 8 lines · Jefferson Gonzalez

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.

Quoted 4 lines

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/[email protected]

Thanks,
Neil

Quoted 5 lines

_______________________________________________
linux-amlogic mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-amlogic

_______________________________________________
linux-amlogic mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-amlogic