Hi there,
I am currently working to enable X-server on a customized IMX6Q board and I am using kernel version 3.14.52. The IMX6Q target board is using an LVDS panel as a system console, when the system boots up, I can see boot messages on the screen, but the screen is blanked just before the login prompt appears.
After some investigations, it was found that during the initialization of X-server, the below commands in the init script file “/etc/init.d/xserver-nodm”:
echo "Starting Xserver"
. /etc/X11/xserver-common
xinit /etc/X11/Xsession -- `which $XSERVER` $ARGS >/var/log/Xsession.log 2>&1
is causing the “xf86-video-imxfb-vivante” driver to call ioctl(fdDev, FBIOBLANK, FB_BLANK_NORMAL) to turn off the LVDS screen. I had to run the command
# echo 0 > /sys/class/graphics/fb0/blank
on the serial console to turn on the LVDS screen again.
Running the command “startx” will also turn off the LVDS screen.
The log file /var/log/Xorg.0.log (attached) shows that during the initialization of EXA driver, the start X process failed with error “Segmentation fault at address 0xe0”.
[1881882.947] (II) VIVANTE(0): test Initializing EXA
[1881882.947] (II) VIVANTE(0): (driver build from: -dirty)
[1881882.953] (II) EXA(0): Driver allocated offscreen pixmaps
[1881882.953] (II) EXA(0): Driver registered support for the following operations:
[1881882.953] (II) Solid
[1881882.953] (II) Copy
[1881882.953] (II) Composite (RENDER acceleration)
[1881882.953] (II) UploadToScreen
[1881882.953] (EE)
[1881882.953] (EE) Backtrace:
[1881882.954] (EE)
[1881882.954] (EE) Segmentation fault at address 0xe0
[1881882.954] (EE)
Fatal server error:
[1881882.954] (EE) Caught signal 11 (Segmentation fault). Server aborting
[1881882.954] (EE)
[1881882.954] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[1881882.954] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[1881882.955] (EE)
[1881882.978] (EE) Server terminated with error (1). Closing log file.
In my build environment, the below kernel options are enabled:
CONFIG_DRM_VIVANTE=y
CONFIG_MXC_GPU_VIV=y
and the “xf86-video-imxfb-vivante” package that I am using is of version “5.0.11.p4.5”.
$ ls -l xf86-video-imxfb-vivante_5.0.11.p4.5.bb
-rw-r--r-- 1 ylsoo ylsoo 349 Dec 28 2015 xf86-video-imxfb-vivante_5.0.11.p4.5.bb
$
Can this version support the IMX6Q Vivante GPU? Should I upgrade it to a newer version?
Really appreciate if someone could provide any advice or solution to this problem.