All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot]  rk3288: Qt5 with Mali test failed
@ 2017-09-05 19:14 Jagan Teki
  2017-09-06  5:05 ` "Björn Kirchner"
  0 siblings, 1 reply; 2+ messages in thread
From: Jagan Teki @ 2017-09-05 19:14 UTC (permalink / raw)
  To: buildroot

Hi,

I'm trying to use MALI_T76X with QT5 packages with reference to
firefly-rk3288 able to detect HDMI and observed below Error log

I'm sure that all Mali libraries are in rootfs and the only difference
is I'm using Mainline Kernel.
# find -iname libEGL.so
./usr/lib/libEGL.so
# find -iname libmali.so
./usr/lib/libmali.so
# find -iname libGLESv1_CM.so
./usr/lib/libGLESv1_CM.so
# find -iname libGLESv2.so
./usr/lib/libGLESv2.so
# find -iname libOpenCL.so
./usr/lib/libOpenCL.so

Error log:
-----------
# export
export PWD='/usr/lib/qt/examples/opengl'
export QT_QPA_EGLFS_FB='/dev/fb0'
export QT_QPA_EGLFS_INTEGRATION='none'
export QT_QPA_PLATFORM='eglfs'
# ./hellowindow/hellowindow
Could not initialize egl display
Aborted

Does mainline still not support Mali setup here or did I miss
anything, request for help

thanks!
-- 
Jagan Teki
Senior Linux Kernel Engineer | Amarula Solutions
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] rk3288: Qt5 with Mali test failed
  2017-09-05 19:14 [Buildroot] rk3288: Qt5 with Mali test failed Jagan Teki
@ 2017-09-06  5:05 ` "Björn Kirchner"
  0 siblings, 0 replies; 2+ messages in thread
From: "Björn Kirchner" @ 2017-09-06  5:05 UTC (permalink / raw)
  To: buildroot

Hello Jagan,

Am Di, 5.09.2017, 21:14 schrieb Jagan Teki:
> Hi,
>
>
> I'm trying to use MALI_T76X with QT5 packages with reference to
> firefly-rk3288 able to detect HDMI and observed below Error log
>
> I'm sure that all Mali libraries are in rootfs and the only difference
> is I'm using Mainline Kernel. # find -iname libEGL.so
> ./usr/lib/libEGL.so
> # find -iname libmali.so
> ./usr/lib/libmali.so
> # find -iname libGLESv1_CM.so
> ./usr/lib/libGLESv1_CM.so
> # find -iname libGLESv2.so
> ./usr/lib/libGLESv2.so
> # find -iname libOpenCL.so
> ./usr/lib/libOpenCL.so
>
>
> Error log:
> -----------
> # export
> export PWD='/usr/lib/qt/examples/opengl' export QT_QPA_EGLFS_FB='/dev/fb0'
> export QT_QPA_EGLFS_INTEGRATION='none' export QT_QPA_PLATFORM='eglfs' #
> ./hellowindow/hellowindow
> Could not initialize egl display
> Aborted
>
>
> Does mainline still not support Mali setup here or did I miss
> anything, request for help
>

right now don't have access to my board with mali GPU, so I can't double
check, but if I remember correctly, there is a device driver in the
kernel, that needs to be built. To state the obvious, if built as a
module, the module has to be loaded... :)
At least I'm of the mind that this was the case with my Allwinner A10
board with mali GPU. Can you verify that the driver was built and is
loaded, please?

For other reasons I used a non-mainline kernel with my A10 board, so I
can't tell you, if the mainline kernel supports your version of the
mali GPU out of the box.


Regards,

Bj?rn

> thanks! --
> Jagan Teki
> Senior Linux Kernel Engineer | Amarula Solutions
> U-Boot, Linux | Upstream Maintainer
> Hyderabad, India.
> _______________________________________________
> buildroot mailing list buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-09-06  5:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-05 19:14 [Buildroot] rk3288: Qt5 with Mali test failed Jagan Teki
2017-09-06  5:05 ` "Björn Kirchner"

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.