Feature #885

Create ET:L on/for Raspberry Pi

Added by IR4T4 over 3 years ago. Updated 9 months ago.

Status:New% Done:

50%

Priority:NormalSpent time:-
Assignee:-
Category:General
Target version:2.78
OS:Raspberry PI Arch:

Description

Adjust the scripts & code for Raspbian + rendererGLES openGL.

Associated revisions

Revision 96d8b889
Added by IR4T4 over 3 years ago

misc: easybuild.sh update for RPI refs #885

Revision 8236b583
Added by IR4T4 over 3 years ago

misc/rendererGLES: cmake FindGLES added refs #885

Revision 125ee598
Added by IR4T4 9 months ago

RPI: update easybuild - let RPI builds no longer use 32bit flags,
disable GLES renderer and witch to openGL refs #885

Revision 5d703bfd
Added by IR4T4 9 months ago

RPI: let etl compile with RPI system sdl2 lib refs #885

History

#1 Updated by morsik over 3 years ago

Actually, even etlded worked really slow on RPi

#2 Updated by RaFaL over 3 years ago

morsik which version of rpi were you trying etl on ?

#3 Updated by Dragonji over 3 years ago

  • Subject changed from Create ET: L on/for Raspberry Pi to Create ET:L on/for Raspberry Pi

As far as ET:L is single threaded I guess it will heavily lag on any ARM. RPi2’s got a quad-core Cortex-A7 CPU and single core speed is only 900MHz. I guess it would run fine if it could use the whole power of RPi.

#4 Updated by IR4T4 over 3 years ago

  • % Done changed from 0 to 10

About performance we’ll figure it out. Afaik genuine sytem requirements of vanilla ET are Pentium III 600 MHz, 128 MB RAM. It also depends on used instruction sets and GLES but RPI2 should deal with that. Time will tell.

Current status for raspbian:

./easybuild.sh -RPI -j4

Should build the current master on RPI. Some libs/features are disabled.


sound system isn’t found
- client doesn’t start (fix GLES linking)
- fix bundled libs not compiling (see easybuild.sh)
- optimize SDL2 build for RPI (our SDL lib/sdl/cmakeList.txt isn’t prepared for arm - see architecture in script)
- use armv8, armv7 or armv6 in file names

Interesting links:
https://www.raspberrypi.org/forums/viewtopic.php?t=56756&p=430647
https://solarianprogrammer.com/2015/01/22/raspberry-pi-raspbian-getting-started-sdl-2/

Required libs (under construction):
- nasm autoconf git cmake zip gcc g++ libtool
- libudev-dev libdbus-1-dev
- libraspberrypi0 libraspberrypi-bin libraspberrypi-dev libx11-dev libglew-dev libegl1-mesa-dev
- libopenal-dev libasound2-dev
- libgles2-mesa-dev mesa-utils-extra ?!

#5 Updated by IR4T4 about 3 years ago

  • Target version changed from ALL to 2.78

#6 Updated by IR4T4 about 3 years ago

  • Target version changed from 2.78 to 2.76

#7 Updated by IR4T4 almost 3 years ago

  • Related to Bug #612: Fix OpenGL ES renderer added

#8 Updated by IR4T4 over 2 years ago

  • Target version changed from 2.76 to 2.78

#9 Updated by IR4T4 9 months ago

  • Description updated (diff)

#10 Updated by IR4T4 9 months ago

  • Related to deleted (Bug #612: Fix OpenGL ES renderer)

#11 Updated by IR4T4 9 months ago

Our libtheora 1.1.1 doesn’t support ARM. This has been introduced in theora v1.2.0alpha1.

Adjust this for ARM:

    if(32BITS)
        add_definitions("-DOC_X86_ASM")
        if(MSVC)
            FILE(GLOB THEORA_ASM_SRC
                "${CMAKE_CURRENT_LIST_DIR}/theora/lib/x86_vc/*.c" 
                "${CMAKE_CURRENT_LIST_DIR}/theora/lib/x86_vc/*.h" 
            )
        else()
            FILE(GLOB THEORA_ASM_SRC
                "${CMAKE_CURRENT_LIST_DIR}/theora/lib/x86/*.c" 
                "${CMAKE_CURRENT_LIST_DIR}/theora/lib/x86/*.h" 
            )
        endif()

        LIST(APPEND THEORA_SRC ${THEORA_ASM_SRC})
    endif()

#12 Updated by IR4T4 9 months ago

  • % Done changed from 10 to 50

Also available in: Atom PDF