
any chance on sharing the compiled binaries mate?memeka wrote:Got it working on RPI2.
You don't need to change much:
- you need to get the EGL, GLES, GLESv2 and KHR headers from the mesa packages, preferably put them in the ppsspp source folder
- change CMakeLists.txt and remove RPI references: ppssppsdl uses SDL2 which already has videocore backend, so we don't need any rpi-specific backend here
- add the egl/gles include folder (where you copied the EGL, GLES, GLESv2 and KHR folders from mesa) and the egl/gles lib folder (the rpi one - /opt/vc/lib) - you can see in CMakeLists.txt how it was done previously for rpi
Run cmake, edit CMakeCache.txt and set FBDEV to ON, GLES2 to ON, maybe even MOBILE_DEVICE to ON, run cmake again, then run make.
A bit disappointed with the performance (GPU clocked at 500MHz), it runs fullspeed on the odroid...
https://www.youtube.com/watch?v=O8juShfoJtE
It would be great. I've tried to build it several times, once via libretro and 3-5 times as described by memeka. It throws several make errors and aborts at 52%. I'm on Archlinux ARM, so any Raspbian-specific errors are out of question.bucker wrote:any chance on sharing the compiled binaries mate?memeka wrote:Got it working on RPI2.
You don't need to change much:
- you need to get the EGL, GLES, GLESv2 and KHR headers from the mesa packages, preferably put them in the ppsspp source folder
- change CMakeLists.txt and remove RPI references: ppssppsdl uses SDL2 which already has videocore backend, so we don't need any rpi-specific backend here
- add the egl/gles include folder (where you copied the EGL, GLES, GLESv2 and KHR folders from mesa) and the egl/gles lib folder (the rpi one - /opt/vc/lib) - you can see in CMakeLists.txt how it was done previously for rpi
Run cmake, edit CMakeCache.txt and set FBDEV to ON, GLES2 to ON, maybe even MOBILE_DEVICE to ON, run cmake again, then run make.
A bit disappointed with the performance (GPU clocked at 500MHz), it runs fullspeed on the odroid...
https://www.youtube.com/watch?v=O8juShfoJtE
Any Luck?Noroimusha wrote:Today I thought I'd give it a try in 2 months. Surprisingly, I've built PPSSPPSDL w/o my previous errors. So the devs have fixed whatever caused them. Gotta try to run it. Hope it's fine.
Actually it segfaults after being executed. Complains about some shaders. I'll post the exact error text later, but I've also seen it at a Github thread. The thread is unanswered.Lonk the Sane wrote:Any Luck?Noroimusha wrote:Today I thought I'd give it a try in 2 months. Surprisingly, I've built PPSSPPSDL w/o my previous errors. So the devs have fixed whatever caused them. Gotta try to run it. Hope it's fine.
Code: Select all
$ sudo apt-get install libudev-dev cmake libsdl1.2-dev
Code: Select all
$ tar xvzf SDL2-2.0.4.tar.gz
$ cd SDL2-2.0.4/
$ ./configure --prefix=/usr \
--enable-sdl-dlopen \
--disable-arts --disable-esd --disable-nas \
--enable-alsa \
--disable-pulseaudio \
--disable-video-wayland \
--without-x --disable-video-x11 --disable-x11-shared \
--disable-video-x11-xcursor --disable-video-x11-xinerama \
--disable-video-x11-xinput --disable-video-x11-xrandr \
--disable-video-x11-scrnsaver --disable-video-x11-xshape \
--disable-video-x11-vm --disable-video-opengl \
--disable-video-directfb --disable-rpath \
--enable-video-opengles --host=arm-raspberry-linux-gnueabihf
$ make -j4
$ sudo make install
Code: Select all
$ git submodule update --init
$ cd SDL
$ ./buildassets.sh
$ cd ..
$ cmake -DRASPBIAN=ON .
Code: Select all
#ifndef MOBILE_DEVICE
exit(0);
#endif