# 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#
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://bananapi.gitbook.io/bpi-m3/zh/gpuforkernel34.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
