danilolc / pk2

Pekka Kana 2, a platformer game
http://pistegamez.net/game_pk2.html
MIT License
80 stars 24 forks source link

aarch64 debug errors #12

Open Cebion opened 2 years ago

Cebion commented 2 years ago

Hi there,

I'm trying to run the game on a rk3326 arm soc. Compiled nicely so far but running it I get some serious errors:

[DEBUG] PFile - Find ./data/redirect.txt [INFO] PFile - ./data/redirect.txt not found, trying different cAsE [DEBUG] PFile - Scanned on "./data" for "". Found 5 matches [INFO] PFile - ./data/redirect.txt not found [DEBUG] PK2 - Pekka Kana 2 started! [DEBUG] PK2 - Game version: Pekka Kana 2 Definitive Edition 1.4.2 (Linux) (no-zip) (portable) [DEBUG] PK2 - Number: 0x402 [DEBUG] PK2 - Cammit hash: 72fd91a [DEBUG] PK2 - Data path - ./data/ [DEBUG] PK2 - Opened settings [DEBUG] PK2 - Found config file [DEBUG] PK2 - Render method set to default [DEBUG] PK2 - Audio buffer size set to 512 [DEBUG] PK2 - Audio multi thread is ON [DEBUG] Piste - We compiled against SDL version 2.0.9 ... [DEBUG] Piste - But we are linking against SDL version 2.0.10. [DEBUG] PDraw - Initializing buffers [DEBUG] PRender - Initializing graphics [DEBUG] PRender - Video driver: KMSDRM [ERR] PGl - Couldn't find glBindFragDataLocation

[ERR] PGl - Couldn't find glTexImage1D

[DEBUG] PGl - OpenGL version: OpenGL ES 3.2 v1.r13p0-01rel0.8747d14aec16ec21ac2b2da252c4ec5f [DEBUG] PGl - GLSL version: OpenGL ES GLSL ES 3.20 [ERR] PGl - Error compiling shaders/basic.vs: 0:1: P0007: Language version '140' unknown, this compiler only supports up to version '320 es' [ERR] PGl - Can't load vertex shader [FATAL] PGl - Can't create basic program [ERR] PGl - Error compiling shaders/indexed.vs: 0:1: P0007: Language version '140' unknown, this compiler only supports up to version '320 es' [ERR] PGl - Can't load vertex shader [ERR] PGl - Can't create indexed program [ERR] PGl - Error compiling shaders/hqx.vs: 0:1: P0007: Language version '140' unknown, this compiler only supports up to version '320 es' [ERR] PGl - Can't load vertex shader [ERR] PGl - Can't create hqx program [ERR] PGl - Error compiling shaders/crt.vs: 0:1: P0007: Language version '140' unknown, this compiler only supports up to version '320 es' [ERR] PGl - Can't load vertex shader [ERR] PGl - Can't create screen program [INFO] PInput - No haptic found [DEBUG] PInput - Controller found: OpenSimHardware OSH PB Controller [DEBUG] PSound - buffer size: 512 [DEBUG] PSound - Desired 22050hz 0x8010 [DEBUG] PSound - Audio driver: alsa [DEBUG] PSound - Got 22050hz 0x8010 [DEBUG] PK2 - Loading language from language/english.txt [DEBUG] PFile - Find language/fonts/ScandicSmall.txt [DEBUG] PFile - Found on language/fonts/ScandicSmall.txt [DEBUG] PFile - Find language/fonts/ScandicSmall.bmp [DEBUG] PFile - Found on language/fonts/ScandicSmall.bmp [DEBUG] PDraw - Created font from language/fonts/ScandicSmall.txt - id 0 [DEBUG] PFile - Find language/fonts/ScandicBig1.txt [DEBUG] PFile - Found on language/fonts/ScandicBig1.txt [DEBUG] PFile - Find language/fonts/ScandicBig.bmp [DEBUG] PFile - Found on language/fonts/ScandicBig.bmp [DEBUG] PDraw - Created font from language/fonts/ScandicBig1.txt - id 1 [DEBUG] PFile - Find language/fonts/ScandicBig2.txt [DEBUG] PFile - Found on language/fonts/ScandicBig2.txt [DEBUG] PFile - Find language/fonts/ScandicBig.bmp [DEBUG] PFile - Found on language/fonts/ScandicBig.bmp [DEBUG] PDraw - Created font from language/fonts/ScandicBig2.txt - id 2 [DEBUG] PFile - Find language/fonts/ScandicBig3.txt [DEBUG] PFile - Found on language/fonts/ScandicBig3.txt [DEBUG] PFile - Find language/fonts/ScandicBig.bmp [DEBUG] PFile - Found on language/fonts/ScandicBig.bmp [DEBUG] PDraw - Created font from language/fonts/ScandicBig3.txt - id 3 [DEBUG] PFile - Scanned on "language" for ".txt". Found 37 matches [DEBUG] PFile - Scanned on "episodes" for "/". Found 2 matches [DEBUG] PK2 - Found 2 episodes [DEBUG] Piste - FPS set to 60 [WARN] PSound - Unrecognized audio format [ERR] PFile - Can't get RW from file "./data/saves.dat" [INFO] PK2 - No save file [WARN] PSound - Unrecognized audio format [ERR] PK2 - Can't load intro.xm [DEBUG] PGl - Terminated [DEBUG] PK2 - Terminated [DEBUG] PLog - Terminated

No sure at what stage the program terminates. Any Ideas?