Lemuntu

Installing GPU driver on Lemaker Guitar and eval

2 752
jacer  
Edited by jacer at Nov 30, 2015 03:22

Default Lemuntu and Ubuntu Mate firmware don`t have GPU driver preinstalled. You will find the window gets laggy if you drag the windows around quickly. This will be obvious when you play a 720P video. On this tutorial I will teach you how to install GPU driver for Lemaker Guitar.
Press Win+R and input lxterminal and input commands below.
  1. wget http://mirror.lemaker.org/GPU_For_LeMaker_Guitar_201511.tar.gz
  2. tar -zxvf GPU_For_LeMaker_Guitar_201511.tar.gz
  3. cd GPU_For_LeMaker_Guitar_201511
  4. sudo chown -R root:root ./*
  5. sudo ./install.sh
  6. cd /usr/bin
  7. sudo mv X X.original
  8. sudo mv Xorg Xorg.original
  9. sudo ln -sf /usr/local/XSGX/bin/X X
  10. sudo ln -sf /usr/local/XSGX/bin/Xorg Xorg
  11. sudo cp /usr/local/XSGX/etc/xorg.conf  /etc/
  12. sudo vi /etc/ld.so.conf
Copy the Code
Press i and copy and paste two lines below to the bottom of ld.so.conf, then press ESC and input :wq to save.
  1. /usr/local/XSGX/lib
  2. /usr/lib
Copy the Code
Run commands below.
  1. sudo ldconfig
  2. lsmod
Copy the Code
If the values of pvrsrvkm and drm are not zero, and something like below, then you are good to go.
  1. lemaker@Lemuntu:~$ lsmod
  2. Module                  Size  Used by
  3. pvrsrvkm              336156  6
  4. drm                   225379  6 pvrsrvkm
  5. owl_camera             31041  0
  6. ctp_ft5x06             13896  0
  7. atc260x_irkeypad       12674  0
  8. rfkill_actions_8723bs     2584  0
  9. wlan_8723bs          1320561  0
  10. ethernet               46144  0
Copy the Code
Run commands below to download and install glmark2 which will evaluate the GPU.
  1.     wget http://mirror.lemaker.org/glmark2_2011.09.orig.tar.gz
  2.     tar -zxvf glmark2_2011.09.orig.tar.gz
  3.     cd glmark2-2011.09
  4.     sudo apt-get install libgegl-0.2-0 libgfortran3 libgimp2.0 libgl1-mesa-dev libgles2-mesa-dev libglew-dev libglew1.10 libglib2.0-bin libglib2.0-data libglib2.0-dev libglu1-mesa-dev libpng-dev libx11-dev pkg-config x11proto-core-dev
Copy the Code
Input below commands to configure and install,
  1.     ./waf configure --enable-glesv2
  2.     ./waf
  3.     sudo ./waf install
  4.     sudo cp /usr/lib/libEGL.so* /usr/lib/arm-linux-gnueabihf/ -a
  5.     sudo cp /usr/lib/libGLES*  /usr/lib/arm-linux-gnueabihf/ -a
  6.     sudo depmod -a
Copy the Code
You can reboot Lemaker Guitar and run command below to start the test.
  1. glmark2-es2
Copy the Code
My score shows below.
  1. lemaker@Lemuntu:~$ glmark2-es2
  2. =======================================================
  3.     glmark2 2011.09
  4. =======================================================
  5.     OpenGL Information
  6.     GL_VENDOR:     Imagination Technologies
  7.     GL_RENDERER:   PowerVR SGX 544MP
  8.     GL_VERSION:    OpenGL ES 2.0 build 1.14@3625561 (MAIN)
  9. =======================================================
  10. [build] use-vbo=false:  FPS: 131
  11. [build] use-vbo=true:  FPS: 166
  12. [texture] texture-filter=nearest:  FPS: 183
  13. [texture] texture-filter=linear:  FPS: 179
  14. [texture] texture-filter=mipmap:  FPS: 188
  15. [shading] shading=gouraud:  FPS: 147
  16. [shading] shading=blinn-phong-inf:  FPS: 146
  17. [shading] shading=phong:  FPS: 133
  18. [bump] bump-render=high-poly:  FPS: 90
  19. [bump] bump-render=normals:  FPS: 175
  20. [effect2d] kernel=0,1,0;1,-4,1;0,1,0;:  FPS: 98
  21. [effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;:  FPS: 47
  22. [pulsar] light=false:quads=5:texture=false:  FPS: 178
  23. [desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4:  FPS: 46
  24. [conditionals] fragment-steps=0:vertex-steps=0:  FPS: 177
  25. [conditionals] fragment-steps=5:vertex-steps=0:  FPS: 106
  26. [conditionals] fragment-steps=0:vertex-steps=5:  FPS: 177
  27. [function] fragment-complexity=low:fragment-steps=5:  FPS: 143
  28. [function] fragment-complexity=medium:fragment-steps=5:  FPS: 100
  29. [loop] fragment-loop=false:fragment-steps=5:vertex-steps=5:  FPS: 142
  30. [loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5:  FPS: 119
  31. [loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5:  FPS: 88
  32. =======================================================
  33.                                   glmark2 Score: 134
  34. =======================================================
Copy the Code











Rate

1

View Rating Log

MKT  
Thanks for sharing

Installing GPU driver on Lemaker Guitar and eval is a good idea to present some basic information to the readers. As a good reader I will try to share this blog to the edusson essayuniverse developers. But the blog is different in its own way.

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

Points Rules