lsmod to check if the mali_kbase.ko have loaded as below
Module Size Used by
mali_kbase 240797 0
make sure we have full permission to access:
/dev/mali0
/dev/fb*
mali_kbase.ko
Midgard GPU User-Space Binary Drivers
check the kernel space driver in kernel source (seems modified from TX011-SW-99002-r6p0-02rel0.tgz)
follow below thread to setup fb http://bbs.t-firefly.com/forum.php?mod=viewthread&tid=321&highlight=driver
╭────
│ sudo -s
│ cat << EOF >/etc/init/fbset.conf
│ # fbset - run fbset to set truecolor fbmo
│ description “run fbset before lightdm”
│ start on startup and started udev or starting lightdm
│ task
│ script
│ [ -x /bin/fbset ] && /bin/fbset -a -nonstd 1 -depth 32 -rgba “8/0,8/8,8/16,8/24”
│ end script
│ EOF
│ cat << EOF >/etc/X11/xorg.conf
│ Section “Screen”
│ Identifier “Default Screen”
│ DefaultDepth 24
│ EndSection
│ EOF
╰────
But, it seems still not work:
firefly@firefly:~$ sudo clinfo
I: ICD loader reports no usable platforms
firefly@firefly:~$ sudo glmark2
** GLX does not support GLX_EXT_swap_control or GLX_MESA_swap_control!
** Failed to set swap interval. Results may be bounded above by refresh rate.
firefly@firefly:~$ glmark2-es2
libEGL warning: GLX/DRI2 is not supported
libEGL warning: DRI2: failed to authenticate
Error: eglChooseConfig() didn’t return any configs
Error: Error: Could not get a valid XVisualInfo!
Error: Error: Couldn’t create X Window!
Error: main: Could not initialize canvas
So, any one can help to guide me to debug for this problem?
Thanks a lot.
thanks a lot for your information.
I have test with Firefly-rk3288_Ubuntu_1604_2016_08291523_Beta.img on reload board, and openCL/openGL ES both works well, except VGA i2c4 keep prompting in console to lag the system. (appended logs as below)