From 4d81687dcff0d9b8a9ce0ca3a63d20c805d0ed4c Mon Sep 17 00:00:00 2001 From: richard Date: Fri, 24 Jun 2022 12:51:48 +0100 Subject: [PATCH] rpi docs --- BUILDING.rst | 29 ----------------------------- README.md | 2 ++ docs-src/index.rst | 1 + 3 files changed, 3 insertions(+), 29 deletions(-) diff --git a/BUILDING.rst b/BUILDING.rst index 8bfb71c..28cccde 100644 --- a/BUILDING.rst +++ b/BUILDING.rst @@ -221,33 +221,4 @@ Build and install module. Raspberry Pi ~~~~~~~~~~~~ -Latest info: https://github.com/electronstudio/raylib-python-cffi/issues/55#issuecomment-1012629701 -Old possibly out of date info that was written for RPi3 and Raylib 3 follows. - -The integrated GPU hardware in a Raspberry Pi (“VideoCore”) is rather -idiosyncratic, resulting in a complex set of software options. Probably -the most interesting two options for Raylib applications are: - -1. Use the Broadcom proprietary Open GL ES 2.0 drivers, installed by - Raspbian into ``/opt/vc``. These are 32-bit only, and currently X11 - doesn’t use these for its acceleration, so this is most suitable for - driving the entire HDMI output from one application with minimal - overhead (no X11). - -2. Use the more recent open-source ``vc4-fkms-v3d`` kernel driver. This - can run in either 32-bit or 64-bit, and X11 can use these, so using - X11 is probably the more common choice here. - -With option 2, the regular linux install instructions above should -probably work as-is. - -For option 1, then also follow the above instructions, but with these -modifications: - -- With ``cmake``, use - ``cmake -DWITH_PIC=on -DSTATIC=on -DSHARED=on -DPLATFORM='Raspberry Pi' ..`` - -(See -`here `__ -for a Raspberry Pi wheel) diff --git a/README.md b/README.md index f78fa94..d146ecc 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,8 @@ using homebrew, apt, etc. [If it doesn't work, you can build manually.](BUILDING.rst) +[Using on Rasperry Pi](RPI.rst) + ## Dynamic binding version There is now a separate dynamic version of this binding: diff --git a/docs-src/index.rst b/docs-src/index.rst index de6618c..2177832 100644 --- a/docs-src/index.rst +++ b/docs-src/index.rst @@ -15,6 +15,7 @@ Raylib Python raylib dynamic BUILDING + RPI * :ref:`search`