ResidualVM logo Forum Index - ResidualVM website - Contact us - Rules Login    Register     Search curved edge
It is currently Fri Aug 07, 2020 8:48 pm

All times are UTC

Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Tue Nov 21, 2017 8:21 pm 
User avatar

Joined: Sat Nov 18, 2017 9:04 am
Posts: 4
Location: Belgium
Hello all and congratulations for this project !

I'm pretty new on this forum but I investigate ResidualVM for some weeks.

I've already compiled the last GIT revision (f71f984) on a Raspberry PI 2 (kernel 4.4.13-v7).
My objective is to port it on Recalbox, a retro-gaming platform supporting a lot of systems.
So, the games should be playable with joystick only.

I patched the sources to:
- allow the display of virtual keyboard from joystick button
- emulate mouse from joystick when opened (and generally when mouse cursor is displayed)
If interested, I can create a pull-request on GitHub.

But I also have a problem: when starting ResidualVM on full-screen with acceleration, the game crashes.
Here is a detailed log of commands launched and debug messages:
# export SDL_VIDEO_GL_DRIVER=/usr/lib/
# export SDL_VIDEO_EGL_DRIVER=/usr/lib/
# residualvm --fullscreen --debuglevel=99 --joystick=0 --extrapath=/usr/share/residualvm --path=Grim\ Fandango grim
Debuglevel (from command line): 99
Using SDL Video Driver "RPI"
Using joystick: Logitech Gamepad F710
Using SDL Audio Driver "alsa"
Output sample rate: 44100 Hz
Output buffer size: 4096 samples
OpenGL maximum texture size: 2048
OpenGL GLSL version: 100
OpenGL: GLES2 context initialized
OpenGL: NPOT texture support: 1
OpenGL: Shader support: 1
OpenGL: FBO support: 1
OpenGL: Packed depth stencil support: 0
OpenGL: Unpack subimage support: 0
Framebuffer is not complete! status: 36061!

When removing the full-screen parameter, it works but only on a quarter of the screen. Changing the screen resolution solves the problem, but is a little dirty.
Have you a solution ? Some hints or advices to resolve this ?

Thank you.

I also have some other questions ... but only one at a time ! :wink:

PostPosted: Fri Jan 05, 2018 9:20 pm 
User avatar

Joined: Thu Jun 21, 2012 3:00 pm
Posts: 147
I attempted this about one or two years ago now, however at the time SDL2 support was not yet here, and GLES2 was also buggy on RPI (Raspbian).
As far as I recall, I managed to get it working fullscreen but had problems with the shaders and lighting.
Have you tried these startup parameters, specifically the fullscreen_res one?

If all else fails, maybe you could mess around here or someplace similar. You might need to trace the right place in the code depending on which graphics mode you're running.

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Forum design by ScummVM team, icons by raina, adopted for ResidualVM
curved edge   curved edge