RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account
Forums → Community Support →

ScummVM 2.0.0 on Raspberry Pi

Subscribe to ScummVM 2.0.0 on Raspberry Pi 11 posts, 5 voices

 
Dec 19, 2017 1:02pm
Avatar SeñorNueces (1438) 141 posts

Hello,

I have been trying it today on Risc OS on the Pi3, and it returns to desktop immediately, all I can see is a black window very briefly.
It’s the official version available here:

http://scummvm.org/frs/scummvm/2.0.0/scummvm-2.0.0-riscos.zip

Does it work for you guys?

 
Dec 19, 2017 2:14pm
Avatar David Feugey (2125) 2541 posts

PatchSwp could help:
http://www.tellima.nl/riscos

If not, the now free Aemulor will:
http://sendiri.co.uk/aemulor/index.html

 
Dec 19, 2017 2:29pm
Avatar David Feugey (2125) 2541 posts

PatchSWP will not help (no SWP instructions found)
Aemulor won’t too (wimpslot too small)

But the good point is that here it works…
Pi3+RC15+latest version of drenderer

So thanks :)

 
Dec 19, 2017 3:06pm
Avatar Cameron Cawley (3514) 26 posts

Can you check the contents of <Choices$Write>.ScummVM.stdout, <Choices$Write>.ScummVM.stderr and (if it exists) <Choices$Write>.ScummVM.Logs.scummvm?

 
Dec 19, 2017 11:40pm
Avatar SeñorNueces (1438) 141 posts

@Cameron Cawley: These files where all empty, but now it’s working after I installed a fresh Risc OS ROM from RC15 image (sadly that made ADFFS stop working) and a fresh CMOS file.

However, I can’t quit ScummVM properly, I get a black screen of death with a blinking cursor and not the desktop. Any idea on what could be causing this?
Also, are you the person who did this Risc OS port?

 
Dec 20, 2017 12:41am
Avatar Cameron Cawley (3514) 26 posts

Not returning from fullscreen properly seems to be a common issue with SDL-based programs. I’ll see what I can do about this. In the meantime, you’ll have to make do with running ScummVM in windowed mode.

Also, yes, I did the RISC OS port.

 
Dec 20, 2017 4:02pm
Avatar SeñorNueces (1438) 141 posts

@Cameron Cawley: Thanks for this fantastic port then!
I do the Raspbian packaging and wrote the dispmanx backend ScummVM used briefly before it went SDL2 and it became unnecesary.

I suppose your por works on SDL1, with the executable statically linked against it, doesn’t it?
There’s a LOT of tearing in your port and I would love to see it gone, as it’s gone in SDL2 on most drivers.
Do you use a generic SDL1 code to draw to screen and refresh or do you use a custom graphics backend for Risc OS?

 
Jan 21, 2019 10:01pm
Avatar Cameron Cawley (3514) 26 posts

A rather late reply, but I managed to fix returning from full-screen with SDL applications. The fix is available from a recent SDL 1.2 Mercurial checkout (specifically this commit ).

 
Jan 22, 2019 12:55pm
Avatar Andrew Rawnsley (492) 1204 posts

Cameron, nice work! Do you have a version of ScummVM updated with your SDL fix?

 
Feb 6, 2019 1:23pm
Avatar SeñorNueces (1438) 141 posts

Cameron: Could you PLEASE also look into waiting for vsync on SDL 1.2 on Risc OS? Scummvm would benefit A LOT from tear-less screen updates. I am sure it’s trivial, because vsync waiting is available on other Risc OS programs, like ADFFS.

Also, what Andrew said: An Scummvm version with your fix would be great!

 
Feb 6, 2019 5:48pm
Avatar André Timmermans (100) 383 posts

Pay attention that for vsync to work correctly on machines like the Pi (fake vsync) triple buffering is required.

Reply

To post replies, please first log in.

Forums → Community Support →

Search forums

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Description

Community-provided support for all users of RISC OS.

Voices

  • SeñorNueces (1438)
  • David Feugey (2125)
  • Cameron Cawley (3514)
  • Andrew Rawnsley (492)
  • André Timmermans (100)

Options

  • Forums
  • Login
Site design © RISC OS Open Limited 2018 except where indicated
The RISC OS Open Beast theme is based on Beast's default layout

Valid XHTML 1.0  |  Valid CSS

Powered by Beast © 2006 Josh Goebel and Rick Olson
This site runs on Rails

Hosted by Arachsys