GPU for kernel 3.4

1,How to enable GPU on ubuntu 15.10

download link:

https://drive.google.com/file/d/0B4PAo2nW2KfnVFBYNzB2N1ZKU00/view?usp=sharing

step 1: dpkg -i linux-bananapi-bpi-m3-kernel3_1.2.6_armhf.deb

step 2: bpi-bootsel /usr/lib/u-boot/bananapi/bpi-m3/BPI_M3_720P.img.gz or bpi-bootsel /usr/lib/u-boot/bananapi/bpi-m3/BPI_M3_1080P.img.gz

step 3: dpkg -i xserver-xorg-video-gpu-bananapi-bpi-m3_1.0-15.10_armhf.deb

step 4: reboot

2,how to check gpu running

root@bananapi:~# ps ax | grep X                                                 
  629 tty7     Ss+    0:09 /usr/local/XSGX/bin/X -verbose -config /usr/local/XSG
X/etc/xorg.conf :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 
-novtswitch                                                                     
 1449 ttyS0    S+     0:00 grep --color=auto X                                  
root@bananapi:~#

how to disable/enable gpu

root@bananapi:/usr/share/lightdm/lightdm.conf.d# cat 55-xserver-command-pvr.conf
[Seat:*]                                                                        
# Dump core                                                                     
#xserver-command=X -core                                                        
#xserver-command=/usr/local/XSGX/bin/X -verbose -config /usr/local/XSGX/etc/xorg.
conf                                                                            
root@bananapi:/usr/share/lightdm/lightdm.conf.d#

Last updated