Skip to content

Commit 4d81687

Browse files
rpi docs
1 parent ab5d1a2 commit 4d81687

File tree

3 files changed

+3
-29
lines changed

3 files changed

+3
-29
lines changed

BUILDING.rst

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -221,33 +221,4 @@ Build and install module.
221221
Raspberry Pi
222222
~~~~~~~~~~~~
223223

224-
Latest info: https://github.com/electronstudio/raylib-python-cffi/issues/55#issuecomment-1012629701
225224

226-
Old possibly out of date info that was written for RPi3 and Raylib 3 follows.
227-
228-
The integrated GPU hardware in a Raspberry Pi (“VideoCore”) is rather
229-
idiosyncratic, resulting in a complex set of software options. Probably
230-
the most interesting two options for Raylib applications are:
231-
232-
1. Use the Broadcom proprietary Open GL ES 2.0 drivers, installed by
233-
Raspbian into ``/opt/vc``. These are 32-bit only, and currently X11
234-
doesn’t use these for its acceleration, so this is most suitable for
235-
driving the entire HDMI output from one application with minimal
236-
overhead (no X11).
237-
238-
2. Use the more recent open-source ``vc4-fkms-v3d`` kernel driver. This
239-
can run in either 32-bit or 64-bit, and X11 can use these, so using
240-
X11 is probably the more common choice here.
241-
242-
With option 2, the regular linux install instructions above should
243-
probably work as-is.
244-
245-
For option 1, then also follow the above instructions, but with these
246-
modifications:
247-
248-
- With ``cmake``, use
249-
``cmake -DWITH_PIC=on -DSTATIC=on -DSHARED=on -DPLATFORM='Raspberry Pi' ..``
250-
251-
(See
252-
`here <https://github.com/electronstudio/raylib-python-cffi/issues/31#issuecomment-862078330>`__
253-
for a Raspberry Pi wheel)

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ using homebrew, apt, etc.
4141

4242
[If it doesn't work, you can build manually.](BUILDING.rst)
4343

44+
[Using on Rasperry Pi](RPI.rst)
45+
4446
## Dynamic binding version
4547

4648
There is now a separate dynamic version of this binding:

docs-src/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Raylib Python
1515
raylib
1616
dynamic
1717
BUILDING
18+
RPI
1819

1920

2021
* :ref:`search`

0 commit comments

Comments
 (0)