AnsweredAssumed Answered

iMX6 Accelerated Dual-Display with X11 and Vivante Driver Segfault

Question asked by Pankaj Suryawanshi on Oct 11, 2018
Latest reply on Oct 15, 2018 by Pankaj Suryawanshi

Hi Community,

 

I am trying to use Accelerated Dual Display(LVDS and HDMI) on imx6 with Xorg-server and Vivante Driver(galcore).but when I tried to Launch QT application on HDMI Display Xorg-Server Gives Segfault.

----------------------------------------------------------------------------------------------

The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke: I/O error (code 1)
XIO:  fatal IO error 22 (Invalid argument) on X server ":0.1"
      after 395 requests (395 known processed) with 0 events remaining.

 

Xorg.log

----------------------------------------------------------------------------------------------

[1608738.320] (EE) Backtrace:
[1608738.320] (EE)
[1608738.320] (EE) Segmentation fault at address 0x8
[1608738.320] (EE)
Fatal server error:
[1608738.320] (EE) Caught signal 11 (Segmentation fault). Server aborting
[1608738.320] (EE)
[1608738.320] (EE)
Please consult the The X.Org Foundation support
     at http://wiki.x.org
 for help.
[1608738.321] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[1608738.321] (EE)
[1608738.321] (EE) Server terminated with error (1). Closing log file.

----------------------------------------------------------------------------------------------

 

Dual Display is working fine without acceleration.

 

My Xorg.conf file

 

-----------------------------------------------------------------------------------------------

cat /etc/X11/xorg.conf


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

 

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

 

Section "Screen"
        Identifier      "LCD"
        Device          "i.MX Accelerated Framebuffer Device 0"
        Monitor         "Monitor_0"
        DefaultDepth           16 #Choose the depth (16||24)
        SubSection             "Display"
                Depth              16
                Modes              "800x480_60.00" #Choose the resolution
        EndSubSection
EndSection

 

Section "Screen"
        Identifier      "HDMI"
        Device          "i.MX Accelerated Framebuffer Device 1"
        Monitor         "Monitor_1"
        DefaultDepth           16 #Choose the depth (16||24)
        SubSection             "Display"
                Depth              16
        EndSubSection
EndSection

 

Section "Monitor"                                                                            
        Identifier "Monitor_1"                                                               
EndSection

 

Section "Monitor"
        Identifier "Monitor_0"
EndSection

 

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          0 "LCD"
        Screen          1 "HDMI" RightOf "LCD"
        #InputDevice     "hy462x" "Pointer"
        #InputDevice     "eGalaxTouch" "Pointer"
        Option          "Xinerama" "on"
EndSection

 

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

 

-----------------------------------------------------------------------------------------

 

Thanks in Advance,

 

Any help would be highly appreciated.

 

Regards,

Pankaj

Outcomes