iMX6 Accelerated Dual-Display with X11 and Vivante Driver Segfault

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX6 Accelerated Dual-Display with X11 and Vivante Driver Segfault

3,326 Views
gauravsuryavans
Contributor II

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

Labels (1)
Tags (1)
3 Replies

2,366 Views
gauravsuryavans
Contributor II

Hi igorpadykov‌ ,

Thank you for your quick response.

Did you mean there is kernel patches for this issue ?

Actually i am using kernel 4.1.15 with Custom iMX6 Board

X11-1.18 (xf86-video-imxfb-vivante_5.0.11.p8.4 , imx-gpu-viv_5.0.11.p8.4-hfp and kernel-module-imx-gpu-viv_5.0.11).

Please let me know how can i proceed further.

Regards,

Pankaj

0 Kudos
Reply

2,366 Views
igorpadykov
NXP Employee
NXP Employee

Hi Pankaj

unfortunately I am not aware of related patches, suggest to proceed with

NXP Professional Services|NXP 

Best regards
igor

0 Kudos
Reply

2,366 Views
igorpadykov
NXP Employee
NXP Employee

Hi Pankaj

one can try with latest NXP Demo Images

"Linux Binary Demo Files - i.MX 6QuadPlus, i.MX 6Quad, i.MX 6DualPlus,
i.MX 6Dual, i.MX 6DualLite, i.MX 6Solo, i.MX 6SoloX"

https://www.nxp.com/webapp/Download?colCode=L4.9.88_2.0.0_MX6QDLSOLOX&appType=license&location=null&... 

sources

linux-imx - i.MX Linux kernel 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------