From edd5736cb730bd2b5d82f150a7207fea0576efdd Mon Sep 17 00:00:00 2001 From: Mehran Dehghanian Date: Sat, 20 Nov 2021 10:45:47 +0330 Subject: [PATCH] Update 'linux rasp pi4 X11 EGLFS' --- linux-rasp-pi4-X11-EGLFS.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/linux-rasp-pi4-X11-EGLFS.md b/linux-rasp-pi4-X11-EGLFS.md index 9a4bc4e..f0f5046 100644 --- a/linux-rasp-pi4-X11-EGLFS.md +++ b/linux-rasp-pi4-X11-EGLFS.md @@ -46,3 +46,31 @@ Add this to [Service] tab in systemd file After=multi-user.target ``` +## Note +In the last attemp, installing all the packages above didn't worked. +I Had to do every step like EGLFS2 guide but added +``` +sudo apt install libgbm-dev libdrm-dev +``` +I also built Qt5.12.11 with gcc7.2 using following configuration: + +``` +../configure -release -opengl es2 -make libs -nomake tests -nomake examples -skip wayland -skip qtscript -skip qtwebengine -skip location -device linux-rasp-pi3-vc4-g++ -device-option CROSS_COMPILE=/media/mehran/extra3/Qt5Pi4X11/raspi/rpi-gcc-8.3.0/bin/arm-linux-gnueabihf- -sysroot /media/mehran/extra3/Qt5Pi4X11/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix /media/mehran/extra3/Qt5Pi4X11/raspi/qt5pi -hostprefix /media/mehran/extra3/Qt5Pi4X11/raspi/qt5 -v -no-use-gold-linker +``` + +Configuration output is like this: +``` + EGLFS .................................. yes + EGLFS details: + EGLFS OpenWFD ........................ no + EGLFS i.Mx6 .......................... no + EGLFS i.Mx6 Wayland .................. no + EGLFS RCAR ........................... no + EGLFS EGLDevice ...................... yes + EGLFS GBM ............................ yes + EGLFS VSP2 ........................... no + EGLFS Mali ........................... no + EGLFS Raspberry Pi ................... no + EGLFS X11 ............................ yes +``` +