Hi all! I've spent a few days trying to get an LCD screen working with 
hardware acceleration, eglfs, on my Beaglebone Black Wireless. My end goal 
is running a PyQT5 application. After reading some discussions here, I 
found that the Stretch ImgTec Beaglebone image already has opengl and sgx 
dependencies installed. After installing that image on my SD and trying to 
start the test dashboard application as explained here 
<https://elinux.org/BeagleBoneBlack/SGX_%2B_Qt_EGLFS_%2B_Weston#QtQuick_.2B_EGLFS>,
 
it just says:

Could not initialize egl display
Aborted

I know that my display is working as it displays a login screen in the 
terminal with tty1, AND it shows a basic pyqt5 application using linuxfb
on the screen with the command `python3 test.py -platform linuxfb`.

If I use qt debug variables, it still doesn't show any errors

cd /usr/lib/arm-linux-gnueabihf/qt5/examples/quickcontrols/extras/dashboard
export QT_LOGGING_RULES=*=true
export QSG_INFO=1
export QT_QPA_EGLFS_DEBUG=1
export QT_DEBUG_PLUGINS=1
export QT_QPA_PLATFORM=eglfs 
export QT_QPA_EGLFS_INTEGRATION=none
./dashboard

Extracted output (to keep it short):

Got keys from plugin meta data ("eglfs")
Got keys from plugin meta data ("linuxfb")
Got keys from plugin meta data ("minimal")
Got keys from plugin meta data ("minimalegl")
Got keys from plugin meta data ("offscreen")
Got keys from plugin meta data ("xcb")
loaded library 
"/usr/lib/arm-linux-gnueabihf/qt5/plugins/platforms/libqeglfs.so"
Got keys from plugin meta data ("eglfs_kms_egldevice")
Got keys from plugin meta data ("eglfs_kms")
Got keys from plugin meta data ("eglfs_x11")
QFactoryLoader::QFactoryLoader() checking directory path 
"/usr/lib/arm-linux-gnueabihf/qt5/examples/quickcontrols/extras/dashboard/egldeviceintegrations"
 
...
qt.qpa.egldeviceintegration: EGL device integration plugin keys: 
("eglfs_kms_egldevice", "eglfs_kms", "eglfs_x11")
qt.qpa.egldeviceintegration: Using base device integration
Could not initialize egl display
Aborted

I don't think an X server is running (searched via `ps aux | grep -i x`).

I also tried using Buster image without graphics and followed the 
instruction in the wiki page listed above, but still no dice. Does anyone 
have any pointers on how to continue with this?

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/d7f68907-1195-445a-8aa5-b064ccc37cben%40googlegroups.com.

Reply via email to