|
Edited by barban at 2015-11-19 04:55
@whitewind, @hojnikb: thanks for your interest on this issue
libEGL.so in on the right lib path (/usr/lib/):
- root@OrangePI:~# ldd /usr/bin/glmark2-es2
- libjpeg.so.8 => /usr/lib/arm-linux-gnueabihf/libjpeg.so.8 (0xb6f0c000)
- libpng12.so.0 => /lib/arm-linux-gnueabihf/libpng12.so.0 (0xb6ee4000)
- libX11.so.6 => /usr/lib/arm-linux-gnueabihf/libX11.so.6 (0xb6df6000)
- libEGL.so.1 => /usr/lib/libEGL.so.1 (0xb6d2f000)
- libGLESv2.so.2 => /usr/lib/libGLESv2.so.2 (0xb6c68000)
- libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0xb6bae000)
- libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb6b38000)
- libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xb6b0f000)
- libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6a21000)
- /lib/ld-linux-armhf.so.3 (0xb6f66000)
- libz.so.1 => /lib/arm-linux-gnueabihf/libz.so.1 (0xb69ff000)
- libxcb.so.1 => /usr/lib/arm-linux-gnueabihf/libxcb.so.1 (0xb69e5000)
- libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb69d1000)
- libUMP.so => /usr/lib/arm-linux-gnueabihf/libUMP.so (0xb69bb000)
- libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb69a7000)
- libdrm.so.2 => /usr/lib/arm-linux-gnueabihf/libdrm.so.2 (0xb698e000)
- libXfixes.so.3 => /usr/lib/arm-linux-gnueabihf/libXfixes.so.3 (0xb697a000)
- libXext.so.6 => /usr/lib/arm-linux-gnueabihf/libXext.so.6 (0xb695e000)
- librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0xb6948000)
- libXau.so.6 => /usr/lib/arm-linux-gnueabihf/libXau.so.6 (0xb693d000)
- libXdmcp.so.6 => /usr/lib/arm-linux-gnueabihf/libXdmcp.so.6 (0xb6931000)
- root@OrangePI:~#
Copy code
kernel's image was compiled by myself with mali driver module; fbturbo was configured as follows:
- root@OrangePI:~# cat /etc/X11/xorg.conf
- # This is a minimal sample config file, which can be copied to
- # /etc/X11/xorg.conf in order to make the Xorg server pick up
- # and load xf86-video-fbturbo driver installed in the system.
- #
- # When troubleshooting, check /var/log/Xorg.0.log for the debugging
- # output and error messages.
- #
- # Run "man fbturbo" to get additional information about the extra
- # configuration options for tuning the driver.
- Section "Device"
- Identifier "Allwinner A10/A13 FBDEV"
- Driver "fbturbo"
- Option "fbdev" "/dev/fb0"
- Option "SwapbuffersWait" "true"
- EndSection
- root@OrangePI:~#
Copy code
lsmod as follows:
- root@OrangePI:~# lsmod
- Module Size Used by
- mali 216688 0
- mali_drm 6634 0
- drm 180399 1 mali_drm
- ump 42369 1 mali
- 8189es 901572 0
Copy code
dmesg shows a "Failed to get mali parameter!" message which could be a problem..
- [ 614.350553] UMP: UMP device driver -3516ca7 loaded
- [ 625.664226] [drm] Initialized drm 1.1.0 20060810
- [ 631.046516] mali_platform_drm_init(), driver name: mali_drm, version 0.1
- [ 631.046984] DRM: mali_platform_drm_probe()
- [ 631.047009] mali_drm_init(), driver name: mali_drm, version 0.1
- [ 631.047983] DRM: mali_driver_load start
- [ 631.048081] DRM: mali_driver_load done
- [ 631.048118] [drm] Initialized mali_drm 0.1.0 20100520 on minor 0
- [ 631.058006] DRM: mali_lastclose
- [ 631.067016] DRM: mali_lastclose
- [ 635.017257] Failed to get mali parameter!
- [ 635.017567] Init Mali gpu successfully
- [ 635.018828] Mali: Mali device driver loaded
Copy code
|
|