Trouble

Mali GPU driver / VDPAU / hardware acceleration trouble

8 11068
Hello everyone,

I have some trouble getting the hardware acceleration to work.

I have a banana pi and use the newest bananian version (15.01).

I use LXDE as a GUI.

I followed the following guide:

http://blog.eldajani.net/banana- ... celerated-mali-gpu/

And  I made it through to the end. But when testing the drivers with the sunxi-mali test,
I get the error

  1. libEGL warning: failed to create a pipe screen for lima
  2. libEGL warning: DRI2: failed to open lima (search paths /usr/lib/arm-linux-gnueabihf/dri:${ORIGIN}/dri:/usr/lib/dri)
  3. EGL Version: "1.4 (DRI2)"
  4. EGL Vendor: "Mesa Project"
  5. EGL Extensions: "EGL_KHR_surfaceless_gles1 EGL_KHR_surfaceless_gles2 EGL_KHR_surfaceless_opengl "
Copy the Code
So I found this blog post from the same user, suggesting a way to fix the problem:

http://blog.eldajani.net/banana-pi-arch-linux-libgles-problems/

but after following through, the error stays

After that I followed the first link's guide to get VDPAU with mplayer, but I get the error

  1. Error opening/initializing the selected video_out (-vo) device.
Copy the Code
Whatever information you need, just tell me. I will give them to you.
Edited by Sandra121289 at Sun Jan 18, 2015 11:33

Okay, so maybe it helps if I post some logs.

The Fbturbo driver starts successfully, I am only concerned with the line where it fails to open lima_dri.so:
  1.   4208.647] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
  2. [  4208.648] (II) Module dri: vendor="X.Org Foundation"
  3. [  4208.648]         compiled for 1.12.4, module version = 1.0.0
  4. [  4208.649]         ABI class: X.Org Server Extension, version 6.0
  5. [  4208.649] (II) Loading extension XFree86-DRI
  6. [  4208.649] (II) LoadModule: "dri2"
  7. [  4208.649] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
  8. [  4208.650] (II) Module dri2: vendor="X.Org Foundation"
  9. [  4208.651]         compiled for 1.12.4, module version = 1.2.0
  10. [  4208.651]         ABI class: X.Org Server Extension, version 6.0
  11. [  4208.651] (II) Loading extension DRI2
  12. [  4208.651] (II) LoadModule: "fbturbo"
  13. [  4208.652] (II) Loading /usr/lib/xorg/modules/drivers/fbturbo_drv.so
  14. [  4208.653] (II) Module fbturbo: vendor="X.Org Foundation"
  15. [  4208.653]         compiled for 1.12.4, module version = 0.5.1
  16. [  4208.653]         Module class: X.Org Video Driver
  17. [  4208.653]         ABI class: X.Org Video Driver, version 12.1
  18. [  4208.654] (II) FBTURBO: driver for framebuffer: fbturbo
  19. [  4208.654] (++) using VT number 7

  20. [  4208.669] (WW) Falling back to old probe method for fbturbo
  21. [  4208.669] (II) Loading sub module "fbdevhw"
  22. [  4208.669] (II) LoadModule: "fbdevhw"
  23. [  4208.670] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
  24. [  4208.670] (II) Module fbdevhw: vendor="X.Org Foundation"
  25. [  4208.671]         compiled for 1.12.4, module version = 0.0.2
  26. [  4208.671]         ABI class: X.Org Video Driver, version 12.1
  27. [  4208.671] (II) FBTURBO(0): using /dev/fb0
  28. [  4208.671] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
  29. [  4208.672] (II) FBTURBO(0): Creating default Display subsection in Screen section
  30.         "Default Screen Section" for depth/fbbpp 24/32
  31. [  4208.672] (==) FBTURBO(0): Depth 24, (==) framebuffer bpp 32
  32. [  4208.672] (==) FBTURBO(0): RGB weight 888
  33. [  4208.672] (==) FBTURBO(0): Default visual is TrueColor
  34. [  4208.672] (==) FBTURBO(0): Using gamma correction (1.0, 1.0, 1.0)
  35. [  4208.673] (II) FBTURBO(0): hardware:  (video memory: 16200kB)
  36. [  4208.673] (**) FBTURBO(0): Option "fbdev" "/dev/fb0"
  37. [  4208.673] (**) FBTURBO(0): Option "SwapbuffersWait" "true"
  38. [  4208.673] (**) FBTURBO(0): Option "AccelMethod" "G2D"
  39. [  4208.674] (II) FBTURBO(0): processor: ARM Cortex-A7
  40. [  4208.674] (II) FBTURBO(0): checking modes against framebuffer device...
  41. [  4208.674] (II) FBTURBO(0): checking modes against monitor...
  42. [  4208.675] (--) FBTURBO(0): Virtual size is 1920x1080 (pitch 1920)
  43. [  4208.675] (**) FBTURBO(0):  Built-in mode "current": 148.5 MHz, 67.5 kHz, 60.0 Hz
  44. [  4208.675] (II) FBTURBO(0): Modeline "current"x0.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync -vsync -csync (67.5 kHz b)
  45. [  4208.675] (==) FBTURBO(0): DPI set to (96, 96)
  46. [  4208.675] (II) Loading sub module "fb"
  47. [  4208.675] (II) LoadModule: "fb"
  48. [  4208.676] (II) Loading /usr/lib/xorg/modules/libfb.so
  49. [  4208.677] (II) Module fb: vendor="X.Org Foundation"
  50. [  4208.677]         compiled for 1.12.4, module version = 1.0.0
  51. [  4208.677]         ABI class: X.Org ANSI C Emulation, version 0.4
  52. [  4208.677] (==) Depth 24 pixmap format is 32 bpp
  53. [  4208.680] (II) FBTURBO(0): using backing store heuristics
  54. [  4208.698] (II) FBTURBO(0): enabled G2D acceleration
  55. [  4208.698] (==) FBTURBO(0): Backing store disabled
  56. [  4208.700] (==) FBTURBO(0): DPMS enabled
  57. [  4208.700] (II) FBTURBO(0): using sunxi disp layers for X video extension
  58. [  4208.701] (II) FBTURBO(0): using hardware cursor
  59. [  4208.744] (II) Loading sub module "dri2"
  60. [  4208.745] (II) LoadModule: "dri2"
  61. [  4208.746] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
  62. [  4208.746] (II) Module dri2: vendor="X.Org Foundation"
  63. [  4208.746]         compiled for 1.12.4, module version = 1.2.0
  64. [  4208.746]         ABI class: X.Org Server Extension, version 6.0
  65. [  4208.746] drmOpenDevice: node name is /dev/dri/card0
  66. [  4208.747] drmOpenDevice: open result is 10, (OK)
  67. [  4208.747] drmOpenDevice: node name is /dev/dri/card0
  68. [  4208.747] drmOpenDevice: open result is 10, (OK)
  69. [  4208.747] drmOpenDevice: node name is /dev/dri/card0
  70. [  4208.748] drmOpenDevice: open result is 10, (OK)
  71. [  4208.748] drmGetBusid returned ''
  72. [  4208.754] (II) FBTURBO(0): tear-free zero-copy double buffering needs more video memory
  73. [  4208.754] (II) FBTURBO(0): please set fb0_framebuffer_num >= 3 in the fex file
  74. [  4208.755] (II) FBTURBO(0): and sunxi_fb_mem_reserve >= 24 in the kernel cmdline
  75. [  4208.755] (II) FBTURBO(0): enabled display controller hardware overlays for DRI2
  76. [  4208.755] (II) FBTURBO(0): Wait on SwapBuffers? enabled
  77. [  4208.755] (II) FBTURBO(0): [DRI2] Setup complete
  78. [  4208.755] (II) FBTURBO(0): [DRI2]   DRI driver: lima
  79. [  4208.755] (II) FBTURBO(0): [DRI2]   VDPAU driver: sunxi
  80. [  4208.755] (II) FBTURBO(0): using DRI2 integration for Mali GPU (UMP buffers)
  81. [  4208.755] (II) FBTURBO(0): Mali binary drivers can only accelerate EGL/GLES
  82. [  4208.755] (II) FBTURBO(0): so AIGLX/GLX is expected to fail or fallback to software
  83. [  4208.756] (==) RandR enabled
  84. [  4208.756] (II) Initializing built-in extension Generic Event Extension
  85. [  4208.756] (II) Initializing built-in extension SHAPE
  86. [  4208.756] (II) Initializing built-in extension MIT-SHM
  87. [  4208.756] (II) Initializing built-in extension XInputExtension
  88. [  4208.756] (II) Initializing built-in extension XTEST
  89. [  4208.756] (II) Initializing built-in extension BIG-REQUESTS
  90. [  4208.756] (II) Initializing built-in extension SYNC
  91. [  4208.756] (II) Initializing built-in extension XKEYBOARD
  92. [  4208.756] (II) Initializing built-in extension XC-MISC
  93. [  4208.756] (II) Initializing built-in extension SECURITY
  94. [  4208.756] (II) Initializing built-in extension XINERAMA
  95. [  4208.756] (II) Initializing built-in extension XFIXES
  96. [  4208.757] (II) Initializing built-in extension RENDER
  97. [  4208.757] (II) Initializing built-in extension RANDR
  98. [  4208.757] (II) Initializing built-in extension COMPOSITE
  99. [  4208.757] (II) Initializing built-in extension DAMAGE
  100. [  4208.757] (II) SELinux: Disabled on system
  101. [  4208.833] (EE) AIGLX error: dlopen of /usr/lib/arm-linux-gnueabihf/dri/lima_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/lima_dri.so: cannot open shared object file: No such file or directory)
  102. [  4208.833] (EE) AIGLX: reverting to software rendering
  103. [  4208.833] (II) AIGLX: Screen 0 is not DRI capable
  104. [  4208.851] (II) AIGLX: Loaded and initialized swrast
  105. [  4208.851] (II) GLX: Initialized DRISWRAST GL provider for screen 0
  106. [  4209.258] (II) config/udev: Adding input device axp20-supplyer (/dev/input/event1)
  107. [  4209.258] (**) axp20-supplyer: Applying InputClass "evdev keyboard catchall"
  108. [  4209.258] (II) LoadModule: "evdev"
Copy the Code
lsmod shows also all the kernel modules that are important for the hardware acceleration as loaded:
  1. Module                  Size  Used by
  2. sg                     27461  0
  3. disp_ump                 850  0
  4. sunxi_cedar_mod        10332  0
  5. mali_drm                2638  1
  6. drm                   213190  2 mali_drm
  7. mali                  113887  0
  8. ump                    57103  4 mali,disp_ump
  9. cpufreq_stats           5908  0
  10. cpufreq_userspace       3524  0
  11. cpufreq_conservative     5712  0
  12. cpufreq_powersave       1242  0
  13. bridge                 76836  0
  14. 8021q                  18593  0
  15. garp                    6072  1 8021q
  16. stp                     2032  2 garp,bridge
  17. llc                     5365  3 stp,garp,bridge
  18. 8192cu                453340  0
Copy the Code
vdpauinfo gives the following output:
  1. dpauinfo
  2. display: :0   screen: 0
  3. [VDPAU SUNXI] VE version 0x1623 opened.
  4. API version: 1
  5. Information string: sunxi VDPAU Driver

  6. Video surface:

  7. name   width height types
  8. -------------------------------------------
  9. 420     8192  8192  NV12 YV12

  10. Decoder capabilities:

  11. name               level macbs width height
  12. -------------------------------------------
  13. MPEG1                 0 32400  3840  2160
  14. MPEG2_SIMPLE          3 32400  3840  2160
  15. MPEG2_MAIN            3 32400  3840  2160
  16. H264_BASELINE        51 32400  3840  2160
  17. H264_MAIN            51 32400  3840  2160
  18. H264_HIGH            51 32400  3840  2160
  19. MPEG4_PART2_SP       51 32400  3840  2160
  20. MPEG4_PART2_ASP      51 32400  3840  2160

  21. Output surface:

  22. name              width height nat types
  23. ----------------------------------------------------
  24. B8G8R8A8          8192  8192    -  
  25. R8G8B8A8          8192  8192    -  

  26. Bitmap surface:

  27. name              width height
  28. ------------------------------
  29. B8G8R8A8          8192  8192
  30. R8G8B8A8          8192  8192

  31. Video mixer:

  32. feature name                    sup
  33. ------------------------------------
  34. DEINTERLACE_TEMPORAL             -
  35. DEINTERLACE_TEMPORAL_SPATIAL     -
  36. INVERSE_TELECINE                 -
  37. NOISE_REDUCTION                  -
  38. SHARPNESS                        -
  39. LUMA_KEY                         -
  40. HIGH QUALITY SCALING - L1        -
  41. HIGH QUALITY SCALING - L2        -
  42. HIGH QUALITY SCALING - L3        -
  43. HIGH QUALITY SCALING - L4        -
  44. HIGH QUALITY SCALING - L5        -
  45. HIGH QUALITY SCALING - L6        -
  46. HIGH QUALITY SCALING - L7        -
  47. HIGH QUALITY SCALING - L8        -
  48. HIGH QUALITY SCALING - L9        -

  49. parameter name                  sup      min      max
  50. -----------------------------------------------------
  51. VIDEO_SURFACE_WIDTH              y         0     8192
  52. VIDEO_SURFACE_HEIGHT             y         0     8192
  53. CHROMA_TYPE                      y  
  54. LAYERS                           y         0        0

  55. attribute name                  sup      min      max
  56. -----------------------------------------------------
  57. BACKGROUND_COLOR                 -  
  58. CSC_MATRIX                       -  
  59. NOISE_REDUCTION_LEVEL            -  
  60. SHARPNESS_LEVEL                  -  
  61. LUMA_KEY_MIN_LUMA                -  
  62. LUMA_KEY_MAX_LUMA                -  
Copy the Code
also all important devices are there and have the right rights:
  1. crw-------  1 root root    248,   0 Jan 15 23:05 ace_dev
  2. crw-------  1 root root     10,  59 Jan 15 23:05 ashmem
  3. crw-rw---T+ 1 root audio    14,   4 Jan 15 23:05 audio
  4. crw-rw---T+ 1 root audio    14,  20 Jan 15 23:05 audio1
  5. crw-------  1 root root     10, 235 Jan 15 23:05 autofs
  6. crw-------  1 root root     10,  60 Jan 15 23:05 binder
  7. drwxr-xr-x  2 root root         640 Jan 18 18:01 block
  8. drwxr-xr-x  2 root root          60 Jan 18 18:01 bsg
  9. crw------T  1 root root     10, 234 Jan 15 23:05 btrfs-control
  10. drwxr-xr-x  3 root root          60 Jan  1  1970 bus
  11. crw-------  1 root root     10,  62 Jan 15 23:05 cachefiles
  12. crw-rw-rw-  1 root video   150,   0 Jan 15 23:06 cedar_dev
  13. drwxr-xr-x  2 root root        3900 Jan 18 18:01 char
  14. crw-------  1 root root      5,   1 Jan 15 23:06 console
  15. crw-------  1 root root     10,  54 Jan 15 23:05 cpu_dma_latency
  16. crw-------  1 root root     10,  61 Jan 15 23:05 cuse
  17. drwxr-xr-x  5 root root         100 Jan 17 15:09 disk
  18. crw-rw-rw-  1 root video   251,   0 Jan 15 23:05 disp
  19. drwxr-xr-x  2 root root          80 Jan 15 23:06 dri
  20. crw-rw---T+ 1 root audio    14,   3 Jan 15 23:05 dsp
  21. crw-rw---T+ 1 root audio    14,  19 Jan 15 23:05 dsp1
  22. crw-rw-rw-  1 root video    29,   0 Jan 15 23:05 fb0
  23. crw-rw-rw-  1 root video    29,   1 Jan 15 23:05 fb1
  24. lrwxrwxrwx  1 root root          13 Jan 15 23:05 fd -> /proc/self/fd
  25. crw-rw-rw-  1 root root      1,   7 Jan 15 23:05 full
  26. crw-rw---T  1 root fuse     10, 229 Jan 15 23:05 fuse
  27. crw-rw-rw-  1 root video   250,   0 Jan 15 23:05 g2d
  28. crw-------  1 root root    246,   0 Jan 18 18:01 hidraw0
  29. crw-------  1 root root    246,   1 Jan 18 18:01 hidraw1
  30. crw-------  1 root root     89,   0 Jan 15 23:05 i2c-0
  31. crw-------  1 root root     89,   1 Jan 15 23:05 i2c-1
  32. crw-------  1 root root     89,   2 Jan 15 23:05 i2c-2
  33. crw-------  1 root root     89,   3 Jan 15 23:05 i2c-3
  34. crw-------  1 root root     89,   4 Jan 15 23:05 i2c-4
  35. drwxr-xr-x  4 root root         200 Jan 18 18:01 input
  36. crw-r----T  1 root kmem      1,   2 Jan 15 23:05 kmem
  37. crw-------  1 root root      1,  11 Jan 15 23:05 kmsg
  38. srw-rw-rw-  1 root root           0 Jan 15 23:06 log
  39. crw-------  1 root root     10,  57 Jan 15 23:05 log_events
  40. crw-------  1 root root     10,  58 Jan 15 23:05 log_main
  41. crw-------  1 root root     10,  56 Jan 15 23:05 log_radio
  42. crw-------  1 root root     10,  55 Jan 15 23:05 log_system
  43. brw-rw---T  1 root disk      7,   0 Jan 15 23:05 loop0
  44. brw-rw---T  1 root disk      7,   1 Jan 15 23:05 loop1
  45. brw-rw---T  1 root disk      7,   2 Jan 15 23:05 loop2
  46. brw-rw---T  1 root disk      7,   3 Jan 15 23:05 loop3
  47. brw-rw---T  1 root disk      7,   4 Jan 15 23:05 loop4
  48. brw-rw---T  1 root disk      7,   5 Jan 15 23:05 loop5
  49. brw-rw---T  1 root disk      7,   6 Jan 15 23:05 loop6
  50. brw-rw---T  1 root disk      7,   7 Jan 15 23:05 loop7
  51. crw-------  1 root root     10, 237 Jan 15 23:05 loop-control
  52. lrwxrwxrwx  1 root root           9 Jan 15 23:05 MAKEDEV -> /bin/true
  53. crw-rw-rw-  1 root video   241,   0 Jan 15 23:06 mali
  54. drwxr-xr-x  2 root root          60 Jan  1  1970 mapper
  55. brw-rw---T  1 root disk      9,   0 Jan 15 23:05 md0
  56. crw-r----T  1 root kmem      1,   1 Jan 15 23:05 mem
  57. brw-rw---T  1 root floppy  179,   0 Jan 15 23:05 mmcblk0
  58. brw-rw---T  1 root floppy  179,   1 Jan 15 23:05 mmcblk0p1
  59. brw-rw---T  1 root floppy  179,   2 Jan 15 23:05 mmcblk0p2
  60. drwxr-xr-x  2 root root          60 Jan 15 23:05 net
  61. crw-------  1 root root     10,  53 Jan 15 23:05 network_latency
  62. crw-------  1 root root     10,  52 Jan 15 23:05 network_throughput
  63. crw-rw-rw-  1 root root      1,   3 Jan 15 23:05 null
  64. crw-------  1 root root    247,   0 Jan 15 23:05 pa_dev
  65. crw-------  1 root root    108,   0 Jan 15 23:05 ppp
  66. crw-------  1 root root     10,   1 Jan 15 23:05 psaux
  67. crw-rw-rw-  1 root root      5,   2 Jan 18  2015 ptmx
  68. drwxr-xr-x  2 root root           0 Jan  1  1970 pts
  69. brw-rw---T  1 root disk      1,   0 Jan 15 23:05 ram0
  70. brw-rw---T  1 root disk      1,   1 Jan 15 23:05 ram1
  71. brw-rw---T  1 root disk      1,  10 Jan 15 23:05 ram10
  72. brw-rw---T  1 root disk      1,  11 Jan 15 23:05 ram11
  73. brw-rw---T  1 root disk      1,  12 Jan 15 23:05 ram12
  74. brw-rw---T  1 root disk      1,  13 Jan 15 23:05 ram13
  75. brw-rw---T  1 root disk      1,  14 Jan 15 23:05 ram14
  76. brw-rw---T  1 root disk      1,  15 Jan 15 23:05 ram15
  77. brw-rw---T  1 root disk      1,   2 Jan 15 23:05 ram2
  78. brw-rw---T  1 root disk      1,   3 Jan 15 23:05 ram3
  79. brw-rw---T  1 root disk      1,   4 Jan 15 23:05 ram4
  80. brw-rw---T  1 root disk      1,   5 Jan 15 23:05 ram5
  81. brw-rw---T  1 root disk      1,   6 Jan 15 23:05 ram6
  82. brw-rw---T  1 root disk      1,   7 Jan 15 23:05 ram7
  83. brw-rw---T  1 root disk      1,   8 Jan 15 23:05 ram8
  84. brw-rw---T  1 root disk      1,   9 Jan 15 23:05 ram9
  85. crw-rw-rw-  1 root root      1,   8 Jan 15 23:05 random
  86. crw-r--r-T  1 root root     10,  63 Jan 15 23:05 rfkill
  87. lrwxrwxrwx  1 root root           9 Jan 15 23:05 root -> mmcblk0p2
  88. crw-------  1 root root    254,   0 Jan 15 23:05 rtc0
  89. brw-rw---T  1 root floppy    8,  16 Jan 18 18:01 sdb
  90. brw-rw---T  1 root floppy    8,  17 Jan 18 18:01 sdb1
  91. crw-------  1 root root     21,   0 Jan 18 18:01 sg0
  92. lrwxrwxrwx  1 root root           8 Jan 15 23:05 shm -> /run/shm
  93. drwxr-xr-x  3 root root         180 Jan 15 23:05 snd
  94. lrwxrwxrwx  1 root root          15 Jan 15 23:05 stderr -> /proc/self/fd/2
  95. lrwxrwxrwx  1 root root          15 Jan 15 23:05 stdin -> /proc/self/fd/0
  96. lrwxrwxrwx  1 root root          15 Jan 15 23:05 stdout -> /proc/self/fd/1
  97. crw-------  1 root root    244,   0 Jan 15 23:05 sunxi-lcd
  98. crw-rw-rw-  1 root root      5,   0 Jan 17 00:21 tty
  99. crw-------  1 root root      4,   0 Jan 15 23:05 tty0
  100. crw-rw----  1 root tty       4,   1 Jan 15 23:06 tty1
  101. crw-------  1 root root      4,  10 Jan 15 23:05 tty10
  102. crw-------  1 root root      4,  11 Jan 15 23:05 tty11
  103. crw-------  1 root root      4,  12 Jan 15 23:05 tty12
  104. crw-------  1 root root      4,  13 Jan 15 23:05 tty13
  105. crw-------  1 root root      4,  14 Jan 15 23:05 tty14
  106. crw-------  1 root root      4,  15 Jan 15 23:05 tty15
  107. crw-------  1 root root      4,  16 Jan 15 23:05 tty16
  108. crw-------  1 root root      4,  17 Jan 15 23:05 tty17
  109. crw-------  1 root root      4,  18 Jan 15 23:05 tty18
  110. crw-------  1 root root      4,  19 Jan 15 23:05 tty19
  111. crw-------  1 pi   tty       4,   2 Jan 16 00:15 tty2
  112. crw-------  1 root root      4,  20 Jan 15 23:05 tty20
  113. crw-------  1 root root      4,  21 Jan 15 23:05 tty21
  114. crw-------  1 root root      4,  22 Jan 15 23:05 tty22
  115. crw-------  1 root root      4,  23 Jan 15 23:05 tty23
  116. crw-------  1 root root      4,  24 Jan 15 23:05 tty24
  117. crw-------  1 root root      4,  25 Jan 15 23:05 tty25
  118. crw-------  1 root root      4,  26 Jan 15 23:05 tty26
  119. crw-------  1 root root      4,  27 Jan 15 23:05 tty27
  120. crw-------  1 root root      4,  28 Jan 15 23:05 tty28
  121. crw-------  1 root root      4,  29 Jan 15 23:05 tty29
  122. crw-rw----  1 root tty       4,   3 Jan 15 23:06 tty3
  123. crw-------  1 root root      4,  30 Jan 15 23:05 tty30
  124. crw-------  1 root root      4,  31 Jan 15 23:05 tty31
  125. crw-------  1 root root      4,  32 Jan 15 23:05 tty32
  126. crw-------  1 root root      4,  33 Jan 15 23:05 tty33
  127. crw-------  1 root root      4,  34 Jan 15 23:05 tty34
  128. crw-------  1 root root      4,  35 Jan 15 23:05 tty35
  129. crw-------  1 root root      4,  36 Jan 15 23:05 tty36
  130. crw-------  1 root root      4,  37 Jan 15 23:05 tty37
  131. crw-------  1 root root      4,  38 Jan 15 23:05 tty38
  132. crw-------  1 root root      4,  39 Jan 15 23:05 tty39
  133. crw-rw----  1 root tty       4,   4 Jan 15 23:06 tty4
  134. crw-------  1 root root      4,  40 Jan 15 23:05 tty40
  135. crw-------  1 root root      4,  41 Jan 15 23:05 tty41
  136. crw-------  1 root root      4,  42 Jan 15 23:05 tty42
  137. crw-------  1 root root      4,  43 Jan 15 23:05 tty43
  138. crw-------  1 root root      4,  44 Jan 15 23:05 tty44
  139. crw-------  1 root root      4,  45 Jan 15 23:05 tty45
  140. crw-------  1 root root      4,  46 Jan 15 23:05 tty46
  141. crw-------  1 root root      4,  47 Jan 15 23:05 tty47
  142. crw-------  1 root root      4,  48 Jan 15 23:05 tty48
  143. crw-------  1 root root      4,  49 Jan 15 23:05 tty49
  144. crw-rw----  1 root tty       4,   5 Jan 15 23:06 tty5
  145. crw-------  1 root root      4,  50 Jan 15 23:05 tty50
  146. crw-------  1 root root      4,  51 Jan 15 23:05 tty51
  147. crw-------  1 root root      4,  52 Jan 15 23:05 tty52
  148. crw-------  1 root root      4,  53 Jan 15 23:05 tty53
  149. crw-------  1 root root      4,  54 Jan 15 23:05 tty54
  150. crw-------  1 root root      4,  55 Jan 15 23:05 tty55
  151. crw-------  1 root root      4,  56 Jan 15 23:05 tty56
  152. crw-------  1 root root      4,  57 Jan 15 23:05 tty57
  153. crw-------  1 root root      4,  58 Jan 15 23:05 tty58
  154. crw-------  1 root root      4,  59 Jan 15 23:05 tty59
  155. crw-rw----  1 root tty       4,   6 Jan 15 23:06 tty6
  156. crw-------  1 root root      4,  60 Jan 15 23:05 tty60
  157. crw-------  1 root root      4,  61 Jan 15 23:05 tty61
  158. crw-------  1 root root      4,  62 Jan 15 23:05 tty62
  159. crw-------  1 root root      4,  63 Jan 15 23:05 tty63
  160. crw-------  1 root root      4,   7 Jan 15 23:05 tty7
  161. crw-------  1 root root      4,   8 Jan 15 23:05 tty8
  162. crw-------  1 root root      4,   9 Jan 15 23:05 tty9
  163. crw-rw----  1 root tty       4,  64 Jan 15 23:06 ttyS0
  164. crw-rw---T  1 root dialout   4,  65 Jan 15 23:05 ttyS1
  165. crw-rw---T  1 root dialout   4,  74 Jan 15 23:05 ttyS10
  166. crw-rw---T  1 root dialout   4,  75 Jan 15 23:05 ttyS11
  167. crw-rw---T  1 root dialout   4,  76 Jan 15 23:05 ttyS12
  168. crw-rw---T  1 root dialout   4,  77 Jan 15 23:05 ttyS13
  169. crw-rw---T  1 root dialout   4,  78 Jan 15 23:05 ttyS14
  170. crw-rw---T  1 root dialout   4,  79 Jan 15 23:05 ttyS15
  171. crw-rw---T  1 root dialout   4,  80 Jan 15 23:05 ttyS16
  172. crw-rw---T  1 root dialout   4,  81 Jan 15 23:05 ttyS17
  173. crw-rw---T  1 root dialout   4,  82 Jan 15 23:05 ttyS18
  174. crw-rw---T  1 root dialout   4,  83 Jan 15 23:05 ttyS19
  175. crw-rw---T  1 root dialout   4,  66 Jan 15 23:05 ttyS2
  176. crw-rw---T  1 root dialout   4,  84 Jan 15 23:05 ttyS20
  177. crw-rw---T  1 root dialout   4,  85 Jan 15 23:05 ttyS21
  178. crw-rw---T  1 root dialout   4,  86 Jan 15 23:05 ttyS22
  179. crw-rw---T  1 root dialout   4,  87 Jan 15 23:05 ttyS23
  180. crw-rw---T  1 root dialout   4,  88 Jan 15 23:05 ttyS24
  181. crw-rw---T  1 root dialout   4,  89 Jan 15 23:05 ttyS25
  182. crw-rw---T  1 root dialout   4,  90 Jan 15 23:05 ttyS26
  183. crw-rw---T  1 root dialout   4,  91 Jan 15 23:05 ttyS27
  184. crw-rw---T  1 root dialout   4,  92 Jan 15 23:05 ttyS28
  185. crw-rw---T  1 root dialout   4,  93 Jan 15 23:05 ttyS29
  186. crw-rw---T  1 root dialout   4,  67 Jan 15 23:05 ttyS3
  187. crw-rw---T  1 root dialout   4,  94 Jan 15 23:05 ttyS30
  188. crw-rw---T  1 root dialout   4,  95 Jan 15 23:05 ttyS31
  189. crw-rw---T  1 root dialout   4,  68 Jan 15 23:05 ttyS4
  190. crw-rw---T  1 root dialout   4,  69 Jan 15 23:05 ttyS5
  191. crw-rw---T  1 root dialout   4,  70 Jan 15 23:05 ttyS6
  192. crw-rw---T  1 root dialout   4,  71 Jan 15 23:05 ttyS7
  193. crw-rw---T  1 root dialout   4,  72 Jan 15 23:05 ttyS8
  194. crw-rw---T  1 root dialout   4,  73 Jan 15 23:05 ttyS9
  195. crw-rw-rw-  1 root video   242,   0 Jan 15 23:06 ump
  196. crw-rw-rw-  1 root root      1,   9 Jan 15 23:05 urandom
  197. drwxr-xr-x  2 root root          60 Jan 18 18:01 usb
  198. crw-------  1 root root    189,   0 Jan 15 23:05 usbdev1.1
  199. crw-------  1 root root    189,   1 Jan 15 23:05 usbdev1.2
  200. crw-------  1 root root    189, 128 Jan 15 23:05 usbdev2.1
  201. crw-------  1 root root    189, 256 Jan 15 23:05 usbdev3.1
  202. crw-------  1 root root    189, 257 Jan 15 23:05 usbdev3.2
  203. crw-------  1 root root    189, 260 Jan 18 18:01 usbdev3.5
  204. crw-------  1 root root    189, 261 Jan 18 18:01 usbdev3.6
  205. crw-------  1 root root    189, 384 Jan 15 23:05 usbdev4.1
  206. crw-------  1 root root    249,   0 Jan 15 23:05 usbmon0
  207. crw-------  1 root root    249,   1 Jan 15 23:05 usbmon1
  208. crw-------  1 root root    249,   2 Jan 15 23:05 usbmon2
  209. crw-------  1 root root    249,   3 Jan 15 23:05 usbmon3
  210. crw-------  1 root root    249,   4 Jan 15 23:05 usbmon4
  211. crw-------  1 root root      7,   0 Jan 15 23:05 vcs
  212. crw-------  1 root root      7,   1 Jan 15 23:05 vcs1
  213. crw-------  1 root root      7,   2 Jan 15 23:05 vcs2
  214. crw-------  1 root root      7,   3 Jan 15 23:05 vcs3
  215. crw-------  1 root root      7,   4 Jan 15 23:05 vcs4
  216. crw-------  1 root root      7,   5 Jan 15 23:05 vcs5
  217. crw-------  1 root root      7,   6 Jan 15 23:05 vcs6
  218. crw-------  1 root root      7,   7 Jan 15 23:06 vcs7
  219. crw-------  1 root root      7, 128 Jan 15 23:05 vcsa
  220. crw-------  1 root root      7, 129 Jan 15 23:05 vcsa1
  221. crw-------  1 root root      7, 130 Jan 15 23:05 vcsa2
  222. crw-------  1 root root      7, 131 Jan 15 23:05 vcsa3
  223. crw-------  1 root root      7, 132 Jan 15 23:05 vcsa4
  224. crw-------  1 root root      7, 133 Jan 15 23:05 vcsa5
  225. crw-------  1 root root      7, 134 Jan 15 23:05 vcsa6
  226. crw-------  1 root root      7, 135 Jan 15 23:06 vcsa7
  227. prw-r-----  1 root adm            0 Jan 18 18:36 xconsole
Copy the Code
Please help me out here, I really tried anything I could think of

ryad  
Hello Sandra,
Nice to see people are using my guides
So, did you install the mesa packages? What shows: ls -la /usr/lib/libEGL.so* ?

Kind regards,
Ryad

ryad  
Hello Sandra,

Please try:
  1. $ sudo mv /etc/ld.so.conf.d/mali.conf /etc/ld.so.conf.d/1-mali.conf
  2. $ sudo ldconfig
Copy the Code
And then rebuild the sunxi-mali and libvdpau library and maybe reboot.
Hope that helps.


Kind regards,
Ryad

jiemeb  
Edited by jiemeb at Wed Apr 29, 2015 13:12

I have got the same problem. and now it's OK
for get it working I apply this recommandation :
http://linux-sunxi.org/Mali_binary_driver
If your are seeing this:

libEGL warning: failed to create a pipe screen for Mali DRI2
libEGL warning: DRI2: failed to open Mali DRI2 (search paths /usr/lib/arm-linux-gnueabihf/dri)

Then the current best advice is to move the mesa-egl aside:
        
  1. mv /usr/lib/arm-linux-gnueabihf/mesa-egl/ /usr/lib/arm-linux-gnueabihf/.mesa-egl/
Copy the Code

Edited by DaveTheMinion at Fri May 1, 2015 19:56

Hi ryad,

I also have this strange error in Xorg.0.log:

  1. (EE) AIGLX error: dlopen of /usr/lib/arm-linux-gnueabihf/dri/lima_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/lima_dri.so: cannot open shared object file: No such file or directory)
  2. (EE) AIGLX: reverting to software rendering
Copy the Code
I followed your excellent guide and the build process worked well. According to the logs the acceleration works:

  1. X.Org X Server 1.16.4
  2. Release Date: 2014-12-20
  3. [   592.305] X Protocol Version 11, Revision 0
  4. [   592.305] Build Operating System: Linux 3.16.0-0.bpo.4-armmp-lpae armv7l Debian
  5. [   592.306] Current Operating System: Linux bananapi 3.4.107-bananapi #8 SMP PREEMPT Mon Apr 27 12:39:02 CEST 2015 armv7l
  6. [   592.306] Kernel command line: console=tty1 root=/dev/mmcblk0p1 rootwait hdmi.audio=EDID:0 disp.screen0_output_mode=EDID:1280x720p60 panic=10 consoleblank=0
  7. [   592.306] Build Date: 11 February 2015  01:18:06AM
  8. [   592.307] xorg-server 2:1.16.4-1 ([url]http://www.debian.org/support[/url])
  9. [   592.307] Current version of pixman: 0.32.6
  10. [   592.307]         Before reporting problems, check [url]http://wiki.x.org[/url]
  11.         to make sure that you have the latest version.
  12. [   592.307] Markers: (--) probed, (**) from config file, (==) default setting,
  13.         (++) from command line, (!!) notice, (II) informational,
  14.         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
  15. [   592.308] (==) Log file: "/var/log/Xorg.0.log", Time: Fri May  1 20:49:16 2015
  16. [   592.310] (==) Using config directory: "/etc/X11/xorg.conf.d"
  17. [   592.310] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
  18. [   592.312] (==) ServerLayout "ServerLayout0"
  19. [   592.312] (==) No screen section available. Using defaults.
  20. [   592.312] (**) |-->Screen "Default Screen Section" (0)
  21. [   592.312] (**) |   |-->Monitor "<default monitor>"
  22. [   592.313] (==) No device specified for screen "Default Screen Section".
  23.         Using the first device section listed.
  24. [   592.313] (**) |   |-->Device "Sunxi FBDEV"
  25. [   592.313] (==) No monitor specified for screen "Default Screen Section".
  26.         Using a default monitor configuration.
  27. [   592.313] (**) Option "StandbyTime" "0"
  28. [   592.314] (**) Option "SuspendTime" "0"
  29. [   592.314] (**) Option "OffTime" "0"
  30. [   592.314] (==) Automatically adding devices
  31. [   592.314] (==) Automatically enabling devices
  32. [   592.314] (==) Automatically adding GPU devices
  33. [   592.314] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
  34. [   592.314]         Entry deleted from font path.
  35. [   592.314] (==) FontPath set to:
  36.         /usr/share/fonts/X11/misc,
  37.         /usr/share/fonts/X11/100dpi/:unscaled,
  38.         /usr/share/fonts/X11/75dpi/:unscaled,
  39.         /usr/share/fonts/X11/Type1,
  40.         /usr/share/fonts/X11/100dpi,
  41.         /usr/share/fonts/X11/75dpi,
  42.         built-ins
  43. [   592.314] (==) ModulePath set to "/usr/lib/xorg/modules"
  44. [   592.314] (II) The server relies on udev to provide the list of input devices.
  45.         If no devices become available, reconfigure udev or disable AutoAddDevices.
  46. [   592.314] (II) Loader magic: 0xb6febf18
  47. [   592.314] (II) Module ABI versions:
  48. [   592.314]         X.Org ANSI C Emulation: 0.4
  49. [   592.315]         X.Org Video Driver: 18.0
  50. [   592.315]         X.Org XInput driver : 21.0
  51. [   592.315]         X.Org Server Extension : 8.0
  52. [   592.316] (II) xfree86: Adding drm device (/dev/dri/card0)
  53. [   592.317] (II) xfree86: Adding drm device (/dev/dri/card1)
  54. [   592.317] (II) no primary bus or device found
  55. [   592.317]         falling back to /sys/devices/platform/mali_drm.0/drm/card0
  56. [   592.317] (II) LoadModule: "glx"
  57. [   592.319] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
  58. [   592.332] (II) Module glx: vendor="X.Org Foundation"
  59. [   592.332]         compiled for 1.16.4, module version = 1.0.0
  60. [   592.332]         ABI class: X.Org Server Extension, version 8.0
  61. [   592.332] (==) AIGLX enabled
  62. [   592.332] (II) LoadModule: "fbturbo"
  63. [   592.333] (II) Loading /usr/lib/xorg/modules/drivers/fbturbo_drv.so
  64. [   592.334] (II) Module fbturbo: vendor="X.Org Foundation"
  65. [   592.335]         compiled for 1.16.4, module version = 0.4.0
  66. [   592.335]         Module class: X.Org Video Driver
  67. [   592.335]         ABI class: X.Org Video Driver, version 18.0
  68. [   592.335] (II) FBTURBO: driver for framebuffer: fbturbo
  69. [   592.335] (--) using VT number 2

  70. [   592.369] (WW) Falling back to old probe method for fbturbo
  71. [   592.369] (II) Loading sub module "fbdevhw"
  72. [   592.369] (II) LoadModule: "fbdevhw"
  73. [   592.370] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
  74. [   592.370] (II) Module fbdevhw: vendor="X.Org Foundation"
  75. [   592.370]         compiled for 1.16.4, module version = 0.0.2
  76. [   592.371]         ABI class: X.Org Video Driver, version 18.0
  77. [   592.371] (II) FBTURBO(0): using /dev/fb0
  78. [   592.371] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
  79. [   592.371] (II) FBTURBO(0): Creating default Display subsection in Screen section
  80.         "Default Screen Section" for depth/fbbpp 24/32
  81. [   592.371] (==) FBTURBO(0): Depth 24, (==) framebuffer bpp 32
  82. [   592.371] (==) FBTURBO(0): RGB weight 888
  83. [   592.371] (==) FBTURBO(0): Default visual is TrueColor
  84. [   592.371] (==) FBTURBO(0): Using gamma correction (1.0, 1.0, 1.0)
  85. [   592.372] (II) FBTURBO(0): hardware:  (video memory: 10800kB)
  86. [   592.372] (**) FBTURBO(0): Option "Rotate" "UD"
  87. [   592.372] (**) FBTURBO(0): Option "fbdev" "/dev/fb0"
  88. [   592.372] (**) FBTURBO(0): Option "HWCursor" "false"
  89. [   592.372] (**) FBTURBO(0): Option "DRI2" "true"
  90. [   592.372] (**) FBTURBO(0): Option "DRI2HWOverlay" "true"
  91. [   592.372] (**) FBTURBO(0): Option "SwapbuffersWait" "false"
  92. [   592.372] (**) FBTURBO(0): Option "AccelMethod" "G2D"
  93. [   592.373] (II) FBTURBO(0): processor: ARM Cortex-A7
  94. [   592.373] (**) FBTURBO(0): rotating screen upside-down
  95. [   592.373] (II) FBTURBO(0): checking modes against framebuffer device...
  96. [   592.373] (II) FBTURBO(0): checking modes against monitor...
  97. [   592.373] (--) FBTURBO(0): Virtual size is 1024x600 (pitch 1024)
  98. [   592.373] (**) FBTURBO(0):  Built-in mode "current": 65.0 MHz, 48.4 kHz, 75.8 Hz
  99. [   592.373] (II) FBTURBO(0): Modeline "current"x0.0   65.00  1024 1048 1184 1344  600 603 609 638 -hsync -vsync -csync (48.4 kHz b)
  100. [   592.373] (==) FBTURBO(0): DPI set to (96, 96)
  101. [   592.373] (II) Loading sub module "fb"
  102. [   592.374] (II) LoadModule: "fb"
  103. [   592.374] (II) Loading /usr/lib/xorg/modules/libfb.so
  104. [   592.375] (II) Module fb: vendor="X.Org Foundation"
  105. [   592.375]         compiled for 1.16.4, module version = 1.0.0
  106. [   592.375]         ABI class: X.Org ANSI C Emulation, version 0.4
  107. [   592.375] (**) FBTURBO(0): using shadow framebuffer
  108. [   592.375] (II) Loading sub module "shadow"
  109. [   592.375] (II) LoadModule: "shadow"
  110. [   592.376] (II) Loading /usr/lib/xorg/modules/libshadow.so
  111. [   592.376] (II) Module shadow: vendor="X.Org Foundation"
  112. [   592.376]         compiled for 1.16.4, module version = 1.1.0
  113. [   592.376]         ABI class: X.Org ANSI C Emulation, version 0.4
  114. [   592.376] (==) Depth 24 pixmap format is 32 bpp
  115. [   592.411] (II) FBTURBO(0): enabled G2D acceleration
  116. [   592.411] (II) FBTURBO(0): display rotated; disabling DGA
  117. [   592.411] (II) FBTURBO(0): using driver rotation; disabling XRandR
  118. [   592.411] (==) FBTURBO(0): Backing store enabled
  119. [   592.413] (==) FBTURBO(0): DPMS enabled
  120. [   592.413] (II) FBTURBO(0): using sunxi disp layers for X video extension
  121. [   592.429] (II) Loading sub module "dri2"
  122. [   592.429] (II) LoadModule: "dri2"
  123. [   592.429] (II) Module "dri2" already built-in
  124. [   592.434] (II) FBTURBO(0): enabled display controller hardware overlays for DRI2
  125. [   592.434] (II) FBTURBO(0): Wait on SwapBuffers? disabled
  126. [   592.434] (II) FBTURBO(0): [DRI2] Setup complete
  127. [   592.434] (II) FBTURBO(0): [DRI2]   DRI driver: lima
  128. [   592.434] (II) FBTURBO(0): using DRI2 integration for Mali GPU (UMP buffers)
  129. [   592.434] (II) FBTURBO(0): Mali binary drivers can only accelerate EGL/GLES
  130. [   592.434] (II) FBTURBO(0): so AIGLX/GLX is expected to fail or fallback to software
  131. [   592.434] (--) RandR disabled
  132. [   592.468] (II) SELinux: Disabled on system
  133. [   592.473] (EE) AIGLX error: dlopen of /usr/lib/arm-linux-gnueabihf/dri/lima_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/lima_dri.so: cannot open shared object file: No such file or directory)
  134. [   592.473] (EE) AIGLX: reverting to software rendering
  135. [   592.493] (II) AIGLX: Loaded and initialized swrast
  136. [   592.493] (II) GLX: Initialized DRISWRAST GL provider for screen 0
  137. [   592.736] (II) config/udev: Adding input device axp20-supplyer (/dev/input/event0)
  138. [   592.736] (**) axp20-supplyer: Applying InputClass "evdev keyboard catchall"
  139. [   592.736] (**) axp20-supplyer: Applying InputClass "evdev keyboard catchall"
  140. [   592.736] (II) LoadModule: "evdev"
  141. [   592.737] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
  142. [   592.740] (II) Module evdev: vendor="X.Org Foundation"
  143. [   592.740]         compiled for 1.16.0, module version = 2.9.0
  144. [   592.740]         Module class: X.Org XInput Driver
  145. [   592.740]         ABI class: X.Org XInput driver, version 21.0
  146. [   592.740] (II) Using input driver 'evdev' for 'axp20-supplyer'
  147. [   592.740] (**) axp20-supplyer: always reports core events
  148. [   592.740] (**) evdev: axp20-supplyer: Device: "/dev/input/event0"
  149. [   592.741] (--) evdev: axp20-supplyer: Vendor 0x1 Product 0x1
  150. [   592.741] (--) evdev: axp20-supplyer: Found keys
  151. [   592.741] (II) evdev: axp20-supplyer: Configuring as keyboard
  152. [   592.741] (**) Option "config_info" "udev:/sys/devices/platform/sunxi-i2c.0/i2c-0/0-0034/axp20-supplyer.28/input/input0/event0"
  153. [   592.741] (II) XINPUT: Adding extended input device "axp20-supplyer" (type: KEYBOARD, id 6)
  154. [   592.741] (**) Option "xkb_rules" "evdev"
  155. [   592.741] (**) Option "xkb_model" "pc105"
  156. [   592.741] (**) Option "xkb_layout" "de"
  157. [   592.855] (II) config/udev: Adding input device CHICONY HP Basic USB Keyboard (/dev/input/event1)
  158. [   592.855] (**) CHICONY HP Basic USB Keyboard: Applying InputClass "evdev keyboard catchall"
  159. [   592.855] (**) CHICONY HP Basic USB Keyboard: Applying InputClass "evdev keyboard catchall"
  160. [   592.855] (II) Using input driver 'evdev' for 'CHICONY HP Basic USB Keyboard'
  161. [   592.855] (**) CHICONY HP Basic USB Keyboard: always reports core events
  162. [   592.855] (**) evdev: CHICONY HP Basic USB Keyboard: Device: "/dev/input/event1"
  163. [   592.856] (--) evdev: CHICONY HP Basic USB Keyboard: Vendor 0x3f0 Product 0x24
  164. [   592.856] (--) evdev: CHICONY HP Basic USB Keyboard: Found keys
  165. [   592.856] (II) evdev: CHICONY HP Basic USB Keyboard: Configuring as keyboard
  166. [   592.856] (**) Option "config_info" "udev:/sys/devices/platform/sw-ohci.1/usb3/3-1/3-1:1.0/input/input1/event1"
  167. [   592.856] (II) XINPUT: Adding extended input device "CHICONY HP Basic USB Keyboard" (type: KEYBOARD, id 7)
  168. [   592.856] (**) Option "xkb_rules" "evdev"
  169. [   592.856] (**) Option "xkb_model" "pc105"
  170. [   592.856] (**) Option "xkb_layout" "de"
  171. [   592.859] (II) config/udev: Adding input device eGalax Inc. Touch (/dev/input/event2)
  172. [   592.860] (**) eGalax Inc. Touch: Applying InputClass "evdev pointer catchall"
  173. [   592.860] (**) eGalax Inc. Touch: Applying InputClass "calibration"
  174. [   592.860] (**) eGalax Inc. Touch: Applying InputClass "evdev pointer catchall"
  175. [   592.860] (II) Using input driver 'evdev' for 'eGalax Inc. Touch'
  176. [   592.860] (**) eGalax Inc. Touch: always reports core events
  177. [   592.860] (**) evdev: eGalax Inc. Touch: Device: "/dev/input/event2"
  178. [   592.861] (--) evdev: eGalax Inc. Touch: Vendor 0xeef Product 0x1
  179. [   592.861] (--) evdev: eGalax Inc. Touch: Found 3 mouse buttons
  180. [   592.861] (--) evdev: eGalax Inc. Touch: Found absolute axes
  181. [   592.861] (--) evdev: eGalax Inc. Touch: Found x and y absolute axes
  182. [   592.861] (--) evdev: eGalax Inc. Touch: Found absolute touchscreen
  183. [   592.861] (**) Option "InvertX" "True"
  184. [   592.861] (**) Option "InvertY" "True"
  185. [   592.861] (II) evdev: eGalax Inc. Touch: Configuring as touchscreen
  186. [   592.861] (**) Option "EmulateThirdButton" "1"
  187. [   592.861] (**) Option "EmulateThirdButtonTimeout" "750"
  188. [   592.861] (**) evdev: eGalax Inc. Touch: YAxisMapping: buttons 4 and 5
  189. [   592.861] (**) evdev: eGalax Inc. Touch: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
  190. [   592.862] (**) Option "config_info" "udev:/sys/devices/platform/sw-ohci.2/usb5/5-1/5-1:1.0/input/input2/event2"
  191. [   592.862] (II) XINPUT: Adding extended input device "eGalax Inc. Touch" (type: TOUCHSCREEN, id 8)
  192. [   592.862] (II) evdev: eGalax Inc. Touch: initialized for absolute axes.
  193. [   592.863] (**) eGalax Inc. Touch: (accel) keeping acceleration scheme 1
  194. [   592.863] (**) eGalax Inc. Touch: (accel) acceleration profile 0
  195. [   592.863] (**) eGalax Inc. Touch: (accel) acceleration factor: 2.000
  196. [   592.863] (**) eGalax Inc. Touch: (accel) acceleration threshold: 4
  197. [   592.865] (II) config/udev: Adding input device eGalax Inc. Touch (/dev/input/js0)
  198. [   592.865] (**) eGalax Inc. Touch: Applying InputClass "calibration"
  199. [   592.865] (II) No input driver specified, ignoring this device.
  200. [   592.865] (II) This device may have been added with another device file.
  201. [   592.867] (II) config/udev: Adding input device eGalax Inc. Touch (/dev/input/mouse0)
  202. [   592.867] (**) eGalax Inc. Touch: Applying InputClass "calibration"
  203. [   592.867] (II) No input driver specified, ignoring this device.
  204. [   592.867] (II) This device may have been added with another device file.
  205. [   592.869] (II) config/udev: Adding input device eGalax Inc. Touch (/dev/input/event3)
  206. [   592.869] (**) eGalax Inc. Touch: Applying InputClass "evdev tablet catchall"
  207. [   592.869] (**) eGalax Inc. Touch: Applying InputClass "calibration"
  208. [   592.869] (**) eGalax Inc. Touch: Applying InputClass "evdev tablet catchall"
  209. [   592.869] (II) Using input driver 'evdev' for 'eGalax Inc. Touch'
  210. [   592.869] (**) eGalax Inc. Touch: always reports core events
  211. [   592.869] (**) evdev: eGalax Inc. Touch: Device: "/dev/input/event3"
  212. [   592.870] (--) evdev: eGalax Inc. Touch: Vendor 0xeef Product 0x1
  213. [   592.870] (--) evdev: eGalax Inc. Touch: Found absolute axes
  214. [   592.870] (--) evdev: eGalax Inc. Touch: Found x and y absolute axes
  215. [   592.870] (--) evdev: eGalax Inc. Touch: Found absolute tablet.
  216. [   592.870] (**) Option "InvertX" "True"
  217. [   592.870] (**) Option "InvertY" "True"
  218. [   592.870] (II) evdev: eGalax Inc. Touch: Configuring as tablet
  219. [   592.870] (**) Option "EmulateThirdButton" "1"
  220. [   592.870] (**) Option "EmulateThirdButtonTimeout" "750"
  221. [   592.870] (**) evdev: eGalax Inc. Touch: YAxisMapping: buttons 4 and 5
  222. [   592.870] (**) evdev: eGalax Inc. Touch: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
  223. [   592.870] (**) Option "config_info" "udev:/sys/devices/platform/sw-ohci.2/usb5/5-1/5-1:1.0/input/input3/event3"
  224. [   592.870] (II) XINPUT: Adding extended input device "eGalax Inc. Touch" (type: TABLET, id 9)
  225. [   592.871] (II) evdev: eGalax Inc. Touch: initialized for absolute axes.
  226. [   592.871] (**) eGalax Inc. Touch: (accel) keeping acceleration scheme 1
  227. [   592.871] (**) eGalax Inc. Touch: (accel) acceleration profile 0
  228. [   592.872] (**) eGalax Inc. Touch: (accel) acceleration factor: 2.000
  229. [   592.872] (**) eGalax Inc. Touch: (accel) acceleration threshold: 4
  230. [   592.873] (II) config/udev: Adding input device eGalax Inc. Touch (/dev/input/mouse1)
  231. [   592.874] (**) eGalax Inc. Touch: Applying InputClass "calibration"
  232. [   592.874] (II) No input driver specified, ignoring this device.
  233. [   592.874] (II) This device may have been added with another device file.
  234. [   592.875] (II) config/udev: Adding input device sunxi-ir (/dev/input/event4)
  235. [   592.875] (**) sunxi-ir: Applying InputClass "evdev keyboard catchall"
  236. [   592.875] (**) sunxi-ir: Applying InputClass "evdev keyboard catchall"
  237. [   592.875] (II) Using input driver 'evdev' for 'sunxi-ir'
  238. [   592.876] (**) sunxi-ir: always reports core events
  239. [   592.876] (**) evdev: sunxi-ir: Device: "/dev/input/event4"
  240. [   592.876] (--) evdev: sunxi-ir: Vendor 0x1 Product 0x1
  241. [   592.876] (--) evdev: sunxi-ir: Found keys
  242. [   592.876] (II) evdev: sunxi-ir: Configuring as keyboard
  243. [   592.876] (**) Option "config_info" "udev:/sys/devices/virtual/input/input4/event4"
  244. [   592.876] (II) XINPUT: Adding extended input device "sunxi-ir" (type: KEYBOARD, id 10)
  245. [   592.876] (**) Option "xkb_rules" "evdev"
  246. [   592.876] (**) Option "xkb_model" "pc105"
  247. [   592.877] (**) Option "xkb_layout" "de"
