Forums » StepMania Releases » Installing SM5 on Linux

Ah, thanks.

Another question; I noticed that SM5 (at least the pre-compiled binary I grabbed of beta3 for Ubuntu) didn't fullscreen as-expected when using the Fullscreen option. Like it wasn't "exclusive" (it was like a borderless-windowed fullscreen); the mouse cursor still showed on the screen, and the desktop environment power options (sleep) still occurred. This doesn't happen with OpenITG.

Is there a fix for this?
Reply
For the cursor, there's the ShowMouseCursor preference in Preferences.ini.
For the monitor going to sleep, I run "xset -dpms s off" to disable the power management before starting stepmania. I don't have a better solution.
< cybik> til Kyzentun fixes bugs for breakfast
--
< maxvg1> shakesoda: then why do i still play lol
<@shakesoda> because you're an ITG player. And thus, a masochist
--
<@shakesoda> Kyzentun: I think you might need to put down the meshes for a bit
Reply
Hi, I have this error in make.out

mv -f .deps/stepmania-ver.Tpo .deps/stepmania-ver.Po
g++ -fno-exceptions -finline-limit=300 -Wall -W -Wno-unused-parameter -Wno-switch -O3 -I/home/pi/stepmania/bundle/ffmpeg -fsigned-char -Wl,-rpath=. -Wl,-rpath=bundle/ffmpeg/libavutil,-rpath=bundle/ffmpeg/libavformat,-rpath=bundle/ffmpeg/libavcodec,-rpath=bundle/ffmpeg/libswscale -o stepmania stepmania-Screen.o stepmania-ScreenAttract.o stepmania-ScreenBookkeeping.o stepmania-ScreenContinue.o stepmania-ScreenDebugOverlay.o stepmania-ScreenDemonstration.o stepmania-ScreenEdit.o stepmania-ScreenEditMenu.o stepmania-ScreenEnding.o stepmania-ScreenEvaluation.o stepmania-ScreenExit.o stepmania-ScreenNetEvaluation.o stepmania-ScreenNetSelectMusic.o stepmania-ScreenNetSelectBase.o stepmania-ScreenNetRoom.o stepmania-ScreenGameplay.o stepmania-ScreenGameplayLesson.o stepmania-ScreenGameplayNormal.o stepmania-ScreenGameplayShared.o stepmania-ScreenGameplaySyncMachine.o stepmania-ScreenHighScores.o stepmania-ScreenHowToPlay.o stepmania-ScreenInstallOverlay.o stepmania-ScreenInstructions.o stepmania-ScreenJukebox.o stepmania-ScreenMapControllers.o stepmania-ScreenMessage.o stepmania-ScreenMiniMenu.o stepmania-ScreenNameEntry.o stepmania-ScreenNameEntryTraditional.o stepmania-ScreenOptions.o stepmania-ScreenOptionsCourseOverview.o stepmania-ScreenOptionsEditCourse.o stepmania-ScreenOptionsEditProfile.o stepmania-ScreenOptionsExportPackage.o stepmania-ScreenOptionsManageCourses.o stepmania-ScreenOptionsManageEditSteps.o stepmania-ScreenOptionsManageProfiles.o stepmania-ScreenOptionsMaster.o stepmania-ScreenOptionsMasterPrefs.o stepmania-ScreenOptionsToggleSongs.o stepmania-ScreenPackages.o stepmania-ScreenNetworkOptions.o stepmania-ScreenPlayerOptions.o stepmania-ScreenProfileLoad.o stepmania-ScreenProfileSave.o stepmania-ScreenPrompt.o stepmania-ScreenRanking.o stepmania-ScreenReloadSongs.o stepmania-ScreenSandbox.o stepmania-ScreenSaveSync.o stepmania-ScreenServiceAction.o stepmania-ScreenStatsOverlay.o stepmania-ScreenSelect.o stepmania-ScreenSelectCharacter.o stepmania-ScreenSelectLanguage.o stepmania-ScreenSelectMaster.o stepmania-ScreenSelectMusic.o stepmania-ScreenSelectProfile.o stepmania-ScreenSyncOverlay.o stepmania-ScreenSystemLayer.o stepmania-ScreenSetTime.o stepmania-ScreenSongOptions.o stepmania-ScreenSplash.o stepmania-ScreenTestInput.o stepmania-ScreenTestLights.o stepmania-ScreenTestSound.o stepmania-ScreenTextEntry.o stepmania-ScreenTitleMenu.o stepmania-ScreenUnlockBrowse.o stepmania-ScreenUnlockCelebrate.o stepmania-ScreenUnlockStatus.o stepmania-ScreenWithMenuElements.o stepmania-ScreenSMOnlineLogin.o stepmania-Attack.o stepmania-AutoKeysounds.o stepmania-AdjustSync.o stepmania-BackgroundUtil.o stepmania-BannerCache.o stepmania-Character.o stepmania-CodeDetector.o stepmania-CodeSet.o stepmania-Command.o stepmania-CommonMetrics.o stepmania-Course.o stepmania-CourseLoaderCRS.o stepmania-CourseUtil.o stepmania-CourseWriterCRS.o stepmania-CreateZip.o stepmania-CryptHelpers.o stepmania-DateTime.o stepmania-Difficulty.o stepmania-EnumHelper.o stepmania-FileDownload.o stepmania-Font.o stepmania-FontCharAliases.o stepmania-FontCharmaps.o stepmania-Game.o stepmania-GameCommand.o stepmania-GameplayAssist.o stepmania-GameConstantsAndTypes.o stepmania-GamePreferences.o stepmania-GameInput.o stepmania-Grade.o stepmania-HighScore.o stepmania-Inventory.o stepmania-JsonUtil.o stepmania-LocalizedString.o stepmania-LuaReference.o stepmania-LuaExpressionTransform.o stepmania-LyricsLoader.o stepmania-ModsGroup.o stepmania-NoteData.o stepmania-NoteDataUtil.o stepmania-NoteDataWithScoring.o stepmania-NoteTypes.o stepmania-NotesLoader.o stepmania-NotesLoaderBMS.o stepmania-NotesLoaderDWI.o stepmania-NotesLoaderJson.o stepmania-NotesLoaderKSF.o stepmania-NotesLoaderSM.o stepmania-NotesLoaderSSC.o stepmania-NotesLoaderSMA.o stepmania-NotesWriterDWI.o stepmania-NotesWriterJson.o stepmania-NotesWriterSM.o stepmania-NotesWriterSSC.o stepmania-OptionRowHandler.o stepmania-OptionsList.o stepmania-PlayerAI.o stepmania-PlayerNumber.o stepmania-PlayerOptions.o stepmania-PlayerStageStats.o stepmania-PlayerState.o stepmania-Preference.o stepmania-Profile.o stepmania-RandomSample.o stepmania-RadarValues.o stepmania-SampleHistory.o stepmania-ScreenDimensions.o stepmania-ScoreKeeper.o stepmania-ScoreKeeperNormal.o stepmania-ScoreKeeperRave.o stepmania-ScoreKeeperShared.o stepmania-Song.o stepmania-SongCacheIndex.o stepmania-SongOptions.o stepmania-SongUtil.o stepmania-StageStats.o stepmania-Steps.o stepmania-SoundEffectControl.o stepmania-StepsUtil.o stepmania-Style.o stepmania-StyleUtil.o stepmania-TimingData.o stepmania-TimingSegments.o stepmania-Trail.o stepmania-TrailUtil.o stepmania-TitleSubstitution.o stepmania-Tween.o stepmania-RoomWheel.o stepmania-IniFile.o stepmania-MsdFile.o stepmania-XmlFile.o stepmania-XmlFileUtil.o stepmania-CommandLineActions.o stepmania-StepMania.o stepmania-GameLoop.o stepmania-global.o stepmania-SpecialFiles.o arch/LoadingWindow/stepmania-LoadingWindow.o arch/LoadingWindow/stepmania-LoadingWindow_Gtk.o arch/Sound/stepmania-RageSoundDriver.o arch/Sound/stepmania-RageSoundDriver_Generic_Software.o arch/Sound/stepmania-RageSoundDriver_Null.o arch/Sound/stepmania-RageSoundDriver_JACK.o arch/Sound/stepmania-RageSoundDriver_OSS.o arch/Sound/stepmania-RageSoundDriver_PulseAudio.o arch/Sound/stepmania-ALSA9Dynamic.o arch/Sound/stepmania-ALSA9Helpers.o arch/Sound/stepmania-RageSoundDriver_ALSA9_Software.o arch/ArchHooks/stepmania-ArchHooks.o arch/ArchHooks/stepmania-ArchHooksUtil.o arch/ArchHooks/stepmania-ArchHooks_Unix.o arch/InputHandler/stepmania-InputHandler.o arch/InputHandler/stepmania-InputHandler_MonkeyKeyboard.o arch/InputHandler/stepmania-InputHandler_SextetStream.o arch/InputHandler/stepmania-InputHandler_X11.o arch/InputHandler/stepmania-LinuxInputManager.o arch/InputHandler/stepmania-InputHandler_Linux_Joystick.o arch/InputHandler/stepmania-InputHandler_Linux_Event.o arch/InputHandler/stepmania-InputHandler_Linux_PIUIO.o arch/MovieTexture/stepmania-MovieTexture.o arch/MovieTexture/stepmania-MovieTexture_Generic.o arch/MovieTexture/stepmania-MovieTexture_Null.o arch/MovieTexture/stepmania-MovieTexture_FFMpeg.o arch/Lights/stepmania-LightsDriver.o arch/Lights/stepmania-LightsDriver_Export.o arch/Lights/stepmania-LightsDriver_SystemMessage.o arch/Lights/stepmania-LightsDriver_SextetStream.o arch/Lights/stepmania-LightsDriver_LinuxWeedTech.o arch/Lights/stepmania-LightsDriver_Linux_PIUIO.o arch/Lights/stepmania-LightsDriver_Linux_PIUIO_Leds.o arch/Lights/stepmania-LightsDriver_LinuxParallel.o arch/MemoryCard/stepmania-MemoryCardDriver.o arch/MemoryCard/stepmania-MemoryCardDriverThreaded_Linux.o arch/LowLevelWindow/stepmania-LowLevelWindow.o arch/LowLevelWindow/stepmania-LowLevelWindow_X11.o archutils/Unix/stepmania-X11Helper.o archutils/Unix/stepmania-AssertionHandler.o archutils/Unix/stepmania-GetSysInfo.o archutils/Unix/stepmania-SignalHandler.o archutils/Unix/stepmania-RunningUnderValgrind.o archutils/Unix/stepmania-EmergencyShutdown.o archutils/Unix/stepmania-StackCheck.o archutils/Unix/stepmania-SpecialDirs.o arch/Dialog/stepmania-Dialog.o arch/Dialog/stepmania-DialogDriver.o arch/Threads/stepmania-Threads_Pthreads.o archutils/Common/stepmania-PthreadHelpers.o arch/stepmania-RageDriver.o stepmania-BGAnimation.o stepmania-BGAnimationLayer.o stepmania-Banner.o stepmania-DifficultyIcon.o stepmania-MeterDisplay.o stepmania-StreamDisplay.o stepmania-Transition.o stepmania-ActiveAttackList.o stepmania-BPMDisplay.o stepmania-ComboGraph.o stepmania-CourseContentsList.o stepmania-StepsDisplay.o stepmania-DifficultyList.o stepmania-DualScrollBar.o stepmania-EditMenu.o stepmania-FadingBanner.o stepmania-GradeDisplay.o stepmania-GraphDisplay.o stepmania-GrooveRadar.o stepmania-HelpDisplay.o stepmania-MemoryCardDisplay.o stepmania-MenuTimer.o stepmania-ModIcon.o stepmania-ModIconRow.o stepmania-MusicWheel.o stepmania-MusicWheelItem.o stepmania-OptionRow.o stepmania-OptionsCursor.o stepmania-PaneDisplay.o stepmania-ScrollBar.o stepmania-SnapDisplay.o stepmania-TextBanner.o stepmania-WheelBase.o stepmania-WheelItemBase.o stepmania-WheelNotifyIcon.o stepmania-WorkoutGraph.o stepmania-RoomInfoDisplay.o stepmania-ArrowEffects.o stepmania-AttackDisplay.o stepmania-Background.o stepmania-BeginnerHelper.o stepmania-CombinedLifeMeterTug.o stepmania-DancingCharacters.o stepmania-Foreground.o stepmania-GhostArrowRow.o stepmania-HoldJudgment.o stepmania-LifeMeter.o stepmania-LifeMeterBar.o stepmania-LifeMeterBattery.o stepmania-LifeMeterTime.o stepmania-LyricDisplay.o stepmania-NoteDisplay.o stepmania-NoteField.o stepmania-PercentageDisplay.o stepmania-Player.o stepmania-ReceptorArrow.o stepmania-ReceptorArrowRow.o stepmania-ScoreDisplay.o stepmania-ScoreDisplayAliveTime.o stepmania-ScoreDisplayBattle.o stepmania-ScoreDisplayCalories.o stepmania-ScoreDisplayLifeTime.o stepmania-ScoreDisplayNormal.o stepmania-ScoreDisplayOni.o stepmania-ScoreDisplayPercentage.o stepmania-ScoreDisplayRave.o stepmania-SongPosition.o ../extern/pcre/stepmania-get.o ../extern/pcre/stepmania-maketables.o ../extern/pcre/stepmania-pcre.o ../extern/pcre/stepmania-study.o ../extern/lua-5.1/src/stepmania-lapi.o ../extern/lua-5.1/src/stepmania-lauxlib.o ../extern/lua-5.1/src/stepmania-lbaselib.o ../extern/lua-5.1/src/stepmania-lcode.o ../extern/lua-5.1/src/stepmania-ldblib.o ../extern/lua-5.1/src/stepmania-ldebug.o ../extern/lua-5.1/src/stepmania-ldo.o ../extern/lua-5.1/src/stepmania-ldump.o ../extern/lua-5.1/src/stepmania-lfunc.o ../extern/lua-5.1/src/stepmania-lgc.o ../extern/lua-5.1/src/stepmania-linit.o ../extern/lua-5.1/src/stepmania-liolib.o ../extern/lua-5.1/src/stepmania-llex.o ../extern/lua-5.1/src/stepmania-lmathlib.o ../extern/lua-5.1/src/stepmania-lmem.o ../extern/lua-5.1/src/stepmania-loadlib.o ../extern/lua-5.1/src/stepmania-lobject.o ../extern/lua-5.1/src/stepmania-lopcodes.o ../extern/lua-5.1/src/stepmania-loslib.o ../extern/lua-5.1/src/stepmania-lparser.o ../extern/lua-5.1/src/stepmania-lstate.o ../extern/lua-5.1/src/stepmania-lstring.o ../extern/lua-5.1/src/stepmania-lstrlib.o ../extern/lua-5.1/src/stepmania-ltable.o ../extern/lua-5.1/src/stepmania-ltablib.o ../extern/lua-5.1/src/stepmania-ltm.o ../extern/lua-5.1/src/stepmania-lundump.o ../extern/lua-5.1/src/stepmania-lvm.o ../extern/lua-5.1/src/stepmania-lzio.o ../extern/jsoncpp/src/lib_json/stepmania-json_reader.o ../extern/jsoncpp/src/lib_json/stepmania-json_value.o ../extern/jsoncpp/src/lib_json/stepmania-json_writer.o stepmania-RageFileBasic.o stepmania-RageFile.o stepmania-RageFileDriver.o stepmania-RageFileManager.o stepmania-RageFileManager_ReadAhead.o stepmania-RageFileDriverDirect.o stepmania-RageFileDriverDirectHelpers.o stepmania-RageFileDriverMemory.o stepmania-RageFileDriverZip.o stepmania-RageFileDriverDeflate.o stepmania-RageFileDriverReadAhead.o stepmania-RageFileDriverSlice.o stepmania-RageFileDriverTimeout.o stepmania-RageSoundReader_WAV.o stepmania-RageSoundReader_Vorbisfile.o stepmania-RageSoundReader_MP3.o stepmania-CubicSpline.o stepmania-RageBitmapTexture.o stepmania-RageDisplay.o stepmania-RageDisplay_OGL.o stepmania-RageDisplay_OGL_Helpers.o stepmania-RageDisplay_Null.o stepmania-RageException.o stepmania-RageInput.o stepmania-RageInputDevice.o stepmania-RageLog.o stepmania-RageMath.o stepmania-RageModelGeometry.o stepmania-RageSound.o stepmania-RageSoundManager.o stepmania-RageSoundUtil.o stepmania-RageSoundMixBuffer.o stepmania-RageSoundPosMap.o stepmania-RageSoundReader.o stepmania-RageSoundReader_FileReader.o stepmania-RageSoundReader_ChannelSplit.o stepmania-RageSoundReader_Extend.o stepmania-RageSoundReader_Merge.o stepmania-RageSoundReader_PitchChange.o stepmania-RageSoundReader_PostBuffering.o stepmania-RageSoundReader_Pan.o stepmania-RageSoundReader_Preload.o stepmania-RageSoundReader_Resample_Good.o stepmania-RageSoundReader_SpeedChange.o stepmania-RageSoundReader_ThreadedBuffer.o stepmania-RageSoundReader_Chain.o stepmania-RageSurface.o stepmania-RageSurfaceUtils.o stepmania-RageSurfaceUtils_Dither.o stepmania-RageSurface_Save_JPEG.o stepmania-RageSurfaceUtils_Palettize.o stepmania-RageSurfaceUtils_Zoom.o stepmania-RageSurface_Load.o stepmania-RageSurface_Load_PNG.o stepmania-RageSurface_Load_JPEG.o stepmania-RageSurface_Load_GIF.o stepmania-RageSurface_Load_BMP.o stepmania-RageSurface_Load_XPM.o stepmania-RageTexture.o stepmania-RageTexturePreloader.o stepmania-RageTextureRenderTarget.o stepmania-RageSurface_Save_BMP.o stepmania-RageSurface_Save_PNG.o stepmania-RageTextureID.o stepmania-RageTextureManager.o stepmania-RageThreads.o stepmania-RageTimer.o stepmania-RageTypes.o stepmania-RageUtil.o stepmania-RageUtil_CachedObject.o stepmania-RageUtil_CharConversions.o stepmania-RageUtil_BackgroundLoader.o stepmania-RageUtil_FileDB.o stepmania-RageUtil_WorkerThread.o stepmania-Actor.o stepmania-ActorFrame.o stepmania-ActorFrameTexture.o stepmania-ActorMultiTexture.o stepmania-ActorMultiVertex.o stepmania-ActorProxy.o stepmania-ActorScroller.o stepmania-ActorUtil.o stepmania-ActorSound.o stepmania-AutoActor.o stepmania-BitmapText.o stepmania-Model.o stepmania-DynamicActorScroller.o stepmania-ModelManager.o stepmania-ModelTypes.o stepmania-Quad.o stepmania-RollingNumbers.o stepmania-Sprite.o stepmania-AnnouncerManager.o stepmania-Bookkeeper.o stepmania-CharacterManager.o stepmania-CryptManager.o stepmania-FontManager.o stepmania-GameSoundManager.o stepmania-GameManager.o stepmania-GameState.o stepmania-InputFilter.o stepmania-InputMapper.o stepmania-InputQueue.o stepmania-LuaBinding.o stepmania-LuaManager.o stepmania-LightsManager.o stepmania-MemoryCardManager.o stepmania-MessageManager.o stepmania-NetworkSyncManager.o stepmania-NoteSkinManager.o stepmania-PrefsManager.o stepmania-ProfileManager.o stepmania-ScreenManager.o stepmania-SongManager.o stepmania-StatsManager.o stepmania-ThemeManager.o stepmania-UnlockManager.o stepmania-ezsockets.o stepmania-RageDisplay_GLES2.o stepmania-ver.o -L/home/pi/stepmania/bundle/ffmpeg/libavformat -lavformat -L/home/pi/stepmania/bundle/ffmpeg/libavcodec -lavcodec -L/home/pi/stepmania/bundle/ffmpeg/libswscale -lswscale -L/home/pi/stepmania/bundle/ffmpeg/libavutil -lavutil -lvorbisfile -lvorbis -logg -lmad -lGL -lGLU -lGLEW -lGLEW -lX11 -lXtst -lXrandr libtomcrypt.a libtommath.a -ljack -ldl -lpng -lz -lm -ljpeg -lz -lbz2 -lpulse -lpthread
/usr/bin/ld: arch/ArchHooks/stepmania-ArchHooks_Unix.o: undefined reference to symbol 'clock_getres@@GLIBC_2.4'
//lib/arm-linux-gnueabihf/librt.so.1: error adding symbols: DSO missing from command line
collect2: ld returned 1 exit status
Makefile:4609: recipe for target 'stepmania' failed
make[2]: *** [stepmania] Error 1
make[2]: Leaving directory '/home/pi/stepmania/src'
Makefile:2979: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/pi/stepmania/src'
Makefile:321: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Reply
It looks like you have the same problem that is mentioned in issue #441. Could you try the solution I posted there and report whether it works?
1. Add "-lrt" to AM_CXXFLAGS in src/Makefile.am (AM_CXXFLAGS = -lrt)
2. make distclean
3. ./autogen.sh &> agen.out && ./configure &> conf.out && make -j8 &> make.out
< cybik> til Kyzentun fixes bugs for breakfast
--
< maxvg1> shakesoda: then why do i still play lol
<@shakesoda> because you're an ITG player. And thus, a masochist
--
<@shakesoda> Kyzentun: I think you might need to put down the meshes for a bit
Reply
Also, SM probably doesn't work well on ARM unless you conveniently are using one of the few SoCs with a full GL driver (not ES).
Reply
Hi!
There is no changes in error message. I tried to start it on Raspberry Pi, raspbian wheezy.
If this idea is not good, I won't fight with it ;)
And another question: How many res' need translation to add russian language in SM5. Now i use 3.9 rus on my winPC, but want to do upgrade.
Reply
Raspberry Pi runs SM at something like 2FPS (and buggy), the GLES driver for it isn't done.

You can add a russian translation by copying en.ini and renaming it to ru.ini then changing all the strings in the file with a text editor. There is one in Themes/_fallback/Languages and another (different) one in Themes/default/Languages.
Reply
Alright, so I want to take another crack at compiling SM5 on Linux (Fedora 21 specifically). Is the first post up-to-date with getting all the packages needed to compile SM5? And is there any kind of issues I should expect (like needing to change a line on a file or something prior to compiling)?
Reply