ScummVM logo Forum Index - ScummVM website - Contact us - Buy Supported Games: GOG.com Rules - Search - Register - Login curved edge
Folder Forum Index > Other Ports > Raspberry Pi Goto page 1, 2, 3  Next
Raspberry Pi
  Author    Thread Reply to topic
Micha1982



Joined: 16 May 2009
Posts: 8
Raspberry Pi 

Hi there,
installing ScummVM through apt-get works fine - but my problem is that my screen works in 1280x720, and ScummVM is shown centered but not fullscreen - seems that it runs native in smaller resolution (1024x768?) -

is there any way to change that? How can I fill my screen? Is there any option to start ScummVM through cli, or is there any .ini/.cfg-file where I can change that? If I change it to fullscreen in menu only black borders placed around it....

Any ideas?

 Reply with quote  
Post Sun Feb 24, 2013 7:45 am 
 View user's profile Send private message
md5
ScummVM Developer


Joined: 03 Nov 2005
Posts: 2256
Location: Athens, Greece
 

From what you're describing, this looks like an overscan issue. Try to disable or adjust overscan.

Disabling overscan is easy, using raspi-config.

If that doesn't work, you may need to manually adjust the supported resolutions and overscan itself.
Check the raspberry pi forums for such information, or have a look here:
http://nixnote.blogspot.gr/2012/05/raspberry-pi-basic-configuration.html?m=1

 Reply with quote  
Post Sun Feb 24, 2013 11:55 am 
 View user's profile Send private message
Micha1982



Joined: 16 May 2009
Posts: 8
 

Overscan is disabled.

Donīt think its overscan-related, donīt know - but it looks like ScummVM is running in a lower resolution than my desktop works....fullscreen menu looks almost same size like windowed before, only centered and with (fat) black borders around it.

 Reply with quote  
Post Sun Feb 24, 2013 1:35 pm 
 View user's profile Send private message
Seldon



Joined: 24 Feb 2008
Posts: 97
Location: Poland
 

Hi,
I have recently bought Raspberry Pi and have exactly same problem. It look like ScummVM works always in 1920x1080 resolution - in windowed and in fullscreen mode. I tried disabling overscan - result is the same, only difference is that picture is larger and doesn't fit on my TV (not only in ScummVM, desktop is also enlarged).
Any suggestions? Please, bear in mind that I have zero experience in Linux OS, i always used DOS/Windows Sad
Also, I have another problem - when trying to run Legend of Kyrandia 1 or Lands of Lore ScummVM complains about kyra.dat file. I thought it is no longer needed to download it separately? If so where should I put it (I have no idea about Debian system folders and where to look for ScummVM files).
Thanks in advance for replies.

 Reply with quote  
Post Tue Mar 26, 2013 10:01 pm 
 View user's profile Send private message
digitall
ScummVM Developer


Joined: 02 Aug 2012
Posts: 818
 

Will try to look at this on my RPi.. One tip, if you want to try building the latest source code version on your RPi, you may need to pass CXXFLAGS="-Wl,--no-keep-memory" to the configure to ensure you don't get an Out Of Memory error while linking... This is a general issue with GCC ld linker on swapless/memory constrained systems. The other solution is to mount a swap device on external HDD.

As for kyra.dat, this _should_ be picked up automatically from the extra path, which should be /usr/share/games/scummvm. If this is not set correctly, or kyra.dat is not present, it can be obtained from the dists/engine-data directory in the source tree. This will be detected in either the extra path or in the same folder as the games datafiles.

Hope this helps.

 Reply with quote  
Post Wed Mar 27, 2013 1:12 pm 
 View user's profile Send private message
Seldon



Joined: 24 Feb 2008
Posts: 97
Location: Poland
 

There is no kyra.dat in /usr/games/scummvm nor in /usr/share/scummvm (there is no folder /usr/share/games/scummvm you mentioned). I have set extra path and copied kyra.dat to both these locations (from dists/engine-data from source code tree). The effect was the same - no or corrupted kyra.dat.
I have earlier installed scummvm with
sudo apt-get install scummvm
command - I think it is ok?
Is it possible that kyra.dat from latest source code is not compatilble with stable relase I probably have installed?

 Reply with quote  
Post Wed Mar 27, 2013 9:08 pm 
 View user's profile Send private message
digitall
ScummVM Developer


Joined: 02 Aug 2012
Posts: 818
 

I did an "apt-get update && apt-get upgrade" as root on my RPi to ensure that I had downloaded the latest versions of the packages from the standard raspian.org repositories.

Running "scummvm --version" then shows the current testing package version of ScummVM to be the v1.4.1 release. This is confirmed for "wheezy" here:
http://packages.debian.org/testing/games/scummvm

Unfortunately, Debian does lag and the v1.5.0 is not even present in the unstable package repositories...

Running "dpkg -L scummvm" as root shows the installed files for this package which does not include the *.dat files.

I think this was due to a omission by the Debian packager for the v1.4.1 release and not within the control of the ScummVM team...

You have two main options:
1. Get the kyra.dat from the v1.4.1 release source tar.gz on our download site, extract the *.dat files from dists/engine-data and place then manually in the required extra path. This should work, but a number of issues have been corrected since v1.4.1, so you may hit old bugs.

2. Try to find a third party / testing raspbian repo which has a scummvm-1.5.0 release deb... We only have Debian i386 and Ubuntu debs as standard packages from the project, so a deb built for the RPi specific flavour of ARM is needed... We may look at providing this in future to avoid these kinds of issues.

3. Build the latest development source code on your RPi and use the resulting binary... This is probably optimal. Some instructions can be found here:
http://wiki.scummvm.org/index.php/Compiling_ScummVM
Plus you will need the linker workaround I detailed previously...

This is unlikely to get much easier as even if we provide a package for this, it is unlikely to be added to the standard raspbian/debian repositories, so users will need to either add a third party repository or install a deb we are supplying which are not too hard, but require some familarity and work to do.. :/

 Reply with quote  
Post Thu Mar 28, 2013 3:39 am 
 View user's profile Send private message
Seldon



Joined: 24 Feb 2008
Posts: 97
Location: Poland
 

Thank you for your feedback. So far I can confirm, that the first option resolved my problems with Westwood games.
It looks like I have to set up environment to compile latest version of ScummVM, as I'd like to use new engines too.

One more thing - there is still problem with full screen image scaling - is it because I use 1.4.1 version?

 Reply with quote  
Post Thu Mar 28, 2013 9:38 pm 
 View user's profile Send private message
Seldon



Joined: 24 Feb 2008
Posts: 97
Location: Poland
 

I have another question: is Raspberry's OS capable of changing screen resolution after starting desktop? I managed to lower screen resolution by modifing /boot/config.txt and changing framebuffer_width/height, but it looks like after setting resolution at the boot up, it doesn't change when running ScummVM - therefore game screen is to small.

 Reply with quote  
Post Thu Apr 04, 2013 9:55 pm 
 View user's profile Send private message
digitall
ScummVM Developer


Joined: 02 Aug 2012
Posts: 818
 

Seldom: Sorry it has taken me some time to respond. Busy with day job and needed to try this on my RPi. Testing with Flight of the Amazon quuen, I can get fullscreen output (less some at sides for keeping aspect ratio) when using HDMI output, but only when starting ScummVM from the text console. Running after starting XWindows, the same setting limit the output to the original unscaled resolution in centeeod fullscreen. This is the same for v1.4.1 and latest git master development version. I think the difference is the backend used the SDL I.e. framebuffer vs. X window and may not be in our control / code... I.e. try forcing with export SDL_VIDEODRIVER=fbdev or similar.

 Reply with quote  
Post Sun Apr 21, 2013 11:43 pm 
 View user's profile Send private message
Szymon_Zy



Joined: 26 Nov 2014
Posts: 9
 

Hello

I tried to build 1.7.0 on my Pi but i got errors are there any steps needed except:
./configure
./make

 Reply with quote  
Post Thu Nov 27, 2014 5:33 am 
 View user's profile Send private message
digitall
ScummVM Developer


Joined: 02 Aug 2012
Posts: 818
 

Szymon_Zy: What error? Please provide the message, so we can help you.

Assuming you are running Raspbian, it should just require ./configure && make clean && make as per any other Unix target. You will need to install all the required dependencies and development headers i.e. apt-get install libSDL libSDL-dev etc.

You should read through the full thread as well... as I pointed out before, there is a pitfall with GCC:
<snip>
One tip, if you want to try building the latest source code version on your RPi, you may need to pass CXXFLAGS="-Wl,--no-keep-memory" to the configure to ensure you don't get an Out Of Memory error while linking... This is a general issue with GCC ld linker on swapless/memory constrained systems. The other solution is to mount a swap device on external HDD.
</snip>

 Reply with quote  
Post Thu Nov 27, 2014 5:44 am 
 View user's profile Send private message
digitall
ScummVM Developer


Joined: 02 Aug 2012
Posts: 818
 

More notes can be found here:
http://wiki.scummvm.org/index.php/Platforms#Unofficial_Platforms

 Reply with quote  
Post Thu Nov 27, 2014 5:44 am 
 View user's profile Send private message
Szymon_Zy



Joined: 26 Nov 2014
Posts: 9
 

I will report later. My pi is compiling at home again under screen and i opened 21 instead of 22 port and can't check now how it is going. It should be finished by now :/

I think that this could be linking errors becouse there were lot of comments about undefined functions in *.o files.

code:

fatal: Not a git repository (or any of the parent directories): .git
    LINK     scummvm
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/crt1.o: In function `_start':
(.text+0x34): undefined reference to `main'
gui/libgui.a(EventRecorder.o): In function `GUI::EventRecorder::setFileHeader()':
/home/pi/scummvm1.7.0/gui/EventRecorder.cpp:603: undefined reference to `EngineManager::findGame(Common::String const&, PluginSubclass<MetaEngine> const**) const'
gui/libgui.a(EventRecorder.o): In function `GUI::EventRecorder::switchMode()':
/home/pi/scummvm1.7.0/gui/EventRecorder.cpp:624: undefined reference to `EngineManager::findGame(Common::String const&, PluginSubclass<MetaEngine> const**) const'
gui/libgui.a(EventRecorder.o): In function `GUI::EventRecorder::deleteTemporarySave()':
/home/pi/scummvm1.7.0/gui/EventRecorder.cpp:672: undefined reference to `EngineManager::findGame(Common::String const&, PluginSubclass<MetaEngine> const**) const'
gui/libgui.a(EventRecorder.o): In function `Common::Singleton<EngineManager>::instance()':
/home/pi/scummvm1.7.0/./common/singleton.h:73: undefined reference to `Common::Singleton<EngineManager>::_singleton'
backends/libbackends.a(base-backend.o): In function `BaseBackend::displayMessageOnOSD(char const*)':
/home/pi/scummvm1.7.0/backends/base-backend.cpp:38: undefined reference to `GUI::TimedMessageDialog::TimedMessageDialog(Common::String const&, unsigned int)'
backends/libbackends.a(base-backend.o): In function `~MessageDialog':
/home/pi/scummvm1.7.0/./gui/message.h:42: undefined reference to `vtable for GUI::MessageDialog'
backends/libbackends.a(base-backend.o): In function `~TimedMessageDialog':
/home/pi/scummvm1.7.0/./gui/message.h:52: undefined reference to `vtable for GUI::TimedMessageDialog'
backends/libbackends.a(default-events.o): In function `DefaultEventManager::pollEvent(Common::Event&)':
/home/pi/scummvm1.7.0/backends/events/default/default-events.cpp:196: undefined reference to `GUI::MessageDialog::MessageDialog(Common::String const&, char const*, char const*)'
/home/pi/scummvm1.7.0/backends/events/default/default-events.cpp:218: undefined reference to `GUI::MessageDialog::MessageDialog(Common::String const&, char const*, char const*)'
backends/libbackends.a(log.o): In function `Backends::Log::Log::open(Common::WriteStream*)':
/home/pi/scummvm1.7.0/backends/log/log.cpp:53: undefined reference to `gScummVMFullVersion'
/home/pi/scummvm1.7.0/backends/log/log.cpp:53: undefined reference to `gScummVMFeatures'
engines/libengines.a(engine.o): In function `initGraphics(int, int, bool, Graphics::PixelFormat const*)':
/home/pi/scummvm1.7.0/engines/engine.cpp:247: undefined reference to `GUI::MessageDialog::MessageDialog(Common::String const&, char const*, char const*)'
/home/pi/scummvm1.7.0/engines/engine.cpp:257: undefined reference to `GUI::MessageDialog::MessageDialog(Common::String const&, char const*, char const*)'
/home/pi/scummvm1.7.0/engines/engine.cpp:262: undefined reference to `GUI::MessageDialog::MessageDialog(Common::String const&, char const*, char const*)'
/home/pi/scummvm1.7.0/engines/engine.cpp:267: undefined reference to `GUI::MessageDialog::MessageDialog(Common::String const&, char const*, char const*)'
engines/libengines.a(engine.o): In function `GUIErrorMessage(Common::String const&)':
/home/pi/scummvm1.7.0/engines/engine.cpp:312: undefined reference to `GUI::MessageDialog::MessageDialog(Common::String const&, char const*, char const*)'
engines/libengines.a(engine.o):/home/pi/scummvm1.7.0/engines/engine.cpp:439: more undefined references to `GUI::MessageDialog::MessageDialog(Common::String const&, char const*, char const*)' follow
engines/libengines.a(dialogs.o): In function `MainMenuDialog':
/home/pi/scummvm1.7.0/engines/dialogs.cpp:113: undefined reference to `GUI::AboutDialog::AboutDialog()'
/home/pi/scummvm1.7.0/engines/dialogs.cpp:115: undefined reference to `GUI::SaveLoadChooser::SaveLoadChooser(Common::String const&, Common::String const&, bool)'
/home/pi/scummvm1.7.0/engines/dialogs.cpp:116: undefined reference to `GUI::SaveLoadChooser::SaveLoadChooser(Common::String const&, Common::String const&, bool)'
/home/pi/scummvm1.7.0/engines/dialogs.cpp:117: undefined reference to `gScummVMVersionDate'
engines/libengines.a(dialogs.o): In function `~MainMenuDialog':
/home/pi/scummvm1.7.0/engines/dialogs.cpp:122: undefined reference to `GUI::SaveLoadChooser::~SaveLoadChooser()'
/home/pi/scummvm1.7.0/engines/dialogs.cpp:123: undefined reference to `GUI::SaveLoadChooser::~SaveLoadChooser()'
engines/libengines.a(dialogs.o): In function `MainMenuDialog::handleCommand(GUI::CommandSender*, unsigned int, unsigned int)':
/home/pi/scummvm1.7.0/engines/dialogs.cpp:147: undefined reference to `GUI::MessageDialog::MessageDialog(Common::String const&, char const*, char const*)'
engines/libengines.a(dialogs.o): In function `MainMenuDialog::save()':
/home/pi/scummvm1.7.0/engines/dialogs.cpp:218: undefined reference to `GUI::SaveLoadChooser::runModalWithCurrentTarget()'
/home/pi/scummvm1.7.0/engines/dialogs.cpp:226: undefined reference to `GUI::SaveLoadChooser::getResultString() const'
/home/pi/scummvm1.7.0/engines/dialogs.cpp:229: undefined reference to `GUI::SaveLoadChooser::createDefaultSaveDescription(int) const'
/home/pi/scummvm1.7.0/engines/dialogs.cpp:237: undefined reference to `GUI::MessageDialog::MessageDialog(Common::String const&, char const*, char const*)'
engines/libengines.a(dialogs.o): In function `MainMenuDialog::load()':
/home/pi/scummvm1.7.0/engines/dialogs.cpp:246: undefined reference to `GUI::SaveLoadChooser::runModalWithCurrentTarget()'
engines/libengines.a(dialogs.o): In function `ConfigDialog':
/home/pi/scummvm1.7.0/engines/dialogs.cpp:284: undefined reference to `GUI::OptionsDialog::OptionsDialog(Common::String const&, Common::String const&)'
/home/pi/scummvm1.7.0/engines/dialogs.cpp:290: undefined reference to `GUI::OptionsDialog::addVolumeControls(GUI::GuiObject*, Common::String const&)'
/home/pi/scummvm1.7.0/engines/dialogs.cpp:291: undefined reference to `GUI::OptionsDialog::setVolumeSettingsState(bool)'
/home/pi/scummvm1.7.0/engines/dialogs.cpp:299: undefined reference to `GUI::OptionsDialog::addSubtitleControls(GUI::GuiObject*, Common::String const&, int)'
/home/pi/scummvm1.7.0/engines/dialogs.cpp:300: undefined reference to `GUI::OptionsDialog::setSubtitleSettingsState(bool)'
engines/libengines.a(dialogs.o): In function `~ConfigDialog':
/home/pi/scummvm1.7.0/engines/dialogs.cpp:320: undefined reference to `GUI::OptionsDialog::~OptionsDialog()'
engines/libengines.a(dialogs.o): In function `ConfigDialog::handleCommand(GUI::CommandSender*, unsigned int, unsigned int)':
/home/pi/scummvm1.7.0/engines/dialogs.cpp:337: undefined reference to `GUI::OptionsDialog::handleCommand(GUI::CommandSender*, unsigned int, unsigned int)'
engines/libengines.a(dialogs.o):(.rodata+0x3e8): undefined reference to `GUI::OptionsDialog::reflowLayout()'
engines/libengines.a(dialogs.o):(.rodata+0x400): undefined reference to `GUI::OptionsDialog::open()'
engines/libengines.a(dialogs.o):(.rodata+0x404): undefined reference to `GUI::OptionsDialog::close()'
engines/libengines.a(dialogs.o):(.rodata+0x4a8): undefined reference to `typeinfo for GUI::OptionsDialog'
image/libimage.a(indeo3.o): In function `Image::Indeo3Decoder::decodeFrame(Common::SeekableReadStream&)':
/home/pi/scummvm1.7.0/image/codecs/indeo3.cpp:292: undefined reference to `Graphics::YUVToRGBManager::convert410(Graphics::Surface*, Graphics::YUVToRGBManager::LuminanceScale, unsigned char const*, unsigned char const*, unsigned char const*, int, int, int, int)'
/home/pi/scummvm1.7.0/image/codecs/indeo3.cpp:299: undefined reference to `Graphics::YUVToRGBManager::convert410(Graphics::Surface*, Graphics::YUVToRGBManager::LuminanceScale, unsigned char const*, unsigned char const*, unsigned char const*, int, int, int, int)'
image/libimage.a(indeo3.o): In function `Common::Singleton<Graphics::YUVToRGBManager>::instance()':
/home/pi/scummvm1.7.0/./common/singleton.h:73: undefined reference to `Common::Singleton<Graphics::YUVToRGBManager>::_singleton'
image/libimage.a(indeo3.o): In function `Common::Singleton<Graphics::YUVToRGBManager>::makeInstance()':
/home/pi/scummvm1.7.0/./common/singleton.h:52: undefined reference to `Graphics::YUVToRGBManager::YUVToRGBManager()'
image/libimage.a(svq1.o): In function `Image::SVQ1Decoder::decodeFrame(Common::SeekableReadStream&)':
/home/pi/scummvm1.7.0/image/codecs/svq1.cpp:274: undefined reference to `Graphics::YUVToRGBManager::convert410(Graphics::Surface*, Graphics::YUVToRGBManager::LuminanceScale, unsigned char const*, unsigned char const*, unsigned char const*, int, int, int, int)'
common/libcommon.a(recorderfile.o): In function `Common::PlaybackFile::saveScreenShot(Graphics::Surface&, unsigned char*)':
/home/pi/scummvm1.7.0/common/recorderfile.cpp:407: undefined reference to `Graphics::saveThumbnail(Common::WriteStream&, Graphics::Surface const&)'
common/libcommon.a(recorderfile.o): In function `Common::PlaybackFile::getScreenShot(int)':
/home/pi/scummvm1.7.0/common/recorderfile.cpp:611: undefined reference to `Graphics::loadThumbnail(Common::SeekableReadStream&)'
common/libcommon.a(recorderfile.o): In function `Common::PlaybackFile::checkRecordedMD5()':
/home/pi/scummvm1.7.0/common/recorderfile.cpp:711: undefined reference to `Graphics::saveThumbnail(Common::WriteStream&, Graphics::Surface const&)'
collect2: ld returned 1 exit status
Makefile.common:81: recipe for target 'scummvm' failed
make: *** [scummvm] Error 1





That is all i got from screen. I assume there is a lack o deps.
 Reply with quote  
Post Thu Nov 27, 2014 8:10 am 
 View user's profile Send private message
Szymon_Zy



Joined: 26 Nov 2014
Posts: 9
 

Exported

code:
export CXXFLAGS="-Wl,--no-keep-memory"



but still no go :/

configure log:
code:

root@raspberrypi:/home/pi/scummvm1.7.0/scummvm-1.7.0# ./configure
Running ScummVM configure...
Looking for C++ compiler... g++
Checking for compiler version... 4.6, ok
Building as C++11... no
Checking for whether -Wglobal-constructors work... no
Checking endianness... little
Checking 64-bitness... no
Type with 1 byte... char
Type with 2 bytes... short
Type with 4 bytes... int
Type with 8 bytes... long long
Alignment required... yes
Checking host CPU architecture... ARM
Checking hosttype... linux-gnueabihf
Looking for sdl-config... /usr/bin/sdl-config
Checking if host is POSIX compliant... yes
Checking whether to have a verbose build... no
Checking whether building plugins was requested... no
Checking for Ogg Vorbis... yes
Checking for Tremor... no (Ogg Vorbis/Tremor support is mutually exclusive)
Checking for FLAC >= 1.0.1... yes
Checking for MAD... yes
Checking for ALSA >= 0.9... yes
Checking for libjpeg >= v6b... yes
Checking for PNG >= 1.2.8... yes
Checking for libtheoradec >= 1.0... no
Checking for libfaad... no
Checking for SEQ MIDI... yes
Checking for sndio... no
Checking for TiMidity... yes
Checking for zlib... yes
Checking for libmpeg2 >= 0.4.0... no
Checking for Sparkle... no
Checking for libfluidsynth... no
Checking for readline... skipping (text console disabled)
Checking for libunity... no
Looking for freetype-config... /usr/bin/freetype-config
Checking for FreeType2... yes
Checking for OpenGL... yes
Building translation support... yes (with runtime language detection)
Building taskbar integration support... no
Building Bink video support... yes
Building updates support... no
Backend... sdl (1.2.15), 16bit color, savegame timestamp, HQ scalers, MT-32 emu, event recorder
Employing little gnomes... work is done

Engines (builtin):
    SCUMM [all games]
    AGI
    AGOS [all games]
    CGE
    Cinematique evo 1
    Magic Composer
    Cinematique evo 2
    Dragon History
    Drascula: The Vampire Strikes Back
    Dreamweb
    Gobli*ns
    Groovie [7th Guest]
    Hopkins FBI
    Hugo Trilogy
    Kyra [all games]
    Lure of the Temptress
    MADE
    Mohawk [Living Books]
    Mortevielle
    Neverhood
    Parallaction
    The Journeyman Project: Pegasus Prime
    Flight of the Amazon Queen
    SAGA [ITE] [IHNM]
    SCI [SCI 0-1.1 games]
    Beneath a Steel Sky
    Broken Sword
    Broken Sword II
    Teen Agent
    Tinsel
    3 Skulls of the Toltecs
    Tony Tough and the Night of Roasted Moths
    Toonstruck
    Touche: The Adventures of the Fifth Musketeer
    TsAGE
    Bud Tucker in Double Trouble
    Voyeur
    Wintermute

Engines Skipped:
    Lord Avalot d'Argent
    Beavis and Butthead in Virtual Stupidity
    Full Pipe
    Groovie [Groovie 2 games]
    The Last Express
    Rex Nebular and the Cosmic Gender Bender
    Mohawk [Where in Time is Carmen Sandiego?] [Myst] [Riven: The Sequel to Myst]
    SAGA [SAGA 2 games]
    SCI [SCI32 games]
    Broken Sword 2.5
    TestBed: the Testing framework
    ZVision


Creating config.h
Creating config.mk
Creating engines/engines.mk
Creating engines/plugins_table.h



 Reply with quote  
Post Thu Nov 27, 2014 5:12 pm 
 View user's profile Send private message
  Display posts from previous:      
Reply to topic

Forum Jump:
 
Goto page 1, 2, 3  Next


Forum Rules:
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
You cannot vote in polls in this forum

 

Powered by phpBB © 2001, 2006 phpBB Group
Forum design by ScummVM team, icons by raina
curved edge   curved edge