Copy the Code
But if I test the graphics performance with es2gears_x11 I only reach a max of 24 FPS.
Do you have any hints for me why the acceleration does not work?

Some additional details:

- Banana Pi M1
- OS: Debian Jessie
- Kernel: 3.4.107-bananapi
- System image source: http://www.igorpecovnik.com/2014/09/07/banana-pi-debian-sd-image/

Meanwhile I understood that the error in Xorg.0.conf just says that the mali driver is not capable of GLX.
Obviously it can be ignored...

So far so good - but the error in es2gears_x11

  1. libEGL warning: DRI2: failed to open lima (search paths /usr/lib/arm-linux-gnueabihf/dri:${ORIGIN}/dri:/usr/lib/dri)
Copy the Code
stays.

ls -la /usr/lib/libEGL.so* gives

  1. lrwxrwxrwx 1 root root 11 Mai  1 17:31 /usr/lib/libEGL.so -> libEGL.so.1
  2. lrwxrwxrwx 1 root root 13 Mai  1 17:31 /usr/lib/libEGL.so.1 -> libEGL.so.1.4
  3. lrwxrwxrwx 1 root root 10 Mai  1 17:31 /usr/lib/libEGL.so.1.4 -> libMali.so
Copy the Code
Unfortunately in this Debian installation there is no way doing this:

  1. mv /usr/lib/arm-linux-gnueabihf/mesa-egl/ /usr/lib/arm-linux-gnueabihf/.mesa-egl/
