AnsweredAssumed Answered

Imx6 Hdmi Problem

Question asked by emmanuel perea on May 3, 2019
Latest reply on May 3, 2019 by igorpadykov


I am using a imx6 dual lite connectore that I made a carry board, It's working fine but I have some hdmi issues. 

I have to connect the imx6 to a monitor that use dvi to hdmi connect. 

In dtb configuration i did:


hdmi_video@020e0000 {
compatible = "fsl,imx6q-hdmi-video";
reg = <0x20e0000 0x1000>;
reg-names = "hdmi_gpr";
interrupts = <0x0 0x73 0x4>;
clocks = <0x2 0x7c 0x2 0x7b 0x2 0x8a>;
clock-names = "hdmi_isfr", "hdmi_iahb", "mipi_core";
status = "okay";
fsl,phy_reg_vlev = <0x294>;
fsl,phy_reg_cksymtx = <0x800d>;


hdmi_audio@00120000 {
compatible = "fsl,imx6q-hdmi-audio";
clocks = <0x2 0x7c 0x2 0x7b 0x2 0x8a>;
clock-names = "hdmi_isfr", "hdmi_iahb", "mipi_core";
dmas = <0xe 0x2 0x19 0x0>;
dma-names = "tx";
status = "disabled";
linux,phandle = <0x5b>;
phandle = <0x5b>;


I have four boards with the same configuration, and I have four iquals monitors. One board works excelent and the others works with some issues, in the screen appears some blue and green pixeles.

I dont use hdmi audio so I desabled it from dtb and I put dvi_mode.

I have to use 1024x768 resolution but this mode is not available so I added in xorg.conf file:

My xorg.conf file is the next:


Section "Device"
                        Identifier "i.MX Accelerated Framebuffer Device"
                        Driver "vivante"
                       Option "fbdev" "/dev/fb0"
                       Option "vivante_fbdev" "/dev/fb0"
                        Option "HWcursor" "false"


Section "Monitor"
      Identifier "Monitor"   
      HorizSync 48.3
      VertRefresh 60


Section "Screen"
      Identifier "Screen"
      Device "i.MX Accelerated Framebuffer Device"
      Monitor "Monitor"
      DefaultDepth 16
       SubSection "Display"
         Depth 16
         Modes "1024x768"


Section "InputClass"
      Identifier "calibration"
      MatchProduct "AD7879 TouchScreen"


Section "ServerFlags"
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"



Right now I am changing HorizSync and I chek the changes, around 48.4.

I set extra_bootargs -> extra_bootargs=video=mxcfb0:dev=hdmi,1024x768,if=RGB565,bpp=16

I dont know what more i can do, if someone has some idea i will be grateful.


My kernel version is 4.9.