87741ae2c2
The following xorg.conf was used in order to force the use of the vivante module: https://github.com/Freescale/meta-freescale/blob/master/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6/xorg.conf Note that the X server must be started with the "noreset" option to avoid crashes when closing X apps. Tested with: # X -noreset & # cd /usr/share/examples/viv_samples/vdk/ # DISPLAY=:0 ./tutorial7 Note that this package patch is removed as now upstream: https://source.codeaurora.org/external/imx/xf86-video-imx-vivante/commit/?id=70ebd67c Cc: Jérôme Pouiller <jezz@sysmic.org> Cc: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
42 lines
1.4 KiB
Plaintext
42 lines
1.4 KiB
Plaintext
config BR2_PACKAGE_XDRIVER_XF86_VIDEO_IMX_VIV
|
|
bool "xf86-video-imx-viv"
|
|
depends on BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11
|
|
depends on BR2_PACKAGE_IMX_GPU_G2D
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_1 # mesa3d
|
|
select BR2_PACKAGE_MESA3D # Needed in order to compile xorg with glx/dri
|
|
select BR2_PACKAGE_MESA3D_DRI_DRIVER
|
|
select BR2_PACKAGE_LIBDRM
|
|
select BR2_PACKAGE_XPROTO_XPROTO
|
|
select BR2_PACKAGE_XPROTO_XF86DRIPROTO
|
|
help
|
|
X.Org driver for iMX6 GPU (Vivante)
|
|
|
|
Notice EGL and GLes2 APIs are correctly supported. This
|
|
driver should also be able to provide Desktop OpenGL
|
|
implementation but, this feature seems broken since quite
|
|
some time.
|
|
|
|
To use this driver, add correct configuration to your
|
|
/etc/X11/xorg.conf:
|
|
|
|
Section "Device"
|
|
[...]
|
|
Driver "vivante"
|
|
Option "vivante_fbdev" "/dev/fbX"
|
|
EndSection
|
|
|
|
Don't forget to load galcore.ko and create /dev/galcore
|
|
before using this driver (else, Xorg will exit with an
|
|
obscur message like "Segmentation fault at address 0xc").
|
|
|
|
comment "xf86-video-imx-viv depends on imx-gpu-viv with X11 output"
|
|
depends on BR2_arm
|
|
depends on !BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_1
|
|
|
|
comment "xf86-video-imx-viv depends on imx-gpu-g2d"
|
|
depends on BR2_arm
|
|
depends on !BR2_PACKAGE_IMX_GPU_G2D
|
|
depends on BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_1
|