Copy the Code
:-(

ryad  
Edited by ryad at Sat May 2, 2015 12:22

Hi Dave,

Yes, the lima_dri.so error can be ignored.
Depending on your configuration, the libs under /usr/lib will be preferred over /usr/lib/mali (which I explained in my blog).
Can you please give me the outputs of:
  1. $ ls -la /etc/ld.so.conf.d/
Copy the Code
  1. $ cat /etc/ld.so.conf
Copy the Code
  1. $ ls -la /usr/lib/mali
Copy the Code
  1. $ ldconfig -p | grep libEGL
Copy the Code
  1. $ ls -la /usr/lib/{libEGL.so*,libMali.so*}
Copy the Code
Thanks

Edited by coixcoix at Sun Aug 16, 2015 15:20

hi i have same problem with armbian,

nt@pcduino3nano:~$ ls -la /usr/lib/libEGL.so*
lrwxrwxrwx 1 root root 11 Aug 16 22:30 /usr/lib/libEGL.so -> libEGL.so.1
lrwxrwxrwx 1 root root 13 Aug 16 22:30 /usr/lib/libEGL.so.1 -> libEGL.so.1.4
lrwxrwxrwx 1 root root 10 Aug 16 22:30 /usr/lib/libEGL.so.1.4 -> libMali.so
nt@pcduino3nano:~$ sudo mv /etc/ld.so.conf.d/mali.conf /etc/ld.so.conf.d/1-mali.conf
[sudo] password for nt:
mv: cannot stat ‘/etc/ld.so.conf.d/mali.conf’: No such file or directory
nt@pcduino3nano:~$ ls -la /etc/ld.so.conf.d/
total 20
drwxr-xr-x  2 root root 4096 Aug 15 17:12 .
drwxr-xr-x 95 root root 4096 Aug 16 22:49 ..
-rw-r--r--  1 root root   74 Oct 17  2014 arm-linux-gnueabihf.conf
-rw-rw-r--  1 root root   41 Oct  5  2014 fakeroot-arm-linux-gnueabihf.conf
-rw-r--r--  1 root root   44 Oct 16  2014 libc.conf
nt@pcduino3nano:~$ cat /etc/ld.so.conf
include /etc/ld.so.conf.d/*.conf

nt@pcduino3nano:~$ ls -la /usr/lib/mali
ls: cannot access /usr/lib/mali: No such file or directory
nt@pcduino3nano:~$ sudo ldconfig -p | grep libEGL
    libEGL.so.1.4 (libc6,hard-float) => /usr/lib/libEGL.so.1.4
    libEGL.so.1 (libc6,hard-float) => /usr/lib/arm-linux-gnueabihf/libEGL.so.1
    libEGL.so.1 (libc6,hard-float) => /usr/lib/libEGL.so.1
    libEGL.so (libc6,hard-float) => /usr/lib/arm-linux-gnueabihf/libEGL.so
    libEGL.so (libc6,hard-float) => /usr/lib/libEGL.so
nt@pcduino3nano:~$ ls -la /usr/lib/{libEGL.so*,libMali.so*}
lrwxrwxrwx 1 root root      11 Aug 16 22:30 /usr/lib/libEGL.so -> libEGL.so.1
lrwxrwxrwx 1 root root      13 Aug 16 22:30 /usr/lib/libEGL.so.1 -> libEGL.so.1.4
lrwxrwxrwx 1 root root      10 Aug 16 22:30 /usr/lib/libEGL.so.1.4 -> libMali.so
-rw-r--r-- 1 root root 1706364 Aug 16 22:30 /usr/lib/libMali.so


Some additional details:

- PCDuino 3 Nano
- OS: Debian Jessie
- Kernel: 3.4.108-bananapi

You have to log in before you can reply Login | Sign Up

Points Rules