AnsweredAssumed Answered

i.mx6 dual display (HDMI+LVDS),qml application not running with two startx commands.

Question asked by Ankith Naik on Jan 23, 2019
Latest reply on Jan 29, 2019 by igorpadykov


I'm using freescale sabresd quad plus imx6 device with yocto kernel version 4.9.11. We are trying to run qt qml application in two monitors with seperate contents(Without mirror). First I disabled Xserver to start from bootup. We wrotre a script  which will start Xserver with seperate server layouts.In one of the monitor with HDMI output displays the QT application but LVDS screen fails to start Xserver.But Matchbox is running in both screens using startx command. I have given logs which may be helpful.


In dtsi file I changed screen ID as 1 for HDMI and 0 for LVDS display. My doubt is that shall I change ipu_id also to run different Xservers?.


I got only one line related to vivante driver in dmesg i.e.

[    1.593369] [drm] Initialized vivante 1.0.0 20120216 on minor 0


When I run script to start two X servers two Xorg log files created Xorg.0.log and Xorg.1.log. In Xorg.1.log Im getting error like this.

[1869838.822] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[1869838.855] (EE) Screen 1 deleted because of no matching config section.
[1869839.530] (EE) [drm] Could not set DRM device bus ID.
[1869839.530] (EE) VIVANTE(0): [dri] DRIScreenInit failed.  Disabling DRI.


Please suggest me if I have missed something.

Thanks in advance.