您尚未登录。

楼主 # 2021-08-29 08:40:36

skliu
会员
注册时间: 2020-06-07
已发帖子: 54
积分: 23

求一个buildroot的config,包含QT opengl测试。 Lima或者Mali都行。感谢

好几天没搞好,郁闷。 过来求一个。也不知道自己哪里设置不对。

测试同一个QT的opengl例子:
使用全志库,失败信息如下:

...
Got keys from plugin meta data ("webp")
QFactoryLoader::QFactoryLoader() checking directory path "/boot/imageformats" ...
loaded library "/usr/lib/qt/plugins/imageformats/libqgif.so"
loaded library "/usr/lib/qt/plugins/imageformats/libqicns.so"
loaded library "/usr/lib/qt/plugins/imageformats/libqico.so"
loaded library "/usr/lib/qt/plugins/imageformats/libqjpeg.so"
loaded library "/usr/lib/qt/plugins/imageformats/libqsvg.so"
loaded library "/usr/lib/qt/plugins/imageformats/libqtga.so"
loaded library "/usr/lib/qt/plugins/imageformats/libqtiff.so"
loaded library "/usr/lib/qt/plugins/imageformats/libqwbmp.so"
loaded library "/usr/lib/qt/plugins/imageformats/libqwebp.so"
Unable to query physical screen size, defaulting to 100 dpi.
To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/plugins/styles" ...
QFactoryLoader::QFactoryLoader() checking directory path "/boot/styles" ...
QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/plugins/accessiblebridge" ...
QFactoryLoader::QFactoryLoader() checking directory path "/boot/accessiblebridge" ...
EGL Error : Could not create the egl surface: error = 0x3003

Aborted

转用主线开源lima+mesa3d.测试同样的qt例子。

...
Got keys from plugin meta data ("eglfs_kms")
QFactoryLoader::QFactoryLoader() checking directory path "/boot/egldeviceintegrations" ...
loaded library "/usr/lib/qt/plugins/egldeviceintegrations/libqeglfs-kms-integration.so"
MESA-LOADER: failed to open lima: /usr/lib/dri/lima_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri)
failed to load driver: lima
MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri)
failed to load swrast driver
Could not create GBM device (No such file or directory)
Could not open DRM device
Aborted

离线

#1 2024-08-07 19:13:59

ubuntu
会员
注册时间: 2020-03-30
已发帖子: 278
积分: 256

Re: 求一个buildroot的config,包含QT opengl测试。 Lima或者Mali都行。感谢

我有A133的配好的buildroot,可以跑Qt OpenGL和opengles_demo

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn