meta-digi-dey: xorg: fix X11 server issues for ccimx8x
Signed-off-by: David Escalona <david.escalona@digi.com>
This commit is contained in:
parent
d2688a89ec
commit
49c1fb6dca
|
|
@ -65,4 +65,4 @@ FILES_${PN}-dbg = "${libdir}/*/*/*/.debug ${libdir}/.debug/libfsl_x11_ext${SOLIB
|
|||
FILES_xserver-xorg-extension-viv-autohdmi = " ${libdir}/libfsl_x11_ext${SOLIBS} ${exec_prefix}/bin/autohdmi ${sysconfdir}/init.d/rc.autohdmi"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_SOCARCH}"
|
||||
COMPATIBLE_MACHINE = "(mx6|mx7ulp)"
|
||||
COMPATIBLE_MACHINE = "(mx6|mx8|mx7ulp)"
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ Section "Device"
|
|||
Identifier "i.MX Accelerated DRM Device"
|
||||
Driver "vivante"
|
||||
Option "kmsdev" "/dev/dri/card0"
|
||||
Option "fbdev" "/dev/fb0"
|
||||
EndSection
|
||||
|
||||
Section "ServerFlags"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,9 @@
|
|||
#!/bin/sh
|
||||
export QT_QPA_PLATFORM="wayland"
|
||||
|
||||
# Use EGLFS platform plugin for images without XWayland
|
||||
[ -f "/etc/profile.d/weston.sh" ] || export QT_QPA_PLATFORM="eglfs"
|
||||
[ -f "/etc/profile.d/weston.sh" ] && exit 0
|
||||
|
||||
export QT_QPA_PLATFORM="xcb"
|
||||
|
||||
# Use EGLFS platform plugin for images without XWayland and X11
|
||||
[ -f "/etc/xserver-nodm/Xserver" ] || export QT_QPA_PLATFORM="eglfs"
|
||||
|
|
|
|||
Loading…
Reference in New Issue